permit global or shared variables

It would be great to have global variables. For example, states, start.date, and end.date was required to be defined in at least 3 different places in the yaml for the hurricane viz.

Possibly complete or partially complete. But need an example and some requirements for what is actually needed.

fetch:
  -
    id: viz_config
    states: ["WI","MI"]
    reader: rds

Maybe just that?
Also, look at markdown reader

Planning to add an optional section in the viz.yaml


conflicts with autocomplete and different number formats

If I let Chrome autocomplete the form that contains this component, which a lot of people do, this breaks. My saved form data doesn't have the country code in it (most people here in the US don't use it). I live in Los Angeles, so my normal 10-digit number starts with 310. material-ui-phone-number assumes that "31" is the country code, and that i live in the Netherlands. I'm hoping that I just missed something that deals with this, but so far I don't see anything.

defaultCountry='us' might be helpful in your case.

Same issue here, after looking through the docs and trying the different flags on the component there doesn't seem to be anything built in that addresses this issue.
To me it seems like if I have countryCodeEditable={false} then the autocomplete from Google shouldn't overwrite the country code but it does.
For now I have just disabled autocomplete on this field in order to prevent a more frustrating user experience with autocomplete overwriting the user's selection but it would be great to see support for the 'countryCodeEditable={false} to prevent autocomplete from changing the country code.

I'm seeing this issue as well. Any suggestions are welcomed.

+1 for this. Our app servers demographics who are international too. Browser autocomplete breaks it.

+1 I have the same problem

I have the same issue with autocomplete on MacOS (Safari). Mac try to past the +33 666600000 phone number, but instead of recognizing the +33 aera code, the +66 Area code is set to Thaïland code (+66).
When I'm trying to autocomplete on Chrome, the aera code is field with 06 and the dialog says that the country code is incorrect.
When I set the default Aera code +33 in my app, if the phone number is starting with +, it should replace the country code correctly. If the area code is not starting with +, it should keep the default country code.
As someone as a solution for that?


IE11 Problem

When using Wefork in IE11 there are some problems when closing cards, sidebar, etc.
the board-id in the url gets removed when closing a card,... and the user will be redirected to the start page.

This issue was moved to wekan/wekan#806


no longer creates doubled categories on update

fixing AGPUSH-1568

:eyes:

:+1: Was able to reproduce the steps from the jira ticket. It's all fixed now


Improve the docs!

Add "HTTP server" around the docs a bit more? Just referring to it as "a framework" or "backend" isn't very descriptive

From here: https://www.reddit.com/user/tunisia3507/

done!


Data lost when logged out

I have been studying most days this month, but I haven't been hitting the sync button. Today I found I was logged out when I opened the app, possibly the cookie had expired. Anyway I logged in and whereas I was expecting just a few dozen reviews, I have over 150 and no indication I've studied this month. Either the app should sync automatically and regularly when it's online, or logging into your account should not overwrite locally stored reviews. Maybe both?

This has been fixed in the latest 2.0 beta!


Documentation is missing for passing labels to sequences

The documentation does not contain information on how to pass label information to sequences.
Definition of Done

Following the documentation, I can create add labels to a sequence run via the API and/or CLI

stale


How to share code

Explain some methods to share Smalltalk code.

VCS
Fileout
.st files to execute via command line
remote workspace (via the playground)

FUEL for stack exports

See here for the fuel out of the stack https://github.com/pharo-project/pharo-launcher/issues/219


🐛 [PLUGIN_NAME_HERE] Your issue title here

Bug report
Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce
Steps to reproduce the behavior:

Go to '...'
'...'
See error or incorrect behavior

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE

Bug report
Describe the bug
A clear and concise description of what the bug is.

I have no clue anymore. I'm not sure which end is up, down, or sideways. I can't discern what functions properly, what doesn't, and/or/from what I screw up anymore.
I know this. Something makes it so that I'm existing as a user on whatever device but it feels like it's a parallel that routes me in circles. Often using webpages or programs from one version prior.
I can predictably do all kinds of weird things to my device and it'll do stuff. (Expected or not, anyone's guess.)
I will gladly give anyone with a curiosity for the obscure full access to whatever I have for examination. Just tell me where to send what.

Steps to reproduce
Steps to reproduce the behavior:

Go to '...'
'...'
See error or incorrect behavior

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE

Hi @id18522096554
When opening an issue, please try to provide all of the information indicated in the template.
Closing this issue, since no information has been provided.
Thank you.


my MQTT broker requires username and password to connect

I tried looking through the code, config files and dependencies but I got confused as to exactly where I need to supply my username and password to effectively connect to my MQTT broker at CloudMQTT.
Can anyone help?

Hi, it seems this code does not have username and password support integrated.
This should be pretty easy to do, since another repository had the same request https://github.com/dennisdegreef/mqtt-hue-bridge/pull/1. I'll try to see if I can integrate this.

I ended up hardcoding my credentials into the mqtt's client.js module in the defaultConnectionOptions object. Not the most elegant solution, but for a brute force way to get my demo off the ground it worked.


Integrating chatbot

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

you can use botpress for chatbot

I would like to work on this issue. May I know what all kind of queries does the chatbot needs to answer to , so it would be better to create it accordingly.

Hi @Monika-1082005 , Welcome to our repo.
Our website is aimed for coworking space where companies can rent or book offices spaces so you can give information about availaibles offices location . you can train the chatbot for that.

Don't forget to star the repo.
Thank you for contributing.

@Mayank77maruti Ok so the available locations that we're going to provide can be any random location(from any website) or you have some kind of data as per which the chatbot has to provide the details to the user?

Hacktoberfest is about to wrap up , speed up the work buddy.
All the best.


[tool_crash] NoSuchMethodError: The method 'toFilePath' was called on null.Receiver: nullTried calling: toFilePath()

Command
flutter run -d chrome --verbose

Steps to Reproduce on Windows

Load a default flutter project in AndroidStudio
Select either Chrome  or Web as the target
run either in the gui or command line . . .

I see other related issues recently closed, but I am stuck ....
Logs
NoSuchMethodError: NoSuchMethodError: The method 'toFilePath' was called on null.
Receiver: null
Tried calling: toFilePath()
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
#1      defaultHandler (package:devtools_server/src/handlers.dart:28:60)
<asynchronous suspension>
#2      serveDevTools (package:devtools_server/src/server.dart:144:21)
#3      DevTools.start (package:dwds/src/servers/devtools.dart:27:15)
#4      Dwds.start (package:dwds/dwds.dart:111:33)
#5      WebAssetServer.start (package:flutter_tools/src/build_runner/devfs_web.dart:85:36)
<asynchronous suspension>
#6      WebDevFS.create (package:flutter_tools/src/build_runner/devfs_web.dart:460:43)
#7      _ResidentWebRunner.run.<anonymous closure> (package:flutter_tools/src/build_runner/resident_web_runner.dart:421:44)
#8      asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
#9      _rootRun (dart:async/zone.dart:1126:13)
#10     _CustomZone.run (dart:async/zone.dart:1023:19)
#11     _runZoned (dart:async/zone.dart:1518:10)
#12     runZoned (dart:async/zone.dart:1502:12)
#13     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
#14     _ResidentWebRunner.run (package:flutter_tools/src/build_runner/resident_web_runner.dart:411:20)
<asynchronous suspension>
#15     RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:563:37)
<asynchronous suspension>

[✓] Flutter (Channel beta, v1.15.17, on Microsoft Windows [Version 10.0.17134.1365], locale en-US)
    • Flutter version 1.15.17 at C:\Users\fredr\Documents\flutter
    • Framework revision 2294d75bfa (3 weeks ago), 2020-03-07 00:28:38 +0900
    • Engine revision 5aff311948
    • Dart version 2.8.0 (build 2.8.0-dev.12.0 9983424a3c)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\fredr\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio1\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 Studio1
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[✓] VS Code (version 1.43.1)
    • VS Code at C:\Users\fredr\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.8.1

[✓] Connected device (3 available)
    • Android SDK built for x86 • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • Chrome                    • chrome        • web-javascript • Google Chrome 80.0.3987.149
    • Web Server                • web-server    • web-javascript • Flutter Tools

• No issues found!

Flutter Application Metadata
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null

Duplicate of https://github.com/flutter/flutter/issues/52914

Yeah, but it was closed.  What is the status?


How to use?

I have issues with keepalived advertisments using multicast transport. From the description I can see this docker image use unicast transport (direct connection to the peers) which can solve my issue. But how I can configure it?
For example, your original docker image usage is described here https://github.com/kubernetes/kubeadm/blob/master/docs/ha-considerations.md#options-for-software-load-balancing . But I can't find any information about this docker image. I think I need to put some configuration into /etc/conf/conf.d/* and /etc/conf/templates/*?

/etc/kubernetes/manifests/keepalived.yaml
apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: null
  name: keepalived
  namespace: kube-system
spec:
  initContainers:
  - name: copy-certs
    image: busybox
    command: ["/bin/sh", "-c"]
    args:
    - >
      cp /etc/kubernetes/pki/etcd/ca.crt /container/service/confd/assets/certs/
      && cp /etc/kubernetes/pki/apiserver-etcd-client.crt /container/service/confd/assets/certs/
      && cp /etc/kubernetes/pki/apiserver-etcd-client.key /container/service/confd/assets/certs/
    volumeMounts:
    - name: kubernetes-pki
      mountPath: /etc/kubernetes/pki
    - name: osixia-certs
      mountPath: /container/service/confd/assets/certs/
  containers:
  - image: osixia/keepalived-confd:2.0.20
    name: keepalived
    env:
    - name: KEEPALIVED_CONFD_NODES
      value: https://<IP_ADDRESS>:2379
    - name: KEEPALIVED_CONFD_CLIENT_TLS
      value: "true"
    - name: KEEPALIVED_CONFD_CLIENT_CAKEYS_FILENAME
      value: ca.crt
    - name: KEEPALIVED_CONFD_CLIENT_CERT_FILENAME
      value: apiserver-etcd-client.crt
    - name: KEEPALIVED_CONFD_CLIENT_KEY_FILENAME
      value: apiserver-etcd-client.key
    - name: KEEPALIVED_INTERFACE
      value: eth0
    - name: KEEPALIVED_PRIORITY
      value: "101"
    - name: KEEPALIVED_CONFD_KUBERNETES_NODE_NAME
      valueFrom:
        fieldRef:
          fieldPath: spec.nodeName
    - name: KEEPALIVED_CONFD_KUBERNETES_NODE_LABEL_KEY
      value: node-role.kubernetes.io/master
    - name: KEEPALIVED_CONFD_KUBERNETES_NODE_LABEL_VALUE
      value: ""
    - name: KEEPALIVED_VIRTUAL_IPS
      value: "<IP_ADDRESS>/24"
    - name: KEEPALIVED_PASSWORD
      value: mysuperstrongpassword
    resources: {}
    securityContext:
      capabilities:
        add:
        - NET_ADMIN
        - NET_BROADCAST
        - NET_RAW
    volumeMounts:
    - mountPath: /etc/keepalived/check_apiserver.sh
      name: check
    - name: osixia-certs
      mountPath: /container/service/confd/assets/certs/
  hostNetwork: true
  volumes:
  - hostPath:
      path: /etc/keepalived/check_apiserver.sh
    name: check
  - hostPath:
      path: /etc/kubernetes/pki
    name: kubernetes-pki
  - name: osixia-certs
    emptyDir: {}
status: {}

logs
*** CONTAINER_LOG_LEVEL = 3 (info)
*** Search service in CONTAINER_SERVICE_DIR = /container/service :
*** link /container/service/:cron/startup.sh to /container/run/startup/:cron
*** link /container/service/:cron/process.sh to /container/run/process/:cron/run
*** link /container/service/:logrotate/startup.sh to /container/run/startup/:logrotate
*** link /container/service/:ssl-tools/startup.sh to /container/run/startup/:ssl-tools
*** link /container/service/:syslog-ng-core/startup.sh to /container/run/startup/:syslog-ng-core
*** link /container/service/:syslog-ng-core/process.sh to /container/run/process/:syslog-ng-core/run
*** link /container/service/confd/startup.sh to /container/run/startup/confd
*** link /container/service/confd/process.sh to /container/run/process/confd/run
*** link /container/service/keepalived/startup.sh to /container/run/startup/keepalived
*** link /container/service/keepalived/process.sh to /container/run/process/keepalived/run
*** link /container/service/keepalived/finish.sh to /container/run/process/keepalived/finish
*** link /container/service/remove-config/startup.sh to /container/run/startup/remove-config
*** Set environment for startup files
*** Environment files will be proccessed in this order :
Caution: previously defined variables will not be overriden.
/container/environment/98-default/default.yaml
/container/environment/99-default/default.yaml

To see how this files are processed and environment variables values,
run this container with '--loglevel debug'
/container/tool/run:294: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  env_vars = yaml.load(f)
*** Running /container/run/startup/:cron...
*** Running /container/run/startup/:logrotate...
*** Running /container/run/startup/:ssl-tools...
*** Running /container/run/startup/:syslog-ng-core...
*** Running /container/run/startup/confd...
*** Running /container/run/startup/keepalived...
*** Running /container/run/startup/remove-config...
*** Set environment for container process
*** Environment files will be proccessed in this order :
Caution: previously defined variables will not be overriden.
/container/environment/98-default/default.yaml
/container/environment/99-default/default.yaml

To see how this files are processed and environment variables values,
run this container with '--loglevel debug'
*** Running runit daemon...
Waiting config file /usr/local/etc/keepalived/keepalived.conf.Aug 26 11:43:30 kbr-mst01 syslog-ng[108]: syslog-ng starting up; version='3.19.1'
2020-08-26T11:43:30Z kbr-mst01 confd[109]: INFO Backend set to etcd
2020-08-26T11:43:30Z kbr-mst01 confd[109]: INFO Starting confd
2020-08-26T11:43:30Z kbr-mst01 confd[109]: INFO Backend source(s) set to https://<IP_ADDRESS>:2379
2020-08-26T11:43:30Z kbr-mst01 confd[109]: DEBUG Loading template resources from confdir /etc/confd
2020-08-26T11:43:30Z kbr-mst01 confd[109]: DEBUG Found template: /etc/confd/conf.d/keepalived.toml
2020-08-26T11:43:30Z kbr-mst01 confd[109]: DEBUG Loading template resource from /etc/confd/conf.d/keepalived.toml
2020-08-26T11:43:30Z kbr-mst01 confd[109]: DEBUG Retrieving keys from store
2020-08-26T11:43:30Z kbr-mst01 confd[109]: DEBUG Key prefix set to /
2020-08-26T11:43:30Z kbr-mst01 confd[109]: ERROR client: response is invalid json. The endpoint is probably not valid etcd cluster endpoint.
2020-08-26T11:43:40Z kbr-mst01 confd[109]: DEBUG Loading template resources from confdir /etc/confd
2020-08-26T11:43:40Z kbr-mst01 confd[109]: DEBUG Found template: /etc/confd/conf.d/keepalived.toml
2020-08-26T11:43:40Z kbr-mst01 confd[109]: DEBUG Loading template resource from /etc/confd/conf.d/keepalived.toml
2020-08-26T11:43:40Z kbr-mst01 confd[109]: DEBUG Retrieving keys from store
2020-08-26T11:43:40Z kbr-mst01 confd[109]: DEBUG Key prefix set to /
2020-08-26T11:43:40Z kbr-mst01 confd[109]: ERROR client: response is invalid json. The endpoint is probably not valid etcd cluster endpoint.


reorganised form

Hi @JamesButlerGDS, could you add some more context to this PR?

What has been reorganised?
Why has it been reorganised?
Links to any Trello user stories

Hi Paul,
I've created a new step, and placed some of the fields from step 4 into step 5. I've also relabelled some of the fields.
I'd made no notes for the PR as I'd intended it only to be able to provide a preview to a dept, which @ikennaokpala kindly helped me with. I'm going to ensure the work done hasn't caused any issues, and once I've confirmed that, I may reiterate (most likely just tinkering with the labels) then make a proper PR.
Please do let me know if there's a better way to create a workable preview for the calculator, without having to make a PR.
Thanks,
James

@JamesButlerGDS A branch can be deployed to an environment (eg temporarily to Integration) without the need to create a PR.
A PR that is not going to be merged should say why.
If a PR is necessary, a good example title would be:
"[Do not merge] Prototype of re-arranged form for demo purposes"
Though the PR should still include what the prototype is for.

@fofr I advised @JamesButlerGDS to raise that PR to trigger the heroku push feature.. which at the time I thought had been added to this repo.

I'll close this request now and work on a new one with what should be the final content iteration.


Out of bounds memory access

cjs-module-lexer has a stack depth of 2048:
https://github.com/nodejs/cjs-module-lexer/blob/dd9d9f9d9546e2b000d02f1aa038900f170cd438/src/lexer.c#L8
this creates two stacks:
https://github.com/nodejs/cjs-module-lexer/blob/dd9d9f9d9546e2b000d02f1aa038900f170cd438/src/lexer.c#L36-L37
However, when pushing to these stacks, there is no bounds check performed. For example:
https://github.com/nodejs/cjs-module-lexer/blob/dd9d9f9d9546e2b000d02f1aa038900f170cd438/src/lexer.c#L164
If you run with a maliciously crafted input, you can overflow the stack and cause memory corruption.
import { parse, init } from 'cjs-module-lexer';

await init();
console.log(parse('exports.foo = 2;\n' + '{'.repeat(3069) + '}'.repeat(3069)));

Running this causes a Bus error: 10 crash.
This can also cause a crash of node itself by writing the above contents to a file and importing it via ESM.

Thanks for digging into this. The expectation for protection during development was always that it would only crash the Wasm process and therefore we'd wrap that in a JS error and simply catch it. Wasm errors causing process errors is not something I expected though, in which case we need to introduce these protections carefully.
We can PR the stack checks in the right places and backport across all active release lines as it's a patch. Would be nice to ensure we catch everything at once if possible, but we can also do it gradually. I'll try and put a Sunday afternoon into this soon when I can. PRs very welcome too.


CircularNotchedRectangle in BottomAppBar in BottomSheet not working as expected

My BottomSheet: (Notch doesn't work here)
class MyBottomSheet extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('My Bottom Sheet App Bar'),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () {},
      ),
      floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
      bottomNavigationBar: BottomAppBar(
        notchMargin: 6,
        shape: CircularNotchedRectangle(),
        clipBehavior: Clip.antiAlias, // I have tried this with and without this line
        child: Container(
          height: 60,
        ),
      ),
      body: Center(
        child: Text('I am the Body'),
      ),
    ),
  }
}

My class calling the BottomSheet: (Notch works here)
class MyParentWidget extends StatelessWidget {
void openBottomSheet(BuildContext context) {
    showModalBottomSheet(
      backgroundColor: Colors.transparent,
      enableDrag: false,
      isDismissible: false,
      context: context,
      builder: (context) => BottomSheet(),
    );
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('My Parent App Bar'),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () {},
      ),
      floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
      bottomNavigationBar: BottomAppBar(
        notchMargin: 6,
        shape: CircularNotchedRectangle(),
        clipBehavior: Clip.antiAlias, // I have tried this with and without this line
        child: Container(
          height: 60,
        ),
      ),
      body: Center(
        child: ElevatedButton(
          child: const Text('Open Bottom Sheet'),
            onPressed: openBottomSheet,
          ),
        ),
      ),
    ),
  }
}

Prior to Flutter 2.5.0 CircularNotchedRectangle in a BottomAppBar in BottomSheet worked as expected once I updated it stopped working.
Expected results:  BottomAppBar to have a notch in MyBottomSheet
Actual results: BottomAppBar did not have a notch in MyBottomSheet
[✓] Flutter (Channel stable, 2.5.0, on macOS 11.5.2 20G95 darwin-x64, locale en-US)
    • Flutter version 2.5.0 at /Users/craighowell/Documents/flutter_workspace/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4cc385b4b8 (9 days ago), 2021-09-07 23:01:49 -0700
    • Engine revision f0826da7ef
    • Dart version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/craighowell/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/craighowell/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.11.0

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

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

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

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 93.0.4577.82

• No issues found!

@N00nDay
Can you provide screenshot of actual vs expected behavior ? Also check if this issue is similar to the one you described.

 I can confirm I am not using SafeArea inside the ModalBottomSheet being opened. I also realized my openBottomSheet function was not included in the original post so I have edited that as well.

@N00nDay
I tried your first code sample from this section (My BottomSheet: (Notch doesn't work here) using latest master (2.6.0-6.0.pre.160) and stable (2.5.1) on iOS simulator on which the notch is showing up properly as below:

This is an expected result correct ?

I have updated to 2.5.1 and the notch still does not show inside a ModalBottomSheet. It shows in a regular scaffold but not inside the bottom sheet. Is the image above inside a ModalBottomSheet or just a regular scaffold?
[✓] Flutter (Channel stable, 2.5.1, on macOS 11.5.2 20G95 darwin-x64, locale en-US)
    • Flutter version 2.5.1 at /Users/craighowell/Documents/flutter_workspace/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (4 days ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/craighowell/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/craighowell/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.11.0

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

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

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

[✓] Connected device (2 available)
    • iPhone (mobile) • 00008030-0006084A226A802E • ios            • iOS 14.7.1 18G82
    • Chrome (web)    • chrome                    • web-javascript • Google Chrome 93.0.4577.82

• No issues found!

Is the image above inside a ModalBottomSheet or just a regular scaffold?

I believe this is from scaffold, as I ran the BottomSheet() class code you provided earlier.
Could you provide entire complete code sample in a single file that we can directly copy and run to verify this ?

Here is an entire sample project showing the issue in the ModalBottomSheet. You can see the notch on MyHomePage as expected but when you click the FloatingActionButton to open the ModalBottomSheet the notch does not show in the BottomAppBar inside the ModalBottomSheet.
main.dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  void openBottomSheet(BuildContext context) {
    showModalBottomSheet(
      backgroundColor: Colors.transparent,
      enableDrag: false,
      isDismissible: false,
      context: context,
      builder: (context) => const MyBottomSheet(),
    );
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('My Home Page'),
      ),
      body: const Center(
        child: Text(
          'This is the body',
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () => openBottomSheet(context),
        child: const Icon(Icons.arrow_upward),
      ),
      floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
      bottomNavigationBar: BottomAppBar(
        notchMargin: 6,
        shape: const CircularNotchedRectangle(),
        clipBehavior:
            Clip.antiAlias, // I have tried this with and without this line
        child: Container(
          height: 60,
        ),
      ),
    );
  }
}

class MyBottomSheet extends StatelessWidget {
  const MyBottomSheet({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('My Bottom Sheet App Bar'),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () {},
      ),
      floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
      bottomNavigationBar: BottomAppBar(
        notchMargin: 6,
        shape: const CircularNotchedRectangle(),
        clipBehavior:
            Clip.antiAlias, // I have tried this with and without this line
        child: Container(
          height: 60,
        ),
      ),
      body: const Center(
        child: Text('I am the Body'),
      ),
    );
  }
}

Flutter Doctor output
[✓] Flutter (Channel stable, 2.5.1, on macOS 11.5.2 20G95 darwin-x64, locale en-US)
    • Flutter version 2.5.1 at /Users/craighowell/Documents/flutter_workspace/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (5 days ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/craighowell/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.11.0

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

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

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

[✓] Connected device (2 available)
    • iPhone (mobile) • 00008030-0006084A226A802E • ios            • iOS 14.7.1 18G82
    • Chrome (web)    • chrome                    • web-javascript • Google Chrome 93.0.4577.82

• No issues found!

Image of MyHomePage

Image of MyBottomSheet open

I see the same behavior on latest master and stable.

 stable, master flutter doctor -v
[✓] Flutter (Channel stable, 2.5.1, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.5.1 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (2 days ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

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

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

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 93.0.4577.63

• No issues found!

[✓] Flutter (Channel master, 2.6.0-6.0.pre.184, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-GB)
    • Flutter version 2.6.0-6.0.pre.184 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 64161b6caa (7 hours ago), 2021-09-22 18:38:04 -0400
    • Engine revision dd28b6f1c8
    • Dart version 2.15.0 (build 2.15.0-137.0.dev)

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.1

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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.15.4 19E2269
      darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 93.0.4577.63

• No issues found!

Also verified this behavior on stable 2.2.3 wherein, the Notch is displayed properly inside BottomSheet, as below:

 stable 2.2.3 flutter doctor -v
[✓] Flutter (Channel unknown, 2.2.3, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.2.3 at /Users/dhs/documents/fluttersdk/flutter
    • Framework revision f4abaa0735 (3 months ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

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

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

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 93.0.4577.82

• No issues found!

This could be related / similar to https://github.com/flutter/flutter/issues/90024. One difference is that 90024 occurs using SafeArea, but here in this issue, that widget isn't used.
Labeling it as regression identified, for further investigation.
/cc: @Piinks @HansMuller


Built In Roles for Cosmos DB no longer exist in Azure Portal

Cosmos DB Built-in Data Contributor is no longer exist in Azure Portal

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

ID: aba612b3-f404-11b2-45d9-6e10f1fbf11d
Version Independent ID: 86ccb46e-5ebd-50a4-a911-2ac83c8a41f4
Content: Configure role-based access control for your Azure Cosmos DB account with Azure AD
Content Source: articles/cosmos-db/how-to-setup-rbac.md
Service: cosmos-db
GitHub Login: @seesharprun
Microsoft Alias: sidandrews

#assign:seesharprun


WebGL refuses rendering in large stages

I'm experimenting with pixi.js for large surface rendering. There seems to be a difference between WebGL and Canvas in this respect. The WebGL renderer refuses to render at certain sizes.
Small size:
http://codepen.io/mielvds/pen/qqjjQJ
Big size:
http://codepen.io/mielvds/pen/ZByyry
What am I doing wrong? A setting? Or a bug?

What device are you testing on? Look at http://webglreport.com/, for my laptop max framebuffer size is 16k.

I guess that's it indeed, I guess I expected a proper error. I'm running this on a recent chrome on macbook pro.
WebGL report:
Framebuffer
Max Color Buffers:	8
RGBA Bits:	[8, 8, 8, 8]
Depth / Stencil Bits:	[24, 8]
Max Render Buffer Size:	16384
Max Viewport Dimensions:	[16384, 16384]

@ivanpopelyshev this doesn't explain why the example is working for you though...

Hi there! This seems like a GPU issue rather than a pixi one. Closing for now.


Add better data input management for MS botframwork

Proposed changes:
As discussed in https://github.com/RasaHQ/rasa/issues/8164
We have been using this "feature" in production for 2 years now, I felt it was time to share it with everyone else using buttons in Teams' adaptive cards.
It's not a groundbreaking feature but it is very important.
I'll add the tests once we validate that we need this feature here :)
Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

Thanks for submitting a pull request 🚀 @b-quachtran will take a look at it as soon as possible ✨

@m-vdb PR fixed following your comments

Awesome I've updated the docstring, taking care of the other steps now

@m-vdb I updated everything, I'm just wondering about the tests : since there are none it seems a bit overkill (and I won't have time right now) to write all the tests for this channel, what do you think ?
In terms of documentation, there is no impact, it will just return a correct value everytime.
Let me know if you need me to change anything else

@thaume following up on this one, do you need help to finalise the PR?

@m-vdb hey ! I'll never find the time to wrap my head around the test strategy and write them myself. That's the main concern here 🙂


Avoid unnecessary state subscriptions

Closes: #382

Sorry about the formatting and thank you for fixing it!
I couldn't run the format command for some reason 😋
$ pnpm format:write

><EMAIL_ADDRESS>format:write /Users/olegb/Code/moshyfawn/ui
> turbo run format

 ERROR  run failed: error preparing engine: Could not find the following tasks in project: format
Turbo error: error preparing engine: Could not find the following tasks in project: format
 ELIFECYCLE  Command failed with exit code 1.


export all IndexMap iterators

Exports all the iterator types of IndexMap.
I wonder if it'd make sense to have a module structure such as the one in alloc::collections, e.g.: heapless::indexmap and re-export heapless::indexmap::IndexMap on the crate root, to have all the iterator types inside the indexmap module but still public.

Didn't include a change in the changelog as it already includes a line for that from the previous PR #332

Looks good to me!
Could you update the CHANGELOG to indicate that these are breaking changes?

Updated the CHANGELOG

Looks good!
As a final thing could you extend the tests to test the new features added?


more buns

make it more “bun”. I think “your” code with bun tries to mimic what we do in master today - a centralized db object that holds everything - but with bun. It has got its own DB objects, its own RunInTx. I don’t think it adds this much, and it eats context which we probably need to start using. I suggest to instead write modular code which is more like bun’s own examples. I’d like us to write “bun” database code, not “our” database code.
make our db singleton more like context.background. Singletony db.DB (which is bun.DB instance)  allows you to use db everywhere (just like context.Background() is your bailout for context)
optional Tx suffix when you need complexity. if you want a method to be used in transactions or cancellable contexts, have a Tx suffixed version. if you want to ignore context and tx, you can use straight up db.DB & ctx.Background. like this: https://github.com/determined-ai/ci-shortcuts/pull/2/files#diff-3197170506f9f7dee1a371a87f8abda06d7122b8c9a66b5c89e78dd9d7e3aa09R45 and its unsuffixed thin wrapper: https://github.com/determined-ai/ci-shortcuts/pull/2/files#diff-3197170506f9f7dee1a371a87f8abda06d7122b8c9a66b5c89e78dd9d7e3aa09R55
I’ve exaggerated modularity by putting artifacts and builds into separate subpackages.
A lot of methods in this code ended up being “static” top-level functions - but there’re “object” methods as well, e.g. https://github.com/determined-ai/ci-shortcuts/pull/2/files#diff-3197170506f9f7dee1a371a87f8abda06d7122b8c9a66b5c89e78dd9d7e3aa09R100

style wise, it's super interesting. not sure how i feel yet.

I like this in general.  One thing I noticed was that most of the functions I was writing in the BunDB object in master were extremely simple (that is, pointless).  Meanwhile I wasn't even able to cleanly separate the bun code within the BunDB object... I was leaking Bun-like details to achieve the flexibility I wanted.
If you like, I can land my pr and you can land this on top of it.  But there's some // WTFs and // XXXs that ought to be removed.


Create a package.json and update the version on npm

This is basically the same as #451
There is currently a babylonjs package on npm.org
https://www.npmjs.com/package/babylonjs
Not sure if that is an official module or not. I'm currently using it in node and noticed it was missing some features from the documentation. It looks outdated.
The npm version is listed as 1.13.3 the source code says "Version",{get:function(){return"1.13.0}"

Yes @meulta is working on it:)

Yep should be ok this week :)

This is done!! thanks @meulta


Environment Variable Incorrectly Cast as Number Instead of String inside runtime config

Environment

Operating System: Darwin
Node Version:     v18.13.0
Nuxt Version:     3.8.2
CLI Version:      3.10.0
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction

Open your project's .env file. If it doesn't exist, create one in the root directory of your Nuxt.js project.
Add a new environment variable with the specific value 4848e0. Format it as follows:

NUXT_MY_VAR=4848e0

Open the nuxt.config.js file in your project.
Add the environment variable to the Nuxt configuration.

runtimeConfig: {
  myVar: ""
}

Run your Nuxt.js project by executing the relevant start-up command.
Observe the value of the variable. Despite being set as a string in the .env file, you will notice that it is interpreted as a number due to Nuxt.js parsing 4848e0 as a numeric value in scientific notation, giving us 4848.

Describe the bug
I'm encountering an issue with Nuxt handling an environment variable, specifically 4848e0. This value is intended to be a string, but Nuxt seems to interpret it as a number in scientific notation, incorrectly assuming that e0 signifies an exponent. This misinterpretation leads to an unintended type of conversion, making the final converted value to be 4848. Notably, I'm not using TypeScript in my project, which restricts me from enforcing type declarations as per the documentation's suggestions. I would greatly appreciate any insights or solutions to ensure this variable is consistently recognized and used as a string.
Additional context
No response
Logs
No response

Please add a running reproduction, e.g. via https://nuxt.new/s/v3 next time.
Reproeduction

cc: @pi0

This is expected behavior for runtime-config assignment. We try to automatically deserialize JSON-compatible environment variable values such as numbers and booleans or order to reduce runtime type issues with env variables (Boolean("false")=true).
There are two solutions:

Directly use process.env.NUXT_MY_VAR it is always an-string
Double quote your values and use NUXT_MY_VAR="4848e0"

This is expected behavior for runtime-config assignment. We try to automatically deserialize JSON-compatible environment variable values such as numbers and booleans or order to reduce runtime type issues with env variables (Boolean("false")=true).
There are two solutions:

Directly use process.env.NUXT_MY_VAR it is always an-string
Double quote your values and use NUXT_MY_VAR="4848e0"

Hi @pi0, thanks for your reply! Adding double quotes to the env variable didn't work. Also, if I need to use the env variable on the client side, how can I still use process.env.NUXT_MY_VAR?

Sure you can use NUXT_PUBLIC_MY_VAR to also expose it to public.
It seems somehow we are running devalue twice which does not allow the intended workaround of using single double quotes. As a strange workaround, you can use NUXT_PUBLIC_MY_VAR=""4848e0""
Working reproduction: https://stackblitz.com/edit/github-jtwt9v?file=.env,nuxt.config.ts,app.vue
I will try to investigate later why this double desrializing is happening, seems a regression.

Thanks, @pi0! That workaround works perfectly

@pi0 Thank you for the workaround however, the double quotes break docker compose:
.env: line 7: unexpected character "\"" in the variable name

(self assigned to remember investigate. if anyone found better clue specifically it is in c12 or defu or nitro layers that would be helpful 🙏🏼 )

Seems the double-quote workaround no longer works?
NUXT_PUBLIC_SLACK_CLIENT_ID=""3764222224000.4888888888888""

results in:
clientId:<PHONE_NUMBER>000.4888

Anything else we could do in the meanwhile? Nuxt 3.12.2

This is expected behavior for runtime-config assignment. We try to automatically deserialize JSON-compatible environment variable values such as numbers and booleans or order to reduce runtime type issues with env variables (Boolean("false")=true).
There are two solutions:

Directly use process.env.NUXT_MY_VAR it is always an-string
Double quote your values and use NUXT_MY_VAR="4848e0"

This behaviour is not explain as clear as your comment in the documentation (Serialization part ?), could be nice to improve it, with some examples : https://nuxt.com/docs/guide/going-further/runtime-config#serialization

This is expected behavior for runtime-config assignment. We try to automatically deserialize JSON-compatible environment variable values such as numbers and booleans or order to reduce runtime type issues with env variables (Boolean("false")=true).
There are two solutions:
* Directly use `process.env.NUXT_MY_VAR` it is always an-string

* Double quote your values and use `NUXT_MY_VAR="4848e0"`

Running this issue with a boolean and this explanation of why it's intended behavior makes no sense to me.
Either runtimeConfig needs to allow fields that are something else than string or the variables need to not be deserialized because that CAUSES type issues not the other way around. I can't tell the runtimeConfig that a field is a boolean so can't if(myvar == true) but then doing if(myvar == "true") leads to expensive string comparison and serialization.

This is expected behavior for runtime-config assignment. We try to automatically deserialize JSON-compatible environment variable values such as numbers and booleans or order to reduce runtime type issues with env variables (Boolean("false")=true).
There are two solutions:

Directly use process.env.NUXT_MY_VAR it is always an-string
Double quote your values and use NUXT_MY_VAR="4848e0"

Directly using process.env.NUXT_MY_VAR or NUXT_MY_VAR="4848e0" does not work; it must be NUXT_MY_VAR=""4848e0""  or NUXT_MY_VAR='"4848e0"' to function properly.
Is a problem from 2023 still unresolved?


Add FlashInternImage models

Paper:

InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutions
DCNv4

Adapted from official impl at https://github.com/OpenGVLab/DCNv4
Some clarifications:

FlashInternImage is the InternImage model that uses DCNv4 as its core operation. Since the DCNv4 needs CUDA support, so a pure PyTorch implementation of DCNv3 is integrated as a substitute in the implementation of FlashInternImage. To use DCNv4, users need to install it via pip install DCNv4 (this might take some time). This will raise a warning when users create a FlashInternModel with DCNv4 not available.
The pure PyTorch implementation of DCNv3 uses torch.linspace(), which will raise errors when creating a fx model of FlashInternImage. I managed to fix this but failed, so I exclude the FlashInternImage model from tests related to fx model.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

FYI the InternImage links in your PR, top of the implementation, and model class link to the Swin transformer paper.
A few things looking at the cross attention implementation, projection bias would be simpler and match other models by setting bias=qkv_bias for each of the linear layers and remapping the weight. It also should be possible to use fused attention here, similar to the ViT block.
Most other hierarchical models are structured with stages of blocks instead of blocks of layers, the change in naming threw me off at first. The InternImage paper also used the stages and blocks naming scheme.
The seq_out forward for detection or segmentation is taken care of by feature extraction wrappers in timm, although I'm not sure if it is applicable here due to the way the cllip forwards and the potential for a throughput penalty. I'm not sure about this approach that's hardcoded into the model forward, but using the extraction feature on other models usually incurs a ~10% throughput penalty IME.

is it integrated?

FYI the InternImage links in your PR, top of the implementation, and model class link to the Swin transformer paper.
A few things looking at the cross attention implementation, projection bias would be simpler and match other models by setting bias=qkv_bias for each of the linear layers and remapping the weight. It also should be possible to use fused attention here, similar to the ViT block.
Most other hierarchical models are structured with stages of blocks instead of blocks of layers, the change in naming threw me off at first. The InternImage paper also used the stages and blocks naming scheme.
The seq_out forward for detection or segmentation is taken care of by feature extraction wrappers in timm, although I'm not sure if it is applicable here due to the way the cllip forwards and the potential for a throughput penalty. I'm not sure about this approach that's hardcoded into the model forward, but using the extraction feature on other models usually incurs a ~10% throughput penalty IME.

Thanks for the information provided. The issue with the link was a mistake I made when copying the link of the paper. As for the issues with some specific implementation, I need to double-check the code and try to contact the original author to determine if these implementations are for a special use.

@rwightman @fffffgggg54 Hi, based on the information provided and some of my own thoughts, I have updated the code as follows:

Update the InternImage links, now they link to the correct paper.
Optimize the implementation of CrossAttention, now use simpler projection bias  by setting bias=qkv_bias for each of the linear layers.
Use stages of blocks naming scheme instead of blocks of layers now.
As for the forward_features_seq_out function, it outputs the feature maps before downsampling of every stage, which is slightly different from the feature extraction wrappers in timm, so I still keep it in current impl.
Reimplement the DCNv3_pytorch module and rename it DCNv4_pytorch, now its almost the same as the CUDA version of DCNv4, except the impl of forward function. Also the DCN version is now differentiated between CUDA and pytorch, not between v3 and v4.
Remove some unused impls like those for InternImage-H/G to make the code tidy.
Fix some typos and bugs.

If you find some other things that need improvement, please point them out in this PR, and I will manage to optimize the code impl based on them.

@IridescentPig thanks for the PR and info... I took a brief look and quality is good, haven't had a chance to dig in... been trying to wrap up a few other models/features to get a release out so this will probably fall into next release if everything looks okay.
Just a note on feature extraction though, for models with hierarchical feature maps, we do want the 'deepest feature at each feature map resolution' to be extracted by default, I've often ended up remapping models that don't make this easy (ie ones that have a downsample right at the end of a stage / block instead of at the start)...
I also implemented a new feature forward_intermediates extraction API for models that don't have a straightforward nn.Sequential of stages that makes it easy with the original helpers. It exists as its own function in the model and can also be used by a new feature extraction wrapper... being used for vit models and some others that were difficult to utilize with the original wrappers...


MAINT: silence doc test warning

What does this implement/fix?
Recently, I have seen the array API CI job failing due to a deprecation warning (see example):

Try to fix it here by filterning this warning like other deperecation warnings.

Ah, this actually comes from NumPy itself. What I tried here cannot work.

Looks like Tyler already fixed this upstream https://github.com/data-apis/array-api-compat/pull/63

@tylerjereddy do we need to pull a git submodule update?


⬆ Update .NET Runtime to 8.0

Approved internally

All tests run correctly, all packages build.


Update the gnosis safe api url.

The address used to access the gnosis safe API changed in 2023: https://forum.safe.global/t/announcement-to-all-builders-using-safe-services/3225

For those looking for an immediate solution, try using https://www.npmjs.com/package/patch-package with the following patch file (patches/@usedapp+core+1.2.13.patch):
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index 3225279..c4db3b6 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -88,9 +88,9 @@ export const calculateSafeTransactionHash = (
 export const getLatestNonce = async (chainId: number, safeAddress: string): Promise<number | null | undefined> => {
   try {
     const response = await fetch(
-      `https://safe-transaction.${
+      `https://safe-transaction-${
         getChainById(chainId)?.chainName
-      }.gnosis.io/api/v1/safes/${safeAddress}/all-transactions?limit=1&executed=false&queued=true`
+      }.safe.global/api/v1/safes/${safeAddress}/all-transactions?limit=1&executed=false&queued=true`
     )
     if (!response.ok) return null
     const allTransactions = await response.json()


Configurable log levels in Moon

Need to be able to output error messages only.

we are looking forward to disabling logs

we are looking forward to disabling logs

@dekhtyarev our new browser images (e.g. Chrome 85.0) come with logs disabled by default (enabled with VERBOSE environment variable). All newer images will be built like this.

Should have quiet mode in Moon logs too.


fix code generated from enumeratedValues.derivedFrom

@homunkulus r+

:pushpin: Commit 76e3dd6 has been approved by japaric

:hourglass: Testing commit 76e3dd6 with merge 76e3dd6...

:sunny: Test successful - status-appveyor, status-travis
Approved by: japaric
Pushing 76e3dd64df518c3230e9482dac4a69286b2e8a2e to master...


New parser logic and unit tests

@kevin-dsouza can this merged?

A lot of code and documentation was changed here.
It is better to improve and merge this as soon as possible, then to have conflicts soon.


How to set text color or use default form color?

By default, all text becomes black, but the original document is black and blue.

Hi @redisky , i have a problem where i need to implement AcroJS for text fields in this SDK, will you be interested in working on a project like this? sorry didnt know where else to contact you.


Pilot log levels are not correct

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities/
To ask questions about how to use Istio, please visit https://discuss.istio.io
)
Bug description
When sidecar rejects any envoy config, pilot logs it as info level log.
Example log :-

{
  level | info
  msg | Push finished: 62.98561ms {
     "ProxyStatus":    {
         "pilot_conflict_outbound_listener_tcp_over_current_tcp":   {
                "<IP_ADDRESS>:18000": {
                        "proxy": "app-server-istio-6cd6b498b8-dqqg6.xxx-xxx-jp-dev",
                        "message": "Listener=<IP_ADDRESS>:18000 AcceptedTCP=xxxx-dev.xxx-xxx-jp-dev.svc.cluster.local RejectedTCP=xxxx-d.xxx-xxx-jp-dev.svc.cluster.local TCPServices=1"
                  }
          },
         "pilot_eds_no_instances": {
               ........

Affected product area (please put an X in all that apply)
[x] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[x] User Experience
[ ] Developer Infrastrcture
Expected behavior
Rejected envoy config should be at-least warning level.
All the logs output by pilot which need some fix has to be warn or error level.
Steps to reproduce the bug

Create 2 serviceentries with same host
Or Create 2 kubernetes headless service with same port and different protocols

Version (include the output of istioctl version --remote and kubectl version)
➜  ~ istioctl version --remote
client version: version.BuildInfo{Version:"1.1.7", GitRevision:"eec7a74473deee98cad0a996f41a32a47dd453c2-dirty", User:"brew", Host:"Mojave.local", GolangVersion:"go1.12.5", DockerHub:"docker.io/istio", BuildStatus:"Modified", GitTag:"1.1.7"}
citadel version: version.BuildInfo{Version:"1.1.4", GitRevision:"bc7465793cbff4c4189639b3f404e21c517cbdc6-dirty", User:"root", Host:"471e568b-66d7-11e9-a0d5-0a580a2c0304", GolangVersion:"go1.10.4", DockerHub:"docker.io/istio", BuildStatus:"Modified", GitTag:"1.1.3-20-gbc74657"}
pilot version: version.BuildInfo{Version:"1.1.4", GitRevision:"bc7465793cbff4c4189639b3f404e21c517cbdc6-dirty", User:"root", Host:"471e568b-66d7-11e9-a0d5-0a580a2c0304", GolangVersion:"go1.10.4", DockerHub:"docker.io/istio", BuildStatus:"Modified", GitTag:"1.1.3-20-gbc74657"}
pilot version: version.BuildInfo{Version:"1.1.4", GitRevision:"bc7465793cbff4c4189639b3f404e21c517cbdc6-dirty", User:"root", Host:"471e568b-66d7-11e9-a0d5-0a580a2c0304", GolangVersion:"go1.10.4", DockerHub:"docker.io/istio", BuildStatus:"Modified", GitTag:"1.1.3-20-gbc74657"}
pilot version: version.BuildInfo{Version:"1.1.4", GitRevision:"bc7465793cbff4c4189639b3f404e21c517cbdc6-dirty", User:"root", Host:"471e568b-66d7-11e9-a0d5-0a580a2c0304", GolangVersion:"go1.10.4", DockerHub:"docker.io/istio", BuildStatus:"Modified", GitTag:"1.1.3-20-gbc74657"}
sidecar-injector version: version.BuildInfo{Version:"1.1.4", GitRevision:"bc7465793cbff4c4189639b3f404e21c517cbdc6-dirty", User:"root", Host:"471e568b-66d7-11e9-a0d5-0a580a2c0304", GolangVersion:"go1.10.4", DockerHub:"docker.io/istio", BuildStatus:"Modified", GitTag:"1.1.3-20-gbc74657"}
sidecar-injector version: version.BuildInfo{Version:"1.1.4", GitRevision:"bc7465793cbff4c4189639b3f404e21c517cbdc6-dirty", User:"root", Host:"471e568b-66d7-11e9-a0d5-0a580a2c0304", GolangVersion:"go1.10.4", DockerHub:"docker.io/istio", BuildStatus:"Modified", GitTag:"1.1.3-20-gbc74657"}
sidecar-injector version: version.BuildInfo{Version:"1.1.4", GitRevision:"bc7465793cbff4c4189639b3f404e21c517cbdc6-dirty", User:"root", Host:"471e568b-66d7-11e9-a0d5-0a580a2c0304", GolangVersion:"go1.10.4", DockerHub:"docker.io/istio", BuildStatus:"Modified", GitTag:"1.1.3-20-gbc74657"}

➜  ~ kubectl version
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.2", GitCommit:"66049e3b21efe110454d67df4fa62b08ea79a19b", GitTreeState:"clean", BuildDate:"2019-05-16T18:55:03Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"12+", GitVersion:"v1.12.8-gke.7", GitCommit:"e93fe8e6509c2f4db00aa384e3feb845a321fa36", GitTreeState:"clean", BuildDate:"2019-05-23T13:24:58Z", GoVersion:"go1.10.8b4", Compiler:"gc", Platform:"linux/amd64"}

How was Istio installed?
Using helm template
Environment where bug was observed (cloud vendor, OS, etc)
GKE
Additionally, please consider attaching a cluster state archive by attaching
the dump file to this issue.

We report metrics for all of these as well (by the same name as the key in the json blob we log) if that is useful for you

@howardjohn
Thank you for your reply.
Yes we are collecting those metrics also, but couldn't understand their consequences.
I am getting some metrics with some values continously

pilot_conflict_inbound_listener
pilot_conflict_outbound_listener_http_over_current_tcp
pilot_total_xds_rejects
But i am not sure how these will affect the cluster, because currently even though i am getting these errors there is no effect on any service.
So i want to know the effect of them and try to fix them. I know how to fix first 2 but not sure how to fix pilot_total_xds_rejects

pilot_total_xds_rejects means that Pilot sent Envoy config that was rejected. This typically means your proxy are not getting the config they need, so is likely a bad sign. In the logs you can find instances with grep "ACK ERROR".


Expression tree with anonymous type created incorrectly

Please provide a succinct description of the issue.
Consider
let src = [0..10].Select(fun n -> {| n = n |}).ToList().AsQueryable()

let q1 = src.Select(fun c -> {| z = c.n; b = c.n |})
printfn "%A" q1.Expression

let q2 = src.Select(fun c -> {| b = c.n; z = c.n |})
printfn "%A" q2.Expression

Provide the steps required to reproduce the problem:

Run the program

Expected behavior
Both Expression trees passed to Select should call a two argument constructor for the anonymous type directly.
Actual behavior
The first call to Select creates a nested lambda function call using Invoke instead of just passing the arguments to the constructor.
Known workarounds
Changing the order of the fields in the anonymous record sometimes will correct the error.
Related information
This makes EF Core difficult to use with anonymous records.

Windows 10
.NET Core 5
LINQPad

Could you re-open this at https://github.com/dotnet/fsharp  please?  thank you


requesting ownership

It would be nice if a dandiset had an option to request ownership.

Should it be that specific, or would it be better to have a way to "contact the owners"?

a way to "contact the owners"?

that would be good and perhaps through a form with a captcha to prevent automatic sending by bots.
more specific to this request, i think of requesting ownership to be a social thing at this point. so perhaps just email the contact person, which we could add a little mail to icon for.

a way to "contact the owners"?

that would be good and perhaps through a form with a captcha to prevent automatic sending by bots.
more specific to this request, i think of requesting ownership to be a social thing at this point. so perhaps just email the contact person, which we could add a little mail to icon for.

My thought was, you could only contact the owners through the website if you are logged in (which should help with bot usage) and the method of contacting would be a mailto link with the owner names. On the other hand, we do nominate a "contact person", so perhaps there should just be one action button (still only for logged-in users) that is a mailto link to that person.
Thoughts?

the contact person info is public record in the metadata, so logged in doesn't matter as much and it could be shown. the only thing that's in the database that is not accessible easily is the owner email info. so that part is the one that would require a logged in state to email.
i think we perhaps will want both facilities: email contact and/or email owners. the web form could help the submitter determine which of those.


fix: shared prefix match

Issue 48
hey 👋
shared prefix should only count matches until a type name does not match

:tada: thanks again, will get a patch release done shortly

thanks @tustvold 😄

Released in 0.3.2


Jz/add recursive example

Description
Adds new examples directory with recursive example from dev-rel repo.
Problem
Examples in dev-rel are not kept strictly up to date with each noir language update, so when referred to in the docs would be out of date. This code will likely need updating before automating any test as part of noir repo's CI.
Resolves #4410
Summary
There were some quirks/workarounds at the time of writing, and fixes in Noir will likely resolve those quirks (if not already).
Additional Context
A future restructure would have a new docs directory created, with the current docs moving to subfolder in that, alongside examples. So structure could be something like docs/docs and docs/examples.
PS. I presume the prettier was on default cargo fmt settings.
Documentation
Check one:

[ ] No documentation needed.
[x] Documentation included in this PR.
[ ] [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Assigning myself just for tracking me supporting these efforts in the Noir board.

Also it would be good to experiment with inlining some of the text to be shown in the docs in amongst the code and using snippets to populate the doc. This would make it easier for us to keep text + code in sync.

I'm closing this repository as we have an example which shows recursion in the examples folder. Feel free to reopen if this PR adds anything extra compared to what's in master.

There are examples of the noir program which are shared, and examples of how to use them, and expected results. That is:

Noir Program
Tools to use
Expected output

in recursion
nargo(+bb)
Success

in recursion_js
noir.js(+bb.js)
Coming soon with optimisations

Perhaps the Noir program should be shared, but the tools to use sit outside of that alongside eachother. Eg:
examples/recursion/  (Nargo.toml, src/, etc)
examples/recursion/nargo/ (generate_recursive_proof.sh)
examples/recursion/noir.js/ (package.json ...)


Cant' access the cache-update with the following issue

Your client does not have permission to get URL /update-cache/c/s/nerdist.com/article/the-boys-homelander-america-hero-trump/%3Famp/article?amp_action=flush&amp_ts=1565064482&amp_url_signature=pdItYu8m6nEe8j-tLKKU7Nne6TnnD-TrE7Nxu816jDTFCSyWFjmBvdXZVGe77ojboBT5kbm9e4esT6fctvmICpsfh0SL8MIHDavEY33lmv6B56LmdLz9hrPLLLlOQj6h1IhQKutNiEyaDzdOgZy7uQTXXgggbMwliYd-c87117WxAbAj3eaO5X3l2_cEr-XtbYTe4WrP8mW7GJXX7tPwNo9ZbrUSkjhV7O6LV-mjyrNVz7sy8Um45usgQV3h6a1A64JuIuua5fJUXWi4zzv_rvpH0bWzThvuMuTDJzZg8BO22kzJoE2SEt_cvKzHYYpj2MqSOxIVnpcpLErxQr_HZA from this server. (Client IP address: <IP_ADDRESS>)
Invalid public key due to ingestion error: Invalid Content That’s all we know.
can you show me the correct way to generate .pem file? it's a bit confusing if I read the docs from here, do the public key has to renamed to apikey.pub before upload? (on step 2)
https://developers.google.com/amp/cache/update-cache#rsa-keys
and also where we generate the rsa key, on our local or online server?

any update on this?

Hello, sorry for the late reply. Can you control the data path you created? Do you have access when you go to the URL? If you wish, you can read the article on "https://medium.com/@atakancelik/amp-cache-update-afd15f98a45a" and check your actions.

hi @atakancelik
I think I have followed the article already, I need to manually update the google amp cache.
https://developers.google.com/amp/cache/update-cache#rsa-keys
when I following this doc, it seems not pretty clear about the steps,
does the .pem is generated on my server or it on my local?
and how we can convert public-key.pem to apikey.pub, are we just rename it?
I tried to use ssh-agent to generate .pub as well but it seems not the correct way
and also for note: I already disallow robot.txt to crawl the apikey.pub, change permission to 777 for the apikey.pub but still no luck
any help will be appreciated for this :)

@firmanpolyrific the problem is the robots.txt is blocking the crawl of apikey.pub You have to allow it. I'm the same person who was on the issue thread https://github.com/ampproject/amphtml/issues/20959


Routable Popup Handle Close Event

Framework7 version: 3.1.1
Platform and Target: Chrome Browser and iOS cordova app

Describe the bug
How to handle close event of routable popup?
I have created on poup which is open from one page, and when popup close then i want to handle that closed poup event same as we done for dynamic popup from where popup open.
I am using below method to load popup:
https://framework7.io/docs/routes.html#routable-modals
// Load Popup from component file
  {
    path: '/popup-component/',
    loginScreen: {
      componentUrl: './popup-component.html',
      /* popup-component.html contains:
        <template>

                ...

        </template>

      */
    },
  },

Thanks
Hiren Raiyani

Use DOM events:
<template>

</template>


How to customize the UI of the demo session_automotive app?

It seems that the automotive demo session app does not contain an activity or any layout files to define the UI of the app, instead possibly using some default layout? The layout .xml files in lib-ui do not reflect what the app looks like so it is unclear how this layout is defined. Can somehow tell me how I would go about customizing the UI for this demo automotive app?
Thanks very much.
https://github.com/androidx/media/tree/release/demos/session_automotive

A media app only provides a service that the Autom,otive app connects with a MediaBrowser against. The UI of an Automotive app is provided by the client. You can't customize this.
The documentation around building media apps gives you an idea how the architecture works: https://developer.android.com/training/cars/media/automotive-os
You can start the emulator in Android Studio with an Automotive emulator image to test the Automotive demo app or your own version: https://developer.android.com/training/cars/testing/emulator

Thanks. We build our own Trout image we test on.
I am curious then how does Amazon Music, Tidal and Apple Music downloaded from the automotive play store have custom UI's that differ?

Got it.
Do you know if I could at least add the Seekbar to this app? I am able to follow the logic in DemoMediaLibrarySessionCallback.kt for adding custom command buttons like Shuffle and Fast Forward, or even custom buttons, but is the Seekbar possible at all? Thank you.

How can I launch the session_automotive app with 'am start' ?


invalid character 'j' looking for beginning of value

Hi, when webhook start i got receive en the webbhook server this message
invalid character 'j' looking for beginning of value
if i test the webhook server with postman everything works.
thanks
victor

ups now i understand jsonData=%7B%22event%
sorry


lucet-runtime-internals: replace our own si_addr method with libc-0.2.54

libc-0.2.54 added a new method to Siginfo that is identical, aside from an unsafe annotation, to our si_addr method in the SiginfoExt trait. We can now get rid of that trait and the underlying C module that defines the field deference.
Fixes #170

good catch, thank you.

Unfortunately, this only exists on Linux.
error[E0599]: no method named `si_addr` found for type `&libc::unix::bsd::apple::siginfo_t` in the current scope
   --> lucet-runtime/lucet-runtime-internals/src/instance.rs:840:42
    |
840 |                         unsafe { siginfo.si_addr() }
    |                                          ^^^^^^^ field, not a method
    |
    = help: did you mean to write `siginfo.si_addr` instead of `siginfo.si_addr(...)`?

error[E0599]: no method named `si_addr` found for type `libc::unix::bsd::apple::siginfo_t` in the current scope
   --> lucet-runtime/lucet-runtime-internals/src/instance/signals.rs:184:48
    |
184 |                 let si_addr = unsafe { siginfo.si_addr() };
    |                                                ^^^^^^^ field, not a method
    |
    = help: did you mean to write `siginfo.si_addr` instead of `siginfo.si_addr(...)`?

error: aborting due to 2 previous errors


Demo new docker slim images

What type of proposal is this?
/kind debugging-hours
Details about the discussion
/assign @mfdii
https://github.com/falcosecurity/falco/pull/776

Done in the 2019 Sept 4th office hours. Notes here.
Video will be published soon.


Error at requestRandomness

Hi! I am trying to deploy Lottery.sol and everything is fine until I have to call the requestRandomness function, I get an error without much explanation... What could be going on here? Thanks! (I´m new at programming, probably it is something obvious...)
(My code is exactly the same as Lottery.sol in this repository)
SmartcontractLotteryProject is the active project.
Launching 'ganache-cli.cmd --accounts 10 --hardfork istanbul --gasLimit 12000000 --mnemonic brownie --port 8545'...
Running 'scripts\deploy_lottery.py::main'...
Transaction sent: 0x24d70cb6f9b461bf75c8a198116ba6a95d499a9d64d16605eaa5ac3c356de1f7
Gas price: 0.0 gwei   Gas limit: 12000000   Nonce: 0
MockV3Aggregator.constructor confirmed   Block: 1   Gas used: 430659 (3.59%)
MockV3Aggregator deployed at: 0x3194cBDC3dbcd3E11a07892e7bA5c3394048Cc87
MockV3Aggregator deployed!
Transaction sent: 0x076a2c1837406d129d2d2665a4d662b9087a59e481812d2e3973839e26997331
Gas price: 0.0 gwei   Gas limit: 12000000   Nonce: 1
LinkToken.constructor confirmed   Block: 2   Gas used: 669136 (5.58%)
LinkToken deployed at: 0x602C71e4DAC47a042Ee7f46E0aee17F94A3bA0B6
LinkToken deployed!
Transaction sent: 0x01030f154277021ef9fdf49f02db588965f2fa7448608eeb8f2d743ce9c5cf84
Gas price: 0.0 gwei   Gas limit: 12000000   Nonce: 2
VRFCoordinatorMock.constructor confirmed   Block: 3   Gas used: 276395 (2.30%)
VRFCoordinatorMock deployed at: 0xE7eD6747FaC5360f88a2EFC03E00d25789F69291
VRFCoordinatorMock deployed!
Transaction sent: 0x98edce7937c780c238d4f90966a17391075aa96123c25af92c9b5cfa716a0031
Gas price: 0.0 gwei   Gas limit: 12000000   Nonce: 3
Lottery.constructor confirmed   Block: 4   Gas used: 897156 (7.48%)
Lottery deployed at: 0x6951b5Bd815043E3F842c1b026b0Fa888Cc2DD85
Deployed lottery!!
Transaction sent: 0x1f3629b4ccc88f7e9e8b4f9d7d7a0e3328610fafa9346bd79152467364540969
Gas price: 0.0 gwei   Gas limit: 12000000   Nonce: 4
Lottery.startLottery confirmed   Block: 5   Gas used: 28902 (0.24%)
Lottery.startLottery confirmed   Block: 5   Gas used: 28902 (0.24%)
The lottery started!
Transaction sent: 0x5b64596a5f9cd13211b6833b38e428007458f07407f88374a7f8118edb1fd8c0
Gas price: 0.0 gwei   Gas limit: 12000000   Nonce: 5
Lottery.enter confirmed   Block: 6   Gas used: 70995 (0.59%)
Lottery.enter confirmed   Block: 6   Gas used: 70995 (0.59%)
You entered the lottery!
Transaction sent: 0xe930a3aa6106d132e9479441011d896ee16f7f7c6a5feffcf02436337497410a
Gas price: 0.0 gwei   Gas limit: 12000000   Nonce: 6
LinkToken.transfer confirmed   Block: 7   Gas used: 51398 (0.43%)
LinkToken.transfer confirmed   Block: 7   Gas used: 51398 (0.43%)
Contract funded with link!
LinkToken.transfer confirmed   Block: 7   Gas used: 51398 (0.43%)
He vuelto del fund_with_link
Transaction sent: 0xe97361a7db515a30e3feac79b1e14d6e16abd3132949b17a82fbb83cd87bc619
Gas price: 0.0 gwei   Gas limit: 12000000   Nonce: 7
Lottery.endLottery confirmed (reverted)   Block: 8   Gas used: 11813033 (98.44%)
File "C:\Users\teres\AppData\Roaming\Python\Python310\site-packages\brownie_cli\run.py", line 49, in main
return_value, frame = run(
File "C:\Users\teres\AppData\Roaming\Python\Python310\site-packages\brownie\project\scripts.py", line 103, in run
return_value = f_locals[method_name](*args, **kwargs)
File ".\scripts\deploy_lottery.py", line 58, in main
end_lottery()
File ".\scripts\deploy_lottery.py", line 46, in end_lottery
tx2 = lottery.endLottery({"from": account})
File "C:\Users\teres\AppData\Roaming\Python\Python310\site-packages\brownie\network\contract.py", line 1693, in call
return self.transact(*args)
File "C:\Users\teres\AppData\Roaming\Python\Python310\site-packages\brownie\network\contract.py", line 1566, in transact
return tx["from"].transfer(
File "C:\Users\teres\AppData\Roaming\Python\Python310\site-packages\brownie\network\account.py", line 680, in transfer
receipt._raise_if_reverted(exc)
File "C:\Users\teres\AppData\Roaming\Python\Python310\site-packages\brownie\network\transaction.py", line 420, in _raise_if_reverted
raise exc._with_attr(
VirtualMachineError: revert
Trace step -1, program counter 2469:
File<EMAIL_ADDRESS>line 161, in VRFConsumerBase.requestRandomness:
function requestRandomness(bytes32 _keyHash, uint256 _fee)
internal returns (bytes32 requestId)
{
LINK.transferAndCall(vrfCoordinator, _fee, abi.encode(_keyHash, USER_SEED_PLACEHOLDER));
// This is the seed passed to VRFCoordinator. The oracle will mix this with
// the hash of the block containing this request to obtain the seed/input
// which is finally passed to the VRF cryptographic machinery.
Terminating local RPC client...

Looks like it's mad about end_lottery...
Could you try again? Same issue?

I tried something just to see what happens, I copied and compiled my own VRFConsumerBase.sol, instead of importing from chainlink. I got a different error, is this helpful?:
...
The lottery started!
Transaction sent: 0x5b64596a5f9cd13211b6833b38e428007458f07407f88374a7f8118edb1fd8c0
Gas price: 0.0 gwei   Gas limit: 12000000   Nonce: 5
Lottery.enter confirmed   Block: 6   Gas used: 70995 (0.59%)
Lottery.enter confirmed   Block: 6   Gas used: 70995 (0.59%)
You entered the lottery!
Transaction sent: 0xe930a3aa6106d132e9479441011d896ee16f7f7c6a5feffcf02436337497410a
Gas price: 0.0 gwei   Gas limit: 12000000   Nonce: 6
LinkToken.transfer confirmed   Block: 7   Gas used: 51398 (0.43%)
LinkToken.transfer confirmed   Block: 7   Gas used: 51398 (0.43%)
Contract funded with link!
LinkToken.transfer confirmed   Block: 7   Gas used: 51398 (0.43%)
He vuelto del fund_with_link
Transaction sent: 0xe97361a7db515a30e3feac79b1e14d6e16abd3132949b17a82fbb83cd87bc619
Gas price: 0.0 gwei   Gas limit: 12000000   Nonce: 7
Lottery.endLottery confirmed (reverted)   Block: 8   Gas used: 11813033 (98.44%)
_fee,
abi.encode(_keyHash, USER_SEED_PLACEHOLDER)
);
// This is the seed passed to VRFCoordinator. The oracle will mix this with
// the hash of the block containing this request to obtain the seed/input
// which is finally passed to the VRF cryptographic machinery.
uint256 vRFSeed = makeVRFInputSeed(
_keyHash,
Terminating local RPC client...

Can you list your steps starting from you git cloning this repo? Like every line you run in your shell.

Don´t worry, Patrick, I have moved on to the ERC20 part. I intend to repeat the whole course again when I finish, let´s see if I can get it right then. Thanks.

Hi All,
Just an FYI, I had the exact same issue as this. I resolved it by adding the deploy_mocks.py script from the git repo. I'm not sure how I missed adding it, but anyway, it's working for me now after doing so.
Deploy Mocks Script
Thanks
Tristan


Capture Surface audio like you tube app

Hello,
Can you please guide me how to capture surface audio on Android platform? for example capture youtube app audio and stream AV stram to server. Anxiously witing for your response!
Thanks!

Irrelevant to this repo, ask your queries in discuss-webrtc google group.


allow setting parserOptions in cli config

This allows setting parserOptions in the CLI config which get passed to the parser.
The reason I need this is related to this note about .sync events:

But for users, they don't care about such events, so we deliberately don't include such events in the generated documentation.

My users will care about having these events documented. As a result, I need to have the ability to put parserOptions: { includeSyncEvent: true } in my config so that the parser will include them when running the CLI.

Here is how I'm working around this in the meantime:
this.$emit("update:modelValue", value);
// workaround pending vuese PR https://github.com/vuese/vuese/pull/268
const vueseWorkaround = false;
if (vueseWorkaround) {
  // this event allows using the `v-model` attribute in single file components
  // @arg value (string)
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
  // @ts-ignore
  this.$emit(" update:modelValue", value);
}

This makes it into the documentation because of the leading whitespace. It does not make it into the build because vite tree-shakes the constant false branch.

Hi. Can we get a new release with this change included?


lynis: 2.6.5 -> 2.6.6

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/lynis/versions.
Version release notes (from GitHub)
## Lynis 2.6.6 (2018-07-06)
Improvements

New format of changelog (https://keepachangelog.com/en/1.0.0/)
KRNL-5830 - improved log text about running kernel version

Fixed

Under some condition no hostid2 value was reported
Solved 'extra operand' issue with tr command

These checks were done:

built on NixOS
/nix/store/ds1yfrg5q01q8j64yggb3p5ib5crg26c-lynis-2.6.6/bin/lynis passed the binary check.
/nix/store/ds1yfrg5q01q8j64yggb3p5ib5crg26c-lynis-2.6.6/bin/.lynis-wrapped passed the binary check.
2 of 2 passed binary check by having a zero exit code.
2 of 2 passed binary check by having the new version present in output.
found 2.6.6 with grep in /nix/store/ds1yfrg5q01q8j64yggb3p5ib5crg26c-lynis-2.6.6
directory tree listing: https://gist.github.com/1539c4e988dbc040136beb3577edd526
du listing: https://gist.github.com/149b0c5b68a57473edf905b2bb6c03a8

meta.description for lynis is: '"Security auditing tool for Linux, macOS, and UNIX-based systems"'.
cc @ryneeverett for testing.
This build is cached with Cachix. To use the cache follow these instructions:
One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout c3916e3c6866fda44db48364e80bad7506b5f6cf && nix-shell --pure -I nixpkgs=. -p lynis

Success on x86_64-linux (full log)
Attempted: lynis
Partial log (click to expand)
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/ds1yfrg5q01q8j64yggb3p5ib5crg26c-lynis-2.6.6
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ds1yfrg5q01q8j64yggb3p5ib5crg26c-lynis-2.6.6/bin
patching script interpreter paths in /nix/store/ds1yfrg5q01q8j64yggb3p5ib5crg26c-lynis-2.6.6
/nix/store/ds1yfrg5q01q8j64yggb3p5ib5crg26c-lynis-2.6.6/bin/.lynis-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/ds1yfrg5q01q8j64yggb3p5ib5crg26c-lynis-2.6.6...
/nix/store/ds1yfrg5q01q8j64yggb3p5ib5crg26c-lynis-2.6.6

Success on x86_64-darwin (full log)
Attempted: lynis
Partial log (click to expand)
no configure script, doing nothing
building
no Makefile, doing nothing
installing
post-installation fixup
strip is /nix/store/7ddbq63v97nk8gkbf7gcsfmby37h6gbl-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/98j8pccv3q2h87zsa534zlw9i2s6i8l4-lynis-2.6.6/bin
patching script interpreter paths in /nix/store/98j8pccv3q2h87zsa534zlw9i2s6i8l4-lynis-2.6.6
/nix/store/98j8pccv3q2h87zsa534zlw9i2s6i8l4-lynis-2.6.6/bin/.lynis-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/98j8pccv3q2h87zsa534zlw9i2s6i8l4-lynis-2.6.6

Success on aarch64-linux (full log)
Attempted: lynis
Partial log (click to expand)
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/0wg7yzhcr54s92v68ym5lz2yl9jkb6qv-lynis-2.6.6
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/0wg7yzhcr54s92v68ym5lz2yl9jkb6qv-lynis-2.6.6/bin
patching script interpreter paths in /nix/store/0wg7yzhcr54s92v68ym5lz2yl9jkb6qv-lynis-2.6.6
/nix/store/0wg7yzhcr54s92v68ym5lz2yl9jkb6qv-lynis-2.6.6/bin/.lynis-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/p0vy17dp9jk2mvqsxsqnb14s3797lay7-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/0wg7yzhcr54s92v68ym5lz2yl9jkb6qv-lynis-2.6.6...
/nix/store/0wg7yzhcr54s92v68ym5lz2yl9jkb6qv-lynis-2.6.6


scheduler: fix resolve locks bug.

@zhangjinpeng1987 @BusyJay

any test to cover it?

LGTM

@siddontang Later.


Auth0-Lock > 10.8.1 - idTokenPayload is missing

Lack of idTokenPayload.exp and exp in session.data.authenticated lead to token invalidation right after successful auth.
Not sure why, but Auth0-Lock is returning expires value that is  86400 (24 hours) and it is pretty weird (and there is no exp, neither idTokenPayload).
Downgrading to 10.8.1 is the solution, still it looks like we would need to have auth0-try :-) (similar to ember-try) to test library against even minor versions of auth0 and auth0-lock ...

I can't seem to reproduce this locally. I do agree with creating an auth0-try scenario! see #39

Thank your for the update @seawatts :-) #41
I've updated my app with the recent master version, libs are working perfectly fine, everything is loading. Still I have the issue with being logout right after the successful authentication.
Below I've attached my environment, and what the session data look like, just before session is getting expired. So far I'm thinking that the problem is with lack of idTokenPayload (that was present in auth0 < 8.0)
const deprecatedExp = getWithDefault(this, 'session.data.authenticated.exp', null);
const newExp = getWithDefault(this, 'session.data.authenticated.idTokenPayload.exp', null);

https://github.com/seawatts/ember-simple-auth-auth0/blob/develop/addon/mixins/application-route-mixin.js#L154

{
  "authenticated": {
    "authenticator": "authenticator:auth0-lock",
    "accessToken": "***",
    "expiresIn": 86400,
    "idToken": "***",
    "tokenType": "Bearer",
    "state": "***",
    "profile": {
      "email"<EMAIL_ADDRESS>      "name": "Michał Czyż",
      "given_name": "Michał",
      "family_name": "Czyż",
      "picture": "https://lh6.googleusercontent.com/-6ahGuaH4y6A/AAAAAAAAAAI/AAAAAAAAABE/4ZL4wBDvIaI/photo.jpg",
      "gender": "male",
      "locale": "pl",
      "nickname": "m.czyz",
      "email_verified": true,
      "clientID": "***",
      "updated_at": "2017-02-15T20:57:45.509Z",
      "user_id": "google-oauth2|***",
      "identities": [
        {
          "provider": "google-oauth2",
          "user_id": "***",
          "connection": "google-oauth2",
          "isSocial": true
        }
      ],
      "created_at": "2017-02-06T12:33:02.661Z",
      "global_client_id": "***"
    }
  }
}

Make sure you are on the develop branch not master.

My mistate, yes I'm using the latest develop branch - here is what I've from my package.json
    "ember-simple-auth-auth0": "git://github.com/seawatts/ember-simple-auth-auth0.git#e9986a0b013c05c06818e647e1f9b8c2f4b32402",

I've released a new version. Can you see if that fixes the issue. https://github.com/seawatts/ember-simple-auth-auth0/releases/tag/v2.3.0

I'm actually now seeing this. It is weird. It seems to only happen when you don't perform a full logout through auth0

I'm actually seeing this now. It seems like when you do a full logout it returns the correct idTokenPayload. But when you do a partial logout. i.e. just clear your ember-simple-auth session from local storage then it doesn't fill it back in and only gives you expiresIn

I've tested v2.3.0, and the same behaviour, I try to clear fully local storage, still give the same results (session is invalidated right after authentication)
For me it looks like the Auth0 change the api - still I might be wrong.
Could you tell me more, what do you understand by partial logout ?

I've updated to 3.0.0 and read the breaking changes :-( Still somehow understood.


how can we deploy E-Vit Sam in other platform

how can we deploy E-Vit Sam in other platform？such rockchip platform(RK) or ascend platform(HUAWEI platform)?

how can we export l0(pt) to onnx？something wrong when i follow the sam.md to export onnx,here is the error when onnx2trt:
02/18/2024-09:15:57] [W] [TRT] parsers/onnx/onnx2trt_utils.cpp:364: Your ONNX model has been generated with INT64 weights, while TensorRT does not natively support INT64. Attempting to cast down to INT32.
[02/18/2024-09:15:57] [W] [TRT] parsers/onnx/onnx2trt_utils.cpp:392: One or more weights outside the range of INT32 was clamped
[02/18/2024-09:15:57] [W] [TRT] parsers/onnx/onnx2trt_utils.cpp:392: One or more weights outside the range of INT32 was clamped
[02/18/2024-09:15:57] [E] Error[4]: [shuffleNode.cpp::symbolicExecute::387] Error Code 4: Internal Error (/image_encoder/backbone/stages.4/op_list.1/context_module/main/Reshape_1: IShuffleLayer applied to shape tensor must have 0 or 1 reshape dimensions: dimensions were [-1,2])
[02/18/2024-09:15:57] [E] [TRT] parsers/onnx/ModelImporter.cpp:780: While parsing node number 325 [Pad -> "/image_encoder/backbone/stages.4/op_list.1/context_module/main/Pad_output_0"]:
[02/18/2024-09:15:57] [E] [TRT] parsers/onnx/ModelImporter.cpp:781: --- Begin node ---
[02/18/2024-09:15:57] [E] [TRT] parsers/onnx/ModelImporter.cpp:782: input: "/image_encoder/backbone/stages.4/op_list.1/context_module/main/Slice_2_output_0"
input: "/image_encoder/backbone/stages.4/op_list.1/context_module/main/Cast_output_0"
input: "/image_encoder/backbone/stages.4/op_list.1/context_module/main/Constant_25_output_0"
output: "/image_encoder/backbone/stages.4/op_list.1/context_module/main/Pad_output_0"
name: "/image_encoder/backbone/stages.4/op_list.1/context_module/main/Pad"
op_type: "Pad"
attribute {
  name: "mode"
  s: "constant"
  type: STRING
}

[02/18/2024-09:15:57] [E] [TRT] parsers/onnx/ModelImporter.cpp:783: --- End node ---
[02/18/2024-09:15:57] [E] [TRT] parsers/onnx/ModelImporter.cpp:785: ERROR: parsers/onnx/ModelImporter.cpp:179 In function parseGraph:
[6] Invalid Node - /image_encoder/backbone/stages.4/op_list.1/context_module/main/Pad
[shuffleNode.cpp::symbolicExecute::387] Error Code 4: Internal Error (/image_encoder/backbone/stages.4/op_list.1/context_module/main/Reshape_1: IShuffleLayer applied to shape tensor must have 0 or 1 reshape dimensions: dimensions were [-1,2])
[02/18/2024-09:15:57] [E] Failed to parse onnx file
[02/18/2024-09:15:57] [I] Finish parsing network model
[02/18/2024-09:15:57] [E] Parsing model failed
[02/18/2024-09:15:57] [E] Failed to create engine from model.
[02/18/2024-09:15:57] [E] Engine set up failed
&&&& FAILED TensorRT.trtexec [TensorRT v8203] # trtexec --onnx=./l0_encoder.onnx --minShapes=input_image:1x3x512x512 --optShapes=input_image:4x3x512x512 --maxShapes=input_image:4x3x512x512 --saveEngine=./l0__encoder.engine --fp16

same to xl1，tensorrt8.2
[libprotobuf WARNING /home/jenkins/agent/workspace/OSS/OSS_L0_MergeRequest/oss/build/third_party.protobuf/src/third_party.protobuf/src/google/protobuf/io/coded_stream.cc:81] The total number of bytes read was 797487046
[02/18/2024-09:27:14] [I] [TRT] ----------------------------------------------------------------
[02/18/2024-09:27:14] [I] [TRT] Input filename:   xl1_encoder.onnx
[02/18/2024-09:27:14] [I] [TRT] ONNX IR version:  0.0.7
[02/18/2024-09:27:14] [I] [TRT] Opset version:    12
[02/18/2024-09:27:14] [I] [TRT] Producer name:    pytorch
[02/18/2024-09:27:14] [I] [TRT] Producer version: 2.0.0
[02/18/2024-09:27:14] [I] [TRT] Domain:
[02/18/2024-09:27:14] [I] [TRT] Model version:    0
[02/18/2024-09:27:14] [I] [TRT] Doc string:
[02/18/2024-09:27:14] [I] [TRT] ----------------------------------------------------------------
[libprotobuf WARNING /home/jenkins/agent/workspace/OSS/OSS_L0_MergeRequest/oss/build/third_party.protobuf/src/third_party.protobuf/src/google/protobuf/io/coded_stream.cc:604] Reading dangerously large protocol message.  If the message turns out to be larger than<PHONE_NUMBER> bytes, parsing will be halted for security reasons.  To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.
[libprotobuf WARNING /home/jenkins/agent/workspace/OSS/OSS_L0_MergeRequest/oss/build/third_party.protobuf/src/third_party.protobuf/src/google/protobuf/io/coded_stream.cc:81] The total number of bytes read was 797487046
[02/18/2024-09:27:15] [W] [TRT] parsers/onnx/onnx2trt_utils.cpp:364: Your ONNX model has been generated with INT64 weights, while TensorRT does not natively support INT64. Attempting to cast down to INT32.
[02/18/2024-09:27:15] [W] [TRT] parsers/onnx/onnx2trt_utils.cpp:392: One or more weights outside the range of INT32 was clamped
[02/18/2024-09:27:15] [W] [TRT] parsers/onnx/onnx2trt_utils.cpp:392: One or more weights outside the range of INT32 was clamped
[02/18/2024-09:27:15] [E] Error[4]: [shuffleNode.cpp::symbolicExecute::387] Error Code 4: Internal Error (/image_encoder/backbone/stages.4/op_list.1/context_module/main/Reshape_1: IShuffleLayer applied to shape tensor must have 0 or 1 reshape dimensions: dimensions were [-1,2])
[02/18/2024-09:27:15] [E] [TRT] parsers/onnx/ModelImporter.cpp:780: While parsing node number 287 [Pad -> "/image_encoder/backbone/stages.4/op_list.1/context_module/main/Pad_output_0"]:
[02/18/2024-09:27:15] [E] [TRT] parsers/onnx/ModelImporter.cpp:781: --- Begin node ---
[02/18/2024-09:27:15] [E] [TRT] parsers/onnx/ModelImporter.cpp:782: input: "/image_encoder/backbone/stages.4/op_list.1/context_module/main/Slice_2_output_0"
input: "/image_encoder/backbone/stages.4/op_list.1/context_module/main/Cast_output_0"
input: "/image_encoder/backbone/stages.4/op_list.1/context_module/main/Constant_25_output_0"
output: "/image_encoder/backbone/stages.4/op_list.1/context_module/main/Pad_output_0"
name: "/image_encoder/backbone/stages.4/op_list.1/context_module/main/Pad"
op_type: "Pad"
attribute {
  name: "mode"
  s: "constant"
  type: STRING
}

[02/18/2024-09:27:15] [E] [TRT] parsers/onnx/ModelImporter.cpp:783: --- End node ---
[02/18/2024-09:27:15] [E] [TRT] parsers/onnx/ModelImporter.cpp:785: ERROR: parsers/onnx/ModelImporter.cpp:179 In function parseGraph:
[6] Invalid Node - /image_encoder/backbone/stages.4/op_list.1/context_module/main/Pad
[shuffleNode.cpp::symbolicExecute::387] Error Code 4: Internal Error (/image_encoder/backbone/stages.4/op_list.1/context_module/main/Reshape_1: IShuffleLayer applied to shape tensor must have 0 or 1 reshape dimensions: dimensions were [-1,2])
[02/18/2024-09:27:15] [E] Failed to parse onnx file
[02/18/2024-09:27:16] [I] Finish parsing network model
[02/18/2024-09:27:16] [E] Parsing model failed
[02/18/2024-09:27:16] [E] Failed to create engine from model.
[02/18/2024-09:27:16] [E] Engine set up failed
&&&& FAILED TensorRT.trtexec [TensorRT v8203] # trtexec --onnx=xl1_encoder.onnx --minShapes=input_image:1x3x1024x1024 --optShapes=input_image:4x3x1024x1024 --maxShapes=input_image:4x3x1024x1024 --saveEngine=xl1_encoder.engine

Hi SoulProficiency,
We recommend you to use the latest TensorRT version 8.6.
Best,
Zhuoyang


[CP] Disable AHB based swapchains

Issue Link
https://github.com/flutter/flutter/issues/160025
Target
stable
Cherry pick PR Link
https://github.com/flutter/engine/pull/57173
Changelog Description

Disable Android HardwareBuffer based swapchains on all devices.

Impacted Users
Android Impeller
Impact Description

Android HardwareBuffer swapchains were non functional for a larger than expected number of physical devices.

Workaround
Add the following line to AndroidManifest:
<meta-data
    android:name="io.flutter.embedding.android.DisableSurfaceControl"
    android:value="true" />

Risk
low
Test Coverage
yes
Validation Steps
Both swapchains are tested on CI, this is a pure delete

FYI @zanderso  / @chinmaygarde

cp lgtm

Check this error does not work solution
I add this line on Android Manifest
<meta-data
    android:name="io.flutter.embedding.android.DisableSurfaceControl"
    android:value="true" />

Testing on Android Redmi Note 8 Pro
https://github.com/user-attachments/assets/0263b4f5-8a28-4044-a489-955b23f9957a
Continue flicker


Shitty windows support

this app makes dot ending files which are not supported on windows and makes them undeleteable

Hi, can you try to delete it using Terminal?
cd xxxlocationofthatfolder
rm .head.zazu.

Why do you need to delete that file?

I deleted the file with a command that I found on a stackoverflow but the dot ending files need to be removed from creating also I'm removing the files because I already uninstalled this app time ago