feat(Charts): Add the Data Visualization tab with pages Getting Started, Chart Types, and Chart Demos. Add new examples in the storybook.

Issue: #1172
Issue: #1054
Issue: #1055
Issue: #1056
What I did

Add the Data Visualization tab with pages Getting Started, Chart Types, and Chart Demos. Add new examples in the storybook.
Screenshots:

Checklist

[x] changeset has been added
[x] Pull request description is descriptive
[x] I have made corresponding changes to the documentation
[x] New and existing unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works

How to test

Open documentation -> Open Data Visualization -> Check new pages.
Open storybook -> Open Charts folder -> Check new examples.

I noticed this is now appearing on the sidebar:

The files are still appearing on the left hand menu

The "View Demo" buttons don't appear to be proper Magma buttons. The font is wrong and the focus style is completely different.

On the Chart Types page, within the cards: The paragraphs are not the correct dark gray color.

Currently: #161616 (rgb 22, 22, 22)
Should be #454545 (rgb 69, 69, 69)

Can we figure out a way to make sure the gray background doesn't spill out of the cards and mess up the rounded corners?


[spirv-val] OpConstantNull refused for OpExtInst DebugTypeBasic

Hello!
Not sure if this is a validation issue, or a spec issue, or a desirable behavior, but if I do:
%flag = OpConstantNull %uint
        OpExtInst %void %-- DebugTypeBasic %-- %-- %-- %flag

I get a validation error because %flag is not an OpConstant.
This matches the spec which only mentions OpConstant.
Question is shall OpConstantNull %uint be considered to be the same as OpConstant %uint 0?
Or is that difference there by design?
(related to https://github.com/KhronosGroup/SPIRV-Tools/pull/5846 and https://github.com/llvm/llvm-project/issues/118011)

@alan-baker I believe this is a validation error, probably a simple oversight on the added code, but in case I'm missing something?

Started to look into a code change for this, and seems there are quite a few tests cases where we check OpConstantNull is refused.
Example:
%ext = OpExtInstImport "NonSemantic.ClspvReflection.5"
%int = OpTypeInt 32 0
%null = OpConstantNull %int
%decl = OpExtInst %void %ext Kernel %foo %foo_name %null

This test expects a validation error to show because %null is not an OpConstant.
Those instruction indeed have a line like:
XX must be a 32-bit unsigned integer **OpConstant** composed with the bits of *some-table*.

Some extension have a valid flag with a value = to 0 (Kernel Property Flags) for ex.
I suspect if we apply the spec to the letter, OpConstantNull shall be rejected since it's another opcode? (Which is sad given the spec says OpConstantNull %int = 0)

I think strictly speaking, yes, it is disallowed. That might have been an oversight to simply disallow spec constants. There probably isn't much to gain by allowing it though unless every consumer handles OpConstantNull already.


Vulnerability roundup 102: pgsync-0.6.6: 1 advisory [7.5]

search, files

[ ] CVE-2021-31671 CVSSv3=7.5 (nixos-unstable)

Scanned versions: nixos-unstable: ea7d4aa9b82.
Cc @fabianhjr

Thanks for the heads up @ckauhaus, updating pgsync nix expression


ERROR TypeError: Cannot read property ‘isUpdate’ of null on multi-select dropdown

Detailed description

Describe in detail the issue you're having.

open a multi-select and select any item
while the drop-down is open, unselect the same item
Then Cannot read property ‘isUpdate’ of null appears

Is this a feature request (new component, new icon), a bug, or a general issue?
No

Is this issue related to a specific component?
multi-select dropdown

What did you expect to happen? What happened instead? What would you like to see changed?

What browser are you working in?
Chrome/Safari/Firefox

What version of the Carbon Design System are you using?
“carbon-components-angular”: “^3.12.6"

What offering/product do you work on? Any pressing ship or release dates we should be aware of?

Steps to reproduce the issue

open a multi-select and select any item
while the drop-down is open, unselect the same item
Then Cannot read property ‘isUpdate’ of null appears

Additional information
I saw a bug closed on same issue, but I did not have an option to reopen, so I had to create a new bug. This is the link to that issue:
https://github.com/IBM/carbon-components-angular/issues/686

Screenshots or code
Notes

Just want to confirm you're still seeing this issue with the latest carbon-components-angular? If you are, can you provide a minimal repro environment/code sample/codesandbox/stackblitz? I can't recreate this in the storybook

What is the latest version of carbon-components-angular?

You do a npm info carbon-components-angular to check ... right now it's 3.21.0

Yes, this is what I have. Then, the issue still is visible in this version.
To reproduce it:
Have a table with the multi-select filters populated and then do the steps I provided above. You'll hit the issue.

Just checking again that you're still experiencing this issue with the latest version? If so could you please provide a minimal reproduction environment (basic cli app, code snippet, anything) since I can't reproduce this error locally.

Yes, with the latest version also this issue is seen. I implemented a work-around into our solution so it can bypass the error. However, this is not an optimal fix since other users would face the issue.
The reproducing steps are still the same as mentioned above.

Sorry if I haven't been clear - I cannot reproduce the issue using only the steps you have given me. I need an isolated environment that exhibits the issue to efficiently fix it. Alternatively, if you have an idea of what the cause is please submit a PR with a proposed fix and we can take it from there.

closing pending additional information: can't reproduce

Same problem here


[utils] check for input file extension

Throw error if argv[1] does not have a .bin extension

That's not super necessary, the FlatLog class checks that the log file is a valid mc_rtc log by checking for a magic number at the start of the file. What was the motivation for this?

In that case we could probably put the check early on. Currently, even if the input file is invalid, the program will generate an empty output file and then fail fater.
I agree it's not super important.

I see, I think the nicer approach is to:

check the log size after opening it and before creating the new file https://github.com/jrl-umi3218/mc_rtc/blob/master/utils/mc_bin_to_flat.cpp#L364
maybe return a bool/int from mc_bin_to_flat so that the util can return a different exit code if the conversion fails
do the same with mc_bin_to_log and mc_bin_to_rosbag (https://github.com/jrl-umi3218/mc_rtc/blob/master/plugins/ROS/utils/mc_bin_to_rosbag.cpp)


EntityEnum: rename the key column

At the moment it's just called 'key' which makes writing database independent queries tricky (i.e.  [key] vs 'key' )

There may be knock on implications to loaders etc.


why align monodepth with metric depth instead of directly using metric depth

Thanks for your good job. I want to know why align monodepth with metric depth instead of directly using metric depth?

Hi, we found that relative depth predictions tend to contain finer details compared to metric depth maps.

The purpose of the function is to convert the relative depth  to metric depth. So, are you actually using metric depth in your project?


matrix-appservice-wechaty can not recognize direct message group correctly

I start up a matrix server with synapse home server. And then run matrix-appservice-wechaty with docker.
config.yaml
domain: (My Domain)
homeserverUrl: https://(My Domain with synapse server)
registration: wechaty-registration.yaml

And wechaty-registration.yaml generated with
id: wechaty
hs_token: (Token)
as_token: (Token)
namespaces:
  users:
    - exclusive: true
      regex<EMAIL_ADDRESS>  aliases:
    - exclusive: true
      regex: '#wechaty_.*'
  rooms: []
url: 'http://(My Another Server IP running this bridge with port)'
sender_localpart: wechaty
rate_limited: false
protocols:
  - wechaty

I copied wechaty-registration.yaml to synapse home server and add it to homeserver.yaml and restart synapse.
When I start up a chat with @wechaty:(My Domain) , error occured.
18:01:26 ERR MatrixHandler onEvent() rejection: room (Direct Message RoomID) is not a direct message room set by man
ager
Error: room (Direct Message RoomID) is not a direct message room set by manager
    at AppserviceManager.<anonymous> (/matrix-appservice-wechaty/dist/src/appservice-manager.js:237:23)
    at Generator.next (<anonymous>)
    at /matrix-appservice-wechaty/dist/src/appservice-manager.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/matrix-appservice-wechaty/dist/src/appservice-manager.js:4:12)
    at AppserviceManager.directMessage (/matrix-appservice-wechaty/dist/src/appservice-manager.js:233:16)
    at MatrixHandler.<anonymous> (/matrix-appservice-wechaty/dist/src/matrix-handler.js:109:46)
    at Generator.next (<anonymous>)
    at fulfilled (/matrix-appservice-wechaty/dist/src/matrix-handler.js:5:58)

Sorry, this snapshot is captured in Riot Web UI with Chinese language. But you can see, the direct message icon is enabled.
And this bridge manage bot doesn't send anything (README said it should send This room has been registered as your bridge management/status room. to me, but it doesn't). When I send login to it, it showing more error.
DEBUG: userData:  { directRoomId: '(Direct Message RoomID)' }
18:02:25 ERR MatrixHandler onEvent() rejection: no room found in store from id (Direct Message RoomID)
Error: no room found in store from id (Direct Message RoomID)
    at /matrix-appservice-wechaty/dist/src/appservice-manager.js:270:31
    at Generator.next (<anonymous>)
    at fulfilled (/matrix-appservice-wechaty/dist/src/appservice-manager.js:5:58)
DEBUG: userData:  { directRoomId: '(Direct Message RoomID)' }
18:02:28 ERR MatrixHandler onEvent() rejection: no room found in store from id (Direct Message RoomID)
Error: no room found in store from id (Direct Message RoomID)
    at /matrix-appservice-wechaty/dist/src/appservice-manager.js:270:31
    at Generator.next (<anonymous>)
    at fulfilled (/matrix-appservice-wechaty/dist/src/appservice-manager.js:5:58)

I tried multiple times. Such as.

Create an empty room and use /invite command
Use Riot Web with New Chat button
Use Riot Android Client with New Chat button
Delete all history chat room and forgot them which include @wechaty member ,stop the bridge and delete matrix-appservice-wechaty db files (room-store.db and user-store.db), then restart the bridge and try again.

With these tries, bridge manage bot always accept invite message and join the room, and print an error on bridge console.
I also make sure request between synapse and bridge isn't block with firewall (Because synapse callback request is shown on bridge console with [Debug] tag).
I successfully run a telegram bridge, so it shouldn't my synapse config fault.

Happy Chinese New Year. I really don't like WeChat. And if these comment leave on Issue might be helpful with other users who has this problem.

@cubesky Hello, I'm working on this project recently.

Please join our Matrix room for this project at https://matrix.to/#/#matrix-appservice-wechaty:matrix.org if you want to discuss it with other developers.

I'm happy to hear that this project is back to develop. I joined Matrix room with nickname 立音.
I think this maybe a database issue, does this project has database clean up feature?

Hi @cubesky,
Glad to see you again too.
This project does not use any database other than that matrix-appservice-bridge provided.
I believe you can clean all the local database up by purge files in the current directory.
My data directory is like this:
$ ll
total 28drwxrwxr-x  2 huan huan 4096 Feb 26 04:27  ./
drwxrwxr-x 14 huan huan 4096 Feb 26 02:30  ../
-rw-rw-r--  1 huan huan  564 Feb 26 04:18 '@huan:aka.cn.memory-card.json'
-rw-rw-r--  1 huan huan   96 Feb 25 16:17  config.yaml
-rw-r--r--  1 root root  448 Feb 26 04:27  room-store.db
-rw-r--r--  1 root root  617 Feb 26 04:27  user-store.db
-rw-rw-r--  1 huan huan  406 Feb 26 00:17  wechaty-registration.yaml

You can try to clean the room-store.db and user-store.db.
BTW: I'd like to suggest that you apply a wechaty-puppet-padplus token so that you can use iPad protocol with WeChat.
Learn more about the application form at here

Ok, thanks, if I successfully run the wechaty bridge, I will write a blog to record how to deploy this appservice.

There have some updates related to the installation in the README which might help you, please feel free to let me know if you have any questions.
A blog post from a user perspective will be great and I would love to read your blog and share it with the Wechaty community.
Wechaty also has an official blog at https://blog.chatie.io, would you like to share your blog post over there too? I will send you an invitation if you want to.

Let me have a try. My blog post use CC BY-NC-SA 3.0 CN license, so forward to blog.chatie.io is no problem.

From this version I got
20:29:11 ERR AppserviceManager directMessageRoomSet() directRoomId !EAmnLoAUOvwOmnqUdJ:0v0.bid already exists for user @(My User):(My Domain), but someone want to replaced it with !rogrpNGxEdnzJDvrAC:(My Domain)
20:29:11 ERR MatrixHandler onEvent() rejection: direct message room id had already been set for @(My User):(My Domain)
Error: direct message room id had already been set for @cubesky:(My Domain)

But I have no method to rejoin that chat room. I remove all db file and regen wechaty-registration.yaml doesn't work.

It seems that you have set your domain as My Domain and created a user named My User?
I'm not sure if the system works for this, could you please try a normal domain name, like example.com, with a normal user name, like user?
The related code is at:
https://github.com/wechaty/matrix-appservice-wechaty/blob/65bc713a4b4b06b8796f085390fffeb1c6d527af/src/appservice-manager.ts#L436-L446

No that is replaced by myself during send the log to Github, beacuse of my server doesn't has DDoS protect or other protection.

22:22:12 INFO cli run(port=8788,)
DEBUG request Request {
  id: '55kk7sjy3yk00',
  data:
   { age: 6402499,
     content: { membership: 'leave' },
     event_id: '$ZmQiCSuu0KinXXZD_8Xq7AemwkNhEI-USkwbPVXvgmA',
     origin_server_ts:<PHONE_NUMBER>669,
     replaces_state: '$9aB5B6gH4jLYxVWxOSncnIvo0EEXtI2T7bH444-OdeQ',
     room_id: '!rogrpNGxEdnzJDvrAC:0v0.bid',
     sender: '@cubesky:0v0.bid',
     state_key: '@cubesky:0v0.bid',
     type: 'm.room.member',
     unsigned:
      { age: 6402499,
        replaces_state: '$9aB5B6gH4jLYxVWxOSncnIvo0EEXtI2T7bH444-OdeQ' },
     user_id: '@cubesky:0v0.bid' },
  startTs:<PHONE_NUMBER>357,
  defer:
   PromiseResolver {
     promise:
      Promise {
        '1': [Function],
        '3': [Promise],
        '4': [CatchFilter],
        _bitField: 2,
        _fulfillmentHandler0: [Function],
        _rejectionHandler0: undefined,
        _progressHandler0: undefined,
        _promise0: [Promise],
        _receiver0: undefined,
        _settledValue: undefined } } }
DEBUG context BridgeContext {
  _ctx:
   { sender: '@cubesky:0v0.bid',
     target: '@cubesky:0v0.bid',
     room: '!rogrpNGxEdnzJDvrAC:0v0.bid' },
  senders:
   { matrix:
      MatrixUser {
        userId: '@cubesky:0v0.bid',
        localpart: 'cubesky',
        host: '0v0.bid',
        _data: [Object] },
     remote: null,
     remotes: [] },
  targets:
   { matrix:
      MatrixUser {
        userId: '@cubesky:0v0.bid',
        localpart: 'cubesky',
        host: '0v0.bid',
        _data: {} },
     remote: null,
remotes: [] } }
DEBUG: userData:  { directRoomId: '!EAmnLoAUOvwOmnqUdJ:0v0.bid' }
22:23:02 ERR AppserviceManager directMessageRoomSet() directRoomId !EAmnLoAUOvwOmnqUdJ:0v0.bid already exists for user @cubesky:0v0.bid, but someone want to replaced it with !WvZEAHKQUWoOSfolNy:0v0.bid
22:23:02 ERR MatrixHandler onEvent() rejection: direct message room id had already been set for @cubesky:0v0.bid
Error: direct message room id had already been set for @cubesky:0v0.bid
    at /usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:283:31
    at Generator.next (<anonymous>)
    at /usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:4:12)
    at directMessageRoomSet (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:277:24)
    at AppserviceManager.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:256:24)
    at Generator.next (<anonymous>)
    at /usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:4:12)
    at AppserviceManager.directMessageRoom (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:250:16)
    at MatrixHandler.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/matrix-handler.js:107:46)
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/matrix-handler.js:5:58)
DEBUG request Request {
  id: '4krojjal94i00',
  data:
   { age: 86,
     content:
      { avatar_url: null, displayname: 'wechaty', membership: 'join' },
     event_id: '$tJKB6WAbfsitgcRUocm0mIqd5xfwNRh3WixPXCWKEjI',
     origin_server_ts:<PHONE_NUMBER>842,
     prev_content:
      { avatar_url: null,
        displayname: 'wechaty',
        is_direct: true,
        membership: 'invite' },
     replaces_state: '$ciKHBnmJ77Da5ZPTK0vCJnen_p-UKxbI8TKoyHJEOIM',
     room_id: '!WvZEAHKQUWoOSfolNy:0v0.bid',
     sender: '@wechaty:0v0.bid',
     state_key: '@wechaty:0v0.bid',
     type: 'm.room.member',
     unsigned:
      { age: 86,
        prev_content: [Object],
        prev_sender: '@cubesky:0v0.bid',
        replaces_state: '$ciKHBnmJ77Da5ZPTK0vCJnen_p-UKxbI8TKoyHJEOIM' },
     user_id: '@wechaty:0v0.bid' },
  startTs:<PHONE_NUMBER>322,
  defer:
   PromiseResolver {
     promise:
      Promise {
        '1': [Function],
        '3': [Promise],
        '4': [CatchFilter],
        _bitField: 2,
        _fulfillmentHandler0: [Function],
        _rejectionHandler0: undefined,
        _progressHandler0: undefined,
        _promise0: [Promise],
        _receiver0: undefined,
        _settledValue: undefined } } }
DEBUG context BridgeContext {
  _ctx:
   { sender: '@wechaty:0v0.bid',
     target: '@wechaty:0v0.bid',
     room: '!WvZEAHKQUWoOSfolNy:0v0.bid' },
  senders:
   { matrix:
      MatrixUser {
        userId: '@wechaty:0v0.bid',
        localpart: 'wechaty',
        host: '0v0.bid',
        _data: {} },
     remote: null,
     remotes: [] },
  targets:
   { matrix:
      MatrixUser {
        userId: '@wechaty:0v0.bid',
        localpart: 'wechaty',
        host: '0v0.bid',
        _data: {} },
     remote: null,
     remotes: [] },
  rooms:
   { matrix:
      MatrixRoom { roomId: '!WvZEAHKQUWoOSfolNy:0v0.bid', _extras: {} },
     remote: null,
     remotes: [] } }
DEBUG: userData:  { directRoomId: '!EAmnLoAUOvwOmnqUdJ:0v0.bid' }
22:23:07 ERR MatrixHandler onEvent() rejection: no room found in store from id !EAmnLoAUOvwOmnqUdJ:0v0.bid
Error: no room found in store from id !EAmnLoAUOvwOmnqUdJ:0v0.bid
    at /usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:270:31
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:5:58)
DEBUG: userData:  { directRoomId: '!EAmnLoAUOvwOmnqUdJ:0v0.bid' }
22:23:15 ERR MatrixHandler onEvent() rejection: no room found in store from id !EAmnLoAUOvwOmnqUdJ:0v0.bid
Error: no room found in store from id !EAmnLoAUOvwOmnqUdJ:0v0.bid
    at /usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:270:31
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:5:58)
DEBUG: userData:  { directRoomId: '!EAmnLoAUOvwOmnqUdJ:0v0.bid' }
22:23:19 ERR MatrixHandler onEvent() rejection: no room found in store from id !EAmnLoAUOvwOmnqUdJ:0v0.bid
Error: no room found in store from id !EAmnLoAUOvwOmnqUdJ:0v0.bid
    at /usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:270:31
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:5:58)```

22:22:12 INFO cli run(port=8788,)
DEBUG request Request {
  id: '55kk7sjy3yk00',
  data:
   { age: 6402499,
     content: { membership: 'leave' },
     event_id: '$ZmQiCSuu0KinXXZD_8Xq7AemwkNhEI-USkwbPVXvgmA',
     origin_server_ts:<PHONE_NUMBER>669,
     replaces_state: '$9aB5B6gH4jLYxVWxOSncnIvo0EEXtI2T7bH444-OdeQ',
     room_id: '!rogrpNGxEdnzJDvrAC:0v0.bid',
     sender: '@cubesky:0v0.bid',
     state_key: '@cubesky:0v0.bid',
     type: 'm.room.member',
     unsigned:
      { age: 6402499,
        replaces_state: '$9aB5B6gH4jLYxVWxOSncnIvo0EEXtI2T7bH444-OdeQ' },
     user_id: '@cubesky:0v0.bid' },
  startTs:<PHONE_NUMBER>357,
  defer:
   PromiseResolver {
     promise:
      Promise {
        '1': [Function],
        '3': [Promise],
        '4': [CatchFilter],
        _bitField: 2,
        _fulfillmentHandler0: [Function],
        _rejectionHandler0: undefined,
        _progressHandler0: undefined,
        _promise0: [Promise],
        _receiver0: undefined,
        _settledValue: undefined } } }
DEBUG context BridgeContext {
  _ctx:
   { sender: '@cubesky:0v0.bid',
     target: '@cubesky:0v0.bid',
     room: '!rogrpNGxEdnzJDvrAC:0v0.bid' },
  senders:
   { matrix:
      MatrixUser {
        userId: '@cubesky:0v0.bid',
        localpart: 'cubesky',
        host: '0v0.bid',
        _data: [Object] },
     remote: null,
     remotes: [] },
  targets:
   { matrix:
      MatrixUser {
        userId: '@cubesky:0v0.bid',
        localpart: 'cubesky',
        host: '0v0.bid',
        _data: {} },
     remote: null,
remotes: [] } }
DEBUG: userData:  { directRoomId: '!EAmnLoAUOvwOmnqUdJ:0v0.bid' }
22:23:02 ERR AppserviceManager directMessageRoomSet() directRoomId !EAmnLoAUOvwOmnqUdJ:0v0.bid already exists for user @cubesky:0v0.bid, but someone want to replaced it with !WvZEAHKQUWoOSfolNy:0v0.bid
22:23:02 ERR MatrixHandler onEvent() rejection: direct message room id had already been set for @cubesky:0v0.bid
Error: direct message room id had already been set for @cubesky:0v0.bid
    at /usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:283:31
    at Generator.next (<anonymous>)
    at /usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:4:12)
    at directMessageRoomSet (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:277:24)
    at AppserviceManager.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:256:24)
    at Generator.next (<anonymous>)
    at /usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:4:12)
    at AppserviceManager.directMessageRoom (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:250:16)
    at MatrixHandler.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/matrix-handler.js:107:46)
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/matrix-handler.js:5:58)
DEBUG request Request {
  id: '4krojjal94i00',
  data:
   { age: 86,
     content:
      { avatar_url: null, displayname: 'wechaty', membership: 'join' },
     event_id: '$tJKB6WAbfsitgcRUocm0mIqd5xfwNRh3WixPXCWKEjI',
     origin_server_ts:<PHONE_NUMBER>842,
     prev_content:
      { avatar_url: null,
        displayname: 'wechaty',
        is_direct: true,
        membership: 'invite' },
     replaces_state: '$ciKHBnmJ77Da5ZPTK0vCJnen_p-UKxbI8TKoyHJEOIM',
     room_id: '!WvZEAHKQUWoOSfolNy:0v0.bid',
     sender: '@wechaty:0v0.bid',
     state_key: '@wechaty:0v0.bid',
     type: 'm.room.member',
     unsigned:
      { age: 86,
        prev_content: [Object],
        prev_sender: '@cubesky:0v0.bid',
        replaces_state: '$ciKHBnmJ77Da5ZPTK0vCJnen_p-UKxbI8TKoyHJEOIM' },
     user_id: '@wechaty:0v0.bid' },
  startTs:<PHONE_NUMBER>322,
  defer:
   PromiseResolver {
     promise:
      Promise {
        '1': [Function],
        '3': [Promise],
        '4': [CatchFilter],
        _bitField: 2,
        _fulfillmentHandler0: [Function],
        _rejectionHandler0: undefined,
        _progressHandler0: undefined,
        _promise0: [Promise],
        _receiver0: undefined,
        _settledValue: undefined } } }
DEBUG context BridgeContext {
  _ctx:
   { sender: '@wechaty:0v0.bid',
     target: '@wechaty:0v0.bid',
     room: '!WvZEAHKQUWoOSfolNy:0v0.bid' },
  senders:
   { matrix:
      MatrixUser {
        userId: '@wechaty:0v0.bid',
        localpart: 'wechaty',
        host: '0v0.bid',
        _data: {} },
     remote: null,
     remotes: [] },
  targets:
   { matrix:
      MatrixUser {
        userId: '@wechaty:0v0.bid',
        localpart: 'wechaty',
        host: '0v0.bid',
        _data: {} },
     remote: null,
     remotes: [] },
  rooms:
   { matrix:
      MatrixRoom { roomId: '!WvZEAHKQUWoOSfolNy:0v0.bid', _extras: {} },
     remote: null,
     remotes: [] } }
DEBUG: userData:  { directRoomId: '!EAmnLoAUOvwOmnqUdJ:0v0.bid' }
22:23:07 ERR MatrixHandler onEvent() rejection: no room found in store from id !EAmnLoAUOvwOmnqUdJ:0v0.bid
Error: no room found in store from id !EAmnLoAUOvwOmnqUdJ:0v0.bid
    at /usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:270:31
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:5:58)
DEBUG: userData:  { directRoomId: '!EAmnLoAUOvwOmnqUdJ:0v0.bid' }
22:23:15 ERR MatrixHandler onEvent() rejection: no room found in store from id !EAmnLoAUOvwOmnqUdJ:0v0.bid
Error: no room found in store from id !EAmnLoAUOvwOmnqUdJ:0v0.bid
    at /usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:270:31
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:5:58)
DEBUG: userData:  { directRoomId: '!EAmnLoAUOvwOmnqUdJ:0v0.bid' }
22:23:19 ERR MatrixHandler onEvent() rejection: no room found in store from id !EAmnLoAUOvwOmnqUdJ:0v0.bid
Error: no room found in store from id !EAmnLoAUOvwOmnqUdJ:0v0.bid
    at /usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:270:31
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/share/.config/yarn/global/node_modules/matrix-appservice-wechaty/dist/src/appservice-manager.js:5:58)```

Matrix-AppService-Wechaty 0.7.2 fixed


Update the side-nav icon of an exercise after submitting the solution.

TODO
When backend will return the submission status of the assignment, store the value of submission status in a local variable in exercise-form.component.ts.
After that, emit the object with the value of submissionStatus from the openSubmitForm method in the course-content.component.ts.

Completed the backend endpoint and now have resolved the issue too.


[GLUTEN-5852] [CH] fix mismatch result columns size exception

What changes were proposed in this pull request?
For sql whose agg columns contains two same const value, they will be transfromed to same name, In #5619 , it called distinct on agg's keys and outputs, so the const columns may be removed.
(Fixes: #5852)
How was this patch tested?
This patch was tested by unit tests.

@ulysses-you @liujiayi771 please help to review, thanks.

@shuai-xu I currently don't have the env for CH, so I used Velox to test the case you provided. The result is consistent with vanilla Spark. Does this issue only occur in CH? Could you tell me what CH returns before the fix?
In addition, the original logic here is to reuse some duplicated pulled-out Attributes. If the issue you encountered is only related to Literal, could you only add a special handling for Literal here?

@shuai-xu I currently don't have the env for CH, so I used Velox to test the case you provided. The result is consistent with vanilla Spark. Does this issue only occur in CH? Could you tell me what CH returns before the fix? I also tried debugging and did not enter into the code you modified.
In addition, the original logic here is to reuse some duplicated pulled-out Attributes. If the issue you encountered is only related to Literal, could you only add a special handling for Literal here?

This case only happens in CH. It will throw an exception as shown in the issue before fix. The problem here is that the resue logic consider two different attibutes with same name as same one, so later in CH, it can't know whether they are really same.

The literal should not happen in group keys.  Can we add RemoveLiteralFromGroupExpressions into extended optimzier rule ? It seems Spark only optimize the group by case but miss to optimize the distinct case.

LGTM. cc @ulysses-you Do you have any other suggestions?

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_5853_time.csv
log/native_master_05_28_2024_d7374bd8f_time.csv
difference
percentage

q1
34.22
34.04
-0.180
99.47%

q2
23.49
23.62
0.138
100.59%

q3
36.89
36.93
0.044
100.12%

q4
32.94
32.10
-0.842
97.45%

q5
70.85
69.91
-0.945
98.67%

q6
7.15
5.97
-1.188
83.40%

q7
83.94
80.25
-3.682
95.61%

q8
84.35
84.79
0.438
100.52%

q9
117.06
121.55
4.489
103.84%

q10
43.06
43.64
0.581
101.35%

q11
20.58
22.27
1.693
108.23%

q12
28.02
26.90
-1.116
96.02%

q13
51.13
52.40
1.277
102.50%

q14
19.24
21.59
2.348
112.20%

q15
30.74
31.46
0.716
102.33%

q16
14.05
13.97
-0.081
99.42%

q17
105.26
102.83
-2.433
97.69%

q18
143.59
145.92
2.329
101.62%

q19
13.55
14.82
1.265
109.33%

q20
26.64
31.06
4.421
116.60%

q21
260.72
261.69
0.965
100.37%

q22
14.92
12.27
-2.649
82.24%

total
1262.39
1269.97
7.589
100.60%


[web]: Syncing files to device Chrome - Stuck

Hi. I've had this issue when in the master channel of flutter for a couple of weeks now, where sometimes the 'Syncing files to device Chrome' dialog wouldn't go away in VSCode. The issue wasn't in the beta channel until today and is still in the master channel.
It seems to happen at a complete random save (hot reload) and I have to refresh the browser to make it go away. The strange thing is that it actually loads the data with no issue, but I can't hot reload until I refresh the browser or restart the device.
I'm using the latest version of Chrome (Google Chrome is up to date
Version 81.0.4044.92 (Official Build) (64-bit))
E:\xampp\htdocs\phplessons\ems_new>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[ÔêÜ] Flutter (Channel master, v1.18.1-pre.26, on Microsoft Windows [Version 6.1.7601], locale en-GB)
[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[ÔêÜ] Chrome - develop for the web
[ÔêÜ] Android Studio (version 3.4)
[ÔêÜ] Connected device (2 available)

! Doctor found issues in 1 category.''

>Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v1.17.0, on Microsoft Windows [Version 6.1.7601], locale en-GB)
[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[√] Chrome - develop for the web
[√] Android Studio (version 3.4)
[√] Connected device (2 available)

>! Doctor found issues in 1 category.

Hi @Dibitybopty
Does it happen only on VS Code or also from terminal?
can you please provide your flutter run -d --verbose
and a reproducible minimal code sample.
Thank you

Hi @iapicca
I can confirm that it also happens from the terminal, it's currently stuck now at 'performing hot restart...' and hitting 'r' is unresponsive.
The only thing I changed was adding and removing the alignment property in a container that was inside a slidable widget. Though it will happen with almost any type of change at what seems to be random times.
What I can say is that it will won't get stuck until quite a few hot reloads, but once it happens and I refresh the browser to get rid of it, it will happen very often - nearly every other hot restart.

Hi @Dibitybopty
Are you still experiencing this issue?
Can you please confirm wit latest master?
Thank you

Hey @TahaTesser
Unfortunately it's still happening with the latest master. I'm currently on a new project with only a few widgets and it's very frequent. I've also switched to Android Studio and it's made no difference.

Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, v1.18.0-6.0.pre.42, on Microsoft Windows [Version 6.1.7601], locale en-GB)
[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[√] Chrome - develop for the web
[√] Android Studio (version 3.6)
[√] Connected device (2 available)

! Doctor found issues in 1 category.

Current project:
void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        debugShowCheckedModeBanner: false,
        title: 'Flutter Demo',
        theme: ThemeData(
          primarySwatch: Colors.blue,
          visualDensity: VisualDensity.adaptivePlatformDensity,
        ),
        home: Scaffold(

          appBar: AppBar(

            title: Text('Hello!'),

          ),
          body: Container(
            child: NavBar()
          ),
        ),
      );
  }
}

import 'package:flutter/material.dart';

class NavBar extends StatefulWidget {
  @override
  _NavBarState createState() => _NavBarState();
}

class _NavBarState extends State<NavBar> {
  List<String> _pages = [
    'HOME',
    'Nav2',
    'Nav3',
  ];

  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Align(
      alignment: Alignment.center,
      child: Container(
        child: NavItems(
          pages: _pages,
        ),
      ),
    );
  }
}

class NavItems extends StatefulWidget {
  final pages;

  const NavItems({Key key, @required this.pages}) : super(key: key);

  @override
  _NavItemsState createState() => _NavItemsState();
}

class _NavItemsState extends State<NavItems> {
  int activeIndex = 0;

  @override
  Widget build(BuildContext context) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        for(var i = 0; i < 5;i++)
        GestureDetector(
          onTap: () {
            setState(() {
              activeIndex = i;
            });
          },
          child: Container(
            padding: EdgeInsets.symmetric(vertical: 20, horizontal: 30),
            child: Text(
              '${widget.pages[i]}',
              style: TextStyle(
                  fontSize: 32,
                  fontWeight: FontWeight.bold,
                  color: activeIndex == i ? Colors.black : Colors.blueGrey),
            ),
          ),
        ),
      ],
    );
  }
}

Thanks

Could be related #54876

i have this issue every time , not random times :(

flutter run -d --verbose get me on flutter beta channel
#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:336:7)

#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:702:11)

#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:619:33)

#4      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart)
#5      AppContext.run. (package:flutter_tools/src/base/context.dart:150:29)
#6      _rootRun (dart:async/zone.dart:1184:13)
#7      _CustomZone.run (dart:async/zone.dart:1077:19)
#8      _runZoned (dart:async/zone.dart:1619:10)
#9      runZoned (dart:async/zone.dart:1539:10)
#10     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#11     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:609:20)
#12     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#13     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:339:21)

#14     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart)
#15     AppContext.run. (package:flutter_tools/src/base/context.dart:150:29)
#16     _rootRun (dart:async/zone.dart:1184:13)
#17     _CustomZone.run (dart:async/zone.dart:1077:19)
#18     _runZoned (dart:async/zone.dart:1619:10)
#19     runZoned (dart:async/zone.dart:1539:10)
#20     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#21     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:288:19)
#22     CommandRunner.run. (package:args/command_runner.dart:112:25)
#23     new Future.sync (dart:async/future.dart:224:31)
#24     CommandRunner.run (package:args/command_runner.dart:112:14)
#25     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:231:18)
#26     run.. (package:flutter_tools/runner.dart:63:22)
#27     _rootRun (dart:async/zone.dart:1184:13)
#28     _CustomZone.run (dart:async/zone.dart:1077:19)
#29     _runZoned (dart:async/zone.dart:1619:10)
#30     runZonedGuarded (dart:async/zone.dart:1608:12)
#31     runZoned (dart:async/zone.dart:1536:12)
#32     run. (package:flutter_tools/runner.dart:61:18)

#33     run. (package:flutter_tools/runner.dart)
#34     runInContext.runnerWrapper (package:flutter_tools/src/context_runner.dart:64:18)

#35     runInContext.runnerWrapper (package:flutter_tools/src/context_runner.dart)
#36     AppContext.run. (package:flutter_tools/src/base/context.dart:150:29)
#37     _rootRun (dart:async/zone.dart:1184:13)
#38     _CustomZone.run (dart:async/zone.dart:1077:19)
#39     _runZoned (dart:async/zone.dart:1619:10)
#40     runZoned (dart:async/zone.dart:1539:10)
#41     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#42     runInContext (package:flutter_tools/src/context_runner.dart:67:24)
#43     run (package:flutter_tools/runner.dart:48:10)
#44     main (package:flutter_tools/executable.dart:69:9)
#45     main (file:///c:/dev/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#46     _startIsolate. (dart:isolate-patch/isolate_patch.dart:299:32)
#47     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
Fluter doctor:
[√] Flutter (Channel beta, v1.17.0-3.2.pre, on Microsoft Windows [Version 10.0.18362.778], locale ru-RU)
• Flutter version 1.17.0-3.2.pre at c:\dev\flutter
• Framework revision 2a7bc389f2 (6 days ago), 2020-04-21 20:34:20 -0700
• Engine revision 4c8c31f591
• Dart version 2.8.0 (build 2.8.0-dev.20.10)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\maxim\AppData\Local\Android\sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 3.6)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 45.1.1
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[√] IntelliJ IDEA Ultimate Edition (version 2019.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2019.1.2
• Flutter plugin version 45.1.2
• Dart plugin version 193.6494.35
[√] VS Code (version 1.39.1)
• VS Code at C:\Users\maxim\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.5.1
[√] Connected device (2 available)
• Chrome     • chrome     • web-javascript • Google Chrome 81.0.4044.122
• Web Server • web-server • web-javascript • Flutter Tools

i solved it with starting a new project with new version of flutter (master channel) (updating isn't enough you must start a new project with it) ! i dont know why but problem is gone .

i solved it with starting a new project with new version of flutter (master channel) (updating isn't enough you must start a new project with it) ! i dont know why but problem is gone .

for a while the problem goes away, but do not rush to rejoice. She is coming back very soon. ((

When the hot reload gets stuck, are there any errors in the browser console tab?

FYI @grouma

This could be related to https://github.com/dart-lang/webdev/issues/947
I've yet to root cause the issue as it has been on the back burner. We are likely stuck in one of two places:

Waiting for the breakpoints to clear
Waiting for the isolate to resume

I have a theory that it is related to the keep alive logic in package:sse. @DanTup recently added shutdown support to SSE connections which may come in handy to prevent various race conditions,.
Any console logs from the browser that folks can provided will be greatly appreciated.

When the hot reload gets stuck, are there any errors in the browser console tab?

@jonahwilliams I'm getting no errors in the console. Nothing but my debug prints.

A workaround that works most of the time is, when the "Syncing files..." is displayed:
Hit reload on Chrome and, once the refresh is finished, press the "Flutter Hot Reload" button on Android Studio.
Looks like this awakens it all and keeps working as it should.

I dug into this today. I know what's causing the issue but I don't know the exact root cause.
We are getting a seemingly random injected client disconnect here:
https://github.com/dart-lang/webdev/blob/e6491c5826e89d83b0fd3a6db732e920bc02e1ce/dwds/lib/src/handlers/dev_handler.dart#L241
This causes a destroy isolate:
https://github.com/dart-lang/webdev/blob/e6491c5826e89d83b0fd3a6db732e920bc02e1ce/dwds/lib/src/handlers/dev_handler.dart#L250
As a result we hit:
https://github.com/dart-lang/webdev/issues/947
This seems to only happen after a refresh. I'm thinking it's related to the keep alive logic in package:sse. I'll keep digging.

@jonahwilliams you'll need to depend on package:dwds version 3.1.0 which I just published.

Perfect, thanks @grouma !

hey....i'm still experiencing this issue....can u just explain how to remove it

Same here. Issue still exists both on beta and master channels.

I'm also experiencing this on the latest beta.
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.18.0-11.1.pre, on Linux, locale en_AU.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.6)
[✓] Connected device (2 available)
• No issues found!

Still experiencing this with dwds 3.1.1

I'm also getting stuck on syncing files.
flutter doctor
[√] Flutter (Channel beta, 1.18.0-11.1.pre, on Microsoft Windows [Version 10.0.18362.657], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Chrome - develop for the web
[√] Android Studio (version 3.4)
[√] VS Code (version 1.45.1)
[√] Connected device (2 available)

I'm also getting stuck on syncing files.
flutter doctor
[√] Flutter (Channel beta, 1.18.0-11.1.pre, on Microsoft Windows [Version 10.0.18362.657], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Chrome - develop for the web
[√] Android Studio (version 3.4)
[√] VS Code (version 1.45.1)
[√] Connected device (2 available)

I've managed to run my project through the terminal with
flutter run -d "chrome" --verbose

I have the same problem,
I also tried to run my project trough the terminal with
flutter run -d chrome --verbose
the strange thing that happens when i run that command is that it Syncs successfully all the files (at least that's what the --verbose states) but the browser doesn't show any content.

cc @DanTup

I am frustrated by this :( Still happening to me as well. Flutter version v1.15.3 was really good with working.
I am not considering to downgrade, I'll stick with the latest but...
Thank you all for working on this issue anyways.

Same issue - Stuck on 'Synching files to device Chrome' - white screen shown in chrome and no errors in dart console.
Brand new project (Counter) WORKS. No issue.
Existing app that you :
a. Flutter web enabled
b. Flutter create .
c. Create index.html as shown below :
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta content="IE=Edge" http-equiv="X-UA-Compatible">
  <meta name="description" content="A new Flutter project.">

  <!-- iOS meta tags & icons -->
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-title" content="web1">
  <link rel="apple-touch-icon" href="icons/Icon-192.png">

  <!-- Favicon -->
  <link rel="shortcut icon" type="image/png" href="favicon.png"/>

  <title>web1</title>
  <link rel="manifest" href="manifest.json">
</head>
<body>
  <!-- This script installs service_worker.js to provide PWA functionality to
       application. For more information, see:
       https://developers.google.com/web/fundamentals/primers/service-workers -->
  <script>
    if ('serviceWorker' in navigator) {
      window.addEventListener('load', function () {
        navigator.serviceWorker.register('flutter_service_worker.js');
      });
    }
  </script>
<script src="https://www.gstatic.com/firebasejs/7.14.5/firebase-app.js"></script>

<script src="https://www.gstatic.com/firebasejs/7.14.5/firebase-analytics.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.14.5/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.14.5/firebase-storage.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.14.5/firebase-remote-config.js"></script>
<script src="./init.js"/>

<script src="main.dart.js" type="application/javascript"></script>
</body>
</html>

and my Firebase init code :

var firebaseConfig = {
  apiKey: "my-api-key",
  authDomain: "my-project.firebaseapp.com",
  databaseURL: "https://my-project.firebaseio.com",
  projectId: "my-project",
  storageBucket: "my-project-bucket.appspot.com",
  messagingSenderId: "my-sender-id",
  appId: "my-app-id",
  measurementId: "my-measurement-id",
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();

What I've tried :

Running from debug - Gets stuck on 'Syncing file to device ...'

1- Latest Beta
2- Latest Dev build (1.19.0-1.0.pre)
3- Latest Master build (1.19.0-2.0.pre.145)
4- Latest chrome 83.0.4103.61
5- Running in Debug (Issue)
6- Running NOT IN DEBUG (Issue)
Running in terminal :
Flutter run -d chrome
Launching lib/main.dart on Chrome in debug mode...
Syncing files to device Chrome...
30,211ms (!)

completes (or appears to) but nothing shown in browser window (White)

I'm failing to reproduce this, though there seems to some variance in the reports above (whether it's at startup or hot reload, whether it happens on the sample counter project, and whether it happens only in VS Code versus at the terminal).
For anyone that can reproduce this (ideally from VS Code using the sample counter app), it may be useful to have a verbose log:

Run the Dart: Capture Logs command in VS Code
Untick "Analysis Server" but leave everything else ticked and click OK
Run your project with F5
Reproduce the issue (leave it stuck on "Syncing" for a few minutes, to ensure if there are any timeouts or similar, they're captured in the log)
Click *Cancel on the logging notification to stop logging and open the log
Attach the log here
Also open the Chrome DevTools and click on the Console tab, and copy any warnings/errors into here too

@DanTup

This is at Startup - running an EXISTING Flutter app via Run-Start Debugging
It does not happen on Counter App
It DOES not happen in terminal - but then in terminal, we get a BLANK screen

Note - I have managed to get past the 'Syncing files to device  Chrome - Stuck issue'
What I did :

Create a brand new Flutter app and NAME it the same as an EXISTING app that you want to Run as WEB APP
Ensure you have Flutter config --enable-web it
Switch channels to latest Beta
Copy your LIB folder from existing project into this new Flutter app
Copy your pubspec from existing project into this new Flutter app
Update collection (if you are using this) to 1.14.12
Update your index.html accordingly

If you follow these steps - you will not be seeing the 'Syncing files to device chrome - stuck' issue.
However - I now have a new issue whereby I now get an exception :
Launching lib/main.dart on Chrome in debug mode...
Debug service listening on ws://<IP_ADDRESS>:49678/ifXO0PZFa6g=

Error: Failed assertion: boolean expression must not be null
    at Object.throw_ [as throw] (http://localhost:49600/dart_sdk.js:4773:11)
    at Object.test (http://localhost:49600/dart_sdk.js:5058:32)
    at cloud_firestore_web.FirestoreWeb.new.settings (http://localhost:49600/packages/cloud_firestore_web/src/write_batch_web.dart.lib.js:774:18)
    at settings.next (<anonymous>)
    at runBody (http://localhost:49600/dart_sdk.js:35674:34)
    at Object._async [as async] (http://localhost:49600/dart_sdk.js:35702:7)
    at cloud_firestore_web.FirestoreWeb.new.settings (http://localhost:49600/packages/cloud_firestore_web/src/write_batch_web.dart.lib.js:767:20)
    at cloud_firestore.Firestore.new.settings (http://localhost:49600/packages/cloud_firestore/cloud_firestore.dart.lib.js:517:31)
    at main$ (http://localhost:49600/packages/PoL1/menu/test/test_start.dart.lib.js:224639:48)
    at main$.next (<anonymous>)
    at runBody (http://localhost:49600/dart_sdk.js:35674:34)
    at Object._async [as async] (http://localhost:49600/dart_sdk.js:35702:7)
    at Object.main$ [as main] (http://localhost:49600/packages/PoL1/menu/test/test_start.dart.lib.js:224635:18)
    at main$ (http://localhost:49600/web_entrypoint.dart.lib.js:17:12)
    at main$.next (<anonymous>)
    at onValue (http://localhost:49600/dart_sdk.js:35655:33)
    at _RootZone.runUnary (http://localhost:49600/dart_sdk.js:35540:58)
    at _FutureListener.thenAwait.handleValue (http://localhost:49600/dart_sdk.js:30956:29)
    at handleValueCallback (http://localhost:49600/dart_sdk.js:31466:49)
    at Function._propagateToListeners (http://localhost:49600/dart_sdk.js:31498:17)
    at async._AsyncCallbackEntry.new.callback (http://localhost:49600/dart_sdk.js:31251:27)
    at Object._microtaskLoop (http://localhost:49600/dart_sdk.js:35756:13)
    at _startMicrotaskLoop (http://localhost:49600/dart_sdk.js:35762:13)
    at http://localhost:49600/dart_sdk.js:31704:9[{"id":"1","result":{"value":"macOS","type":"","method":"ext.flutter.platformOverride"}}]

I am unsure why it mentions : PoL1/menu/test/test_start as I removed references to this and yet it still appears to pick up ... Anyway, anyone know where I can find generated JavaScript code for the dart classes so I can establish what dartjs doesnt like ?

 I can't reproduce it any of the few apps I've tried, though the first error you posted looks specific to Firebase. Are you able to share a minimal project that reproduces this?
The other two errors you posted in the logs are known (things that aren't implemented in web yet) and shouldn't affect anything else, we just log them rather than silently skipping over them.

Same here, VSCode is not working, but from terminal everything is ok.
This issue happened after updated to latest dev channel for mac.

I have solved it by downgrading the beta version to 1.17.

Is anyone seeing this in VS Code able to share an exact project that triggers it (and exact hash of their Flutter version)? I'm currently unable to reproduce it and some comments above say it doesn't occur with the sample counter app so it may be specific to something in the app.

I solve because my import C:/Users/user/Desktop/flutter/first_app/lib/src/screen.dart and I change it to import 'src/screen.dart';

Experiencing same issue.

Hey all. I had the same issue as everyone else when I upgraded my flutter.
The fastest way to downgrade to a working version is to copy this into the vscode terminal.
flutter downgrade

Same issue here when running Flutter Web application. It appears on both dev and beta channels.
About 65% of time the application get stuck on "Syncing files to device" and white screen in Chrome; 25% of time I get red screen with

TypeError cannot read property "%property%" of undefined

The property is different every time. It can be ThemeData, HeroController or any other items.
And only 10% of the time I get the working app. And yep, on average I must to run the app around 10 times to launch it successfully.
Running flutter run -d chrome --verbose from the terminal change nothing at all.
Also when I run the app from a terminal and it get stuck, the terminal stucks on

DevTools listening on ws://<IP_ADDRESS>:51912/devtools/browser/6b87c4a6-e0c9-45a1-bedf-aff9adb7bdfb

command.  When I open the url "<IP_ADDRESS>:51912" and choose second item "Service Worker" I get the scrren with the following error:

Debugging connection was closed. Reason: WebSocket dissconected.
Recconect when ready by reopening DevTools.

When I lauch the app from a terminal successfully the output is following:

[CHROME]:DevTools listening on ws://<IP_ADDRESS>:52848/devtools/browser/aff37e55-bd8a-4d31-855c-a6bda3a1d738
Debug service listening on ws://<IP_ADDRESS>:52870/35DnZS9ywcQ=
Debug service listening on ws://<IP_ADDRESS>:52870/35DnZS9ywcQ=
Warning: Flutter's support for web development is not stable yet and hasn't ...

Seems like the Debug service couldnt start in first scenario and the app get stuck because of it.

Nevermind. I just figured out I included the script for third-party library in my html body like that:
<body>
...
  <script src="main.dart.js" type="application/javascript"></script>
  <script src="mylibrary.js"></script>
</body>

It was the cause of a problem. I've just moved the script to the head tag and everything works fine:
<head>
...
  <script src="mylibrary.js"></script>
</head>

I am facing the same issue. Doesn't work on Android Studio / VSCode both.
I think it is related to StreamProvider.

I have got this issue after applying firebase to the project and updating index.html and pubspec.yaml files.
When i have turned all back - issue disappeared. After that i have repeated all changes in the index.html file with slight differences and issue didn't come back.
All changes in the index.html file should be placed before this part:

It works for me.

I have got this issue after applying firebase to the project and updating index.html and pubspec.yaml files.
When i have turned all back - issue disappeared. After that i have repeated all changes with slight differences in the index.html file and issue didn't come back.
All changes in the index.html file should be placed before this part:
!--
 --!
It works for me.

I can confirm this exactly.  I started experiencing the issue after applying Firebase, but resolved it by ordering the

OK, I guess I put it wrong.
Here is my index file looks like. All works fine.

Ive encountered and solved this issue two times now:
The blank page happens when you have an absolute path to a file imported as a package, I know that no one would do it but I found out that Android Studio and Intellij idea sometimes makes this kind of mistake when you move a file to another path and it tries to refactor all the paths pointing to it, just check all imported packages and remove absolute paths.
I also got this problem because of the assets, I got a folder named "assets" with some subfolders like "images", "lang" etc, I was adding the assets folders paths into the pubspec.yaml but when I builded the project and I run it, it just got stuck, the build web was not correctly adding the assets to the build folder.
I just moved all the folders inside "assets" outside of it, modified pubspec and it worked like a charm.(Seems like it was internally encountering a problem with the folder name).
I hope my experiences can help some one.

@DanTup can you take a look at the issue outlined in https://github.com/flutter/flutter/issues/54290#issuecomment-668686132
I believe package:dwds and the corresponding asset server should handle absolute paths. I suspect there is something else going on in VS Code.

@franarolas are you using VS Code? If so, could you try capturing a log (you can untick Analysis Server, but leave the others ticked)?

@franarolas can you given an example of what you mean by absolute path? Do you mean a package: path, or a full absolute file path? When I try the latter I get errors both from the analyzer, and from Flutter when trying to run (see https://github.com/dart-lang/sdk/issues/42999).
Launching lib/main.dart on Chrome in debug mode...
Error: Invalid package URI 'package:/Users/danny/Desktop/TestProjects/test_flutter_54290/lib/danny.dart':
  Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'.
lib/main.dart:3:8: Error: Not found: 'package:/Users/danny/Desktop/TestProjects/test_flutter_54290/lib/danny.dart'

@franarolas can you given an example of what you mean by absolute path? Do you mean a package: path, or a full absolute file path? When I try the latter I get errors both from the analyzer, and from Flutter when trying to run (see dart-lang/sdk#42999).
Launching lib/main.dart on Chrome in debug mode...
Error: Invalid package URI 'package:/Users/danny/Desktop/TestProjects/test_flutter_54290/lib/danny.dart':
  Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'.
lib/main.dart:3:8: Error: Not found: 'package:/Users/danny/Desktop/TestProjects/test_flutter_54290/lib/danny.dart'

Sorry for the delay.
I'm using IntelliJ IDEA right now, haven't worked with Flutter Web in VS Code yet.
What I mean as an absolute path is the following:
Flutter imports like that:
"import 'package:acat/tools/form_tools.dart';"
But sometimes with Intellij when you move the file(for example "form_tools.dart") it fails for some reason and it refactors like that:
"import 'C:\Users\F-Laptop\Documents\Projects\Flutter\acat\lib\newFolder\form_tools.dart';"
This kind of import makes the Flutter Web crash and show a white screen.
Hope it helps.

@franarolas can you given an example of what you mean by absolute path? Do you mean a package: path, or a full absolute file path? When I try the latter I get errors both from the analyzer, and from Flutter when trying to run (see dart-lang/sdk#42999).
Launching lib/main.dart on Chrome in debug mode...
Error: Invalid package URI 'package:/Users/danny/Desktop/TestProjects/test_flutter_54290/lib/danny.dart':
  Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'.
lib/main.dart:3:8: Error: Not found: 'package:/Users/danny/Desktop/TestProjects/test_flutter_54290/lib/danny.dart'

So in your case just modify the import to:
import 'package:test_flutter_54290/danny.dart';
I hope it helps.

"import 'package:\Users\F-Laptop\Documents\Projects\Flutter\acat\lib\newFolder\form_tools.dart';"
This kind of import makes the Flutter Web crash and show a white screen.

When I tried to use a full path in a package: URI on macOS or Windows, the analyzer shows me that the code is invalid and Flutter won't let me launch the app (it gives the error I posted above).

Can you clarify exactly how you're reproducing this?

This checklist always helps me to fix this issue.

Make sure your app runs perfectly fine as an Android or iOS app.
Make sure to check your web/index.html file to check for the syntax, all the  are there and functioning.
Run the app and inspect your application for any errors in the console.
If you are using Firebase, make sure you have imported all the required dependencies.

"import 'package:\Users\F-Laptop\Documents\Projects\Flutter\acat\lib\newFolder\form_tools.dart';"
This kind of import makes the Flutter Web crash and show a white screen.

When I tried to use a full path in a package: URI on macOS or Windows, the analyzer shows me that the code is invalid and Flutter won't let me launch the app (it gives the error I posted above).

Can you clarify exactly how you're reproducing this?

In the case you are trying to run it in Windows it will obviusly fail, since the path "/Users/Danny/..." can not exist.
What is your folder structure and why would you like to import a package from an absolute path?

What is your folder structure and why would you like to import a package from an absolute path?

I was trying to reproduce what I understood the issue to be from above:

But sometimes with Intellij when you move the file(for example "form_tools.dart") it fails for some reason and it refactors like that:
"import 'package:\Users\F-Laptop\Documents\Projects\Flutter\acat\lib\newFolder\form_tools.dart';"

I tried both on Windows and macOS with various formats of paths but they all showed analysis issues, so I wasn't sure if I was reproducing the same thing.

Ok I understand,
I will face this issue again in the next days 100%, I will post the issue when it happens.

@DanTup I encountered this issue again, here are the details:
Intellij refactored the import of a package like that:
import 'file:///C:/Users/F-Desktop/Documents/Projects/ACAT/acat_main/lib/pages/registration_page/forms/choose_user_type_form/choose_user_type_form.dart';
It compiles but ends up in a white screen(Flutter Web).
`[√] Flutter (Channel beta, 1.21.0-9.2.pre, on Microsoft Windows [VersiÃ³n 10.0.18363.959], locale es-ES)
• Flutter version 1.21.0-9.2.pre at C:\flutter
• Framework revision 81a45ec2e5 (3 weeks ago), 2020-08-27 14:14:33 -0700
• Engine revision 20a9531835
• Dart version 2.10.0 (build 2.10.0-7.3.beta)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at C:\Users\F-Desktop\AppData\Local\Android\sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 3.6)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[√] IntelliJ IDEA Ultimate Edition (version 2019.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2019.3.3
• Flutter plugin version 48.0.2
• Dart plugin version 193.7361
[√] VS Code, 64-bit edition (version 1.45.0)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 3.10.2
[√] Connected device (3 available)
• Web Server (web) • web-server • web-javascript • Flutter Tools
• Chrome (web)     • chrome     • web-javascript • Google Chrome 85.0.4183.102
• Edge (web)       • edge       • web-javascript • Microsoft Edge 85.0.564.51
• No issues found!
`

@grouma I tried to reproduce the above on macOS and I also see a white screen (it works on iOS simulator), though it recorded a crash and generated the log below. I suspect it's the same issue.
I created a simple flutter create app then in lib/main.dart I just imported another file I created with an absolute path and file:// scheme:
import 'file:///Users/danny/Desktop/TestProjects/abslute_path_test/lib/other.dart';

Then I ran it using the Chrome device (using VS Code, but the full command is below so could be reproduced from the terminal).
command
flutter run --machine --target lib/main.dart -d chrome --track-widget-creation --dart-define=flutter.inspector.structuredErrors=true --start-paused --web-server-debug-protocol ws --web-server-debug-backend-protocol ws --web-allow-expose-url
exception
ArgumentError: Invalid argument (URI scheme not allowed): "file:///Users/danny/Desktop/TestProjects/abslute_path_test/lib/other.dart"
#0      DartUri._recordAbsoluteUri (package:dwds/src/utilities/dart_uri.dart:86:7)
#1      DartUri.recordAbsoluteUris (package:dwds/src/utilities/dart_uri.dart:60:9)
<asynchronous suspension>
#2      AppInspector._initialize (package:dwds/src/debugging/inspector.dart:88:19)
<asynchronous suspension>
#3      AppInspector.initialize (package:dwds/src/debugging/inspector.dart:152:24)
#4      ChromeProxyService.createIsolate (package:dwds/src/services/chrome_proxy_service.dart:171:37)
<asynchronous suspension>
#5      ChromeProxyService.create (package:dwds/src/services/chrome_proxy_service.dart:138:23)
#6      DebugService.start (package:dwds/src/services/debug_service.dart:142:55)
#7      DevHandler._startLocalDebugService (package:dwds/src/handlers/dev_handler.dart:184:25)
#8      _rootRunUnary (dart:async/zone.dart:1198:47)
#9      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#10     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#11     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#12     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#13     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#14     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7)
#15     _rootRun (dart:async/zone.dart:1190:13)
#16     _CustomZone.run (dart:async/zone.dart:1093:19)
#17     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#18     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
#19     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#20     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#21     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#22     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

flutter doctor
[✓] Flutter (Channel master, 1.22.0-10.0.pre.161, on Mac OS X 10.15.5 19F101, locale en-GB)
    • Flutter version 1.22.0-10.0.pre.161 at /Users/danny/Dev/Google/flutter
    • Framework revision cba91c97d0 (2 days ago), 2020-09-13 18:57:03 -0400
    • Engine revision 2fc054147e
    • Dart version 2.10.0 (build 2.10.0-121.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/danny/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.7, Build version 11E801a
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.49.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.14.1

[✓] Connected device (4 available)
    • iPhone SE (2nd generation) (mobile) • DD509C0E-6A3D-4C85-B20F-6F0408238E4A • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-7 (simulator)
    • macOS (desktop)                     • macos                                • darwin-x64     • Mac OS X 10.15.5 19F101
    • Web Server (web)                    • web-server                           • web-javascript • Flutter Tools
    • Chrome (web)                        • chrome                               • web-javascript • Google Chrome 85.0.4183.102

• No issues found!

It seems there are multiple issues outlined in this thread.
Absolute file URIs cause Flutter Tools / VS code to crash
I discussed with the team. Generally users should not make use of absolute file URIs. They are not portable and have canonicalization issues. We will properly detect them in package:dwds to give a proper error in the short term. Long term, we will detect them in the compiler. Ideally we will have a corresponding lint as well. See the following issues:
https://github.com/dart-lang/webdev/issues/1125
https://github.com/dart-lang/sdk/issues/43639
https://github.com/dart-lang/linter/issues/2261
Blank page in Chrome
I have been able to reproduce this myself without the absolute file URI error. The root cause is still unknown so this will require further investigation.

This issue happens on the latest master all the time.
I see the error Uncaught TypeError for Web app with universal_io dependency in debug mode  in chrome console log while the chrome tab is blank.
It is related to this issue https://github.com/flutter/flutter/issues/66859
I notice that it works well when I create a new project or when I revert to older version on master
flutter doctor
[✓] Flutter (Channel unknown, 1.22.0-12.3.pre, on Mac OS X 10.15.6 19G2021, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
[✓] Chrome - develop for the web
[!] Android Studio (version 4.0)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.49.2)
[✓] Connected device (3 available)

! Doctor found issues in 1 category.

I was trying to add a custom font which is NewYorkExtraLarge-Medium.otf. I created a fontsfolder inside the assetsfolder. I added the appropriate changes into pubspec.yamlfile.
flutter build webworks normally but the debug doesn't start.
After that, it got stuck. I removed and undo all the changes but it is still not working.
In the Chrome DevConsole it gives this error
Unhandled error detected in the injected client.js script.

You can disable this script in webdev by passing --no-injected-client if it
is preventing your app from loading, but note that this will also prevent
all debugging and hot reload/restart functionality from working.

The original error is below, please file an issue at
https://github.com/dart-lang/webdev/issues/new and attach this output:

NoSuchMethodError: method not found: 'get$digestsPath' (J.getInterceptor$x(...).get$digestsPath is not a function)
TypeError: J.getInterceptor$x(...).get$digestsPath is not a function
    at Object.get$digestsPath$x (http://localhost:52218/dwds/src/injected/client.js:3495:43)

@yasinarik I believe that's a dupe of https://github.com/dart-lang/webdev/issues/1133
I believe you simply need to update your SDK.

@yasinarik I believe that's a dupe of dart-lang/webdev#1133
I believe you simply need to update your SDK.

I remembered that a few hours ago I used an app called CleanMyMac. It may have erased things but I am not sure.

I tried adding a version property. <script src="main.dart.js" version= "1.0.1" type="application/javascript"></script> It didn't work.

I added dwdsdependency in pubspec.yamlfile and run flutter update-packages command. It took a very long time but it didn't work at the end.

dependencies:
  dwds: ^6.0.0

Lastly, I basically upgraded the Flutter SDK by running flutter upgrade.
Before: 1.22.0-2.0.pre.36   -  Now: 1.23.0-19.0.pre.60. I am using master channel`

After the upgrade completed, I simply run flutter clean command to get rid of builds. Then closed the VSCode and reopened it.
The debug on Chrome now works again as expected. Probably the step 3 is the only thing I should've done but I tried others too.
Thanks @grouma !

@franarolas can you given an example of what you mean by absolute path? Do you mean a package: path, or a full absolute file path? When I try the latter I get errors both from the analyzer, and from Flutter when trying to run (see dart-lang/sdk#42999).
Launching lib/main.dart on Chrome in debug mode...
Error: Invalid package URI 'package:/Users/danny/Desktop/TestProjects/test_flutter_54290/lib/danny.dart':
  Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'.
lib/main.dart:3:8: Error: Not found: 'package:/Users/danny/Desktop/TestProjects/test_flutter_54290/lib/danny.dart'

Sorry for the delay.
I'm using IntelliJ IDEA right now, haven't worked with Flutter Web in VS Code yet.
What I mean as an absolute path is the following:
Flutter imports like that:
"import 'package:acat/tools/form_tools.dart';"
But sometimes with Intellij when you move the file(for example "form_tools.dart") it fails for some reason and it refactors like that:
"import 'package:\Users\F-Laptop\Documents\Projects\Flutter\acat\lib\newFolder\form_tools.dart';"
This kind of import makes the Flutter Web crash and show a white screen.
Hope it helps.

Thanks mate, you saved me some hours..

@grouma close ? any open issues?

@grouma close ? any open issues?

We can probably close this one as we generally have better error messaging around these types of issues.

We can probably close this one as we generally have better error messaging around these types of issues.


Document getting xhprof to work with PHP 5.6 in DrupalVM

Had some issues with getting this set up when updating a VM from 2.5 to 3.

Ah... I already have this noted in the PHP 5.6 docs:
# If you install `xhprof`:
xhprof_download_url: https://github.com/phacility/xhprof/archive/master.tar.gz
xhprof_download_folder_name: xhprof-master

But I'm also adding it to the 'Profiling' docs page.


Fix inputs and arguments handling during template resolution

When I implemented the WorkflowTemplate CRD initially, I merged templates from the bottom to the top with processing args. However, we can't make wildcard parameters and arguments in this way, because parameters come from the top.
I changed the template resolution to process inputs and arguments before recursively resolving templates and merge the other fields after. By this approach, we can process arguments in arguments properly and will be able to make the wildcard parameters.

@jessesuen This change significantly change saved templates of #1355. Please also review this PR, thanks!


Mobile - Profile Header

added followings and followers part for pop-up menus

I think this is done!


Vigenere Cipher encryption and decryption-Python

hey, @maheshjainckd  i want to contribute this issue under Hacktoberfest please assign it to me.

Hey I have developed my own Algorithm using Ceaser Cifer Technique in Python I wanted to contribute this to issue #649.
Please assign me this issue. Thanks


Improved detection of URLs with a valid list of TLDs

a script for getting a list of valid TLDs was already added, this PR only adds the list to the URL regex
URL regex no longer requires http, https or ftp at the start (https://github.com/bee-san/pyWhat/issues/45), except if it is an IP address
added a few new tests, removed skip from tryhackme.com as it now matches and added a skip to http://папироска.рф as it no longer matches. Browser shows it as that but it understands it in a punycode form https://xn--80aaxitdbjk.xn--p1ai/ - which the regex matches
removed langdetect from pyproject.toml
also reran poetry install, so poetry.lock is up to date

I need to do some more regex testing, so this is not finished yet. :)

Want to review? There's a merge conflict too but it's probably just black :)

Should be good now! :)


How to use docker compose up path?

Hey,
Do you plan to add support for the -f  flag in docker.compose.up?
https://docs.docker.com/reference/cli/docker/compose/#use--f-to-specify-the-name-and-path-of-one-or-more-compose-files
For example, I run docker.compose.down() which removes compose completely, then I would like, to docker.compose.up('<path_to_yml>' ). I get no configuration file provided: not found

Okay, resolved:
from python_on_whales import DockerClient

docker = DockerClient(compose_files=["./my-compose-file.yml"])


Tried to bridge ERC-20 SRM to sollet while Solana was down on September 14. I incorrectly thought the network was back up at that time and the SRM is seemingly gone. Unrecoverable?

Successful ERC-20 transaction here.
Since the Ethereum transaction succeeded, is the ERC-20 SRM sitting dormant somewhere such that it can be recovered?  There are other ERC-20 sollet bridge transactions around the same time so I don't expect I'm the only one with this issue.  Greatly appreciate any help.

Me have the same issue too.  Successful ERC-20 transaction https://etherscan.io/tx/0x1b3df55832b746002ed5ac26f0d43edd34079708ea52fa9b9afee8bd323dedea
I have enough $ETH on my Ethereum wallet and enough $SOL on my sollet wallet.  after I approve use of usdc and then sent funds. I can check transactions confirmed on etherscan, but can't find transaction on solscan. and that happened during the Solana outage time.
I tired to transfer another 100USDC later day, and I did what I did the last time. the same action the same step, the 100USDC received and can see the transaction on solscan, but it's wired the first 24490USDC  not received yet.
0x76A889a82B98C48Ef3df1b92F3A1C8F5b40eAC77 this is my ethereum address. you can see the 24490USDC transfered few days ago and that confirmed.
3bYy5u6hkV18V3hdDivDiqgykgFnqwY6cqS1pxPp8VBD   this is my sollet address. you can see two of  the 100USDC received.
Could you devs please help me solve the issue. thx.
I tried the method that serum supporter told me and discord Faq step, it's not working.  I think it's not just an exception. some other guys have the same issue too.  please help. thx


[FEATURE] Add Microsoft Teams to supported channel types

Is your feature request related to a problem?
The notifications plugin will introduce Microsoft Teams webhook at 2.10. However, the CHANNEL_TYPES in alert frontend is hard-coded. When selecting notification channels for triggers, the microsoft teams channels can not be correctly rendered.
What solution would you like?
Add microsoft teams to CHANNEL_TYPES and other related enums/variables to make it correctly rendered.
What alternatives have you considered?
N/A
Do you have any additional context?
issue in notifications:

https://github.com/opensearch-project/notifications/issues/585
related PR:
https://github.com/opensearch-project/notifications/pull/676
https://github.com/opensearch-project/dashboards-notifications/pull/44

should be resolved in #713


Attempt to Fix potential file inclusion via variable errror in bugsbash

Signed-off-by: Sonia Singla<EMAIL_ADDRESS>Bugsbash

@soniasingla Can you fix the conflicts and update on the PR.

@soniasingla Can you address the review comments and rebase the PR.

@akhilerm I undo'ed those changes as I think now musedev is not reporting them

I undo'ed those changes as I think now musedev is not reporting them

@soniasingla  But you can still fix them, because that issue is there.

Codecov Report

Merging #580 (6cc8003) into master (1a103cc) will increase coverage by 0.12%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #580      +/-   ##
==========================================
+ Coverage   48.73%   48.85%   +0.12%
==========================================
  Files          73       73
  Lines        3371     3375       +4
==========================================
+ Hits         1643     1649       +6
+ Misses       1572     1570       -2
  Partials      156      156

Impacted Files
Coverage Δ

pkg/udev/mockdata.go
68.42% <100.00%> (+1.75%)
:arrow_up:

cmd/ndm_daemonset/probe/udevprobe.go
63.53% <0.00%> (+1.10%)
:arrow_up:

Continue to review full report at Codecov.

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

@z0marlin updated the PR, thanks

@akhilerm here we go


Stream outcomes

Here's a summary of the outcome of recent streams.

Date
11am stream
7pm stream
Comments

26 May 2024
❌
❌

1 June (wedding)
❓
_

2 June 2024
⭕
✅

9 June 2024
✅
✅

16 June 2024
✅
❌
Also poor audio on 7pm recording

23 June 2024
⭕↻✅
⭕↻✅
Not sure about 11am but frame-rate issue at 7pm required power-cycle of live streaming rack

30 June 2024
✅
✅

7 July 2024
❌
_
Church internet down. Poor audio on 11am recording

14 July 2024
✅
_

21 July 2024
↻✅
_
Had to power-cycle live streaming rack to get stream to connect to YouTube

27 July (wedding)
↻✅
_
Had to power-cycle live streaming rack to get stream to connect to YouTube

28 July 2024
✅
_

4 August 2024
⭕ ↻✅
_
Had to power-cycle live streaming rack to fix frame rate issue

11 August 2024
✅
_

18 August 2024
✅
_

25 August 2024
✅
_

30August 2024
↻↻↻✅
_
(funeral) Apart from several attempts before the stream worked, there was a problem with the song words. The alpha channel from the AV computer displayed as white, but came good towards the end of the service

1 September 2024
↻↻↻✅
↻❌
Same issue with some of the song words (problem later solved). Stream did not work for the 7pm.

8 September 2024
Other ✅
✅
11am There were 2 issues: 1.Camera 3 not working.  Replugged it about 4 times and then decided to go ahead without it. 2. Words were not available before beginning of the service so we prepared to use a shot of the congregation  plus screen.  Luckily they came on at the start!

15 September 2024
Other ✅
✅
11am Problem with feed from AV computer not showing videos or song words correctly. (Suspect a reboot of the AV PC would have sorted it.)

22 September 2024
✅
⭕↻⭕
7pm reboot did not fix frame rate problem.  Recording also had frame rate problem.

29 September 2024
✅
⭕↻✅
7pm reboot fixed frame rate problem.

6 October 2024
✅
✅

13 October 2024
✅
✅
No details for the setup of the 7pm.

20 October 2024
✅
⭕↻✅
7pm reboot fixed frame rate problem.

24 October 2024
⭕↻...↻✅

After framerate problem, encoder would not stream. After 15 reboots of the encoder/rack then had to use the encoder web interface to start streaming.

27 October 2024
✅
✅

3 November 2024
✅
✅

10 November 2024
✅
✅

17 November 2024
✅
⭕✅
At 7pm, frame rate changed on ATEM and then changed back to fix the problem.

24 November 2024
✅
✅

1 December 2024
✅
✅

Key:
❌ - No data / internet down
⭕ - Frame rate issue
❓- Poor quality stream
↻ - Live streaming rack had to be power-cycled (see comments for reason)
✅ - Success
_ - No live stream planned

Closing as there is no regular pattern of failure apart from occasional frame rate issues.


macOS clang roll failing due to missing remove_reference_t

Starting with https://github.com/flutter/engine/pull/35653.
In file included from ../../third_party/skia/src/core/SkSharedMutex.cpp:8:
In file included from ../../third_party/skia/src/core/SkSharedMutex.h:13:
In file included from ../../third_party/skia/include/private/SkSemaphore.h:14:
In file included from /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:643:
In file included from /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:677:
/opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/tuple:1427:52: error: use of undeclared identifier 'remove_reference_t'
        typename __make_tuple_indices<tuple_size_v<remove_reference_t<_Tuple>>>::type{})

Looks like it is P0 - very serious. Is there anything I can help?

As of https://github.com/flutter/buildroot/pull/349 some builds are using the standard library headers packaged with Xcode instead of third_party/libcxx.
The latest Clang supports the __has_keyword(__remove_reference) extension.  With that enabled, the Xcode version of type_traits is not defining std::remove_reference_t.
I can get this to build by patching Xcode's type_traits to move the definition of remove_reference_t outside the #else // __has_keyword(__remove_reference)  block.  I don't know if there is any version of Xcode that provides a fix like that.
It might make sense to switch to using third_party/libcxx on the affected platforms.
@jmagman @chinmaygarde

It might make sense to switch to using third_party/libcxx on the affected platforms.

@jason-simmons Are you able to give this a shot?

Tried switching to third_party/libcxx instead of using the Xcode standard library headers on iOS.
With that change, the linker outputs this error when doing a bitcode build with LTO enabled:
ld: reference to bitcode symbol '___gxx_personality_v0' which LTO has not compiled in '___gxx_personality_v0' for architecture arm64

The only way I've found to get the LTO/bitcode build to complete is changing ___gxx_personality_v0 in third_party/libcxxabi to have default visibility.
That can be done by removing the _LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS define in the libcxxabi build script.  But that will export all symbols in libcxxabi in the resulting Flutter.framework/Flutter library, which is undesirable.
Another option would be only exporting the necessary symbol by patching libcxxabi to mark __gxx_personality_v0 with __attribute__((visibility("default"))).  We could also add __attribute__((weak)) to reduce potential conflicts.

@jason-simmons you went the _LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS way in https://github.com/flutter/buildroot/pull/606, did exporting all the symbols increase the size of the binary?

Nevermind I see it was reverted https://github.com/flutter/engine/pull/35758

This is pending on the linked buildroot roll. Per Jason, this should be done soon.

This is fixed. Though there hasn't been a roll of clang since then. But everything is unblocked.


Testing Tutorial Step not align with example

Issue description
In the Testing Tutorial, it has been observed that the test example in step 8 produces errors , making it non-executable. To improve the clarity and flow of the instructions, I suggest rearranging the content by moving step 9 to step 8 and vice versa.
detail reason :
Content on Step 8  (in WorklistJourney.js)
opaTest("Should see the post page when a user clicks on an entry of the list", ...) --> always returning error, until "Adding the Post Page" on step 9

Feedback Type (Optional)
content gaps
Page Title on SAP Help Portal (prefilled)
No response
Page URL on SAP Help Portal (prefilled)
No response

Hi @distareza, thanks for your contribution! We'll look into it and get back to you.

Hi @distareza, thanks for your contribution. I've looked at step 8 but can't reproduce the issue because I don't see an error there. Could you please give me more detail about how you're running the steps?
Thanks.
Best regards,
Lilyana

Hi @distareza. There's been no activity on this issue for a while, so we're closing it. If you've further information to provide, please comment below and add that information. We'll review it and reopen the conversation if necessary. Until next time, thanks!


Correct Anonymous example in index.md

Typo error
Changelog entry
...
Changelog category

New feature
Experimental feature
Improvement
Performance improvement
Bugfix
Backward incompatible change
Documentation (changelog entry is not required)
Not for changelog (changelog entry is not required)

Additional information
...

Thank you for your pull request. Closing this as a duplicate of PR #12627


[FEATURE REQ] Tokens usage not  present in embedding object

Library name
Azure.AI.OpenAI 2.0.0-beta.1
Please describe the feature.
Hello,
It would be great if you could include in a next release the tokens usage (input and output) in the response of the method GenerateEmbeddingAsync.
Thank you.
Fred
OpenAI embedding object
string userMessage = "Hello World";
AzureOpenAIClient azureClient = new Azure.AI.OpenAI.AzureOpenAIClient(new Uri(azure_endpoint), new AzureKeyCredential(key));
OpenAI.Embeddings.EmbeddingClient  client = _azureClient.GetEmbeddingClient("embedding-ada-002-deploy");
ClientResult<OpenAI.Embeddings.Embedding> embeddingClientResult =  await client.GenerateEmbeddingAsync(userMessage);
OpenAI.Embeddings.Embedding embedding = embeddingClientResult.Value;

// embedding.Usage property is missing

Hello, @Freddeb! Thank you for getting in touch. I can share a quick way to get this information but would also love your feedback on how we could improve the discoverability of this information.
Where usage is: as you can see in OpenAI's API reference, usage is not provided per embedding entry (data array item), but rather per full response -- mirroring that, you can retrieve usage information from an EmbeddingCollection instance that you get from the multi-embedding-returning GenerateEmbeddingsAsync() ("Embeddings" with the 's') method:
EmbeddingCollection embeddings = await client.GenerateEmbeddingsAsync(["hello, world"!]);
int totalTokensForResponse = embeddings.Usage.TotalTokens;
Embeddings theOneActualEmbedding = embeddings[0];

Why?

We created the singular GenerateEmbedding[Async]() method based on the observation that single-item cases were exceedingly common; much like Chat Completions rarely providing an n > 0 for multiple choices, the data array for Embeddings isn't particularly relevant in the majority of cases, where a single input at a time is provided.
But we were concerned that, in those uncommon cases where multiple inputs are provided, there may be confusion if we provided the same EmbeddingTokenUsage instance on multiple Embedding instances; e.g. if we had the below:

EmbeddingCollection multipleEmbeddings = await client.GenerateEmbeddingAsync(
[
    "hello, world!",
    "this is a test",
    "I'd like multiple embeddings this time"
]);
// this is what's present right now, and represents actual usage
int totalTokensForOperation = multipleEmbeddings.Usage.TotalTokens;
int tokensForAllInputs = multipleEmbeddings.Usage.InputTokens;
// if we had it on each embedding, this could be misleading -- usage information isn't actually provided per data item!
int maybeMisleadingTokens = multipleEmbeddings[0].Usage.TotalTokens;
int sameAsAboveTokens = multipleEmbeddings[1].Usage.TotalTokens;
Assert.That(multipleEmbeddings[0].Usage.TotalTokens, Is.EqualTo(multipleEmbeddings[2].Usage.TotalTokens));

Question: what would make this easier? We're concerned about the confusion case (especially since it could produce an alarming misrepresentation about what's being paid for), but you've clearly hit a very troublesome discoverability problem for the single-item case we're trying to optimize for.

Documentation? This is basically a given that we need more, but would have a README example for fetching usage have clarified sooner?
Duplicate and rename the properties? If you had multiple Embedding instances as shown above and they each had e.g. TotalTokensForOperation, aside from seeming overly wordy would you see that as clarifying the problem?
Method on Embedding? A GetOperationTokenUsage() method might make it even more clear -- though also incrementally less discoverable (though still better than a different method entirely!). Would that have seemed clear?
Another approach? We're fundamentally trying to make single-embedding calls easy while not misrepresenting that we can't provide usage information on a per-single-embedding-item basis. Whatever makes this clear is worth looking into!

Thanks again; hopefully this unblocks getting the information in the immediate term, and your input is greatly appreciated for making the medium term better!

Hello @trrwilson,
Once again, thank you for taking the time to answer my question and for providing a quick solution.
Here is my perspective as a developer.
The function GenerateEmbeddingAsync(without the 's'):
This function is my intuitive choice when I need to retrieve a user's question in the prompt of my bot and translate it into one vector before submitting it to my vectorized database. Knowing the number of tokens used makes sense for the function GenerateEmbeddingAsync, even for a single item. I need to record the different token usages for a complete turn.
The function GenerateEmbeddingsAsync (with the 's'):
This function certainly makes a lot of sense when you want to prepare multiple questions for your vectorized database or when you want to convert chunks of a complete document.
To be honest, I always have apprehension about using this type of function with a large amount of data (e.g., a complete 150-page document split into multiple chunks).
What if the operation goes wrong and crashes in the middle of the process (e.g., network issue, problematic chunk, etc.)?
Would we still need to pay for the tokens used even if the function call ended with an exception? Am I wrong?
Therefore, to prepare my vectorized database, I tend to do "1 chunk = 1 API function call."
I run the process in a loop on the document chunks and go get myself a coffee; the conversion is quite fast.
Now, I'll stop elaborating and answer your question.
The answer you gave me (the first 6 lines) is clear and sufficient for me.
If I wanted to convert a few chunks with a single call to the function GenerateEmbeddingsAsync, I would be content with the total input tokens and the total tokens retrieved on the EmbeddingCollection``` object.
Currently, I am interested in the tokens usage for a complete turn (User question -> Bot response).
And if, ultimately, I really wanted to know the token usage per vector in a list of vectors, I find your second code snippet's proposal very good (InputTokens/TotalTokens on the collection and per item).
I don't think there could be any confusion if there is clear documentation to accompany it. There is always a way to draw attention through an IntelliCode message when the developer accesses the EmbeddingCollection.Usage or Embedding.Usage property.
I hope this response is helpful.
I don't know if it's possible via GitHub, but ideally, this is the type of problem for which I would submit different solutions to the developer community for a vote.
Thanks again.
Fred


cut segments with sox and ignore files

Utilizing sox for audio segment extraction would significantly improve processing speed. Additionally, users often manage large Passive Acoustic Monitoring projects with extensive data, some of which may have been previously used for training. My proposed implementation allows users to specify a .txt file containing the names of audio files used for training, ensuring these files are excluded from the segment extraction process.
I made these changes in order to enhance compatibility with my upcoming open-source app, the code will be uploaded here soon, stay tuned! Euphonia AI Reviewer
Thanks again for developing this amazing project. I look forward to your feedback,

We will likely switch to sox in the future. But rather as a library instead of the shell tool. Closing this PR


Create synthetic test for scale

We should create a synthetic test deployment mode that adds 500 fake nodes to test cert/token generation and ensure that we don't run into the bash error msg: [Errno 7] Argument list too long

https://github.com/kubernetes-incubator/kargo/pull/1020


[IE] Small window makes navigation behind video

Steps

Using IE, go to https://osf.io/9ubcv/.
Shrink the window's width
Click on project navigation

Expected
The drop down menu would drop over the video.
Actual
Only in IE the window drops behind the video.

@caneruguz  -- Thoughts here?

Seems to be only on IE

Unable to reproduce on my Windows virtual machine.

I can take a stab at this one. @lbanner @GaryKriebel

@geeksnglitter .... If you cannot reproduce (as @ticklemepierce was unable to), we can close this issue for now -- Let us know. TY

I can reproduce it. It's real.

Thanks -- you got it :smiling_imp:

Okay so I think IE 11 fixes the problem. Should I proceed trying to get it to work with IE 10? @GaryKriebel

@geeksnglitter go ahead and try with IE10 but anything below IE 9 may not
be worth the time.
On Thu, Jun 4, 2015 at 2:58 PM, geeksnglitter<EMAIL_ADDRESS>wrote:

Okay so I think IE 11 fixes the problem. Should I proceed trying to get it
to work with IE 10? @GaryKriebel https://github.com/GaryKriebel
—
Reply to this email directly or view it on GitHub
https://github.com/CenterForOpenScience/osf.io/issues/2464#issuecomment-109009804
.

Yes -- what @chennan47 said.

I was wrong - the issue still appears in IE 11 on saucelab, but when I try it on IE 11 on my virtual box virtual machine it does not appear. The same is true from IE10.

Can we defer this for now @lbanner?
On another note, this might be the fix http://stackoverflow.com/questions/2625166/flash-video-playing-on-top-of-everything-else-in-ie7

Appreciate the work on this @geeksnglitter -- we'll defer for now.


import_module and getLogger are both deprecated in Django 1.7+ now.

A few updates needed for newer versions of Django.

Looks good to me.
:+1:

+1


Why does the Scheduler need to be run in HOST mode when inside a Docker container?

Based upon what i learned from #155, setting up the scheduler in HOST mode fixed that issue...but why?  What is the communication path between the Scheduler and the Tasks?  Are there ports that need to be open between them other than 7000?
It looks like you can run the scheduler in BRIDGE mode..when run outside of marathon..but, for some reason, the fix for #155 was to put it in HOST mode.
Just curious.
Thanks in advance.

Afaik, Scheduler communicates with mesos master via 2 connections:

from scheduler to master;
from master to scheduler;
So scheduler should be accessible from master. I think was the point.