Tapping the checkbox in settings shows the dialog but makes the change anyway

 Issue by Hixie
Thursday Jul 16, 2015 at 22:32 GMT
Originally opened as https://github.com/flutter/engine/issues/42

From @Hixie on June 29, 2015 19:23
@collinjackson
Copied from original issue: domokit/mojo#281

 Comment by Hixie
Thursday Jul 16, 2015 at 22:32 GMT

Collin and I discussed this. We should fix this when we fix the gesture system to have gesture negotiation. The menu item and the checkbox would both try to get a tap, and only one would win.

 Comment by jamesr
Tuesday Aug 04, 2015 at 18:02 GMT

https://github.com/domokit/sky_engine/pull/436 addressed this bug in a slightly different way at @abarth's suggestion.

dup of #75.


How do I write about 'Flex Consumption' in pricingTier?

https://github.com/microsoft/azure-gradle-plugins/wiki/Configuration
In this link, the pricing tier has a topic related to Consumption, but it doesn't explain how to write it. How do I write flex tier with the example?

@dydtjr1128 Thanks for your report and sorry for the late response. You may set pricing tier to Flex Consumption to use flex consumption service plan. We have also updated the wiki page, thanks again for your report and help.


Wrong behaviour on missing probe_module.start

Description
When having an integration test with probe_module and missing start command the execution hangs for 5 minutes and then passes.
How to reproduce:
Add a test with probe_module, but without start command:
@pytest.mark.asyncio
@pytest.mark.everest_core_config('<some-config>.yaml')
async def test_error_history(self, everest_core: EverestCore):
    everest_core.start(standalone_module='probe')

    probe_module = ProbeModule(everest_core.get_runtime_session())
    # probe_module.start()

Additional Information
everest-core is waiting for standalone modules to start, in this case the probe_module. Since the execution takes 5:02 minutes I guess there is somewhere a timeout of 5 minutes. Expected behaviour would be to fail when reaching this timeout.

Having a look at the EverestCore class https://github.com/EVerest/everest-utils/blob/main/everest-testing/src/everest/testing/core_utils/everest_core.py#L76
Since a successfully started everest_core + all standalone modules doesn't necessarily need to be asserted it would be also an option to have a convenient function to assert the state ALL_MODULES_STARTED, currently this is only possible with:
status = everest_core.status_listener.wait_for_status(10, 'ALL_MODULES_STARTED')
assert status == 'ALL_MODULES_STARTED'

Something as everest_core.wait_for_all_modules_started(<timeout>) with proper return value would be nice.

The only 5 minute timeout I could find is the remote_cmd_res_timeout: https://github.com/EVerest/everest-framework/blob/cb2021f07e8268ef6c80ed84c231ba0685e2f48d/lib/everest.cpp#L26
used for request_clear_error and call_cmd
at the end of an  test using everest_core fixture the function everest_core.stop() is called, where the manager process is terminated with SIGINT signal. This seems to take the 5 minute timeout.
But currently I don't get why terminating the process has the 5 minute timeout in it, when no commands are called..

The only 5 minute timeout I could find is the remote_cmd_res_timeout: https://github.com/EVerest/everest-framework/blob/cb2021f07e8268ef6c80ed84c231ba0685e2f48d/lib/everest.cpp#L26
used for request_clear_error and call_cmd
at the end of an test using everest_core fixture the function everest_core.stop() is called, where the manager process is terminated with SIGINT signal. This seems to take the 5 minute timeout.
But currently I don't get why terminating the process has the 5 minute timeout in it, when no commands are called..

Seems like everest_core.stop is not called, when doing:
@pytest.mark.asyncio
@pytest.mark.everest_core_config('<some-config>.yaml')
async def test_error_history(self, everest_core: EverestCore):
    everest_core.start(standalone_module='probe')

    probe_module = ProbeModule(everest_core.get_runtime_session())
    # probe_module.start()

    everest_core.stop()

pytest is the only process left, hanging..

Seems like it is caused by the Module::say_hello function that spawns the mqtt main loop thread: https://github.com/EVerest/everest-framework/blob/cb2021f07e8268ef6c80ed84c231ba0685e2f48d/everestpy/src/everest/module.cpp#L57
Not sure about that, and also not sure how to solve this

Probably related to this line https://github.com/EVerest/everest-framework/blob/main/lib/mqtt_abstraction_impl.cpp#L204

https://github.com/EVerest/everest-framework/pull/170 will fix a big part of this issue.
The poll call was blocking until a mqtt_event happens or the timeout is reached, since the probe module didn't start in this case poll only returned on timeout, so the disconnect procedure took 5 minutes in this case.
With this PR another file descriptor is given to this poll call and is used to let poll return on disconnect event
So this PR will solve "hanging" tests, there still tests that should had fail even with this fix, but they passed

I created a new dedicated issue for the wrong behaviour on passing, since this is not directly related:
https://github.com/EVerest/everest-utils/issues/126


amber: init at 0.1.1

Motivation for this change
This tools allows for easily managing secrets in a repo. Tested it locally on a NixOS machine:
❯ amber
amber 0.1.1
Utility to store encrypted secrets in version trackable plain text files

USAGE:
    amber [FLAGS] [OPTIONS] <SUBCOMMAND>

FLAGS:
    -h, --help        Prints help information
        --unmasked    Disable masking of secret values during exec
    -v, --verbose     Turn on verbose output
    -V, --version     Prints version information

OPTIONS:
        --amber-yaml <amber-yaml>    amber.yaml file location [env: AMBER_YAML=] [default:
                                     amber.yaml]

SUBCOMMANDS:
    encrypt     Add or update a secret
    exec        Run a command with all of the secrets set as environment variables
    generate    Generate a new strong secret value, and add it to the repository
    help        Prints this message or the help of the given subcommand(s)
    init        Initialize a new directory
    print       Print all of the secrets
    remove      Remove a secret

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)
[ ] 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.

Thanks @figsoda for the review!

maybe the file name should be amber-secret instead of amber?

I can change that if you feel strongly. But the reason I have kept it as amber is because:

amber is the name of the project
I'm using amber-secret because there is already another package named amber in the nixpkgs repo.

fair enough

darwin build failed, i think you need CoreFoundation and Security in buildInputs, inherited from darwin.apple_sdk.frameworks inside all-packages.nix

@ofborg build amber-secret


feat: generate json report

Related issue(s)
closes #72

Checklist

[X] I agree to follow this project's Code of Conduct.
[x] I have read, and I am following this repository's Contributing Guidelines.
[X] I have read the Security Policy.
[X] I have referenced an issue describing the bug/feature request.
[X] I have added tests that prove the correctness of my implementation.
[x] I have updated the documentation.

Description
This PR solves Issue #72 allowing Arch-Go to export the verification result to a file in JSON format.
The expected report content in JSON format is:
{
  "version": "X.Y.Z",
  "summary": {
    "timestamp": "2024-07-31T09:50:58.878616-04:00",
    "duration": 120692375,
    "pass": false
  },
  "compliance": {
    "pass": false,
    "total": 6,
    "passed": 4,
    "failed": 2,
    "rate": 67,
    "threshold": 100,
    "summary": [
      "rule X that failed",
      "rule Y that failed"
    ],
    "details": {
      "dependenciesRules": {
        "total": 1,
        "passed": 0,
        "failed": 1,
        "details": [
          {
            "rule": "Rule Description #1",
            "pass": false,
            "total": 1,
            "passed": 0,
            "failed": 1,
            "packageDetails": [
              {
                "package": "github.com/foo/bar/internal",
                "pass": true,
                "details": null
              },
              {
                "package": "github.com/foo/bar/internal/clients",
                "pass": false,
                "details": ["detail_1", "detail_2"]
              }
            ]
          },
          {
            "rule": "Rule Description #2",
            "pass": true,
            "total": 1,
            "passed": 0,
            "failed": 1,
            "packageDetails": [
              {
                "package": "github.com/foo/bar/internal",
                "pass": true,
                "details": null
              }
            ]
          }
        ]
      },
      "functionsRules": {
        "total": 1,
        "passed": 1,
        "failed": 0,
        "details": [
          {
            "rule": "Rule Description #3",
            "pass": true,
            "total": 1,
            "passed": 1,
            "failed": 0,
            "packageDetails": [
              {
                "package": "github.com/foo/bar/internal",
                "pass": true,
                "details": null
              },
              {
                "package": "github.com/foo/bar/internal/clients",
                "pass": true,
                "details": null
              }
            ]
          }
        ]
      },
      "contentsRules": {
        "total": 1,
        "passed": 0,
        "failed": 1,
        "details": [
          {
            "rule": "Rule Description #4",
            "pass": false,
            "total": 1,
            "passed": 0,
            "failed": 1,
            "packageDetails": [
              {
                "package": "github.com/foo/bar/internal/model",
                "pass": false,
                "details": ["foo", "bar"]
              }
            ]
          },
          {
            "rule": "Rule Description #5",
            "pass": true,
            "total": 1,
            "passed": 1,
            "failed": 0,
            "packageDetails": [
              {
                "package": "github.com/foo/bar/internal/clients",
                "pass": true,
                "details": null
              }
            ]
          }
        ]
      },
      "namingRules": {
        "total": 1,
        "passed": 1,
        "failed": 0,
        "details": [
          {
            "rule": "Rule Description #6",
            "pass": true,
            "total": 1,
            "passed": 1,
            "failed": 0,
            "packageDetails": [
              {
                "package": "github.com/foo/bar/internal/model",
                "pass": true,
                "details": null
              }
            ]
          }
        ]
      }
    }
  },
  "coverage": {
    "rate": 80,
    "threshold": 100,
    "pass": false,
    "uncoveredPackages": [
      "uncovered_package_1",
      "uncovered_package_2"
    ],
    "details": [
      {
        "package": "github.com/arch-go/arch-go",
        "contentsRules": 0,
        "dependenciesRules": 1,
        "functionsRules": 1,
        "namingRules": 1,
        "covered": true
      },
      {
        "package": "github.com/arch-go/arch-go/foo/bar",
        "contentsRules": 0,
        "dependenciesRules": 0,
        "functionsRules": 0,
        "namingRules": 0,
        "covered": false
      }
    ]
  }
}

Changelist
In order to export the analysis result to JSON format this PR includes changes in the internal Result structure (internal/reports/model/types.go).

🤦Sorry. Yes.

@fdaines : Please excuse me for the silence. The fix, @DGuhr was talking about is now part of the PR. With it in place the PR can be merged


can not use in tsx by vue3

I cant't use v-model and handle props

please check props type

This is a problem with ts checking, please try using useDraggable.


Generation of division by zero NANs in create_media_baseline_contribution_df()

Dear lightweight_mmm Team
Another point I stumbled upon. In plot.py => create_media_baseline_contribution_df() there is a possibilty that adjusted_sum_scaled_prediction_across_samples becomes zero. For example when all stores are closed on a given day and there is no additional advertising going on around then. This will result in division by zero NANs in baseline_contribution_pct.
  # Adjust baseline contribution and prediction when there's any negative value.
  adjusted_sum_scaled_baseline_contribution_across_samples = np.where(
      sum_scaled_baseline_contribution_across_samples < 0, 0,
      sum_scaled_baseline_contribution_across_samples)
  adjusted_sum_scaled_prediction_across_samples = adjusted_sum_scaled_baseline_contribution_across_samples + sum_scaled_media_contribution_across_channels_samples

  # Calculate the media and baseline pct.
  # Media/baseline contribution across samples/total prediction across samples.
  media_contribution_pct_by_channel = (
      sum_scaled_media_contribution_across_samples /
      adjusted_sum_scaled_prediction_across_samples.reshape(-1, 1))
  baseline_contribution_pct = adjusted_sum_scaled_baseline_contribution_across_samples / adjusted_sum_scaled_prediction_across_samples

Thanks again for this package!

Thanks for pointing this out, good catch! We will send out a fix soon.

Thanks for the feedback and looking into this!


Add AWS::EC2::CapacityReservation

Per April 18, 2019:
AWS::EC2::CapacityReservation
Use the AWS::EC2::CapacityReservation resource to create a Capacity Reservation.

Hello @markpeek
This issue can be closed.

Ahhh, thank you for the reminder!


Make the DB module work on iOS

Kind (Required)

Improvement

Overview (Required)

Add an iOS target and try the KeychainSettings or AppleSettings implementation of russhwolf/multiplatform-settings.

Links

https://github.com/russhwolf/multiplatform-settings#apple-keychain

I wanna try it 🙌

Thank you! please go ahead!


UML-2830-Actor Side Severance Warning

Purpose
Briefly describe the purpose of the change, and/or link to the JIRA ticket for context
Fixes UML-2830
Approach
Explain how your code addresses the purpose of the change
Learning
Any tips and tricks, blog posts or tools which helped you. Plus anything notable you've discovered about the Use a Lasting Power of Attorney service
Checklist

[ ] I have performed a self-review of my own code
[ ]~ I have added relevant logging with appropriate levels to my code ~
[ ] ~New event_codes have been documented on the wiki page~
[ ]~ I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant~
[ ] I have added tests to prove my work
[ ] I have added welsh translation tags and updated translation files
[ ] I have run an accessibility tool on any pages I have made changes to and fixed any issues found
[ ] I have notified the Interaction Designer of any content changes so that appropriate screenshots/flow diagram changes can be made
[ ] The product team have tested these changes

This PR is now superseded as this code plus bug-fixes is now in the UML-2766_display_i_and_p_to_viewers branch


Failed to open gpio chip on Ubuntu Core 24 / Raspberry Pi 5

Beta version of snap, following Wiki:
$ sudo snap install matter-pi-gpio-commander --beta
matter-pi-gpio-commander (beta) 2.0.0 from Canonical IoT Labs installed
$ sudo snap set matter-pi-gpio-commander gpio=4
$ sudo snap connect matter-pi-gpio-commander:gpio-memory-control
error: snap "matter-pi-gpio-commander" has no plug named "gpio-memory-control"
$ sudo matter-pi-gpio-commander.test-blink
GPIO: 4
GPIOCHIP: 0
Failed to open gpio chip: /dev/gpiochip0

Release version of snap following docs:
$ sudo snap remove matter-pi-gpio-commander --purge
matter-pi-gpio-commander removed
$ sudo snap install matter-pi-gpio-commander
matter-pi-gpio-commander 1.1.0 from Canonical IoT Labs installed
$ sudo snap set matter-pi-gpio-commander gpio=4
$ sudo snap connect matter-pi-gpio-commander:gpio-memory-control
$ sudo matter-pi-gpio-commander.test-blink
GPIO: 4
Oops: Unable to determine board revision from /proc/cpuinfo
 -> No "Hardware" line
 ->  You'd best google the error to find out why.

Beta version following #60 - these steps work on Ubuntu Server 24.04 on Raspberry Pi 5, but not when using Core 24:
$ sudo snap remove matter-pi-gpio-commander --purge
matter-pi-gpio-commander removed
$ sudo snap install matter-pi-gpio-commander --beta
matter-pi-gpio-commander (beta) 2.0.0 from Canonical IoT Labs installed
$ sudo snap set matter-pi-gpio-commander gpiochip=4
$ sudo matter-pi-gpio-commander.test-blink
Unset or empty environment variable: GPIO
$ sudo snap set matter-pi-gpio-commander gpio=4
$ sudo matter-pi-gpio-commander.test-blink
GPIO: 4
GPIOCHIP: 4
Failed to open gpio chip: /dev/gpiochip4

System info
$ ls /dev/gpio*
/dev/gpiochip0  /dev/gpiochip2  /dev/gpiochip4  /dev/gpiomem1  /dev/gpiomem3
/dev/gpiochip1  /dev/gpiochip3  /dev/gpiomem0   /dev/gpiomem2  /dev/gpiomem4
$ cat /proc/cpuinfo
processor	: 0
BogoMIPS	: 108.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x4
CPU part	: 0xd0b
CPU revision	: 1

processor	: 1
BogoMIPS	: 108.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x4
CPU part	: 0xd0b
CPU revision	: 1

processor	: 2
BogoMIPS	: 108.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x4
CPU part	: 0xd0b
CPU revision	: 1

processor	: 3
BogoMIPS	: 108.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x4
CPU part	: 0xd0b
CPU revision	: 1

Revision	: d04170
Serial		: <redacted>
Model		: Raspberry Pi 5 Model B Rev 1.0

Manually connection for gpio worked:
$ sudo matter-pi-gpio-commander.test-blink
GPIO: 4
GPIOCHIP: 4
Failed to request output line.
Permission denied
$ sudo snap connect matter-pi-gpio-commander:custom-gpio matter-pi-gpio-commander:custom-gpio-dev
$ sudo matter-pi-gpio-commander.test-blink
GPIO: 4
GPIOCHIP: 4
Setting GPIO 4 to Off
Setting GPIO 4 to On
Setting GPIO 4 to Off
Setting GPIO 4 to On
^C

The Custom GPIO interface doesn't auto connect on Ubuntu Core. See: https://forum.snapcraft.io/t/approval-and-auto-connection-for-custom-device-interface-on-matter-pi-gpio-commander/38891/7
The workaround, as mentioned, is to connect manually:
sudo snap connect matter-pi-gpio-commander:custom-gpio \
    matter-pi-gpio-commander:custom-gpio-dev

On Raspberry Pi 5, the custom-device plug is unavailable on the stable branch (v1.1.0) for both Ubuntu Server 24.04 and Ubuntu Core 24.
skoll@ubuntu:~$ sudo snap install matter-pi-gpio-commander
matter-pi-gpio-commander 1.1.0 from Canonical IoT Labs installed
skoll@ubuntu:~$ sudo snap connections matter-pi-gpio-commander
Interface            Plug                                          Slot           Notes
avahi-control        matter-pi-gpio-commander:avahi-control        -              -
bluez                matter-pi-gpio-commander:bluez                -              -
dbus                 matter-pi-gpio-commander:otbr-dbus-wpan0      -              -
gpio-memory-control  matter-pi-gpio-commander:gpio-memory-control  -              -
network              matter-pi-gpio-commander:network              :network       -
network-bind         matter-pi-gpio-commander:network-bind         :network-bind  -
skoll@ubuntu:~$ sudo snap connect matter-pi-gpio-commander:custom-gpio
error: snap "matter-pi-gpio-commander" has no plug named "custom-gpio"

This gave the same error as jpm's second example when triggering the test blink.
However, the --beta branch (v2.0.0) worked for me on server 24.04 (will check UC24 as well).
skoll@ubuntu:~$ sudo snap install matter-pi-gpio-commander --beta
matter-pi-gpio-commander (beta) 2.0.0 from Canonical IoT Labs installed
skoll@ubuntu:~$ sudo snap set matter-pi-gpio-commander gpio=4
skoll@ubuntu:~$ sudo snap set matter-pi-gpio-commander gpiochip=4
skoll@ubuntu:~$ sudo matter-pi-gpio-commander.test-blink
GPIO: 4
GPIOCHIP: 4
Setting GPIO 4 to Off
Setting GPIO 4 to On
Setting GPIO 4 to Off
Setting GPIO 4 to On
...

I've just promoted 2.0+chip-v<IP_ADDRESS> from candidate to stable. The custom-device interface should now be available on stable, but a manual connection is still required on Ubuntu Core.

I can confirm the current steps in the documentation now work as described.
secondskoll@localhost:~$ sudo snap remove matter-pi-gpio-commander --purge
matter-pi-gpio-commander removed
secondskoll@localhost:~$ sudo snap install matter-pi-gpio-commander
matter-pi-gpio-commander 2.0+chip-v<IP_ADDRESS> from Canonical IoT Labs installed
secondskoll@localhost:~$ sudo snap set matter-pi-gpio-commander args="--passcode 1234"
secondskoll@localhost:~$ sudo snap connect matter-pi-gpio-commander:custom-gpio \
                  matter-pi-gpio-commander:custom-gpio-dev
secondskoll@localhost:~$ sudo snap set matter-pi-gpio-commander gpio=4
secondskoll@localhost:~$ sudo snap set matter-pi-gpio-commander gpiochip=4
secondskoll@localhost:~$ sudo matter-pi-gpio-commander.test-blink
GPIO: 4
GPIOCHIP: 4
Setting GPIO 4 to Off
Setting GPIO 4 to On
^C


NoSuchMethodError: The method 'seek' was called on null with AudioCache

AudioCache audioCache = new AudioCache();
audioCache.play('sound3.mp3');
audioCache.fixedPlayer.seek(new Duration(milliseconds: 2000));

E/flutter ( 4350): [ERROR:flutter/shell/common/shell.cc(186)] Dart Error: Unhandled exception:
E/flutter ( 4350): NoSuchMethodError: The method 'seek' was called on null.
E/flutter ( 4350): Receiver: null
E/flutter ( 4350): Tried calling: seek(Instance of 'Duration')

Try this:
AudioCache audioCache = new AudioCache();
var player = await audioCache.play('sound3.mp3');
player.seek(new Duration(milliseconds: 2000));

Fixed player property must be set before using it, it is meant to be used if you want to have a single player instance on your code, because AudioCache will create a player otherwise

Closing this, due inactivity, if you still got problems, please open a new issue.


Add discontinue_on to the VariantAttributes object

Is your feature request related to a problem? Please describe.
Given discontinue_on is settable for a variant in admin panel it should be returned in VariantAttributes object
Describe the solution you'd like.
.
Describe alternatives you've considered.
.
Additional context
.

Hi @JTimings 👋 ,
This is more a question to https://github.com/spree/spree. The Spree SDK parses results returned by Spree.
In any case, products can be filtered by filter[show_discontinued] to show all products, including those which are discontinued. The discontinue_on attribute can be easily added to APIv2 responses returning products or variants by decorating existing Spree models. I'm not convinced it's a good idea for Spree to return this value by default for products or variants. I think it isn't. I expect it's no coincidence that it's not returned by Spree right now.
You can try searching for discussions about product and variant serializers in the Spree repository. Chances are discontinue_on was already mentioned in those discussions. You can also post your suggestion in the Spree repository. It's more popular than the SDK.
Cheers,
T.


Changing redirection from Mail to Outlook

Are their any ways for me to change the redirection from Mail to Outlook as that's the proposed destination that I go to most times when sending emails.

Hi @BryanCJW ,
you may have to change the default mail application on your operating system.


Great library, thanks a lot ~😍

very good library.👍

Why close the issue? :) Have you got any success with running Flet on Android? What was your process?

Yes, I run it successfully, my idea is to write python code on the phone, and then run it on the phone. Now it is running successfully on android9, but on android12 it prompts me that I do not have permission to run fletd, although I added chmod+x permission to it

I cross-compiled fletd and reported an error because the content folder is missing, and it cannot be empty. Just place an empty file in it. Then compile the executable file of fletd-arm64-v8a,Then put fletd under cache/tmp/ and set runnable permissions.But it was successful on lower versions of Android, and I haven't found the cause of the problem in higher versions.

What program is on the left screenshot?

https://pub.dev/packages/chaquopy ,I use this pub package to run python programs on the flutter side.

I think you've got the full idea of what I'm thinking now😄😄

Ah, nice! It's getting together in my head now :) So, there is a Flutter widget for using Chaquopy SDK!
Will take a look - it will help me to figureout the best way to package Flet apps for mobile. Thank you!

Yes, completely native, no network required. Just run fletd locally. But the current problem is: there is no permission to run fletd on android12. Adding chmod+x doesn't work either. I have time to continue researching this issue. Finally, thanks again for the flet library.😍😍

Interesting though that flet-linux-arm64.tar.gz Flutter client worked, right :)

Of course, goos=android!
So, Flet app on your phone is opening in the browser?

No, I am in the #211 you just submitted, this client can run directly, just specify the port. Both remain the same. They communicate via websockets you wrote [fletd].

Smart! 😀 Didn't expect someone to notice that FletApp was moved into a separate Flutter package!


Sort threads to run slowest group first

This small improvement has a noticeable performance gain when running a lot of heavy tests. I've done some benchmarks and the conclusion is that it's beneficial to run the "heaviest" workload-group first rather than having it run in the last thread.

Makes sense!Thanks for your contribution!

Makes sense!Thanks for your contribution!


Can't receive artnet values

I tryed the app on windows and android. I can't receive any artnet values.
All values remain at 0.
What artnet-subnet/universe is used?
Can you provide a step by step guide, please?

Hi, thank you for your feedback!
Firstly make sure both the art-net sender and receiver are on the same network and have an IP address.
For the example I will use AuroraDMX on android to send data and the Windows version of Art-Net-Light to receive data.
1- Open the Windows application.
2- Allow the application through your firewall .
3- Open AuroraDMX.
4- In the settings menu set the ArtNet server IP address to the computer one in this format : "192.168.X.X:6454". You can see your IP address in Art-Net light UI. If you don't see the UI just click on the screen or press the "h" key.
5- Play with the 3 first sliders in AuroraDMX to see Art-Net-Light background changing color.
Does it work for you ? It works for me if I follow those steps.

Thank you very much.
I tried it again. I used "The ArtNetominator" to diagnose the windows side. I' ve got some values from Aurora on strange net/universe combination. But at first Art-Net-Light doesn't work. Aurora also has a bug on the server-config: my network ist 192.168.26.xxx. It's not possible to enter that address (field to short).
I disabled the windows firewall completly (even the part "public network") and started  Art-Net-Light again.
At the Andoid side i use Art-Net Controller (very nice tool). I played around with broadcasting <IP_ADDRESS> vs. <IP_ADDRESS> vs. unicast <IP_ADDRESS>.
After changing the address on Art-Net Controller, Art-Net-Light doesn't react anymore until restart; but only the windows version. On a second device (android app) it worked perfectly.

Alright so it worked for you and that is good to hear.
I take note of your feedback and I will use Art-Net Controller instead of Aurora to test the next version.
Thank you!


SWS3012 Missions not updating from repo

Start and end times were updated on bitbucket and pull down to ec2b but never made it to the database. According to prof henz this was not the case last sem. To do root cause analysis to find out what caused this!

Fixed by https://github.com/source-academy/cadet/pull/423

@chrisjwelly thanks haha

Note that this is fixed by https://github.com/source-academy/cadet/pull/423
which is merged AND already deployed in the current cadet backend.


Added functionality of code formatting on pre-commit hook

Resolves: #158
Added formatter

husky + pretty-quick + prettier
moved prettier from dependencies to devDependencies in packages/mirrorful

Well done @arneesh. Love the usage of prepare. I learned something new. Excellent setup.
I tested this and looks great. Merging. Feel free to share about this in our Slack channel. You should get credit for all the awesome work you are doing. I will share as well.


get room timeout after remove a member

Describe the bug
After the administrator remove a member from a room, python-wechaty will receive a room-leave event. This event will reload the room-payload which is dirty in server, and it leads to this error.
To Reproduce
Steps to reproduce the behavior:

remove a member from a chat-room
python-wechaty will have a greate time-delay on room-leave event.

Mark, facing this issue as well. After remove a member from a chat room, room.ready(force=True) still with error

This issue is fixed with _dirty feature.
I will close this issue later if you don't have any problems. Thanks for your posting.


Drop dependency on ember-i18n

This is not used within the addon anymore in v2.

Build should pass once #143 has been merged


Add mariner extras repo

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

This PR enables the mariner-extras repository.
Change Log

Added mariner-extras repo

Does this affect the toolchain?

YES
Test Methodology

Local package & toolchain build.

Do we have an explanation of what the mariner-extras repo will contain? Could you at least add that to the PR, if not the repo file itself?


🍒 Cherry pick PR #14171 to staging 🍒

🍒 Cherry pick https://github.com/Expensify/App/pull/14171 to staging 🍒

🚀 Cherry-picked to staging by @Julesssss in version: 1.2.51-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Update Google Analytics code

We are currently pushing the old ga.js legacy tracker, we should update this to use the new GA tracker code.

@agjohnson can you explain this one a little more?

@humitos Google Analytics has functionality that is not available if using the legacy ga.js, but requires the newer analytics.js with a different API.
Information about upgrading: https://developers.google.com/analytics/devguides/collection/upgrade/

This issue was solved on #3495 (already merged).


Lb/fix error summary navigation

Context
When there are errors in the error summary, we should be able to use those to navigate to the field where the error is. The ids were not correct for the provider and school inputs when adding a new organisation
Changes proposed in this pull request
Add error id to autocomplete.
Guidance to review
Login as colin and go to add organisation.
Click continue without entering an organisation.
Click on (or use the keyboard to navigate to) the error in the error summary,
The focus should then be on the required input field
Link to Trello card
https://trello.com/c/n4gsEQRz
Things to check

[NA] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[NA] This code does not rely on migrations in the same Pull Request
[NA] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[NA] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[NA] API release notes have been updated if necessary
[NA] If it adds a significant user-facing change, is it documented in the CHANGELOG?
[NA] Required environment variables have been updated or added to the Azure KeyVault

Screenshots
Before
https://github.com/DFE-Digital/itt-mentor-services/assets/44073106/4172bd1c-bce2-485c-a0db-070dc3003309
After
https://github.com/DFE-Digital/itt-mentor-services/assets/44073106/1457782d-4aad-4725-a410-c9b078b93259

 Error message navigation broken when adding an organisation


Create Grafana dashboard for CloudWatch metrics

TODO: define which metrics should be captured

Read/write on dynamo tables
API response code breakdown
Batch latency
Size of batch queues
Invocation and Failure count for each daemon lambda
Invocation and Failure count for api lambda
Average and max duration for each daemon lambda
Failed requests (use dynamo state table to figure this out)
Number of cache hits vs misses (Will figure out how to measure this after caching goes in)
Average time from initial post request to completed job (Not sure how to measure this yet)

@mckinsel @calvinnhieu comment here if there is anything else you think of to measure

MVP grafana dashboard for dev: https://metrics.dev.data.humancellatlas.org/d/matrix-dev/matrix-dev?refresh=1m&panelId=18&orgId=1&from=1543851434706&to=1543860895863
Left: publish custom cloudwatch metrics to measure job and batch stats (not available currently from cloudwatch metrics)

https://github.com/HumanCellAtlas/dcp-monitoring/pull/19 open for review and https://github.com/HumanCellAtlas/matrix-service/pull/163 is merged. Once #163 is promoted up through prod (integration currently in progress) and https://github.com/HumanCellAtlas/dcp-monitoring/pull/19 is merged in, this ticket can be marked as done. Estimate: EOD 11/10


uglify error while doing npm run build

Is this a bug report?
Yes

Can you also reproduce the problem with npm 4.x?

5.3.0
Which terms did you search for in User Guide?

I searched for TypeError: Cannot read property 'reset' of undefined
Environment

node -v: v6.10.0
npm -v: 5.3.0
yarn --version (if you use Yarn):
npm ls react-scripts (if you haven’t ejected<EMAIL_ADDRESS>
Then, specify:

Operating system: Mac OS X
Browser and version (if relevant):

Steps to Reproduce

(Write your steps here:)

I ran npm run build which I used to create a deployable build. It used to work fine with react-scripts 1.0.6 Now with the latest react-scripts, I get the following error:

➜  frontend-web git:(master) npm run build

><EMAIL_ADDRESS>build /Users/psankar/go/src/gitlab.com/kaigal/kaigal/frontend-web
> react-scripts build

Creating an optimized production build...
Failed to compile.

Failed to minify the bundle. Error: static/js/main.d0e43aae.js from UglifyJs
TypeError: Cannot read property 'reset' of undefined
    at Array.forEach (native)
    at compiler.run (/Users/psankar/go/src/gitlab.com/kaigal/kaigal/frontend-web/node_modules/react-scripts/scripts/build.js:130:23)
    at emitRecords.err (/Users/psankar/go/src/gitlab.com/kaigal/kaigal/frontend-web/node_modules/webpack/lib/Compiler.js:269:13)
    at Compiler.emitRecords (/Users/psankar/go/src/gitlab.com/kaigal/kaigal/frontend-web/node_modules/webpack/lib/Compiler.js:375:38)
    at emitAssets.err (/Users/psankar/go/src/gitlab.com/kaigal/kaigal/frontend-web/node_modules/webpack/lib/Compiler.js:262:10)
    at applyPluginsAsyncSeries1.err (/Users/psankar/go/src/gitlab.com/kaigal/kaigal/frontend-web/node_modules/webpack/lib/Compiler.js:368:12)
    at next (/Users/psankar/go/src/gitlab.com/kaigal/kaigal/frontend-web/node_modules/tapable/lib/Tapable.js:218:11)
    at Compiler.compiler.plugin (/Users/psankar/go/src/gitlab.com/kaigal/kaigal/frontend-web/node_modules/webpack/lib/performance/SizeLimitsPlugin.js:99:4)
    at next (/Users/psankar/go/src/gitlab.com/kaigal/kaigal/frontend-web/node_modules/tapable/lib/Tapable.js:220:14)
    at /Users/psankar/go/src/gitlab.com/kaigal/kaigal/frontend-web/node_modules/sw-precache-webpack-plugin/lib/index.js:98:18
Read more here: http://bit.ly/2tRViJ9

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: `react-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/psankar/.npm/_logs/2017-08-17T10_36_16_498Z-debug.log
➜  frontend-web git:(master)

Expected Behavior

Build happens cleanly
Actual Behavior

The above error was shown.
Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

Please provide a minimal project reproducing this.

After a bit more of googling, I did a rm -rf node_modules and reinstalled all the dependencies once again and everything works fine now. I will close the bug. Thanks.

Duplicate issue: https://github.com/facebookincubator/create-react-app/issues/2953
This has something to do with uglifyjs-webpack-plugin plugin


[Feature] I hope the web IDE can maintain the code browsing position

Search before asking

[X] I had searched in the issues and found no similar issues.

Feature Request
When switching between multiple cloud function tabs in the web IDE, the scroll bar in the code area cannot remain in one position, but will automatically return to the top.
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Good suggestions.


Generated graphs have duplicate events

I have two state machines in my Account model:
  state_machine :state, :initial => :created do
    event :takes_quiz do
      transition :created => :quizzed
    end

    before_transition :on => :updates_shipping_and_billing, :do => :update_bill_on_day_of_month
    event :updates_shipping_and_billing do
      transition [:quizzed, :unsubscribed] => :subscribed
    end

    event :add_to_shipping_list do
      transition :subscribed => :pending_ship
    end

    event :ships do
      transition :pending_ship => :subscribed
    end

    event :unsubscribes do
      transition (all - [:unsubscribed, :pending_ship]) => :unsubscribed
    end
    after_transition :on => :unsubscribes, :do => :unsubscribe
  end

  state_machine :account_kit_state, :initial => :no_kit do
    event :account_kit_created do
      transition all => :kit_created
    end

    event :cc_charged_and_approved do
      transition (all - :cc_approved) => :cc_approved
    end

    event :cc_charged_and_declined do
      transition (all - :cc_declined) => :cc_declined
    end
    after_transition :on => :cc_charged_and_declined, :do => :transaction_failed

    event :updates_declined_cc do
      transition :cc_declined => :cc_fixed
    end
    after_transition :on => :updates_declined_cc, :do => :update_bill_on_day_of_month
  end

When I try to generate the graphs (rake state_machine:draw FILE=account.rb CLASS=Account), the events are all duplicated. You can see the generated images here: http://imgur.com/a/MEzML
This is with state_machine (1.0.2) and ruby-graphiz 1.0.0.

Thanks for reporting this!  You actually shouldn't be specifying the FILE option when using the rake task in Rails.  I've updated state_machine to protect against this in the future.


Add input sanitization

There's no input sanitization. The app might be vulnerable to malicious user inputs.
Also, there are no checks on the downloaded files. Requested files could probably overwrite sensitive files on the host!

Hi would love to start my contributions for the first time from this issue. Could you pls tell me whether this issue can still worked on?

@dhrisyadas Hello! It's great to hear you're interested in contributing. Yes, this issue is still open for contributions. I appreciate your effort and look forward to your pull requests. Happy coding!


Add TinyHead

This component will help consuming apps when handling a TinyFrontendSsrConfig
response and building head elements.
Its utility is to build the elements instead of the user having to do it.

Converted to draft, waiting for TinyFrontendSsrConfig to be published from this PR instead of copy pasting the interface.


After integrating to IIS the webapp starts at random port (11771) at localhost

I want to have an app that resides at http://localhost/apppath, but kestrel always starts listening at http://localhost:[some random port]. It gives off static files if I create "apppath" at wwwroot and access it like http://localhost/apppath/test.txt. How do I instruct my kestrel listener to ignore the "apppath" part for all requests?

If you're getting blank 404 pages when using IIS sub apps then it's probably this issue: https://github.com/aspnet/IISIntegration/issues/14

@Tratcher, yep! Thank you, got it working with a workaround (until RC2 will be released with a fix). Sorry for not digging through the issues very good, I've really tried :)


Changing default table BREAD slug causes problems

Laravel Version: 5.5.19
Voyager Version: 1.0.7

Description:
I'm needing to customize default table's BREADs in that I'd like to have BREAD slug translated to another language. First of all it was causing problems with default dashboard widgets. Got it solved by moving widgets to app folder and changing model calls to be directly with the models and not via Voyager class, and changing button link route name to reflect the newly named slug.
However changing Roles table/model BREAD slug causes admin use not being able to modify roles' permissions anymore. How could this be averted while still being able to modify that slug?
Steps To Reproduce:
Go to Database, modify BREAD on roles table, change slug to something else, go to Menus and modify Roles menu item's path to that same slug... Then with your admin user go to Roles and see if you can modify roles permissions.

This is expected behavior as you won't have those permissions anymore after changing the slug (it would be looking for browse_newSlug instead of browse_roles.  What you can do to circumvent this is to manually create the new permissions and attach them to your role prior to changing the slug, then delete the old ones after.
Alternatively, you could delete the BREAD and recreate it with "Generate Permissions" set to true.  This is more of a "nuclear" option, but it would get the job done.

Can this be closed?

Closing due to inactivity


docs: Sync type annotation

What type of pull request is this?

[ ] Non-breaking code change
[ ] Breaking code change
[x] Documentation change/addition

Description

Changes

Checklist

[ ] I've formatted my code with Black
[ ] I've ensured my code works on Python 3.10.x
[ ] I've tested my code

I don't think this works.  You need to annotate that you're passing the type itself, not an object of said type

Not sure what you mean. That's just a copy of https://github.com/Discord-Snake-Pit/Dis-Snek/blob/dev/dis_snek/models/snek/listener.py#L27


Update documentation with switch site and Django style filters

Updates documentation to have details for site switching and the django style filtering

@jorwoods thanks for adding all this. I actually already added docs for switch site in #701, so I'm not sure why they aren't in your branch. You might need another merge from (or rebase on top of) gh-pages.

@bcantoni It was indeed out of date. I did another merge and removed my duplicate entries for the switch site documentation

@jorwoods thanks for this contribution!


Adding New Models

What is the process to get the server to pick up new models? I added a cadquery directory (within scriptlibrary) with a battery_holder directory model in it (json and py files), restarted the server, and then tried to search for the battery holder using the term battery_holder, which is not found.

This is a non-issue, so I'm closing it. The battery_holder model was not showing up due to a bug in the FreeCAD plugin when URLs were added with a trailing slash. That has been fixed now.


When I use SMBJ rename method is failed.

I think this
com.wa2c.android.cifsdocumentsprovider.data.storage.smbj.SmbjClient#renameFile paramer is wrong.
And openFile should use AccessMask.GENERIC_ALL, could rename file.

I tried to change the AccessMask to GENERIC_ALL but still it doesn't work.
Line 281 of SMBjClient.kt
diskEntry.rename(targetConnection.name)   <- renames the file with the same name as current folder
should be
diskEntry.rename(targetConnection.sharePath) <- correctly renames the file
But in both cases, we will get error bubble in the Files stating the rename failed (although the second one succeeded). But this is only for files. It doesn't even work for directories. If it was a directory, an exception will be thrown complaining it was a directory and not a file.

@RebelliousX for example，
open directory:
diskShare.openDirectory(oldPath,
EnumSet.of(AccessMask.GENERIC_ALL),
null,
SMB2ShareAccess.ALL,
SMB2CreateDisposition.FILE_OPEN,
null)
open file：
diskShare.openFile(
sharePath,
EnumSet.of(AccessMask.GENERIC_ALL),
EnumSet.of(FileAttributes.FILE_ATTRIBUTE_NORMAL),
SMB2ShareAccess.ALL,
SMB2CreateDisposition.FILE_OPEN,
null
)
it works to me.
And diskFile.rename() paramer like this "1_6\image9_6.pdf"  "1_6" is parent directory.

@SNUyi
I found the cause of this problem.
Fix in next version.
https://github.com/wa2c/cifs-documents-provider/commit/4f2280c0e9667d476e6ee5fa48a7346a15d68519

@SNUyi I found the cause of this problem. Fix in next version.
4f2280c

@wa2c Well done

@SNUyi
Ver.2.0.0 released. Please check it.


Rotation of certs

Is your feature request related to a problem? Please describe.
Certs are generated as kubernetes secrets by name vault-tls and etcd-cluster-tls automatically and are valid for 1 year. What is the path to replace / renew / auto renew?

Hi @raoofm, this is a WIP: https://github.com/banzaicloud/bank-vaults/issues/159 so if you don't mind I will close this one.

@bonifaido thanks. sorry i should have checked the issues.


ODSettings: Removed SPO module

I think that OD settings are the last thing stopping the removal of the SharePoint Online PowerShell module, at least when the #354 PR is completed.
This PR rewrites the OD settings with CSOM code since I could not find anything in PnP that would be equivalent to the existing resource. Maybe I'm wrong and did not look hard enough, but this is the solution that I came up with.
I also added a utility function that was found floating around the web, Load-CSOMProperties which lets us select the properties that we need when writing a CSOM query. In the end it was not required since all the required properties on the tenant object are loaded by default but it may come in handy in the future.
Execute-CSOMQueryRetry just calls some PnP extension method to keep the same retry behavior that is within PnP.

This change is

Sorry, got ahead of myself :). we only needed the extraction part so i forgot to implement Test and Set with PnP. Will update sometime this week.

@NikCharlebois  I've rewritten the Set-TargetResource method but not sure on how to approach the tests. Previously there was another layer between CSOM and this code which could be stubed out, and now I'm attacking it directly since there is no tenantsyncclientrestriction cmdlets in PnP. Any thoughts are appreciated. Also if you find that there is a better way to  do this for ODSettings I can abandon this PR.
I guess a cleaner (and lengthier) solution might be to create a PR on the PnPPowershell repo that implements the missing cmdlets.

@desmay since you are the resource's owner, can I ask you to have a look at the proposed changes when you get a chance?

@NikCharlebois I agree with @vinkobedek I searched and couldn't find a equivalent way in PNP directly. I think we go forward with changes and if logic is added later to PNP we could revise code in project

@vinkobedek @desmay looping in @VesaJuvonen . Vesa and I had a chat a few weeks back. We would need to get this into PnP first, this would be our best option. It shouldn't be much of a challenge to introduce this tenantsyncclientrestriction into PnP.

@NikCharlebois, @desmay so just to confirm, I can safely abandon this PR and we wait until it's implemented in PnP?
We will use the current code in this PR in our fork until then.
If it's just a 1:1 mapping between the old SPO cmdlet and the new PnP one, I can create the PnP pull request for this.


HPO Term mapping

The names of the diseases in EHR data can be wildly different and not really standardized. However, standardized terms are necessary to make comparisons and to ensure homogeneous disease naming.
HPO terms are the canonical way of naming diseases. https://hpo.jax.org/app/
We need a Python tool/function that matches any string against the HPO terms and identifies the most likely match(es). Must be very fast and performant. Also there must be some leeway and fuzzy string matching allowed.
Something slightly related that may or may not be of use: https://pypi.org/project/hpo-similarity/

Here are the terms in raw:
https://raw.githubusercontent.com/obophenotype/human-phenotype-ontology/master/hp.obo

Also: https://centogene.github.io/pyhpo/

Done for obs, but might play around to add versions for var and X as well.

Actually, if we implement #151 this should be fine.


Channel Inspector is completely broken

Bot Info
Not applicable.
Issue Description
The Channel Inspector web page is completely broken - it fails to load any resources - styles, scripts, images. All of them return 404 (Not Found) error.
Code Example
Not applicable.
Reproduction Steps

Open the web page https://docs.botframework.com/en-us/channel-inspector/channels/Telegram?f=AdaptiveCards&e=example1
The web page is almost plain text

Expected Behavior
The web page should display correctly.
Actual Results
The web page is almost plain text

Hi @artemious7
Thank you for taking the time to post this.  I've escalated the issue to the docs team.

@artemious7 This has been fixed.


Adds syslog codec

Signed-off-by: murex971<EMAIL_ADDRESS>Pull request
Description

receive syslog data via UDP (onramp) and turn syslog messages into structured events.
turn structured events into textual syslog messages

Related

Clears phase-I of issue #12

Checklist

[x] The RFC, if required, has been submitted and approved
[x] Any user-facing impact of the changes is reflected in docs.tremor.rs
[x] The code is tested
[x] Use of unsafe code is reasoned about in a comment
[x] Update CHANGELOG.md appropriately, recording any changes, bug fixes, or other observable changes in behavior
[x] The performance impact of the change is measured (see below)

Coverage decreased (-0.004%) to 83.135% when pulling 5f794b931f74ec6354c272c58e64f86c2f973f58 on murex971:syslog-codec into<PHONE_NUMBER>452f2176c0928807d2c111d167617c on tremor-rs:main.

@murex971 I am going ahead and merge this! 🎉 🎈 🚀

Wooohhhh! :D


remove structure size modification based on OC_OSCORE

Pre-emptively fixes a bug we would see with the (new) embedded build

~format

I'm just gonna merge this, as it's needed for the SDK release


Rendering on vertical plane

I noticed in 1.3 release notes that "TransformableNode will now work with vertical planes.".  Is there any sample of this?  Up to now I've been using code like following to render node on vertical plane (this is ImageView for example rendered "flush" on the vertical plane)....which works when initially rendering but have issues then when resolving associated cloud anchor created for this. (cardNode below is a TransformableNode )
             if (plane != null && plane.type == Plane.Type.VERTICAL) {
                val yAxis = plane.centerPose.yAxis

                val planeNormal = Vector3(yAxis[0], yAxis[1], yAxis[2])
                val upQuat = Quaternion.lookRotation(planeNormal, Vector3.up())
                cardNode.worldRotation = upQuat
            }

The 1.3 hellosceneform sample should demonstrate this. You can place the Andy model on a vertical plane, and drag it from horizontal to vertical planes.

@gstanlo I probably poorly phrased the question (and also perhaps misunderstood that particular 1.3 update)....in my case I want to render ImageView node flush on vertical surface...I had thought for some reason that new release included better support for that scenario.  Also when I apply above transformation, and try to drag image around for example, it's orientation change each time.

Ah, TransformableNode doesn't provide information about the plane it is on right now, but that should be accessible from ARCore. I think you can use the pose of the anchor on a vertical plane to transform an ImageView. I'll try to test this.

@gstanlo is there anything in the 1.4 release that would affect this behaviour?

@gstanlo did you find out anything further about this?

Following up on this, is this still an issue?
I'll probably need a bit more info to help out here.  Is this an issue that only occurs when restoring a cloud anchor or is this about using vertical planes in general?
For planes we follow the ArCore convention which says has "up" pointing out of the plane. When a hit point on a plane is created, Z+ is calculated to point toward the user.  This works for some objects, but probably is not what you will want for an image view.  I would expect to have to add code to rotate to the desired orientation.


Outer combobox container is not stylable

There seems to be no functionality (or documentation) on styling the outer container of the combobox (the box with the .multiselect class). The apperance of all inner components such as tags, options, placeholder text etc. can be altered via slots or changing the CSS. However, the outer component itself (in particular, border radius, background color) seem to be missing any styling options.
Please correct me if I'm wrong on this or if this feature is just not documented.

The outer components can be changed by adding in your own CSS in your app, and by targeting the classes used in the component. You can check out the full CSS styling here: https://github.com/shentao/vue-multiselect/blob/next/dist/vue-multiselect.css


Add link to dart.dev

Somewhere in the playground, we should link to the dart.dev homepage or maybe the language tour.

Hey @johnpryan , I think this issue has been solved by @johnpryan .
PR https://github.com/dart-lang/dart-pad/pull/1474

yep, thanks!


[FLINK-16241][ml] Remove the license and notice file in flink-ml-lib module on release-1.10 branch

What is the purpose of the change
The jar of flink-ml-lib should not contain the license and notice file as it actually does not bundle the related dependencies. We should remove these file on branch release-1.10.
This pull request removes the license and notice file in flink-ml-lib module on branch release-1.10.
Brief change log

Removes the license and notice file in flink-ml-lib module on branch release-1.10.

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)

CC @zentol @walterddr @carp84

@carp84 Thanks a lot for the review.
The license and notice file is removed just because the corresponding dependencies are not bundled into the jar.
We don't necessarily bundle this dependency. This is because, currently, on release-1.10, only jar artifacts are released to maven and used by users, i.e., no binaries in opt or lib, so for ml users, he should add the dependencies to the pom file and set it to compile to include the ml classes. Meanwhile, the dependencies(netlib:core) will also be included.
There is also another option to fix this problem as it is descript in the jira, i.e., bundle the dependency in the flink-ml-lib jar. But considering that it is not good to add dependencies in a hotfix version, I would suggest deleting the license and notice file directly.
What do you think?

@carp84 @walterddr Appreciate for the review!


crash during 1.5 => 2.1 transition

I made a small android app to reproduce there: https://github.com/martinbonnin/TestPaper
it fails with:
    Caused by: com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID: 99
    Serialization trace:
    ingredients (testpaper.mbonnin.net.testpaper.Recipe)
    mContent (io.paperdb.PaperTable)
    at com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:137)

What I found for now is crash happens not because of Kryo update bu because of
update de.javakaffee:kryo-serializers:0.33 -> 0.40

My previous assumption was wrong. Crash happens after update com.esotericsoftware:kryo:3.0.3->4.0.0. (previously lesser kryo version didn't take effect because of transitive dependency for kryo-serializers)

you were right, thanks! changing getFieldSerializerConfig().setOptimizedGenerics for existing kryo instance doesn't take effect. Using new temporary kryo object in compatibility mode solves the issue. Fix is on the way.

Fixed in https://github.com/pilgr/Paper/commit/408164c8dc2153b60df92b6c0e66471026b4648d
(forgot to mention in commit message)

Thanks ! Do you know when the next release is planned ? As far as I'm concerned, the sooner, the better as I'm stuck on 1.5 with the potential crash on Android N for now.

I hope to make it today or tomorrow.
On Thursday, September 21, 2017 at 12:54, Martin Bonnin wrote:

Thanks ! Do you know when the next release is planned ? As far as I'm concerned, the sooner, the better as I'm stuck on 1.5 with the potential crash on Android N for now.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub (https://github.com/pilgr/Paper/issues/87#issuecomment-331109679), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAaNIV6ZXYxMl1Lm0P599GBkOtVL8Ucaks5skjJDgaJpZM4Pc7pg).

Awesome, thanks !

Could you check out new version 2.5? It’s already published to the maven repo but not yet released publicly. Thanks!
//Aleksey Masny
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Thursday, September 21, 2017 at 13:02, Martin Bonnin wrote:

Awesome, thanks !
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub (https://github.com/pilgr/Paper/issues/87#issuecomment-331111751), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAaNIc4ztL1Ecf_FiI-pzqqppNRggAUcks5skjRGgaJpZM4Pc7pg).

Works fine, thanks!


[WhatsApp] Handle deletes

Blocked by Rhymen/go-whatsapp#100

Added in #1316
Please test as I don't have whatsapp to test it myself


Request textDocument/codeAction failed

I'm using the latest build (bundled-compiler + bin).

log.txt

java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space

It appears that you may need to increase the maximum memory used by the extension using the as3mxml.languageServer.jvmargs setting. I believe you would do this by specifying Java's -Xmx argument. The example below sets it to 2 GB.
"as3mxml.languageServer.jvmargs": "-Xmx2g"

Increasing the maximum memoty used by the extension seems to fix the issue but it leads to another issue.

High CPU + RAM usage when I edit a large .as file.

Workaround: Restarting VSCode sometimes did, sometimes did not fix the high memory & cpu usage issue. But terminating the java se process always fixes the issue. My memory usage reduced from ~2gb to ~700mb and cpu reduced from ~100% to ~0%.

I'm guessing that this may have been caused by the linter, which I determined is pretty expensive to run, so I turned it off. Let me know if it still happens, but I'm closing for now.


Extract reusable button component

@Alcherith There are some conflicts with your other PR which I just merged, could you rebase on main and solve the conflicts?

It's currently showing the wrong logo on the Contribute button.

 Originally they were also off I think, but a little bit less than this.


TRAP caching causes GitHub Actions Cache to churn

I'd like to discuss alternative storage solutions for TRAP caching, as the current implementation causes our monorepo to exhaust our available cache. Each run appears to consume about 100mb of space, and our current merge-to-default velocity means we run out of cache in about a day.
I am aware of the ability to disable trap_caching within the init action, however I would also like to continue using trap caching at some point in the future.
I have successfully leveraged GitHub Packages (i.e., GHCR) for caching Docker Images and other build artifacts in the past. Would that be another possible path forward for this useful feature?

Thanks for raising this issue and the suggestion. We are considering making some changes to the trap caching feature so that it only runs on the default branch. This will ensure that each repo will cache no more than one set of TRAP files. TRAP caching only really makes sense for when a repo runs codeql analysis on a schedule. Most repos only use scheduled runs on the default branch, so this should be workable for most repos.
For your monorepo, is the issue that you are running analyses in PR branches when the code to be analyzed hasn't changed? If so, perhaps you can use path expressions to avoid running codeql in this case.

Almost all our our trap cache is from our default branch, which we merge to more than 60 times a day on average. Even if this only ran on the default branch, it would continue to exhaust the available space in the GHA cache due to the differing cache keys
If the desire is to continue using the GHA Cache, and there's only a point in caching the most recent run, we'll have to choose an arbitrary cache key and manually invalidate the old cache when we want to update it. Otherwise, each CodeQL run against our default branch will add another 100mb to our usage

Another possible approach might be to save the trap cache as an artifact, then pull the most recent artifact from the workflow run on the default branch when restoring the cache, though I seem to recall that arbitrary artifacts access might need a PAT, which would be something of a dealbreaker...

Our hope is that there will only ever be one cached item and it would contain the most recent TRAP on the default branch. Before uploading the new TRAP cache, the old TRAP cache would be removed. (There would be a few moments when there is no cache since the old one was deleted and the new one isn't uploaded yet, but hopefully that window will be small.)

Ah, then the idea is to update the cache key to remain consistent and use the API to remove the old cache so the key can be updated? That should work

Yes. That's right.

any progress on this? this is causing us a lot of caching issues given the very limited amount of cache available and the fact that you cannot increase it
we have already disabled codeql on all branches other than main and even with that it creates a new cache on ~every commit and squeezes out other caches which are a lot more important and useful

I recommend that you disable trap caching. You can set the environment variable CODEQL_ACTION_CLEANUP_TRAP_CACHES to true and the caching feature will be disabled.


Create Roadmap_of_DSA.md

Fixes Issue

Changes proposed

Screenshots

Note to reviewers

Hi @AYUSHSURYAVANSHI. Welcome to LinksHub! :) We don't accept spam pull requests, so I'm putting yours in draft mode for now. In the future, please raise an issue, and wait until it's been approved and assigned to you before you submit a pull request. Refer to our Contributing Guide to learn how to effectively contribute to the project. Happy Contributing! 😊

Closed due to inactivity


Windows上能编译吗？

···
github.com/open-falcon/rrdlite
In file included from .\rrd_config.h:433:0,
from .\rrd_tool.h:17,
from .\rrd_create.c:12:
.\rrd_config_bottom.h:14:23: fatal error: features.h: No such file or directory
compilation terminated.
···

where is the file "../win32/config.h" in rrd_tool.h line 14 ?

目前只适配了linux+mac
2017-08-10 17:59 GMT+08:00 ZoneTong<EMAIL_ADDRESS>
where is the file "../win32/config.h" in rrd_tool.h line 14 ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yubo/rrdlite/issues/1#issuecomment-321507785, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACm1mWXoGRpbfBWkwSUiTyHtJR3IcbCDks5sWtSFgaJpZM4F-GV8
.

--
喻波
小米 |  运维平台研发
电话：18601160197

了解了, 谢谢


config.json 's body is just nextConfig, not valid JSON.

So I am getting an error when uploading this to AWS Lambda:
/var/task/config.json: Unexpected token e in JSON at position 1

When you look in the generated config.json the entire body is as follows
nextConfig

so it is NOT valid json.
I did some digging in the code and found this area here where it seems to try and pull the contents of that config.json
https://github.com/sladg/nextjs-lambda/blob/1b278aef890e86f17ddf81998913ea88b8391b37/lib/cli/pack.ts#L93
using this regex:
https://github.com/sladg/nextjs-lambda/blob/1b278aef890e86f17ddf81998913ea88b8391b37/lib/consts.ts#LL1C14-L1C35
So when I do the same search locally in my generated files I find this bit of code:
  const nextServer = new NextServer({
    hostname,
    port: currentPort,
    dir: path.join(__dirname),
    dev: false,
    customServer: false,
    conf: nextConfig,
  })

Notice the second to last line there. It seems to just be pulling the string nextConfig rather than the value of it.
Here is my package.json
{
  "name": "xyz-www",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "@apollo/client": "^3.7.13",
    "@types/node": "18.16.3",
    "@types/react": "18.2.0",
    "@types/react-dom": "18.2.1",
    "autoprefixer": "10.4.14",
    "bootstrap": "^5.3.0-alpha3",
    "eslint": "8.39.0",
    "eslint-config-next": "13.3.4",
    "filerobot-image-editor": "^4.4.0",
    "next": "13.3.4",
    "postcss": "8.4.23",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-filerobot-image-editor": "^4.4.0",
    "tailwindcss": "3.3.2",
    "typescript": "5.0.4"
  },
  "devDependencies": {
  }
}

Any suggestions?

I see, it seems like Next changed code a bit, there used actual configuration (aka. object) in place of nextConfig.
For quick-fix, you can downgrade next.js, I will look into it in a meantime.


Add ability to copy messages and comments

Fixes #1224.
Adds the ability to copy messages and comments by long pressing on them to open an action sheet.

Merging this one too!


[BUG] 1 buggy chart (possibly missing error handling?)

Describe the bug
Many bugs, but only for one chart:

the orange line has no dots and has no legend.
there are 4 selections but only 2 lines.
there is no x or y axis at all.

To Reproduce
URL: https://staging.datacommons.org/browser/nuts/AT11
Screenshots
If applicable, add screenshots to help explain your problem.

Update: seeing it for Edu Attainment in sub populations too

Fixed by #157


Notebook header pushed to the side

Notebook header is pushed to the side of the iframe. I think it might have to do with the python logo since it occurs after the python logo gets rendered (it initially starts in the middle, and is then pushed to the side).
As of writing this ticket (1:30pm January 29th 2019), it only is on dev.

@bradtaylor is this still valid?

I still see it, but sounds like it's a noop for us as the fix is dependent on the Leo team.

Is there a leo issue that we can link to?

Good call, there wasn't a ticket but now there is! https://broadworkbench.atlassian.net/browse/IA-962


Rename environ for platforms that #define environ

On some platforms, environ is a macro expanding to a function call, e.g. to (*__p__environ()) on Windows. This patch renames a parameter to avoid this conflict.

Landed in https://github.com/cjihrig/uvwasi/commit/84a3cbdb8295af31acd49ef9f0443069d462a72f. Thanks!


Debian support

Hello,
i would like to know if cobra supports debian version? is there any installation info about debian 8.x?

Cobra supports all Linux distributions.
Installation method:
http://cobra-docs.readthedocs.io/en/latest/installation/


Build of flavor -error

Hi,
I am getting this error while trying to build. Please help
INFO: [pid 2910] Worker Worker(salt=417001433, workers=5, host=data_science, username=skarangi, pid=2797) running   DockerCreateImageTask(image_name=exasol/script-language-container:python3-ds-EXASOL-6.1.0-build_deps)
INFO: [pid 2909] Worker Worker(salt=417001433, workers=5, host=data_science, username=skarangi, pid=2797) running   DockerCreateImageTask(image_name=exasol/script-language-container:python3-ds-EXASOL-6.1.0-udfclient_deps)
ERROR: [pid 2909] Worker Worker(salt=417001433, workers=5, host=data_science, username=skarangi, pid=2797) failed    DockerCreateImageTask(image_name=exasol/script-language-container:python3-ds-EXASOL-6.1.0-udfclient_deps)
Traceback (most recent call last):
File "/home/skarangi/.local/share/virtualenvs/script-languages-30_bvrAI/lib/python3.6/site-packages/urllib3/connectionpool.py", line 603, in urlopen
chunked=chunked)
File "/home/skarangi/.local/share/virtualenvs/script-languages-30_bvrAI/lib/python3.6/site-packages/urllib3/connectionpool.py", line 355, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/home/skarangi/.local/share/virtualenvs/script-languages-30_bvrAI/lib/python3.6/site-packages/docker/transport/unixconn.py", line 43, in connect
sock.connect(self.unix_socket)
PermissionError: [Errno 13] Permission denied

Hi @skarangi,
this looks like your user doesn't have the file system permission to access the socket of the docker daemon. Which OS do you use? Do you have root rights or sudo rights on this machine? This might help. Or can you ask the administrator to add your user to the docker group.

Hi @skarangi,
were you able to solve your problem, or do you need more information? If it is solved, I would close this issue.


how can you change the background image used for the card?

I'd like to brand the color of the card from purple to blue in my case.

Hi @faceyspacey!
You could use imageFront and imageBack to set the front and back face of the card respectively.
-Sam

oh, i dont know how I missed that. thanks!


[Draft] Update to 1.20

1.20rc-1 was released; 1.20 will have the same loot tables and recipes.
Changes:

Added the 1.20 Loot-Tables
Added 1.20 Panorama to Loot-Table Randomiser
Updated Random Assistant meta (No longer in-dev)

Notes:

I couldn't re-zip the data folders for some reason, every time I did the worker threw a JSON parse exception ¯\_(ツ)_/¯  and I'm not familiar enough with angular to diagnose why.

To Add:

Crafting recipes for 1.20
1.20 Panorama to Crafting-Recipe Randomiser

Thanks!
Once i've re-integrated the dev branch into the trunk, maintaining version should become a lot easier.


New command: spo page template list get a list of all the available templates on the site

Usage
In order to create new pages based on a template, we need to know how which templates are actually available. This command would provide this capability.
Description
Returns a list of available page templates from the specified site.
Options

Option
Description

-u, --webUrl [webUrl]
URL of the site where the page to retrieve is located

--verbose
Runs command with verbose logging

--debug
Runs command with debug logging

You can assign this to me.

Great suggestion! 👏

Great suggestion! 👏


Deprecated validate cmd

Related issue
Signed-off-by: Vyankatesh<EMAIL_ADDRESS>closes https://github.com/kyverno/website/issues/499
Related PR ; https://github.com/kyverno/kyverno/pull/3488

Checklist

[x] I have read the contributing guidelines.
[x] I have inspected the website preview for accuracy.
[x] I have signed off my issue.

Deprecate ≠ Remove


Add support for sequence adjustments on tx sign for accounts

There seems to be a problem for bank_send that occurs:
ChainResponse { code: Err(6), data: Some([]), log: "rpc error: code = Unknown desc = account sequence mismatch, expected 840, got 470: incorrect account sequence [cosmos/cosmos-sdk@v0.45.15/x/auth/ante/sigverify.go:265] With gas wanted: '100000000' and gas used: '39246' : unknown request" }

So the idea here is to give flexibilty to cache errors like this, to hopefully enable to retry with valid sequence.
If theres a better way to handle this, im all 👂

The "account sequence mismatch" can happen when you are making multiple transactions in parallel with the same SigningKey.
This can happen with any signed tx, not just bank_send.
Letting the user optionally supply their own sequence number makes sense to me, because they could be serializing their own sequence number for advanced use cases.


Adding vendor support to verdeps

Vendored packages are now ignored appropriately. Also supported nested packages.

Coverage decreased (-3.9%) to 40.674% when pulling f2f5748fd5758a65f81a304e658e1e05f9c32f53 on feature/verdeps-vendor into eaa74a8948d4714c9ac6829f303422902caa948c on master.

Coverage decreased (-4.6%) to 40.036% when pulling bfbe3a15ccc1807378139ce9ae997e0ce64210e5 on feature/verdeps-vendor into eaa74a8948d4714c9ac6829f303422902caa948c on master.

Coverage decreased (-4.6%) to 40.036% when pulling b0bb5ee96df9c561cbb5e89c6077871b6ca20e5f on feature/verdeps-vendor into eaa74a8948d4714c9ac6829f303422902caa948c on master.


i want to add Fresh New Quotes App 2

pls assigned me sir #gssoc2022

please check pr sir i have my works

Someone else is also working on a similar idea so name your folder as Quotes App 2

@VidhiBhatt01 thankyou
But second person folder name is:-
Add Random Quotes Generator

@adi2002vicky yes, he's naming the folder Quotes App 1 so yours will be Quotes App 2

Thankyou ma'am

@adi2002vicky R u working on it???

@adi2002vicky R u working on it???

no.....


Android application becomes super slow on startup after enabling Hermes

Description
After enabling Hermes on my Android app in order to gain performance, the app becomes super slow. Specifically the startup time increases by 50%.
In my case startup time for the native thread sky rockets to 25.5 seconds from 17 seconds before. I am using @axemclion package to measure Android performance as mentioned in #26870 from @TheSavior . I am including logs and some initial troubleshooting below.
React Native version:
0.64.0-rc2 for me but this is the first version I was ever able to activate Hermes without issues as we use mobx symbols and 0.63.x did not work for me.
I suspect though this is something happening since Hermes was introduced as there are other issues as well complaining about performance being affected with Hermes enabled or disabled.
Steps To Reproduce
Not easy to provide that. Providing logs and traces though below.
Expected Results
I'm expecting actually to gain the same 50% that somehow is introduced with the use of Hermes instead of adding it as a delay :)
Snack, code example, screenshot, or link to a repository:
So I am using @axemclion package to trace as mentioned before. That being said I am attaching the TTI_COMPLETE id over the View's container that lands first over my app. This remains stable as I'm enabling / disabling Hermes. I'm acquiring the traces from the JS thread and more specifically from the AXE_PERFLOGGER that the package attaches over global variable.
I'm proving these trace logs over the 2 files attached below named marudy-0.64.0-rc2-hermes-disabled.log & marudy-0.64.0-rc2-hermes-enabled.log respectively.
I'm also providing an excel file where I pasted these logs and started working my way of investigating where the extra time is introduced. This can be found here. I'm conditionally showing with red background all the processes that take more than half a second to execute. The excel contains both of the runs and all the tasks executed; the first 566 lines are for the run with hermes disabled while the rest below for the run with hermes enabled.
As also mentioned in issue #26870 I have identified some initial observations from the logs provided:

So far I am seeing that the major delay is being caused by the processes with name GET_CONSTANTS_START. There are around 50 of them being executed in my case and until the TTI_COMPLETE event. Over the run without hermes ALL of them execute within the same ms or the very next one. Over the run with hermes enabled i'm suddenly seeing numbers all the way from 1-6ms which are the fastest ones up to 1121 , 2034 , 3707 ms. This is a huge increase as we can see and these are causing the biggest part of the delay.
On a 2nd note the process with name CHANGE_THREAD_PRIORITY also takes double the time it was occupying before. In my case from 567ms all the way up to 1132ms.
On a 3rd note the process with name CREATE_CATALYST_INSTANCE_END takes now 2034ms while before it was accounting for 26ms only.

marudy-0.64.0-rc2-hermes-disabled.log
marudy-0.64.0-rc2-hermes-enabled.log

@marudy I noticed that performance of debug build is somewhat decreased, but it was so fast in production build. Could you please check production build performance.

@marudy I noticed that performance of debug build is somewhat decreased, but it was so fast in production build. Could you please check production build performance.

@dulmandakh yes i can confirm this in an issue for release type builds. But then again i am noticing 50% startup time increase which a lot regardless if you are in debug or release :) .
The reason why I went to troubleshoot and debug is because my production build startup time went from 11.5 seconds to 21 seconds which is close to double. This very measurement comes from release type APK (./gradlew assembleRelease -x bundleReleaseJsAndAssets --max-workers 2).
You see I am trying to improve Android performance of our product for quite some tine now. And we have managed to pull improvements here and there but now with Hermes we have an extra ~ 50% startup time in production at least. Some measurements go even more.

@dulmandakh yes i can confirm this in an issue for release type builds. But then again i am noticing 50% startup time increase which a lot regardless if you are in debug or release :) .
The reason why I went to troubleshoot and debug is because my production build startup time went from 11.5 seconds to 21 seconds which is close to double. This very measurement comes from release type APK (./gradlew assembleRelease -x bundleReleaseJsAndAssets --max-workers 2).
You see I am trying to improve Android performance of our product for quite some tine now. And we have managed to pull improvements here and there but now with Hermes we have an extra ~ 50% startup time in production at least. Some measurements go even more.

I'm using react-native-cli: 2.0.1 and react-native: 0.63.4 and still having the same issue with android - very slow.
@TheSavior: Please re-open the issue ticket

I'm using react-native-cli: 2.0.1 and react-native: 0.63.4 and still having the same issue with android - very slow.
@TheSavior: Please re-open the issue ticket

A solution: https://reactnative.dev/docs/hermes

I'm using react-native-cli: 2.0.1 and react-native: 0.63.4 and still having the same issue with android - very slow.
@TheSavior: Please re-open the issue ticket

A solution: https://reactnative.dev/docs/hermes

Hermes is the subject of this issue.

Same here, Android is very slow with hermes enabled.
Any update?
React Native version: 0.64.0

For people where this is slow, does the bundle you are executing contain JavaScript or is it bytecode? If it is JavaScript, then we'd expect that to be 2-5x slower, and probably means something is broken. When using Hermes the tooling should be creating bytecode bundles.

@TheSavior thanks for the feedback.
I found out that my release variant bundle is indeed JS and not bytecode. But this is only a side effect of having seperated the JS bundle build from the APK / AAB generation because of a quite common issue of having task ./gradlew bundleReleaseJsAndAssets returning 137 error code.
I was able to generate bytecode and actually run a proper release APK and see the gains over my app (`~ 60% startup time) but still haven't found any concrete way to solve the CI issue and opt in Hermes there. Hints / tips on how to solve this would be welcome. I have searched and tried multiple things already but nothing that actually works yet.

@jslok you can unzip (or use apktool) to look in your apk.
The bundle is in the assets/ folder, you can directly open it and check if it contains js or bytecode.

I was able to generate bytecode and actually run a proper release APK and see the gains over my app (`~ 60% startup time) but still haven't found any concrete way to solve the CI issue and opt in Hermes there. Hints / tips on how to solve this would be welcome. I have searched and tried multiple things already but nothing that actually works yet.

@marudy can you explain how you were able to generate bytecode? I'm inspecting my app's bundle after building with hermes both on and off. Looks like it's always JS code.

I found out that my release variant bundle is JS and not bytecode.
Is there a way to generate a release variant with bytecode instead JS?

Similar issue being faced. Release variant is JS and not bytecode.  Any help to generate bytecode variant would be really helpful.

Make sure your gradle file is configured correctly. This line runs the react-native gradle plugin, which among other things, compiles the bundle to bytecode: https://github.com/facebook/react-native/blob/main/template/android/app/build.gradle#L84.
On our end the problem was two-fold:

Someone had moved that line above where we set:

project.ext.react = [
    enableHermes: true,  // clean and rebuild if changing
]

Which meant the gradle plugin ran before enableHermes was set to true.

Our CI build process had a manual task to create the JS bundle, and omitted bytecode compilation (shouldn't be an issue for most).

Can I somehow disable hermes for debug builds and only use it in release? The debug builds have been super slow for the past couple of years and looks like this will never be fixed.

Closing as this was fixed by updating the Hermes compilation flags.
You should be able to use Hermes without any regressions. If so open a new issue please.


sphinx autodoc works locally but not on readthedocs

Details
I am able to get autodocs to build API documentation from my module and class definition (from the docstrings) locally, but the module/class documentation is not showing up on readthedocs.io

Project URL:
http://clustergrammer.readthedocs.io/index.html

Build URL (if applicable):

Read the Docs username (if applicable):
cornhundred

Expected Result
A description of what you wanted to happen
I expected to see the automatically built API documentation from autodocs on readthedocs.
Actual Result
A description of what actually happened
I do not see the autodocs documentation on readthedocs.io, but I do see it locally.

The issue seemed to have something to do with autodocs not finding the module locally, but maybe a version that I had pip installed (?). I was able to get it working by renaming the module.


fix typo

What this PR does / why we need it:
Fix simple typo in documentation

/ok-to-test
/approve
/lgtm
/area documentation


Cannot edit socket connection

Your description here
After launching ARC Beta, selected Socket for request type. Socket URL was prepopulated with the value used in last session.  When I click on the url, it is uneditable, so I cannot change to another socket (see screenshot).  Behavior is inconsistent.  Actions such as clicking outside of ARC then back in or clicking on the connect/disconnect then selecting the url (only) sometimes allowed me to edit the socket value, but usually not.
Also, when clicking on the (uneditable) url in the url pop-up it would automatically connect even though I had not clicked on the Connect button.
This was in the beta version.
Expected outcome
What should happen?
I should be able to edit the url by clicking on it at any time it is disconnected.
Actual outcome
What happened?
Versions
App: <IP_ADDRESS>4-beta
Chrome: 56.0.2924.87
Platform: Windows (7)
Steps to reproduce

Hi,
Thank you for the issue report.
It looks like the autocomplete list is above the URL input instead of under it.
Quick workaround is to press ESC key to make the suggestions list disappear.
I'll update it with next release.

This is fixed already


Test : Added test cases for extension request logs

What type of PR is this? (check all applicable)

[ ] Refactor
[ ] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update
[x] Test Case

Issue Link
Fetch extension request logs of a given taskID for super user
Description
The extension requests API 's GET method gives us all the extension requests and the logs API's GET method with type extensionRequests give us the logs of extension requests created, updated, timestamp, taskID etc. We need to get the extenion logs related to a particular extensionRequestId such that when we try to call GET method on extensionRequests/logs , we get logs of all the extension requests related user events of that task.
QA Instructions, Screenshots, Recordings
Run yarn test-unit and there you can see test case running.

Added/updated tests?

[x] Yes
[ ] No, and this is why: Please replace this line with details on why tests
have not been included
[ ] I need help with writing tests

Parent Issue: https://github.com/Real-Dev-Squad/todo-action-items/issues/180
Dedicated Issue: https://github.com/Real-Dev-Squad/website-backend/issues/1515

is this under feature flag...?

yes.

please add proper pR details

Done. Please check.


Changed Std.is to Std.isOfType

Fixed deprecated calls to eliminate warnings for downstream projects.

Is there a reason why this is not merged yet?