Bridge.py only works in one direction

The messages come from discord to matrix, but not from matrix to discord
Logs
2022-07-02 21:05:21 discord.client:WARNING: PyNaCl is not installed, voice will NOT be supported
2022-07-02 21:05:21 discord.client:INFO: logging in using static token
2022-07-02 21:05:22 matrix_logger:INFO: Logged in as @matrix-discord-bridge:matrix.akselmo.dev, device id: GGEJQJXCIQ.
2022-07-02 21:05:22 matrix_logger:INFO: Clients ready!
2022-07-02 21:05:22 discord.gateway:INFO: Shard ID None has sent the IDENTIFY payload.
2022-07-02 21:05:22 discord.gateway:INFO: Shard ID None has connected to Gateway: ["gateway-prd-main-456x",{"micros":81093,"calls":["discord-sessions-green-prd-2-200",{"micros":79640,"calls":["start_session",{"micros":38729,"calls":["discord-api-f8857dbfb-dkkhc",{"micros":34594,"calls":["get_user",{"micros":8979},"add_authorized_ip",{"micros":1664},"get_guilds",{"micros":3365},"coros_wait",{"micros":2}]}]},"guilds_connect",{"micros":2,"calls":[]},"presence_connect",{"micros":23745,"calls":[]}]}]}] (Session ID: bb52c75524c62fca0b720dafd94b901d).

I have had this problem before too. For me clearing pycache and then waiting sometimes longer than 10 minutes from restarting the bot fixed it.

Waiting hasnt worked for me.. And to clarify i meant the non-appservice bridge. The appservice one refuses to work for me at all.

I have the same problem. Did you find the solution?

I have the same problem. Did you find the solution?

Unfortunately not. I just went with this instead: https://github.com/matrix-org/matrix-appservice-discord

Also having this issue

Also having this issue

Can you share your bridge config?

the accounts keep getting disabled with phone verification popup

Eh, just to confirm, this is a BOT account token, not a USER account token right?
If so that popup doesn't make sense at all
{
    "homeserver": "https://matrix.facha.dev",
    "username": "@neo:facha.dev",
    "password": "XXX",
    "token": "XXX",
    "discord_cmd_prefix": "**",
    "bridge": {
        "412668210853183516": "!dMlxDKlOrpNuCzbfzC:facha.dev"
    }
}

XXX = PLACEHOLDER

Yeah it's a bot token. I meant that discord disables your account during the sign up process itself before you can get to the developer portal thingy.
My current setup has been using the appservice bridge for around a year now and still works fine on a bot token created from an account which got deactivated in this manner (they don't deactivate bots). You could try that one since you have a self hosted server, has much better QOL too with proper dummy users instead of plaintext bridging, and infinitely better code quality
I'm looking into this issue, seems like the bot isn't able to get the channels for some reason, perhaps something to do with an intents change

Nvm, it still works OK. I had messed up in the dev panel and didn't even have the bot in the server. Do you mind sharing the scopes you requested for the bot? I made mine an Administrator, you probably just need the webhook permissions though.

Nvm, it still works OK. I had messed up in the dev panel and didn't even have the bot in the server. Do you mind sharing the scopes you requested for the bot? I made mine an Administrator, you probably just need the webhook permissions though.

Now I'm getting an error too on Discord > Matrix
root@matrix-bridge:~/matrix-discord-bridge/bridge# python3 bridge.py
2022-09-26 14:09:27 discord.client:WARNING: PyNaCl is not installed, voice will NOT be supported
2022-09-26 14:09:27 discord.client:INFO: logging in using static token
2022-09-26 14:09:28 matrix_logger:INFO: Logged in as @neo:facha.dev, device id: QKYEPDZJDO.
2022-09-26 14:09:28 matrix_logger:INFO: Clients ready!
2022-09-26 14:09:28 discord.gateway:INFO: Shard ID None has sent the IDENTIFY payload.
2022-09-26 14:09:28 discord.gateway:INFO: Shard ID None has connected to Gateway: ["gateway-prd-us-east1-c-7cq2",{"micros":141600,"calls":["id_created",{"micros":1363,"calls":[]},"session_lookup_time",{"micros":6909,"calls":[]},"session_lookup_finished",{"micros":13,"calls":[]},"discord-sessions-blue-prd-2-8",{"micros":133046,"calls":["start_session",{"micros":72071,"calls":["discord-api-bf7497dbf-dkqk8",{"micros":63680,"calls":["get_user",{"micros":13837},"get_guilds",{"micros":7927},"send_scheduled_deletion_message",{"micros":11},"guild_join_requests",{"micros":2847},"authorized_ip_coro",{"micros":9}]}]},"starting_guild_connect",{"micros":52,"calls":[]},"presence_started",{"micros":40330,"calls":[]},"guilds_started",{"micros":87,"calls":[]},"guilds_connect",{"micros":1,"calls":[]},"presence_connect",{"micros":20462,"calls":[]},"connect_finished",{"micros":20467,"calls":[]},"build_ready",{"micros":19,"calls":[]},"optimize_ready",{"micros":1,"calls":[]},"split_ready",{"micros":0,"calls":[]},"clean_ready",{"micros":18,"calls":[]}]}]}] (Session ID: d914ed85b62613dc3ef56918a9d38bb5).
Ignoring exception in on_message
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/discord/client.py", line 343, in _run_event
    await coro(*args, **kwargs)
  File "/root/matrix-discord-bridge/bridge/bridge.py", line 281, in on_message
    matrix_message = await self.matrix_client.message_send(
  File "/root/matrix-discord-bridge/bridge/bridge.py", line 189, in message_send
    return message.event_id
AttributeError: 'RoomSendError' object has no attribute 'event_id'


Capture/send data import log

The data import/refresh is performed with the custom import_occurrences management command.
On the dev server, a new import is performed every night using a simple crontab that executes this management script. It would be good to have a mechanism so we have a trace (copy par email, at least if the rc != 0) of the execution.

This is instance-specific, so I moved this non-urgent issue out of gbif-alert.


⚠ Samsung has degraded performance

In c20ef65, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2212 ms

Resolved: Samsung performance has improved in 6818981.


Prevent fields from underlying type being exposed to schema

If I create a type from an underying entity type that is mapped to a db and only wish expose a limited number of property resolvers how do I go about this?
I have declared a type like so and only wish to expose the fields provided to the type descriptor but it seems every property on the underlying type is added to the schema and I can't find out how to prevent this behaviour.
 public class ScheduleInputType
        : InputObjectType<Schedule>
    {
        protected override void Configure(IInputObjectTypeDescriptor<Schedule> descriptor)
        {
            base.Configure(descriptor);

            descriptor.Field(t => t.SequenceNo).Type<NonNullType<IntType>>();
            descriptor.Field(t => t.SessionType).Type<NonNullType<StringType>>();
            descriptor.Field(t => t.SessionTitle).Type<StringType>();
            descriptor.Field(t => t.StartDateTime).Type<NonNullType<DateTimeType>>();
        }
    }

You can either set the type to declare fields explicitly or you can set the whole schema to explicit.
descriptor.BindFieldsExplicitly().
Or
SchemaBuilder.New()
.ModifyOptions(o => o.DefaultBindinigBehav...

Thanks, seems so obvious now

you can also ignore things ... descriptor.Ignore(t => t.FieldToIgnore)


Strange results on attribute access if period in attribute key

Stumbled upon some weird behavior if an attribute with a dot in it is accessed à la doc["foo.bar"]. Results are partially different between Windows and Linux (Windows 10 / CentOS 7), but both platforms are erroneous.
Tested with official v2.8.7 release. I couldn't test 3.0.x properly, but at first sight, it seems to be working as expected (VPack might've gotten rid of the buggy code pieces).
Plain document collection, no indexes, no waitForSync or anything. I also tried a "broken" one in Arangosh, but gave me the same result (so apparently not an issue with Aardvark).
Test data
A simple document with a period in the attribute key:
{
    "foo.bar": "baz"
}

Create with query like: INSERT {"foo.bar": "baz"} INTO coll RETURN NEW
Windows / ArangoDB 2.8.7
Query A (no bind parameters)
BROKEN - Attribute "foo.bar" is null, but listed in full document
FOR doc IN coll
    FILTER HAS(doc, "foo.bar")
    LIMIT 1
    RETURN {
        "foo.bar.1": doc["foo.bar"],
        `foo.bar.2`: doc.`foo.bar`,
        doc
    }

[
  {
    "foo.bar.1": null,
    "foo.bar.2": null,
    "doc": {
      "foo.bar": "baz",
      "_id": "coll/380180346",
      "_rev": "11611326253",
      "_key": "380180346"
    }
  }
]

Query B (with bind parameters)
BROKEN - Attribute "foo.bar" is "baz", also listed in full document - but why does the precense of bind paramters fix this for all styles of attribute access?
FOR doc IN coll
    FILTER HAS(doc, "foo.bar")
    LIMIT 1
    RETURN {
        "foo.bar.1": doc["foo.bar"],
        `foo.bar.2`: doc.`foo.bar`,
        @key1: doc.@value,
        @key2: doc[@value],
        doc
    }

{"key1": "foo.bar.3", "key2": "foo.bar.4", "value": "foo.bar"}

[
  {
    "doc": {
      "_id": "coll/380180346",
      "_key": "380180346",
      "_rev": "11611326253",
      "foo.bar": "baz"
    },
    "foo.bar.1": "baz",
    "foo.bar.2": "baz",
    "foo.bar.3": "baz",
    "foo.bar.4": "baz"
  }
]

Query C (DOCUMENT(), same w/wo bind parameters)
OK - Attribute "foo.bar" is "baz" and also listed in full document
LET doc = DOCUMENT("coll/380180346")
RETURN {
    "foo.bar.1": doc["foo.bar"],
    `foo.bar.2`: doc.`foo.bar`,
    doc
}

[
  {
    "foo.bar.1": "baz",
    "foo.bar.2": "baz",
    "doc": {
      "foo.bar": "baz",
      "_id": "coll/380180346",
      "_rev": "11611326253",
      "_key": "380180346"
    }
  }
]

CentOS / ArangoDB 2.8.7
Query A (no bind parameters)
BROKEN - Attribute "foo.bar" is null, but listed in full document (same as on Windows)
FOR doc IN coll
    FILTER HAS(doc, "foo.bar")
    LIMIT 1
    RETURN {
        "foo.bar.1": doc["foo.bar"],
        `foo.bar.2`: doc.`foo.bar`,
        doc
    }

[
  {
    "foo.bar.1": null,
    "foo.bar.2": null,
    "doc": {
      "foo.bar": "baz",
      "_id": "coll/380180346",
      "_rev": "380180346",
      "_key": "380180346"
    }
  }
]

Query B (with bind parameters)
BROKEN - Attribute "foo.bar" is null and also not listed in full document (different from Windows!)
FOR doc IN coll
    FILTER HAS(doc, "foo.bar")
    LIMIT 1
    RETURN {
        "foo.bar.1": doc["foo.bar"],
        `foo.bar.2`: doc.`foo.bar`,
        @key1: doc.@value,
        @key2: doc[@value],
        doc
    }

{"key1": "foo.bar.3", "key2": "foo.bar.4", "value": "foo.bar"}

[
  {
    "foo.bar.1": null,
    "foo.bar.2": null,
    "foo.bar.3": null,
    "foo.bar.4": null,
    "doc": {
      "_id": "coll/380180346",
      "_rev": "380180346",
      "_key": "380180346"
    }
  }
]

Query C (DOCUMENT(), same w/wo bind parameters)
OK - Attribute "foo.bar" is "baz" and also listed in full document (same as on Windows)
LET doc = DOCUMENT("coll/380180346")
RETURN {
    "foo.bar.1": doc["foo.bar"],
    `foo.bar.2`: doc.`foo.bar`,
    doc
}

[
  {
    "foo.bar.1": "baz",
    "foo.bar.2": "baz",
    "doc": {
      "foo.bar": "baz",
      "_id": "coll/380180346",
      "_rev": "380180346",
      "_key": "380180346"
    }
  }
]

The document shaper and some other code parts in 2.8 will split attribute names at ., meaning the dot symbol inside attribute names is handled ambiguously.
3.0 should fix all that, as all the above queries work in 3.0 properly.

@Simran-B will write some tests for this.

re-labeling since its fixed, and only tests are missing.


dark_theme: Add dark themed colors to notice/info banners.

Previously, infomational banners didn't have any dark theme stylings which resulted in a messy and terrible contrast with the dark themed app. These changes adds those missing styles and uses the same stylings and colors as the compose banners. Thus, making a definite improvement then before.

Screenshots and screen captures:

Unread banners
Regular:

Hover:

Active:

Notice/info banner

Self-review checklist

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

Communicate decisions, questions, and potential concerns.

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

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

[x] Each commit is a coherent idea.
[x] 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.

Thanks! Can we use the button color from #22524?

Marking as a release goal, because the current state is definitely not as intended.

If we're doing our own styles for these buttons, I'd very much prefer that we not use a Bootstrap CSS class name. We're hoping to delete Bootstrap in general, and conflating something that we styled ourselves with a Bootstrap thing be reusing its name makes that harder.
I would look at the compose_banner classes for inspiration in how to name this.
(zulip-py3-venv) tabbott@coset:~/zulip$ git grep btn-info
templates/corporate/billing.html:                                <button class="btn-info" id="update-card-button" class="stripe-button-el">Update card</button>
templates/corporate/billing.html:                                <button class="btn-info" id="update-licenses-button">Update</button>
templates/corporate/billing.html:                                <button class="btn-info" id="update-licenses-at-next-renewal-button">Update</button>
templates/corporate/billing.html:                                    <button class="btn-info" id="change-plan-status">Cancel downgrade</button>
web/templates/unread_banner/mark_as_read_disabled_banner.hbs:        <button id="mark_view_read" class="btn btn-info">
web/templates/unread_banner/mark_as_read_only_in_conversation_view.hbs:        <button id="mark_view_read" class="btn btn-info">
web/third/bootstrap/css/bootstrap-btn.css:.btn-info {
web/third/bootstrap/css/bootstrap-btn.css:.btn-info:hover,
web/third/bootstrap/css/bootstrap-btn.css:.btn-info:focus,
web/third/bootstrap/css/bootstrap-btn.css:.btn-info:active,
web/third/bootstrap/css/bootstrap-btn.css:.btn-info.active,
web/third/bootstrap/css/bootstrap-btn.css:.open .dropdown-toggle.btn-info {
web/third/bootstrap/css/bootstrap-btn.css:.btn-info:active,
web/third/bootstrap/css/bootstrap-btn.css:.btn-info.active,
web/third/bootstrap/css/bootstrap-btn.css:.open .dropdown-toggle.btn-info {
web/third/bootstrap/css/bootstrap-btn.css:.btn-info.disabled,
web/third/bootstrap/css/bootstrap-btn.css:.btn-info[disabled],
web/third/bootstrap/css/bootstrap-btn.css:fieldset[disabled] .btn-info,
web/third/bootstrap/css/bootstrap-btn.css:.btn-info.disabled:hover,
web/third/bootstrap/css/bootstrap-btn.css:.btn-info[disabled]:hover,
web/third/bootstrap/css/bootstrap-btn.css:fieldset[disabled] .btn-info:hover,
web/third/bootstrap/css/bootstrap-btn.css:.btn-info.disabled:focus,
web/third/bootstrap/css/bootstrap-btn.css:.btn-info[disabled]:focus,
web/third/bootstrap/css/bootstrap-btn.css:fieldset[disabled] .btn-info:focus,
web/third/bootstrap/css/bootstrap-btn.css:.btn-info.disabled:active,
web/third/bootstrap/css/bootstrap-btn.css:.btn-info[disabled]:active,
web/third/bootstrap/css/bootstrap-btn.css:fieldset[disabled] .btn-info:active,
web/third/bootstrap/css/bootstrap-btn.css:.btn-info.disabled.active,
web/third/bootstrap/css/bootstrap-btn.css:.btn-info[disabled].active,
web/third/bootstrap/css/bootstrap-btn.css:fieldset[disabled] .btn-info.active {
web/third/bootstrap/css/bootstrap-btn.css:.btn-info .badge {

I've decided to quickly create a new class named banner-action-button which will be used to expand the dark theme colors. As a follow-up, I'll take my time to try and remove the bootstrap styles and apply the stylings to banner-action-button.

@Joelute Could you post updated screenshots?

Is the font weight on the button different from compose banners? It looks bolder on compose banners to me.

I think the "Change setting" link should go to /#settings/display-settings rather than the help center.

Looks good to me otherwise!

@Joelute You can add a in "integration review" label once the link has been updated.

Added the link changes as another commit.
@zulipbot add "integration review"

This is great, merged, thanks @Joelute!


Wireguard interface not coming online after reboot - "required IPv4 interface address could not be found, skipping"

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
Some of my wireguard interfaces are not coming up on reboot with the below error message. Some time back, I was experiencing similar issues when using DNS endpoints but was able to fix it by using IP addresses instead. Now running into this problem. Appears as if some dependencies are not quite ready when Wireguard is starting.
2024-05-18T08:34:39-04:00 | Warning | wireguard | /usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The required VPS1 IPv4 interface address could not be found, skipping.

I noticed this sometime during the 24.1.x versions but not sure exactly when it worked last.
To Reproduce
Steps to reproduce the behavior:

Have a Wireguard interface setup similar to https://docs.opnsense.org/manual/how-tos/wireguard-client-mullvad.html#
Restart Opnsense
Interface will be down at time of boot, error message in Wireguard logs
Manually disabling and enabling interface will bring the connection up right away

Expected behavior
Wireguard interfaces should start at boot
Screenshots

Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 24.1.7-amd64
FreeBSD 13.2-RELEASE-p11
OpenSSL 3.0.13

The message relates to your gateway monitor, can you try to enable "Disable Host Route" on the gateway and test again?

The message relates to your gateway monitor, can you try to enable "Disable Host Route" on the gateway and test again?

I gave it a try but I'm seeing the same result

Maybe I was focused on the wrong line in the logs. Here are all the Wireguard logs from boot. I disabled "Disable Host Route" for the vps2/wg2 gateway but not the vps1/wg3 gateway. Both stay offline until I disable/re-enable each Wireguard interface.
2024-05-19T08:19:15-04:00	Notice	wireguard	wireguard instance vps1 (wg3) started
2024-05-19T08:19:15-04:00	Warning	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The required VPS1 IPv4 interface address could not be found, skipping.
2024-05-19T08:19:15-04:00	Notice	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: plugins_configure monitor (execute task : dpinger_configure_do(,VPS1))
2024-05-19T08:19:15-04:00	Notice	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: plugins_configure monitor (,VPS1)
2024-05-19T08:19:15-04:00	Notice	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: ROUTING: entering configure using 'opt13'
2024-05-19T08:19:15-04:00	Error	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The command '/sbin/route -q -n add '-4' '<IP_ADDRESS>' -iface 'wg3'' returned exit code '1', the output was ''
2024-05-19T08:19:15-04:00	Error	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The command '/sbin/ifconfig 'wg3' 'inet' '<IP_ADDRESS>/24' alias' returned exit code '1', the output was 'ifconfig: ioctl (SIOCAIFADDR): File exists'
2024-05-19T08:19:15-04:00	Notice	wireguard	wireguard instance vps1 (wg3) can not reconfigure without stopping it first.
2024-05-19T08:19:15-04:00	Notice	wireguard	wireguard instance vps2 (wg2) started
2024-05-19T08:19:15-04:00	Warning	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The required VPS2 IPv4 interface address could not be found, skipping.
2024-05-19T08:19:15-04:00	Notice	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: plugins_configure monitor (execute task : dpinger_configure_do(,VPS2))
2024-05-19T08:19:15-04:00	Notice	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: plugins_configure monitor (,VPS2)
2024-05-19T08:19:15-04:00	Notice	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: ROUTING: entering configure using 'opt9'
2024-05-19T08:19:15-04:00	Error	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The command '/sbin/ifconfig 'wg2' 'inet' '<IP_ADDRESS>/32' alias' returned exit code '1', the output was 'ifconfig: ioctl (SIOCAIFADDR): File exists'
2024-05-19T08:19:15-04:00	Notice	wireguard	wireguard instance vps2 (wg2) can not reconfigure without stopping it first.
2024-05-19T08:19:15-04:00	Notice	wireguard	wireguard instance ADblockVPN (wg0) started
2024-05-19T08:19:15-04:00	Notice	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: ROUTING: entering configure using 'opt7'
2024-05-19T08:19:15-04:00	Notice	wireguard	wireguard instance ADblockVPN (wg0) can not reconfigure without stopping it first.

The log suggests an overlapping address in your configuration, tried to add the sames address via a virtual ip as well?
2024-05-19T08:19:15-04:00	Error	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The command '/sbin/ifconfig 'wg3' 'inet' '<IP_ADDRESS>/24' alias' returned exit code '1', the output was 'ifconfig: ioctl (SIOCAIFADDR): File exists'

The log suggests an overlapping address in your configuration, tried to add the sames address via a virtual ip as well?

Not that I can tell. Here's a screen shot of my only VIP (which I think is used to access my modem's GUI) and the gateway settings.

I searched around all the settings and I could only find "<IP_ADDRESS>/24" in the WG interface settings. Is there somewhere else I should be look?
If there was an IP conflict somewhere, wouldn't it prevent the WG instance from ever coming online? Once I disable and re-enable the WG instance it comes online immediately without any errors.

what does netstat -nr4 on clean boot? (you may remove the non relevant networks)

this is with vps1/wg3 gateway "Disable Host Route" unchecked but checked for vps2/wg2's gateway. both fail to come up on clean boot.
root@OPNsense:~ # netstat -nr4
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
<IP_ADDRESS>          link#20            UHS         wg2
<IP_ADDRESS>          link#20            UHS         wg2
<IP_ADDRESS>/24      <IP_ADDRESS>         UGS         wg3
<IP_ADDRESS>         link#19            UHS         wg3

Hmm, after the clean boot and then disabling/re-enabling the two WG instances, this is the output...
root@OPNsense:~ # netstat -nr4
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
<IP_ADDRESS>          link#19            UHS         wg2
<IP_ADDRESS>          link#19            UH          lo0
<IP_ADDRESS>/24      <IP_ADDRESS>         UGS         wg3
<IP_ADDRESS>         link#20            UHS         wg3

the interface changes for <IP_ADDRESS> and the gateway links#'s swap. not sure if that's indicitive of something wrong with my config.

and a clean boot without doing anything afterwards?

Sorry, my first post was the clean boot logs
Clean Boot
root@OPNsense:~ # netstat -nr4
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
<IP_ADDRESS>          link#20            UHS         wg2
<IP_ADDRESS>          link#20            UHS         wg2
<IP_ADDRESS>/24      <IP_ADDRESS>         UGS         wg3
<IP_ADDRESS>         link#19            UHS         wg3

Clean boot + cycling WG instances
root@OPNsense:~ # netstat -nr4
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
<IP_ADDRESS>          link#19            UHS         wg2
<IP_ADDRESS>          link#19            UH          lo0
<IP_ADDRESS>/24      <IP_ADDRESS>         UGS         wg3
<IP_ADDRESS>         link#20            UHS         wg3

ah, you seem to be misusing far gateway here, in which case it's not able to configure the interface anymore..... disable "far gateway" and reboot the box.

ah, you seem to be misusing far gateway here, in which case it's not able to configure the interface anymore..... disable "far gateway" and reboot the box.

Ah I misunderstood the purpose of far gateway when I initially set everything up. I disabled it for both gateways and rebooted but still facing the issue.
2024-05-21T06:37:39-04:00	Notice	wireguard	wireguard instance vps1 (wg3) started
2024-05-21T06:37:39-04:00	Warning	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The required VPS1 IPv4 interface address could not be found, skipping.
2024-05-21T06:37:39-04:00	Notice	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: plugins_configure monitor (execute task : dpinger_configure_do(,VPS1))
2024-05-21T06:37:39-04:00	Notice	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: plugins_configure monitor (,VPS1)
2024-05-21T06:37:39-04:00	Notice	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: ROUTING: entering configure using 'opt13'
2024-05-21T06:37:39-04:00	Error	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The command '/sbin/route -q -n add '-4' '<IP_ADDRESS>' -iface 'wg3'' returned exit code '1', the output was ''
2024-05-21T06:37:39-04:00	Error	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The command '/sbin/ifconfig 'wg3' 'inet' '<IP_ADDRESS>/24' alias' returned exit code '1', the output was 'ifconfig: ioctl (SIOCAIFADDR): File exists'
2024-05-21T06:37:39-04:00	Notice	wireguard	wireguard instance vps1 (wg3) can not reconfigure without stopping it first.
2024-05-21T06:37:39-04:00	Notice	wireguard	wireguard instance vps2 (wg2) started
2024-05-21T06:37:39-04:00	Warning	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The required VPS2 IPv4 interface address could not be found, skipping.
2024-05-21T06:37:39-04:00	Notice	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: plugins_configure monitor (execute task : dpinger_configure_do(,VPS2))
2024-05-21T06:37:39-04:00	Notice	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: plugins_configure monitor (,VPS2)
2024-05-21T06:37:39-04:00	Notice	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: ROUTING: entering configure using 'opt9'
2024-05-21T06:37:39-04:00	Error	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The command '/sbin/ifconfig 'wg2' 'inet' '<IP_ADDRESS>/32' alias' returned exit code '1', the output was 'ifconfig: ioctl (SIOCAIFADDR): File exists'
2024-05-21T06:37:39-04:00	Notice	wireguard	wireguard instance vps2 (wg2) can not reconfigure without stopping it first.
2024-05-21T06:37:39-04:00	Notice	wireguard	wireguard instance ADblockVPN (wg0) started
2024-05-21T06:37:39-04:00	Notice	wireguard	/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: ROUTING: entering configure using 'opt7'
2024-05-21T06:37:39-04:00	Notice	wireguard	wireguard instance ADblockVPN (wg0) can not reconfigure without stopping it first.

Did you try disable the 'prevent interface removal'?
I had a case were ovpn or wg couldnt reuse its interface when this option is enabled.
To be honest, i see no difference with the option on or off.
Since then i removed all 'prevent IF removal' for all software interfaces like ovpn, wg, zerotier etc, i never had an issue again.

Did you try disable the 'prevent interface removal'? I had a case were ovpn or wg couldnt reuse its interface when this option is enabled. To be honest, i see no difference with the option on or off.
Since then i removed all 'prevent IF removal' for all software interfaces like ovpn, wg, zerotier etc, i never had an issue again.
Disable prevent, and enable interface.. Confirm the interface is gone else reboot.

Interesting! I gave it a try but still running into the same issue.

Ok so I tried enablling "Dynamic Gateway Policy" for the WG interfaces and deleted my own created gateways and it's working now. Is that expected behavior?


Applications listed in the developer portal are not sorted correctly

Description:
When applications are created in the developer portal, they are not sorted correctly according do the selected criteria (eg: by Name)
Steps to reproduce:

Create 10 new applications with varying names (With the default application total is 11)
Make sure the 9th application's name starts with a letter greater than the 10th application (eg: 9th App-->Zapp, 10th App->Xapp)
When listed in the developer portal Zapp is displayed on the first page and Xapp is displayed on the second page

Affected Product Version:
APIM 3.1.0

Tested in the latest pack with:

pagination (apps created more than 10)
sorting asc and dsc for name, owner and throttle policy with apps created from multiple users and shared
above in tenant mode


Slightly smarter logic to find the MTGA install location.

First of all, big thanks for the dynamic card finder, I've been missing my ELD cards :-)
That said, I can think of two scenarios in which the hardcoded C:\Program Files (x86)\Wizards of the Coast\MTGA\MTGA_Data\Downloads\Data isn't correct:

(Untested) It is possible to change the default install location in Windows, often done to install things other than on the C: drive. I have no idea if the MTGA installer honours this, but it's in theory possible.
There's no guarantee that the Python is being run under Windows. This is actually my use case in that I do my Python dev work in either Windows Subsystem for Linux or dual booted. The MTGA files are accessible in both cases but just not at C:\....

This change (tested under Windows 10, WSL/Ubuntu and native boot Debian) allows at least a small amount of configuration for the location of the MTGA files. It does "the right thing" on Windows when the ProgramFiles(x86) environment variable exists, falling back to ProgramFiles if that doesn't exist, and allows bodging it a bit by explicitly setting ProgramFiles in the other environments.
Technically, I think the fallback from ProgramFiles(x86) to ProgramFiles isn't necessary here as MTGA requires a 64-bit Windows install and that means that ProgramFiles(x86) will always be set... but it's impossible to set an environment variable with parentheses in the name on a Unix-ish OS so it's handy to have anyway.
If you think there's a better way of allowing the MTGA install location to be specified, feel free to ignore this patch and do that instead - in the longer term, there will probably be a need to support the upcoming macOS version as well.

@pak21 thanks so much for the PR! You're definitely right, hardcoding the path was shortsighted, and totally screws anyone who installs to a different directory. I have an idea of how to fix this longer term, but in the meantime I'm totally fine with this going in. I will do my best to get this published to pypi sometime this week!


Software get stuff trying to connect to DBUS when player preference is none

I'm testing this software with my Apex 7 and running it I get this issue:
    ~/Projects/BuilderAI/b21ksharedservicesinr-294805-react-native    bb_certifica…etManagement ?1    cd /etc/apex-tux                                                                                 ✔
    /etc/apex-tux  sudo apex-tux                                                                                 ✔
15:58:50 [INFO] Registering MPRIS2 display source.
15:58:50 [INFO] Registering Clock display source.
15:58:50 [INFO] Registering Coindesk display source.
15:58:50 [INFO] Registering Sysinfo display source.
15:58:50 [WARN] Couldn't find network interface `eth0`
15:58:50 [INFO] Instead, found those interfaces:
15:58:50 [INFO]         enp2s0
15:58:50 [INFO]         docker0
15:58:50 [INFO]         lo
15:58:50 [INFO]         wlp3s0
15:58:50 [WARN] Couldn't find sensor `hwmon0 CPU Temperature`
15:58:50 [INFO] Instead, found those sensors:
15:58:50 [INFO]         acpitz temp1: 49°C (max: 49°C / critical: 120°C)
15:58:50 [INFO]         amdgpu edge: 46°C (max: 46°C)
15:58:50 [INFO]         iwlwifi_1 temp1: 40°C (max: 40°C)
15:58:50 [INFO]         k10temp Tctl: 49°C (max: 49°C)
15:58:50 [INFO]         nvme Composite HFM001TD3JX013N temp1: 37.85°C (max: 37.85°C / critical: 84.85°C)
15:58:50 [INFO]         nvme Composite Samsung SSD 980 PRO 1TB temp1: 33.85°C (max: 33.85°C / critical: 84.85°C)
15:58:50 [INFO]         nvme Sensor 1 HFM001TD3JX013N temp2: 37.85°C (max: 37.85°C)
15:58:50 [INFO]         nvme Sensor 1 Samsung SSD 980 PRO 1TB temp2: 33.85°C (max: 33.85°C)
15:58:50 [INFO]         nvme Sensor 2 HFM001TD3JX013N temp3: 45.85°C (max: 45.85°C)
15:58:50 [INFO]         nvme Sensor 2 Samsung SSD 980 PRO 1TB temp3: 39.85°C (max: 39.85°C)
15:58:50 [INFO] Registering DBUS notification source.
15:58:50 [ERROR] Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
15:58:50 [INFO] Found 4 registered providers
15:58:50 [INFO] Trying to connect to DBUS with player preference: None
^C16:18:50 [INFO] Ctrl + C received, shutting down!

Is it the expected behavior?
I will test this with Firefox as the preferred player meanwhile.
Thank you

Yes, when running as root it cannot use dbus as (if I understood correctly) the socket is made for the current user.
I suggest that you try making the udev rules works (I don't have an apex 7 so I can't help you much) otherwise maybe try to chown the executable as root, and run it as the current user? (I have no idea there, just throwing suggestions)

I have to run it using sudo cause it solves this issue.

Let me reformulate, dbus trying to connect even when the priority is none is normal.
The priority is in case you have multiple music player.
The issue that I see however is

It's caused by running on a user that doesn't have a dbus session, which root usually doesn't have.

@jehendeoff how can I check it? I installed this from the AUR package, so I guess they are installed.

The rules from the AUR are not from this repo but should still work (only for 2 keyboard at least).
In order to have the udev from this repo, download the files here into /etc/udev/rules.d (to be sure, please search how to install udev rules onto your distro)

The udev rules in the AUR are for the apex 7 TKL and the apex 7.

I'm testing an APEX 7 and yeah, the udev rules are installed:
    /etc/apex-tux  ls ../udev/rules.d/                                                                                 1 ✘
90-mhwd-prime-powermanagement.rules  98-steelseries.rules

Can you try with the one from this repo, @Socerest2 tried it right now and it works for him (the one from the AUR, even adapted, doesn't work)

Can you try with the one from this repo, @Socerest2 tried it right now and it works for him (the one from the AUR, even adapted, doesn't work)

Well, the one used on AUR is the same used by Frank Grimm here.

@jehendeoff I'm testing an APEX 5, I changed the udev rules and also reboot the computer, It does not work.

sent to Socerest2 on discord
Hi, sorry if I bother you, I'm on my computer with my keyboard, I just looked up my udev rules, and it seems I have both versions,
here's the one that I modified (I think it's the same one sent you)
97-steelseries.rules```
SUBSYSTEM=="input", GROUP="input", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="161c", MODE="0666", GROUP="plugdev"
KERNEL=="hidraw*", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="161c", MODE="0666", GROUP="plugdev"
and  I have the "automatic" one (I think I edited it a bit, not sure if it works tho)
98-steelseries.rules```
ACTION=="add", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="161c" RUN+="/etc/udev/rules.d/steelseries-perms.py '%E{DEVNAME}'"

and the python code I use is (or at least should) not modified (will send you)
the python code I attached, is this one

You shouldn't need to, did you restart or did you reload? did you put both in (as I'm currently doing)?

Yeah, I do:

you shouldn't need to, did you restart or did you reload? did you put both in (as I'm currently doing)?

Yeah, I do:

I tried cloning the repository and running from it, but it failed.
It has to be with udev rules I think.

then, you don't need to recompile it, that is not an issue with the apex-tux executable, this is due to a misconfiguration of udev rules, did you try restarting your computer?

Then, you don't need to recompile/install it, that is not an issue with the apex-tux executable, this is due to a misconfiguration of udev rules, did you try restarting your computer?

yes, how can I find you in Discord guys?

that's weird, my discord is Jéhèndé#5755 bur right now I'm at work on my phone

Hi  @ToadKing, I though I should mention you because you made the udev rule in the first place.
Do you any idea on how to debug this issue? He tried uninstalling it from the AUR (because I saw a service file so I thought that maybe it was in a background task), he tried different udev rules, restarting reloading, and nothing seems to works.

The easiest way to debug is to just run the script manaully and pass in the hidraw device as the parameter. Ideally with some changes to print messages on success/failure instead of changing the file permssions.
Like replace these lines:
if usagePage == 0x000C or usagePage >= 0xFF00:
	os.chmod(hidraw, 0o666)

With this:
if usagePage == 0x000C or usagePage >= 0xFF00:
	print('found!')
else:
	print('not found!')

Then just run from the terminal:
sudo python path_to_script.py /dev/hidraw0

Just replace hidraw0 with the correct one from the Apex keyboard.

Thank you for responding so fast, we did not debug the udev rule (we edited Frank Grimm's udev rule to work with SalahAdDin, because he has an apex pro, not an apex 5/7), I will try to debug the rule on my computer later (because I think it doesn't works since I also need frank grimm's on top of yours)

@jehendeoff Thank you very much guys!

Thank for your help guys, I just added some instructions to the readme file here.


C# Source Modernization initiative

NOTE
This PR does not add, modify or remove features. This PR features code formatting, logging and quality of life changes to the developer experience.
Changes
This PR only includes files from CSUtil.Commons and TLM/Custom
For every file in TLM:

Untabify
Optimize imports (for FullDebug)
Format and wrap too long lines, or where StyleCop shows a warning
Apply minor Resharper suggestions and refactor

every var becomes explicit type (solves #436, debatable)
var Xxx used in out Xxx args, are inlined into out var Xxx (latest C#)
break deep nested if's where possible make the code more flat
extract huge code blocks into separate functions

Get rid of magic constants where possible
Mark redirected functions as [UsedImplicitly] to get rid of the warning
#if DEBUG if (condition) Log._Debug #endif changed to something shorter (solves #349)

Since we are reviewing this PR would be nice to change it's state to 'Ready for review' 😉


team 1 - dCentral:  Use Case 1

Team 1:  D'central
Members:
Bryony Ortlepp
Emma Phiri
Nthabiseng Phasha
Rodney Pedro
Santosh Sewlal

Hey @bearski - please rebase this onto the correct branch - i.e. not master but team/#1-d'central - so that I can merge? Please do so ASAP.


Mention autograd.pause() in autograd section

Inplace operations (+=, -=, x[:]=, etc) are not supported when recording with autograd. But in object detection, we need to use inplace operations to calcuate regression target, which does not need gradient in fact. There are also numerous situations that we do not need gradient calculated by gluon.
I think mentioning autograd.pause() in Chapter 1 is important since it is a crucial and useful part of autograd.

Yes, maybe I understand the function of pause by this issue. And I'm learning your project Yet Another MXnet DETection .
谢谢


Rename minor functions

Current dependencies on/for this PR:

main

PR #488

PR #489   👈

This comment was auto-generated by Graphite.


Importing gives "module not found" error

When importing as specified in the readme: import editor from 'vue2-medium-editor' Webpack build returns error: Module not found: Error: Can't resolve 'vue2-medium-editor'
I had to change it to import editor from 'vue2-medium-editor/vue-medium-editor' to make it work.

Okay strange I will look into it. Probably has to do with the package.json. do you have a repo for reproduction?

I have the same problem.
I'm building an application on Laravel; it uses Laravel Mix to include Vue, and I'm building everything with yarn. Bootstrapping via:
window._ = require( 'lodash' );
window.Vue = require( 'vue' );
window.axios = require( 'axios' );

import editor from 'vue2-medium-editor';

window.axios.defaults.headers.common = {
    'X-Requested-With': 'XMLHttpRequest'
};

If I change it as tonila did, it works.

Okey so I found the bug: The package.json was misconfigured, pointing at medium-editor.js which just does not exist.

Please check whether the issue persists and come back at me if it does.
Thank you guys for contributing.


Incorrect mekleization of bytes16 vector

merkleize returns a different value than py-ssz when running the following test:
test "merkleize a bytes16 vector with two elements" {
    var list = ArrayList(u8).init(std.testing.allocator);
    defer list.deinit();

    var chunks = try pack([2][16]u8, [_][16]u8{ [_]u8{0xaa} ** 16, [_]u8{0xbb} ** 16 }, &list);
    var out: [32]u8 = undefined;
    merkleize(chunks, null, &out);

    var hasher = sha256.init(sha256.Options{});
    var expected: [32]u8 = undefined;
    try std.fmt.hexToBytes(expected[0..], "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa00000000000000000000000000000000");
    hasher.update(expected[0..]);
    try std.fmt.hexToBytes(expected[0..], "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb00000000000000000000000000000000");
    hasher.update(expected[0..]);
    hasher.final(&expected);

    std.debug.print("{x} {x}\n", .{ out, expected });
    std.testing.expect(std.mem.eql(u8, out[0..], expected[0..]));
}

There are two reasons for this:

py-ssz is interpreting this input as an array of Bitvector[N]
tree_root_hash wasn't present in the library, which is the code responsible for that. Fixed now.


A little more info on how to use it

Is there any sample of where and how to get all the env variables?
It is still not clear to me these env variables and where to get the values for them.
WEBHOOK_TG_PATH = "/path"
GAPPS_PUSH_PATH = "/path"
SERVER_PATH = "https://server.tld"
GOOGLE_SITE_VERIFICATION = "google..."
PUB_SUB_TOPIC = "projects/PROJECT_ID/topics/TOPIC_NAME"
UPDATE_PUB_SUB_TOPIC_PATH = "/path"
GOOGLE_CREDENTIALS = "credentials"

Hi! Thanks for issue, I've planned to add this info into readme, but cannot find free time for this))

env name
description

WEBHOOK_TG_PATH
Just set a random path on server. Like /hola-telegram-webhook-12345. It should start from / and be a valid URL. Used by Telegram lib to set webhook

GAPPS_PUSH_PATH
Create a topic and push subscription in Gcloud here: https://console.cloud.google.com/cloudpubsub/topic/list . Then you need to specify in gcloud url for push subscription endpoint like https://example.herokuapp.com/oaoaommm-push. Just copy the path after the host into this variable, so from example above it will be look like /oaoaommm-push

SERVER_PATH
Just domain of your bot, e.g. https://example.herokuapp.com

GOOGLE_SITE_VERIFICATION
This something related to project in gcloud. You'll find it I think, maybe, in the settings of gcloud project. Variable will be look like googlebaga2316

PUB_SUB_TOPIC
Just name of your topic in project in gcloud. Like projects/PROJECT_ID/topics/TOPIC_NAME

UPDATE_PUB_SUB_TOPIC_PATH
Another random path for endpoint. Like /update-tokens. It should start from / and be a valid URL. You also need to find a cron job, that will make get request on this endpoint every week. It is needed to renew gmail subscription.

GOOGLE_CREDENTIALS
Another thing from project config from Gcloud. You'll find it I think, maybe, in the settings of gcloud project. It will be like a JSON string


WIP 1534 LLVM code coverage is more precise than tarpaulin

Summary of changes
Changes introduced in this pull request:
Reference issue to close (if applicable)

Closes
Other information and links

I'm not 100% sure we can use LLVM code coverage since we depend on packages that use webassembly. If it doesn't work, let's document why and then return to it in the future.


Anonymous / Public voting

Any plans to add voting type choice like @vote has now?

Agreed. It actually would be quite reasonable to have such choice.

The possibility to manage polls would be usefull too (close and delete a single poll).


dynamic link detecting issue

I've implemented firebase dynamic link for referral install, dynamic link is created using short link. When clicking on the link app is opening via playstore and install if not installed. But after install dynamic link is not detected, playstore giving open button instead continue button. If already installed dynamic link is working very fine. I'm testing on beta version for both end.

@koushik16github since you're having an issue with your application in production I would suggest reaching out to Firebase Support:
https://firebase.google.com/support
Please provide them with as much debugging information as possible, when something is not working we need logs/code/etc to figure out why.


创建服务，选择多个镜像时，必须折叠第一个镜像才能继续选择

In GitLab by @cuiaq123 on Dec 17, 2019, 02:26

In GitLab by @liyanq528 on Dec 19, 2019, 05:08
mr !2248
1,Changed the max-height from 400px to 200px of dropdown component;
2,Used modal window to config containers like Job;

In GitLab by @liyanq528 on Dec 27, 2019, 05:55
mentioned in merge request !2248

In GitLab by @wknet123 on Dec 27, 2019, 07:44
closed via commit 464147c85f383c0dd191d70c0d64e61a4ff99783

In GitLab by @wknet123 on Dec 27, 2019, 07:44
closed via merge request !2248


fix(up): Do not associate networks with service groups

Prerequisite checklist

[x] Read the contribution guidelines regarding submitting new changes to the project;
[x] Tested your changes against relevant architectures and platforms;
[x] Ran make fmt on your commit series before opening this PR;
[ ] Updated relevant documentation.

Description of changes

Service groups are intended for autoscale configuration and for internal load balancing.  Associating a network as a service group leads to unexpected behaviour.

What would be the alternative to this then? Using the internal IP everywhere?

All instances in your account can communicate via internal networking.


python3Packages.black: 21.9b0 -> 21.10b0

Motivation for this change
21.10b0 was released yesterday.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 144213 run on x86_64-linux 1

3 packages marked as broken and skipped:

bareos
pepper
tribler

2 packages blacklisted:

tests.nixos-functions.nixosTest-test
tests.trivial

5 packages failed to build and already failed to build on hydra master:

cq-editor: log was empty
python38Packages.google-cloud-error-reporting: log was empty
python38Packages.pyls-black: log was empty
python38Packages.spyder: log was empty
python39Packages.google-cloud-error-reporting: log was empty

2 packages failed to build and are new build failures:

python38Packages.google-cloud-datastore: log was empty
python39Packages.google-cloud-datastore: log was empty

144 packages built:

black (python39Packages.black)
black-macchiato (python39Packages.black-macchiato)
dvc-with-remotes
errbot
fava
flexget
heisenbridge
home-assistant
markdown-anki-decks
mnemosyne
noto-fonts-emoji
python38Packages.WSME
python38Packages.authcaptureproxy
python38Packages.backports_functools_lru_cache
python38Packages.black
python38Packages.black-macchiato
python38Packages.cheroot
python38Packages.cherrypy
python38Packages.diagrams
python38Packages.gcsfs
python38Packages.gensim
python38Packages.google-cloud-asset
python38Packages.google-cloud-automl
python38Packages.google-cloud-bigquery
python38Packages.google-cloud-bigquery-datatransfer
python38Packages.google-cloud-bigtable
python38Packages.google-cloud-container
python38Packages.google-cloud-datacatalog
python38Packages.google-cloud-dataproc
python38Packages.google-cloud-dlp
python38Packages.google-cloud-iam
python38Packages.google-cloud-iot
python38Packages.google-cloud-kms
python38Packages.google-cloud-language
python38Packages.google-cloud-monitoring
python38Packages.google-cloud-os-config
python38Packages.google-cloud-pubsub
python38Packages.google-cloud-redis
python38Packages.google-cloud-secret-manager
python38Packages.google-cloud-securitycenter
python38Packages.google-cloud-spanner
python38Packages.google-cloud-speech
python38Packages.google-cloud-storage
python38Packages.google-cloud-tasks
python38Packages.google-cloud-texttospeech
python38Packages.google-cloud-translate
python38Packages.google-cloud-vision
python38Packages.google-cloud-websecurityscanner
python38Packages.graphql-server-core
python38Packages.hypothesmith
python38Packages.irc
python38Packages.jaraco_collections
python38Packages.jaraco_functools
python38Packages.jaraco_logging
python38Packages.jaraco_text
python38Packages.libcst
python38Packages.mypy-boto3-builder
python38Packages.nototools
python38Packages.papermill
python38Packages.pathy
python38Packages.portend
python38Packages.ptpython
python38Packages.pyalgotrade
python38Packages.pylxd
python38Packages.pytest-black
python38Packages.python-lsp-black
python38Packages.scancode-toolkit
python38Packages.smart-open
python38Packages.spacy
python38Packages.spacy-transformers
python38Packages.stumpy
python38Packages.tempora
python38Packages.teslajsonpy
python38Packages.textacy
python38Packages.typer
python38Packages.web
python38Packages.ws4py
python39Packages.authcaptureproxy
python39Packages.backports_functools_lru_cache
python39Packages.cheroot
python39Packages.cherrypy
python39Packages.diagrams
python39Packages.gcsfs
python39Packages.gensim
python39Packages.google-cloud-asset
python39Packages.google-cloud-automl
python39Packages.google-cloud-bigquery
python39Packages.google-cloud-bigquery-datatransfer
python39Packages.google-cloud-bigtable
python39Packages.google-cloud-container
python39Packages.google-cloud-datacatalog
python39Packages.google-cloud-dataproc
python39Packages.google-cloud-dlp
python39Packages.google-cloud-iam
python39Packages.google-cloud-iot
python39Packages.google-cloud-kms
python39Packages.google-cloud-language
python39Packages.google-cloud-monitoring
python39Packages.google-cloud-os-config
python39Packages.google-cloud-pubsub
python39Packages.google-cloud-redis
python39Packages.google-cloud-secret-manager
python39Packages.google-cloud-securitycenter
python39Packages.google-cloud-spanner
python39Packages.google-cloud-speech
python39Packages.google-cloud-storage
python39Packages.google-cloud-tasks
python39Packages.google-cloud-texttospeech
python39Packages.google-cloud-translate
python39Packages.google-cloud-vision
python39Packages.google-cloud-websecurityscanner
python39Packages.graphql-server-core
python39Packages.hypothesmith
python39Packages.irc
python39Packages.jaraco_collections
python39Packages.jaraco_functools
python39Packages.jaraco_logging
python39Packages.jaraco_text
python39Packages.libcst
python39Packages.mypy-boto3-builder
python39Packages.nototools
python39Packages.papermill
python39Packages.pathy
python39Packages.portend
python39Packages.ptpython
python39Packages.pyalgotrade
python39Packages.pylxd
python39Packages.pytest-black
python39Packages.python-lsp-black
python39Packages.scancode-toolkit
python39Packages.smart-open
python39Packages.spacy
python39Packages.spacy-transformers
python39Packages.stumpy
python39Packages.tempora
python39Packages.teslajsonpy
python39Packages.textacy
python39Packages.typer
python39Packages.web
python39Packages.ws4py
sabnzbd
sambaFull (samba4Full)
snakemake
twitter-color-emoji


Error packaging up the application

New Issue Checklist

[ ] Updated fastlane to the latest version
[ ] I have read the Contribution Guidelines

Issue Description
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

[INSERT OUTPUT HERE]
Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
[INSERT OUTPUT HERE]

✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.5

Ruby
2.4.1

Bundler?
false

Git
git version 2.11.0 (Apple Git-81)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.5 (16F73)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.4.1_1/lib

OpenSSL Version
OpenSSL 1.0.2k  26 Jan 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3.3

System Locale

Variable
Value

LANG
zh_CN.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.44.1"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
    cocoapods

  end
desc "Create ipa"
lane :build do
  gym
end
  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    # match(type: "appstore") # more information: https://codesigning.guide
    gym # Build your app - more options available
    pilot

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used. No personal data is recorded.
# Learn more at https://github.com/fastlane/fastlane#metrics

`./fastlane/Appfile`
app_identifier "cc.youdu.maYiChaoFeng" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "G7H56V4BMV" # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.44.1
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-pgyer
0.2.1
✅ Up-To-Date

Loaded gems

Gem
Version

did_you_mean
1.1.0

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.1

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.4.4

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.2.1

terminal-table
1.8.0

plist
3.3.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.55.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

uber
0.0.15

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

multi_json
1.12.1

logging
2.2.2

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.12.0

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.1

bundler
1.15.0

faraday_middleware
<IP_ADDRESS>

json
2.1.0

io-console
0.4.6

openssl
2.0.3

fastlane-plugin-pgyer
0.2.1

generated on: 2017-07-03

Thanks for reporting this, can you share your complete output when running fastlane also?


Browser APIs code generation

First of all, well done on your talk on dotNET, very clear explanations!
Apologies for the way I am reaching out to you, I couldn't find your email. Have you thought about auto generating apis wrappers from specs from wicg?
I would like to offer my help if that's something you would contemplate doing.

Thanks a lot Pablo. 😀
It is a perfectly fine place to reach out.
I have actually thougt about it. I talked shortly about it on Twitter with David Pine about two months ago (you can see the thread here). He used the tweet in one of his videos on the .NET Community Standup where he talks about the project blazorators that he is working on which is exactly auto generating wrappers for APIs in Blazor. He has actually made an issue for creating a seperated TypeScript parser so that the specific parser could be interchanged for some other standard be it Web IDL or something similar.
I would in general love to look more into Source Generation and what options that bring. I think David's project is a good place to start that work if you are interested in that as well. Then I might change this project to use Source Generation some time in the future.

Oh great!
Thanks for the pointer to look into blazorators, that’s pretty much what I had in mind.
Take care!


Could not save val_acc on metric_file.json

Hello, I have been trying to run the model as shown on the README.md file. But while training the model, I keep getting the following error:
File "/home/guialfaro/multitask-schema-guided-dst-main/mtsgdst/train.py", line 172, in <module>
  train(model)
File "/home/guialfaro/multitask-schema-guided-dst-main/mtsgdst/train.py", line 131, in train
  with open('metric_file.json', 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'metric_file.json'

I was wondering how is the metric_file.json file generated? If so, where can I find the command to make it? Thank you

Can you tell me exactly the commands to reproduce this problem?

Thank you for your reply!
Yes, I ran the following commands after cloning the repo:

pip install -r requirements.txt

python -m mtsgdst.data.pytorch_dataset --dataset_split=dev
python -m mtsgdst.data.pytorch_dataset --dataset_split=dev --eval_mode
python -m mtsgdst.data.pytorch_dataset --dataset_split=test --eval_mode

python -m mtsgdst.train --num_epochs=5 --num_total_epochs=5 --num_steps_logging=4000

It stopped running at the logging step 3999 right before the first accuracy calculation for the dev set

The file metric_file.json should be produced with the evaluate function of dst.py. This line calls the official SGD-baseline code and produces the metric file.
Is a temp directory present after running the commands?
Which OS are you using? The code should work on a Linux machine inside a virtual environment.


DBZ-4932 Use LCR v1 format with Oracle 12.0 and 12.1

https://issues.redhat.com/browse/DBZ-4932

@Naros Applied, thanks


fixed l2bridge nstype check

Fix for nstype check fix from yesterday.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 20.65%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

fabrictestbed_extensions/fablib/network_service.py
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

fabrictestbed_extensions/fablib/slice.py
2
9.15%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
855

Relevant Lines:
3738

💛  - Coveralls

The changelog check is failing because I misunderstood how PR labels work: the "no changelog" label should be added at the time of PR creation, not later.
Filed https://github.com/fabric-testbed/fabrictestbed-extensions/issues/149

Do I need do something to get this merged?  Also, you can create another rc<n+1> in pypi

Do I need do something to get this merged? Also, you can create another rc<n+1> in pypi

I will bump up the version in this branch and post 1.4.2rc4 to PyPI.

Actions:

Merged main onto this branch to update things.
Bumped up version to rel1.4.2-rc4, built package, published on PyPI (ref).
Resolved merge conflict (against main) after bumping up version.
Will merge this PR to main now.


Add DreamStrawberry custom sprite & nodes

The sprites included for the Dream Strawberry were edited and used with an IL hook. Dream Strawberries can also have seeds, which themselves behave like vanilla seeds.

Add custom Dream Strawberry Seed behavior: you lose them when you grab or stand on a non-dreamblock solid.


GitHub Release Notes Demo

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sandbox/demos/github-release-notes.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sandbox/demos/github-release-notes.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sandbox/demos/github-release-notes.md
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/addgithubwebhook.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/addqueue.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/appsettings.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/functionurl.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/newcontainer.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/newghapplication.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/projectjson.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/storageaccesskeys.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sandbox/demos/github-release-notes.md
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/addgithubwebhook.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/addqueue.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/appsettings.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/blobcontainer.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/exp_release.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/functionurl.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/monitorfunction.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/newcontainer.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/newghapplication.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/projectjson.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/redeliverwebhook.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/renderednotes.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/storageaccesskeys.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sandbox/demos/github-release-notes.md
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/addgithubwebhook.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/addqueue.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/appsettings.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/blobcontainer.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/exp_release.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/functionurl.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/monitorfunction.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/newcontainer.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/newghapplication.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/projectjson.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/redeliverwebhook.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/renderednotes.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/storageaccesskeys.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sandbox/demos/github-release-notes.md
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/addgithubwebhook.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/addqueue.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/appsettings.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/blobcontainer.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/exp_release.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/functionurl.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/monitorfunction.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/newcontainer.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/newghapplication.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/projectjson.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/redeliverwebhook.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/renderednotes.png
:white_check_mark:Succeeded
View

sandbox/demos/media/github-release-notes/storageaccesskeys.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Hey Jasmine, let me know if/when this is ready to go live and I'll merge it up.  I don't push the button until the author tells me to.  :)  Thanks!


Change user password

As a user, I want to be able to change my password, so that I can meet the security requirements.
Acceptance Criteria:

User profile page has Change Password button
Clicking the Change Password button redirects to the Change Password page
The Change password page shows the following input fields: old password, new password
The Change password page shows the following buttons: Save and Cancel
Clicking Cancel redirects to user profile page without making any changes
The Save button page updates the user password and redirects to user profile page with the success message on top of it

Error cases:

old password invalid: show corresponding error message
new password invalid (wrong format): show corresponding error message

django automatically logs the user out on password change. I wouldn't want to change that for security reasons.
Also adding a new password confirmation field makes sense to prevent locking the user out if they make a typo.

Problem： Cancel redirects to index now. I can make this change locally, but can't push to our repo.

@Teszko Can you make this small change, after cancel redirect to url profile


Treat registerRoute('/foo/:bar', ...) as exact match in v3

Library Affected:
workbox-routing
Following up from https://github.com/GoogleChrome/workbox/issues/1011, in v3 we are going to stop creating ExpressRoutes implicitly whenever there's a string argument passed to the registerRoute() helper.
Instead, strings will be tested for an exact match, either against the url.path (if the string begins with '/') or against the url.href (if the string begins with http).
We'll continue the logging that https://github.com/GoogleChrome/workbox/issues/1011 introduces, and ensure that we direct developers to documentation about constructing an equivalent RegExpRoute and/or creating their own custom matchHandler as alternatives.

SGTM.
Worth calling out that matches for strings not starting with http should only match same-origin requests - same as regular expressions.
I'm still open to supporting an express style "matcher" if developers want it but I'm fairly sure a RegExp will be easy to replace the express routes in most cases.


Fix the error of hostAliases when there are more than 2 hostnames

If there are more than 2 hostnames in hostAliases path, spec/hostAliases will only show the first and many last hostname. Like this:
hostAliases:
- ip: "<IP_ADDRESS>"
  hostnames:
  - "hostname1"
- ip: "<IP_ADDRESS>"
  hostnames:
  - "hostname3"
- ip: "<IP_ADDRESS>"
  hostnames:
  - "hostname3"

Now fix this problem.

@googlebot I signed it!

@googlebot I fixed it.

@liyinan926  Hi~ Thanks for your review.
I've changed my code, and run test in my computer. But I've seen CI build failed. Can you help me find the cause of the specific error, please ? I haven't found the connection between my code and the CI build failed.

@liyinan926 Hi~ CI have passed by PR https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/pull/1210
I've merge this change to codes.


checkpointer: change activeGracePeriod logic.

This changes activeGracePeriod to move to inactiveGracePeriod when the
apiserver is up. This is to allow the checkpointer to get out of the
way of the real apiserver when it comes back, while still protecting
against that real apiserver going back down shortly after.
Before this change, a checkpoint could remain active for the entire
grace period unnecessarily if it was replaced by a new pod with a
different name that was successfully running.
After this change, a checkpoint will only get cleaned up after the
apiserver has been up and stable for an entire grace period's length.

coreosbot run e2e checkpointer

Looks like the e2e checkpointer test no longer works:
+ ./terraform apply
1 error(s) occurred:

* provider.aws: : invalid or unknown key: version

cc @rphillips any idea what that's about? ^

coreosbot run e2e checkpointer

updated terraform to 0.11.3 on jenkins.

coreosbot run e2e checkpointer


Sending from rocket chat to telegram failed in HTML mode

Version: 1.8.0, 1.9.0, 1.9.1
I have gateway rocket chat <-> telegram.
Telegram is configured so:
[telegram.my]
Token="..."
RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
UseFirstName=false
#MessageFormat="HTML"

If I turn last string on, messages stop going to telegram and I get in debug logs:
2018/04/20 08:40:28 {"token":"...","bot":false,"channel_id":"QgQ...7hA","channel_name":"2line-support","message_id":"Toqq...xn8","timestamp":"2018-04-20T05:40:28.068Z","user_id":"3o6...npb","user_name":"iprok","text":"test"}
[0172] DEBUG rocketchat:   Receiving from rockethook rockethook.Message{Token:"PMw...2pa", ChannelID:"QgQ...7hA", ChannelName:"#2line-support", Timestamp:"2018-04-20T05:40:28.068Z", UserID:"3o6...npb", UserName:"iprok", Text:"test"}
[0172] DEBUG rocketchat:   <= Sending message from iprok on rocketchat.my to gateway
[0172] DEBUG gateway:      => Sending config.Message{Text:"test", Channel:"#2line-support", Username:"iprok", UserID:"3o6...npb", Avatar:"", Account:"rocketchat.my", Event:"", Protocol:"", Gateway:"support", Timestamp:time.Time{wall:0xbeae7d3307a52e15, ext:172816491123, loc:(*time.Location)(0x15a7c80)}, ID:"", Extra:map[string][]interface {}(nil)} from rocketchat.tutchat (#2line-support) to telegram.my (-10...73)
[0172] DEBUG telegram:     => Receiving config.Message{Text:"test", Channel:"-10...73", Username:"[rocketchat] <iprok> ", UserID:"3o6...npb", Avatar:"", Account:"rocketchat.my", Event:"", Protocol:"", Gateway:"support", Timestamp:time.Time{wall:0xbeae7d3307a52e15, ext:172816491123, loc:(*time.Location)(0x15a7c80)}, ID:"", Extra:map[string][]interface {}(nil)}
[0172] DEBUG telegram:     Using mode HTML
[0172] ERROR gateway:      Bad Request

From the other ticket I've got that you have not telegram account to test. I think can make one for you if you need.

The <{NICK}> must be valid HTML
See https://github.com/42wim/matterbridge/wiki/FAQ#matterbridge-is-not-relaying-messages-to-telegram and the link to the matterbridge.toml.sample
Feel free to reopen if this doesn't fix it


[android] QR scan never succeeds

Attempting to pair with a C2 via QR code never succeeds. The camera vibrates and flickers a black screen with a spinner, but immediately returns to the camera scan intent, with no indication of an error message.
Device: Android 11 (and android 10), OnePlus 7Pro

This will be fixed in the next release.
The problem was that it detects some other type of barcode, so for now, if you keep trying it should eventually pair. Maybe using some different lighting or varying the distance can increase the possibility of it pairing correctly.

Having the same issue with an iPhone 12 Pro. Camera sees qr, vibrates, then rejects it and returns to "scan qr". By that time the qr disappears from the comma screen.
Is there a manual method to pair?

I ended up having to email<EMAIL_ADDRESS>and they manually paired it for me.

This specific issue should be fixed, other issues can still occur, see #26


How to remove the SW Precache? --> error on npm install

I'm trying to remove the sw-precache-webpack-plugin because I don't need this feature on my app, however, I'm getting an error on install (and the build that comes with it).
I just remove the dependency from package.json and the block of the plugin SWPrecacheWebpackPlugin configuration in webpack/prod.config.js.
Now, when running:
npm install
I'm getting:
10% building modules 1/1 modules 0 active(node:23066) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
 66% building modules 512/547 modules 35 active …ot-example/node_modules/qs/lib/utils.jsnode[23066]: ../src/node_file.cc:943:void node::fs::Stat(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `(argc) == (4)' failed.
 1: 0x8daaa0 node::Abort() [node]
 2: 0x8dab75  [node]
 3: 0x91abea  [node]
 4: 0xb5faef  [node]
 5: 0xb60659 v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [node]
 6: 0xd2aa55dbe1d
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: `cross-env NODE_ENV=production webpack --colors --display-error-details --config=webpack/prod.config.js`
npm ERR! Exit status 1

Fixed bumping these two PostCSS libraries in package.json to the versions that you can read below. I don't know if only one of them is needed to be updated... but here they are:
"postcss": "~7.0.16",
"postcss-cssnext": "~3.1.0"

Tough one.. I hope it helps someone else!


DateTime(1991,4,14,2,0) init with a bug

This tracker is for issues related to:
Dart core libraries: DateTime
Dart SDK version: 2.19.6 (stable) (Tue Jul 25 15:02:04 2023 +0000) on "windows 10"
Example:
final DateTime date = DateTime(1991,4,14,2,0);
print(date);  // 1991-04-14 03:00:00.000
The result hour is 3, but input is 2.

Can I ask what timezone you are using on your device?

I'm guessing China, which switched to DST on April 14, 1991, which means that there is no 2 AM that day.

Yeah,  my timezone is UTC/GMT+08:00（Asia/shanghai), like @lrhn said, it seems not a bug,  I think this issue can be closed.


How to install this package on the hololens?

Dear,
Do you have any readme file that can help me install this package (i.e. with the yolov3 object detection) on the HoloLens?
Thank you
Merwan

Does it actually work?

ob


dosen't import the nodes on mac m1

I've installed by a git clone and manager with the same result:
SeargeDP | (IMPORT FAILED) SeargeSDXL

Same problem here on Mac M2


Server Config File

i want to create a server inside docker but the server is not loading the toml config
Here my Compose File
version: '2.4' # uses '2.4' for cpuset

services:
    homeserver:
        image: ghcr.io/girlbossceo/conduwuit:latest
        restart: unless-stopped
        ports:
            - 6167:6167
        volumes:
            - ./db:/var/lib/matrix-conduit
            - ./config:/etc/conduwuit/
        environment:
            CONDUIT_CONFIG: ./conduwuit.toml
        cpuset: "0-2"

    cinny:
        image: ghcr.io/cinnyapp/cinny:latest
        container_name: cinny
        restart: unless-stopped
        ports:
          - 8182:80

volumes:
    db:

Actually, that's how it's supposed to work, isn't it? I don't have to enter all the environment things when I load a config, right?

got it fixed


Upgrade Gradle version and build tools

The existing version of Gradle does not support Java 10 and will lead to compile errors for JDK 10 users.
Bumping up the version such that java 10 and 8 can be supported.

LGTM

:tada: This PR is included in version 1.0.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Literature / Research References

Great package, but can you also link to research papers that use or describe these metrics.  Thanks

Hi, thank you!
We updated the README (4478b14efc23eee7927488df128957088749d584) with some pointers to the papers that introduce and use the metrics.
We also provide a thorough explanation in our paper.


Serve SWOB station for surface, partner and marine

As requested in https://gccode.ssc-spc.gc.ca/ec-msc/msc-geomet/-/issues/495, this commit will serve SWOB station datasets for surface, partner and marine.

Loader created to add datasets indexes into ElasticSearch
Loader added in init.py
Config added for the three datasets

@RousseauLambertLP I fixed my flake8 errors.

@RousseauLambertLP in the recent commit, I've fixed the template creation by looping SETTINGS on all three SWOB station datasets and I've also included the fix for the pipeline error as requested.

@RousseauLambertLP Can this be merged? Thx.


Centralize handling of conflicts and other common errors

@luksa: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_sail-operator_main
077e14a7393f643a8bb2623f02e67f8951eefc02
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/hold


http input issues with ffserver

I'm testing http input in a way where I'm running ffserver which provides http output, streaming mpeg-ts which it's getting from from ffmpeg. It works like this:

run ffserver with a configuration that waits for data from ffmpeg and whenever it gets it, it streams it out via http to the connected clients. If it's not getting anything from ffmpeg, theren there's no data but the http connection remains open

then I run ffmpeg which feeds a TS file in real time to ffserver

then I run TSDuck which reads the HTTP output and re-streams to UDP or modulates

The problem starts when ffmpeg stops feeding ffserver and there's no data sent out by ffserver. It seems that at this point TSDuck tries to reconnect, which might be OK but what's strange is that when it reconnects, it reports bitrate (since I included -P pcrbitrate) of 2+ Mbps, while there's no data streamed from the http source at that time so it's not possible that it can actually see any real bitrate from PCR since there's no PCR. There's even a fragment of the last played video file on the UDP output from TSDuck. Simply restarting TSDuck fixes the issue. Also when recording the output of ffserver directly, there's nothing, which is correct.
Here's the command and its output:
C:\Users\Administrator>tsp -v -I http -i --reconnect-delay 2000 http://<IP_ADDRESS>:8090/live.ts -P pcrbitrate -O ip <IP_ADDRESS>:6555
* http: downloading from http://<IP_ADDRESS>:8090/live.ts
* http: MIME type: video/MP2T, expected size: 0 bytes
* http: unknown input bitrate
* pcrbitrate: new bitrate from PCR analysis: 1,953,731 b/s
* pcrbitrate: new bitrate from PCR analysis: 2,734,093 b/s

now I stop ffmpeg (but ffserver connection remains active, there's just no data being sent) - after that, there are constant reconnect attempts
* http: downloading from http://<IP_ADDRESS>:8090/live.ts
* http: MIME type: video/MP2T, expected size: 0 bytes
* pcrbitrate: new bitrate from PCR analysis: 2,781,812 b/s
* pcrbitrate: new bitrate from PCR analysis: 2,707,656 b/s
* pcrbitrate: new bitrate from PCR analysis: 2,012,187 b/s
* http: downloading from http://<IP_ADDRESS>:8090/live.ts
* http: MIME type: video/MP2T, expected size: 0 bytes
* pcrbitrate: new bitrate from PCR analysis: 2,688,987 b/s
* pcrbitrate: new bitrate from PCR analysis: 2,669,468 b/s
* http: downloading from http://<IP_ADDRESS>:8090/live.ts
* http: MIME type: video/MP2T, expected size: 0 bytes
* pcrbitrate: new bitrate from PCR analysis: 2,793,562 b/s
* pcrbitrate: new bitrate from PCR analysis: 2,032,456 b/s
* pcrbitrate: new bitrate from PCR analysis: 2,744,668 b/s
* http: downloading from http://<IP_ADDRESS>:8090/live.ts
* http: MIME type: video/MP2T, expected size: 0 bytes
* pcrbitrate: new bitrate from PCR analysis: 2,634,350 b/s
* pcrbitrate: new bitrate from PCR analysis: 2,794,606 b/s
* pcrbitrate: new bitrate from PCR analysis: 1,979,875 b/s
* http: downloading from http://<IP_ADDRESS>:8090/live.ts
* http: MIME type: video/MP2T, expected size: 0 bytes
* pcrbitrate: new bitrate from PCR analysis: 2,806,193 b/s
* pcrbitrate: new bitrate from PCR analysis: 2,534,343 b/s
* http: downloading from http://<IP_ADDRESS>:8090/live.ts
* http: MIME type: video/MP2T, expected size: 0 bytes
* pcrbitrate: new bitrate from PCR analysis: 2,896,668 b/s
* pcrbitrate: new bitrate from PCR analysis: 1,983,400 b/s
* pcrbitrate: new bitrate from PCR analysis: 2,637,743 b/s
* tsp: user interrupt, terminating...
* http: downloading from http://<IP_ADDRESS>:8090/live.ts
* http: MIME type: video/MP2T, expected size: 0 bytes

and so on until TSDuck is restarted:
C:\Users\Administrator>tsp -v -I http -i --reconnect-delay 2000 http://<IP_ADDRESS>:8090/live.ts -P pcrbitrate -O ip <IP_ADDRESS>:6555
* http: downloading from http://<IP_ADDRESS>:8090/live.ts
* http: MIME type: video/MP2T, expected size: 0 bytes

... waits here until ffmpeg starts feeding ffserver again, then the streaming works
What I also notice is that it's very easy to reproduce this issue if the re-started ffmpeg streams from a file with different bitrate. If the same bitrate is streamed with ffmpeg, then TSDuck is likely to survive even ffmpeg restarts.
Here's an example of reconnects and reported bitrates when I tried to stream a file at 10 Mbps, then restart ffmpeg with variable bitrate at approx 3 Mbps:
C:\Users\Administrator>tsp -v -I http -i --reconnect-delay 2000 http://<IP_ADDRESS>:8090/live.ts -P pcrbitrate -O ip <IP_ADDRESS>:6555
* http: downloading from http://<IP_ADDRESS>:8090/live.ts
* http: MIME type: video/MP2T, expected size: 0 bytes
* http: unknown input bitrate
* pcrbitrate: new bitrate from PCR analysis: 9,202,390 b/s
* pcrbitrate: new bitrate from PCR analysis: 10,149,023 b/s
* pcrbitrate: new bitrate from PCR analysis: 8,855,764 b/s
* pcrbitrate: new bitrate from PCR analysis: 2,913,906 b/s
* http: downloading from http://<IP_ADDRESS>:8090/live.ts
* http: MIME type: video/MP2T, expected size: 0 bytes
* pcrbitrate: new bitrate from PCR analysis: 6,703,952 b/s
* pcrbitrate: new bitrate from PCR analysis: 10,027,180 b/s
* pcrbitrate: new bitrate from PCR analysis: 10,863,760 b/s
* pcrbitrate: new bitrate from PCR analysis: 3,696,305 b/s
* http: downloading from http://<IP_ADDRESS>:8090/live.ts
* http: MIME type: video/MP2T, expected size: 0 bytes
* pcrbitrate: new bitrate from PCR analysis: 6,741,654 b/s
* pcrbitrate: new bitrate from PCR analysis: 9,138,359 b/s
* pcrbitrate: new bitrate from PCR analysis: 10,321,453 b/s
* pcrbitrate: new bitrate from PCR analysis: 4,971,011 b/s
* http: downloading from http://<IP_ADDRESS>:8090/live.ts
* http: MIME type: video/MP2T, expected size: 0 bytes
* pcrbitrate: new bitrate from PCR analysis: 4,678,068 b/s
* pcrbitrate: new bitrate from PCR analysis: 10,747,615 b/s
* pcrbitrate: new bitrate from PCR analysis: 9,577,487 b/s
* pcrbitrate: new bitrate from PCR analysis: 6,043,259 b/s
* tsp: user interrupt, terminating...
* http: downloading from http://<IP_ADDRESS>:8090/live.ts
* http: MIME type: video/MP2T, expected size: 0 bytes

not only was TSDuck reconnecting all the time, it was also mixing together pcrbitrate messages with various bitrates, while the input was first 10 Mbps and then VBR 2.5-3.5 Mbps, it was never anything else.

Hello Jan,
The plugin pcrbitrate reports an average bitrate over periods of time based on distances between PCR's. It reports a new bitrate sample each time 128 PCR's have been collected on at least 1 PID. This works well with relatively stable bitrates. When the bitrate is extremely variable, especially when going from X to 0 and later from 0 to Y, the average values are meaningless with such long periods. It is like computing the integral of a periodic function using chunks wider than the period.
So, the solution is probably RTFM as usual. Try with various values of -P pcrbitrate --min-pcr 8 or 16 or 32.

OK, sorry, I read the report too fast, focused on the bitrate issue and missed the reconnection one.
Again, the answer is probably RTFM 😆 with option --receive-timeout in plugin http. Libcurl (unix) and WinInet (windows) have different constraints and default behaviours which are suitable for stable downloads. Otherwise, you need to tune.

Well I'm still not sure if --receive-timeout is what I need to change in order to fix the issue I'm having, which is not exactly a problem reading from HTTP or disconnects, the issue is TSDuck not being able to output stable stream if the http input goes to 0 or stops completely. Similar to what I experienced when merging some UDP sources.
However maybe I've found a workaround:
ffmpeg -> ffserver -> mptsd -> TSDuck
This way TSDuck output seems quite stable even if ffmpeg stops and starts - mptsd outputs CBR with null packets if ffserver stops sending data. I haven't checked PCRs, AV sync and more channel merging but it's a start. If I remove ffserver, it doesn't work reliably because mptsd loses connection to ffmpeg, which seems to interrupt the output, which causes again TSDuck to get confused somehow by something...
I'm sorry that I can't specify the problem exactly, instead I'm only describing symptoms. But I really don't know what the problem is and it's difficult to apply extra parameters from the manual if I have no clue what I'm looking for.

and here's something from debug:

if I use the ffmpeg -> ffserver -> mptsd -> TSDuck route, and mptsd outputs 10Mbps CBR, of which video is approx 3 Mbps or 0 if ffmpeg is restarting, I'm getting this on debug:

* Debug: merge: adjusted PCR by 11,510,932 (426 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 11,165,912 (413 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 10,769,756 (398 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 10,489,709 (388 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 10,097,613 (373 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 9,751,240 (361 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 9,822,076 (363 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 9,688,218 (358 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 9,455,847 (350 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 9,163,618 (339 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 8,778,290 (325 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 8,419,734 (311 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 8,079,075 (299 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 7,694,801 (284 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 8,156,827 (302 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 8,457,475 (313 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 8,291,431 (307 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 8,162,987 (302 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 8,056,501 (298 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 7,868,499 (291 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 7,680,797 (284 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 7,548,293 (279 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 8,867,148 (328 ms) in PID 0x0021 (33)
* Debug: merge: adjusted PCR by 10,207,360 (378 ms) in PID 0x0021 (33)

the output is modulated and plays fine
the full command looked like this:
tsp -d1 -v --bitrate 30000000 -I null -P regulate -P merge -p 0 -p 17 "tsp -v -I ip <IP_ADDRESS>:15000 -O file" -O dektec --device 0 --modulation DVB-S --convolutional-rate 1/2 --lnb 5150 --satellite-frequency<PHONE_NUMBER> --level -390 --stuffing --bitrate 30000000

when I use ffserver directly as input, debug outputs the following. first it looks OK, then after restarting ffmpeg, it sometimes still works fine but then when I stop ffmpeg, it goes crazy

* Debug: merge: adjusted PCR by -19,692,318 (-729 ms) in PID 0x0100 (256)
* Debug: merge: adjusted PCR by -18,303,530 (-677 ms) in PID 0x0100 (256)
* Debug: merge: adjusted PCR by -19,401,305 (-718 ms) in PID 0x0100 (256)
* Debug: merge: adjusted PCR by -20,500,433 (-759 ms) in PID 0x0100 (256)

after stopping ffmpeg:
* Debug: merge: adjusted PCR by 1,362,361,279 (50,457 ms) in PID 0x0100 (256)
* Debug: merge: adjusted PCR by 1,361,916,393 (50,441 ms) in PID 0x0100 (256)
* Debug: merge: adjusted PCR by 1,361,469,853 (50,424 ms) in PID 0x0100 (256)
* Debug: merge: adjusted PCR by 1,361,127,841 (50,412 ms) in PID 0x0100 (256)
* Debug: merge: adjusted PCR by 1,360,747,628 (50,398 ms) in PID 0x0100 (256)
* Debug: merge: adjusted PCR by 1,360,309,510 (50,381 ms) in PID 0x0100 (256)
* Debug: merge: adjusted PCR by 1,359,869,738 (50,365 ms) in PID 0x0100 (256)
* Debug: merge: adjusted PCR by 1,359,423,498 (50,349 ms) in PID 0x0100 (256)
* Debug: merge: adjusted PCR by 1,358,976,958 (50,332 ms) in PID 0x0100 (256)
* Debug: merge: adjusted PCR by 1,358,536,133 (50,316 ms) in PID 0x0100 (256)

and the output looks like fast forwarding video (but it must be played from a buffer or something like that, since ffmpeg is stopped
the command looked like this
tsp -d1 -v --bitrate 30000000 -I null -P regulate -P merge -p 0 -p 17 "tsp -I http -i --reconnect-delay 1000 http://<IP_ADDRESS>:8090/live.ts -O file" -O dektec --device 0 --modulation DVB-S --convolutional-rate 1/2 --lnb 5150 --satellite-frequency<PHONE_NUMBER> --level -390 --stuffing --bitrate 30000000

Hi Jan,
Going back to this one after being busy elsewhere. I am a bit lost. Could you synthesize the details of what is going wrong and what should be done instead?

Well maybe I'd just like to ask a question first - is TSDuck's concept OK with a stream source (UDP or HTTP) that's not providing a consistent, 24/7 stream? The input stream (HTTP, UDP) may stop and start or it may remain connected but at times only send null packets or no data at all.
Even when I tried ffmpeg -> ffserver -> mptsd -> TSDuck workflow, thus providing TSDuck with CBR input, it didn't work for very long. I was able to stop and start the source streams (ffmpeg) a few times and it was OK during the hour or so I tested this. But then I stopped ffmpeg (so mptsd was only streaming null packets) and 6 hours later, I resumed the source ffmpeg stream but at that point I could only see frozen picture on the output (TSDuck IP output as well as dektec output). Restarting TSDuck solved the issue.

Normally, it should work. The tsp engine is really passive and does not take any action based on time.
The input plugin "pushes" packets in the chain. Pushing and pushing from one plugin to another. When nothing "pushes" at input, every plugin is waiting.
There is one artifact however : To avoid too many context switches between threads (each plugin executes in its own thread), a plugin thread is woken up only when a significant amount of packets are ready for this plugin (global parameter --max-flushed-packets). So, when nothing "pushes" the chain at input, many packets stagnate in the buffer, waiting for more "push" from the input to progress in the chain.
So, because of this, you may say that tsp is not well suited with sporadic input streams. You may reduce this effect using  --max-flushed-packets but you won't completely get rid of it. BTW, this may explain why you saw parts of older streams when transmission restarts after a long time.
Normally, the input plugin can wait for a long time, very patiently, until new packets arrive. There is nothing in tsp which interfere with this. However, there can be a problem with the input plugin itself. Specifically, the http plugin relies on system libraries (WinInet on Windows, libcurl on Unix). These libraries are typically designed for downloading, Web services and API's. They may have problems when a connection is open and nothing comes in for a long time. Since WinInet and libcurl have very different implementations, I would suggest to try on Windows and Linux and check if there is a difference in behaviour. If there is such difference, this is probably a limitation in one of the libraries. If you can find tuning options for the faulty library which could solve the issue, just tell me and I will make these options available from the command line.
That being said, I will not rewrite a complete HTTP implementation myself. It is awfully complicated. You need support for SSL/TLS, proxy management, various procotol specificities, etc. So, we need to find a solution with the existing system libraries.


Update README.md & add myself to the contributor list

Summary
Added myself to the contributor list.
Related Issues or PRs
N/A

How To Test

Compare the diffs to ensure I didn't delete anything.

Screenshots (optional)

Superseded by https://github.com/trussworks/react-uswds/pull/2649


Update create account UI

If the user selects the create account option. show the create animation (lock) for the time it takes to generate the keys or 2 seconds. whichever is longer.

TODO: fix lottie animation canvas size


Switch BufMut::bytes_mut from MaybeUninit to &mut UninitSlice, a type ownec by bytes for this purpose

The way BufMut uses MaybeUninit can lead to unsoundness.
This replaces MaybeUnit with a type owned by bytes so we can ensure the usage patterns are sound.
Refs: #328

cc/ @Kixunil

cc @RalfJung this fix our unsoundness? :)

@Kixunil I applied feedback.

cc @RalfJung this fix our unsoundness? :)

I have not reviewed your entire BufMut API surface, it is a bit too big for that.^^ But this seems to plug the hole that is caused by MaybeUninit not protecting against "de-initialization". (That was never its intended goal, IMO it is reasonable to expect such things to be done on types layered on top of MaybeUninit, like you did here.)

I compiled it with rustdoc and looked at the documentation. I didn't catch any soundness issues by looking at it.