Calling forward/reverse on animationController: NoSuchMethodError

Steps to Reproduce

Create two pages where the second page has an animationController that starts in initState.
navigate back out and in so the controller gets disposed and initiated again
call controller.stop() when the state of the application is paused
Call forward when the state is resumed (here the error occurs).

 @override
  void initState() {
    super.initState();
    WidgetsBinding.instance.addObserver(this);
    _controller = AnimationController(
      duration: Duration(seconds: 60),
      vsync: this,
      value: 1.0,
    );

  _controller.forward();
  }

  @override
  Future<void> didChangeAppLifecycleState(AppLifecycleState state) async {
    if (state == AppLifecycleState.paused && _controller.isAnimating) {
      _controller.stop();
    } else if (state == AppLifecycleState.resumed) {
      _controller.forward();
    }
  }

Logs

[+5557 ms] E/flutter (11601): [ERROR:flutter/shell/common/shell.cc(184)] Dart Error: Unhandled exception:
[        ] E/flutter (11601): NoSuchMethodError: The method 'stop' was called on null.
[        ] E/flutter (11601): Receiver: null
[        ] E/flutter (11601): Tried calling: stop(canceled: true)
[        ] E/flutter (11601): #0      Object.noSuchMethod (dart:core/runtime/libobject_patch.dart:50:5)
[        ] E/flutter (11601): #1      AnimationController.stop (package:flutter/src/animation/animation_controller.dart:650:13)
[        ] E/flutter (11601): #2      AnimationController._animateToInternal (package:flutter/src/animation/animation_controller.dart:525:5)
[        ] E/flutter (11601): #3      AnimationController.forward (package:flutter/src/animation/animation_controller.dart:442:12)
[        ] E/flutter (11601): #4      TaskBodyPageState.didChangeAppLifecycleState (package:quickit/src/pages/tasks/widgets/task_body_page.dart:61:19)
[        ] E/flutter (11601): <asynchronous suspension>
[        ] E/flutter (11601): #5
_WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.handleAppLifecycleStateChanged (package:flutter/src/widgets/binding.dart:501:16)
[   +1 ms] E/flutter (11601): #6      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleLifecycleMessage
(package:flutter/src/scheduler/binding.dart:254:5)
[        ] E/flutter (11601): <asynchronous suspension>
[        ] E/flutter (11601): #7      BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:65:49)
[        ] E/flutter (11601): <asynchronous suspension>
[        ] E/flutter (11601): #8      BinaryMessages.handlePlatformMessage (package:flutter/src/services/platform_messages.dart:67:33)
[        ] E/flutter (11601): <asynchronous suspension>
[        ] E/flutter (11601): #9      _invoke3 (dart:ui/hooks.dart:196:13)
[        ] E/flutter (11601): #10     _dispatchPlatformMessage (dart:ui/hooks.dart:105:5)
[        ] E/BpSurfaceComposerClient(11601): Failed to transact (-1)
[        ] E/BpSurfaceComposerClient(11601): Failed to transact (-1)

[√] Flutter (Channel beta, v1.0.0, on Microsoft Windows [Version 10.0.17134.472], locale en-GB)
    • Flutter version 1.0.0 at C:\Users\Robert\flutter
    • Framework revision 5391447fae (4 weeks ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at D:\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = D:\Android\Sdk
    • Java binary at: D:\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[√] Android Studio (version 3.2)
    • Android Studio at D:\Android Studio
    • Flutter plugin version 29.0.2
    • Dart plugin version 181.5540.11
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[√] IntelliJ IDEA Community Edition (version 2018.2)
    • IntelliJ at D:\IntelliJ IDEA Community Edition 2018.2.4
    • Flutter plugin version 29.1.3
    • Dart plugin version 182.4999

[√] VS Code, 64-bit edition (version 1.30.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 2.21.1

[√] Connected device (1 available)
    • ONEPLUS A3003 • 5ffff941 • android-arm64 • Android 8.0.0 (API 26)

• No issues found!

Resolved it by adding WidgetsBinding.instance.removeObserver(this); to the dispose (had forgotten it).
Maybe the error message for this can be improved?


The buildType option doesn't work yet.

In the CLI, there's supposed to be an option called buildType to change the output format to just generate a .d.ts file, however that doesn't seem to be implemented yet.
Because of this, ts-for-gir can't really replace gi.ts right now

@vixalien Unfortunately, we have not yet updated the documentation on the main branch, but hopefully this will happen soon. The option is still available in the 3.x branch. On the main branch the option has been removed, why do you need this to replace gi.ts?

We use gi.ts to generate typescript declaration files like the ones at https://gitlab.gnome.org/BrainBlasted/gi-typescript-definitions.
These files are included as submodules in apps where we can't use npm to install the types like Decibels and GNOME Sound Recorder.
I thought gi.js was being replaced by this so I thought this feature would be too much to miss.

@vixalien I have removed the option because it is should not absolutely necessary and this simplifies the maintenance effort. You can still generate the types, with the difference that a separate folder is created for each generated type and a *.js and package.json are generated in addition to the *.d.ts (and other files like ambient imports etc).
However, the package.json is practical because it makes it easier to import the types, as typescript can then resolve this more easily. The tsconfig.json contains the path to the folder, e.g. like this:
{
  "compilerOptions": {
    "baseUrl": "../gi-typescript-definitions",
    "types’": ["gjs", "gio-2.0"],
    "module": "ESNext",
    "moduleResolution": "bundler"
  }
}

Alternatively you can use a package manager like npm, pnpm or yarn and add the folder gi-typescript-definitions to the workspace, this way the self-generated NPM packages should also be recognised.
Then TypeScript should know the types for the imports like this:
import GLib from ‘gi://GLib?version=2.0’;

So no bundler is necessary to use the types in this way. However, a bundler can also be used if, for example, one is used anyway, in which case the types could also be imported in this way:
import GLib from<EMAIL_ADDRESS>
The .js behind this package is then imported by the module itself via  import GLib from ‘gi://GLib?version=2.0’; which should then be resolved by the bundler. So there should be several ways to use the self-generated types anyway. Or do you have such a special setup that this is not possible for you? Then please explain this to me in more detail, we are of course very interested in everyone being able to use the types.

GJS doesn't use package.json, so it is unused in our use-case

For this you need to add the path of your generated types (e.g. gi-typescript-definitions) and the types to the tsconfig.json like this:

This already worked with gi-typescript-definitions with the generated gi.d.ts file. This file serves as an index for all the packages. The gi.d.ts file was 9generated by applying this pending MR](https://gitlab.gnome.org/ewlsh/gi.ts/-/merge_requests/1)

The .js behind this package is then importing the real GJS module via import GLib from 'gi://GLib?version=2.0'; which should then be resolved by your bundler. This has the advantage that you do not have to add and maintain the types to tsconfig.json in this way.

When using GJS directly, there is no need for any .js file because GJS will resolve the GI imports directly.
All in all, the package.json and .js files tell me this is made for compatibility with node.js (presumably node-gtk). It also says in the README that support has been dropped for node-gtk, but we still have those files.
I strongly suspect that not generating these files (or at least adding an option not to) will ease the development process.
I have an example of an app where I use gi-typescript-definitions with a bundler (in this case, esbuild), and I told esbuild just not to resolve the gi://* files like this:
  external: ["gi://*", "format", "gettext"],

https://github.com/vixalien/muzika/blob/6c19937b127e7e968bccb03ca345e08bddf12085/lib/build.js#L25C1-L25C45
If you are using another bundler and the @girs/glib-2.0 import syntax, you can write a simple plugin for your bundler that would rewrite that import to gi://GLib-2.0.
I would also like to know if any apps import the types using the  @girs/glib-2.0  from node

@vixalien Thanks for the feedback, I have a few more questions about your use case: Do you write your sources in TypeScript? And if so, how do you transpile the sources to JavaScript? Do you use tsc  for this? If so, how did you make it available on your system? I know that GJS does not support package.json. In the two suggestions I tried to explain, the package.json is not used at runtime but only in the previous process.

I have now created a working example that shows how to generate the types themselves to create a simple GJS application with tsc: https://github.com/gjsify/ts-for-gir-local-tsc-example

And here an almost identical example, but uses esbuild instead of tsc to build the TypeScript code: https://github.com/gjsify/ts-for-gir-local-esbuild-example

You can find more examples in the ts-for-gir repository, including some that use Vite and Webpack as bundlers. The examples in the ts-for-gir repository all use yarn instead of npm, but just like the examples I have created for you, they use the workspace feature to make the locally created types known to the development environment. All these examples use GJS in the last step.

@vixalien Did my instructions help you or do you think it would be better to read support without package.json?

Hello. I didn't take much time to examine the situation so forgive me if my responses are a bit shallow, but it seems the issue is that the new direction of the project is trying to work with other JS runtimes (Node, Bun, Deno, etc...) while kind of forgetting GJS. I say this because of the addition of package.json and moving to support registries npm/jsr which are not compatible with GJS.
With the current approach, ts-for-gir doesn't work with GJS, so we are still using outdated gi.ts. It would be nice to atleast have the old behavior of gi.ts and then maybe improve it from down the road.

As far as I know, the GNOME Bundler is also working on TypeScript support.

It's Workbench that's working on TypeScript support, and that actually requires projects like gi.ts and ts-for-gi, not the other way around.

By the way: For the future I plan to support JSR which is a TypeScript runtime independent package registry

Just so you know, this brings absolutely nothing to the table for GJS. GJS doesn't support package registries at all. Unless some work is done, jsr/node/cloudinary will almost mean nothing to GJS (unless you use BOTH Node and GJS, but that's another topic).

What I could also add would be support for a declaration file that contains all generated types, so that only one entry in tsconfig.json is necessary, if that would still help.

Yes. The package.json and all the additional files are really unused for GJS-based typescript solutions. All that's needed is that declaration file that links all generated types, like gi.d.ts. GJS can't do import Gtk from<EMAIL_ADDRESS>

@vixalien Okay then I will try to implement it again to be independent of a package.json and a bundler. But I can't say just yet how quickly this will happen

Seems like recent changes made this possible (kinda). I have one question:
In the generated files, say gtk-4.0.d.ts, there seem to be an import of ./gtk-4.0-import.d.ts which in turn imports ./gtk-4.0.js leading to a circular import. Is this behaviour correct?

This was not a conscious decision, but does not cause any problems as far as I know, if you think it can be cleaner I am happy about suggestions :)

Seems like I was still using v3 locally. The types generated are in the following format:

With v4, each file generate a single folder, even with buildType set to lib.

As you can probably acknowledge, all of these files are useless for us except the gtk-4.0.d.ts and maybe gtk-4.0-ambient.d.ts

Yes :)
I'm having issues understanding the buildType option :( at first I thought it might be closest to what GJS does.
I hope when the all.d.ts file is generated (probably when buildType is set to types) the other files (README, tsconfig.json, typedoc.json, ... won't be generated as well.

@vixalien Is now implemented with the latest version and is the default. package.json support must now be explicitly activated with --package. Please try it out :)

Hey! Thanks very much for working on this!! I'll be trying it out soon 👀


Question relating to ssh errors

Hi,
I've been following the guide https://github.com/coreos/matchbox/tree/master/examples/terraform/bootkube-install on a local lab environment. After some struggles getting everything up and running, I noticed terraform isn't doing much, and started debugging which resulted in this (partial) log.
module.cluster.null_resource.copy-secrets.2: Still creating... (8m0s elapsed)
module.cluster.null_resource.copy-secrets.0: Still creating... (8m0s elapsed)
module.cluster.null_resource.copy-secrets.1: Still creating... (8m0s elapsed)
2017-10-06T22:50:02.294+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:02 connecting to TCP connection for SSH
2017-10-06T22:50:02.295+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:02 handshaking with SSH
2017-10-06T22:50:02.334+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:02 handshake error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2017-10-06T22:50:02.334+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:02 Retryable error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2017-10-06T22:50:03.359+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:03 connecting to TCP connection for SSH
2017-10-06T22:50:03.360+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:03 handshaking with SSH
2017-10-06T22:50:03.398+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:03 handshake error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2017-10-06T22:50:03.398+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:03 Retryable error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2017-10-06T22:50:05.334+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:05 connecting to TCP connection for SSH
2017-10-06T22:50:05.335+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:05 handshaking with SSH
2017-10-06T22:50:05.374+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:05 handshake error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2017-10-06T22:50:05.374+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:05 Retryable error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2017-10-06T22:50:06.398+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:06 connecting to TCP connection for SSH
2017-10-06T22:50:06.399+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:06 handshaking with SSH
2017-10-06T22:50:06.437+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:06 handshake error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2017-10-06T22:50:06.437+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:06 Retryable error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2017-10-06T22:50:08.374+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:08 connecting to TCP connection for SSH
2017-10-06T22:50:08.375+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:08 handshaking with SSH
2017-10-06T22:50:08.413+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:08 handshake error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2017-10-06T22:50:08.413+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:08 Retryable error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2017-10-06T22:50:09.437+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:09 connecting to TCP connection for SSH
2017-10-06T22:50:09.438+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:09 handshaking with SSH
2017-10-06T22:50:09.477+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:09 handshake error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2017-10-06T22:50:09.477+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:09 Retryable error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2017-10-06T22:50:10.683+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:10 connection error: dial tcp <IP_ADDRESS>:22: i/o timeout
2017-10-06T22:50:10.684+0200 [DEBUG] plugin.terraform: file-provisioner (internal) 2017/10/06 22:50:10 Retryable error: dial tcp <IP_ADDRESS>:22: i/o timeout

I can log in in these machines from the host with the public key provided, so I'm not sure what I might possibly be doing wrong, and I could use your help.
terraforms.tfvars
matchbox_http_endpoint = "http://<IP_ADDRESS>:8080"
matchbox_rpc_endpoint = "<IP_ADDRESS>:8081"
ssh_authorized_key = "ssh-rsa <KEY>"

cluster_name = "lab"
container_linux_version = "1465.7.0"
container_linux_channel = "stable"

# Machines
controller_names = ["node01"]
controller_macs = ["00:26:B9:76:B9:30"]
controller_domains = ["node01.xxx"]
worker_names = ["node02", "node03"]
worker_macs = ["00:26:B9:76:B5:99", "00:26:B9:76:B5:A8"]
worker_domains = ["node02.xxx", "node03.xxx"]

# Bootkube
k8s_domain_name = "cluster.xxx"
asset_dir = "assets"

# Optional (defaults)
cached_install = "true"
install_disk = "/dev/sda"
# container_linux_oem = ""
# networking = "flannel"

matchbox.log
INFO[3079] HTTP GET /boot.ipxe
INFO[3079] HTTP GET /ipxe?uuid=4c4c4544-0048-3010-804c-b7c04f4c344a&mac=00-26-b9-76-b9-30&domain=&hostname=&serial=xxx
INFO[3079] HTTP GET /assets/coreos/1465.7.0/coreos_production_pxe.vmlinuz
INFO[3080] HTTP GET /assets/coreos/1465.7.0/coreos_production_pxe_image.cpio.gz
INFO[3080] HTTP GET /boot.ipxe
INFO[3080] HTTP GET /ipxe?uuid=4c4c4544-004b-3010-804c-b3c04f4c344a&mac=00-26-b9-76-b5-a8&domain=&hostname=&serial=xxx
INFO[3080] HTTP GET /assets/coreos/1465.7.0/coreos_production_pxe.vmlinuz
INFO[3081] HTTP GET /boot.ipxe
INFO[3081] HTTP GET /ipxe?uuid=4c4c4544-004a-3010-804c-c6c04f4c344a&mac=00-26-b9-76-b5-99&domain=&hostname=&serial=xxx
INFO[3081] HTTP GET /assets/coreos/1465.7.0/coreos_production_pxe.vmlinuz
INFO[3081] HTTP GET /assets/coreos/1465.7.0/coreos_production_pxe_image.cpio.gz
INFO[3081] HTTP GET /assets/coreos/1465.7.0/coreos_production_pxe_image.cpio.gz
INFO[3124] HTTP GET /ignition?uuid=4c4c4544-0048-3010-804c-b7c04f4c344a&mac=00-26-b9-76-b9-30
INFO[3127] HTTP GET /ignition?uuid=4c4c4544-004b-3010-804c-b3c04f4c344a&mac=00-26-b9-76-b5-a8
INFO[3131] HTTP GET /ignition?uuid=4c4c4544-004a-3010-804c-c6c04f4c344a&mac=00-26-b9-76-b5-99
INFO[3178] HTTP GET /ignition?uuid=4c4c4544-0048-3010-804c-b7c04f4c344a&mac=00-26-b9-76-b9-30&os=installed
INFO[3178] HTTP HEAD /assets/coreos/1465.7.0/coreos_production_image.bin.bz2
INFO[3178] HTTP HEAD /assets/coreos/1465.7.0/coreos_production_image.bin.bz2.sig
INFO[3179] HTTP GET /assets/coreos/1465.7.0/coreos_production_image.bin.bz2.sig
INFO[3179] HTTP GET /assets/coreos/1465.7.0/coreos_production_image.bin.bz2
INFO[3182] HTTP GET /ignition?uuid=4c4c4544-004b-3010-804c-b3c04f4c344a&mac=00-26-b9-76-b5-a8&os=installed
INFO[3182] HTTP HEAD /assets/coreos/1465.7.0/coreos_production_image.bin.bz2
INFO[3182] HTTP HEAD /assets/coreos/1465.7.0/coreos_production_image.bin.bz2.sig
INFO[3184] HTTP GET /assets/coreos/1465.7.0/coreos_production_image.bin.bz2.sig
INFO[3184] HTTP GET /assets/coreos/1465.7.0/coreos_production_image.bin.bz2
INFO[3185] HTTP GET /ignition?uuid=4c4c4544-004a-3010-804c-c6c04f4c344a&mac=00-26-b9-76-b5-99&os=installed
INFO[3185] HTTP HEAD /assets/coreos/1465.7.0/coreos_production_image.bin.bz2
INFO[3185] HTTP HEAD /assets/coreos/1465.7.0/coreos_production_image.bin.bz2.sig
INFO[3186] HTTP GET /assets/coreos/1465.7.0/coreos_production_image.bin.bz2.sig
INFO[3187] HTTP GET /assets/coreos/1465.7.0/coreos_production_image.bin.bz2

Thanks in advance!

<IP_ADDRESS> is not a typo :)

Is your key loaded in ssh-agent? Terraform uses it to effectively scp the assets on the box. If you're stuck at the SSH step, that's the first thing to check.

That was definitely the problem moving forward :+1:  silly me! Thanks :)


Overhaul

Some remaining todos after this:

implement parameter change handling and curl command rendering
decide on method that uses content to create predictable, unique, and url-safe anchors to the method level (a GET on /projects/{uuid}/scenes should be distinguishable from a GET on /projects)
link sidebar items to their respective method/section (depends on the previous item)
detect method/section scroll into view, set respective link in sidebar to active, and expand parent section
decide on how to handle method summaries/descriptions (they're a bit long now, could add a vendor extension to handle the longer version)
Handle url and body parameters separately
json highlighting and text areas for body parameters
Handle parameters with a $ref type
Possibly use something like the perfect scrollbar library

You still have the default angular favicon

Maybe we could use https://www.npmjs.com/package/angular2-markdown instead of levels as a proxy?

Was it a conscious decision to use 2-space tabs? We use 4 in every other js-related project.

I think 2-space tabs is the default in ng-cli. I'm all for changing that, as long as we can have our generators do that...I'll look into it!

This makes me sad https://github.com/angular/angular-cli/issues/1252
Basically, ng-cli will only generate files with 2 space indents, so we'll need to manually re-indent.

ew


Android2.3

Hello, thank you very much busy schedule to answer questions！
I want to use it in my project, but requires a minimum is API8, is there any way you can let me run on android 2.3?

Hey @merhong2012, the library was designed to work for 4.0+ only, and I don't have time to audit the code and make sure everything works correctly for Gingerbread. I'm not opposed to supporting before 4.0, so if someone wants to do the work and open a pull request, it would be appreciated.


[EnhancementT Styling] : New Footer UI

Description
Improvement of Footer Section
Actual Behavior
Its too simple and not properly styled
Expected Behavior
It can be more professional and well placed
Expected (highlight the part that requires changes):
(screenshot)
full footer

@srinjoy29 i have to achieve this footer style
https://www.figma.com/design/eZiyFxl7zkLx9hE0Uz10zb/MediHub?node-id=0-1&t=wtd2LNGPlXQ5Orep-1
want to work on this issue?

@itsmohit097 just saw your footer design that is simple and pretty good ,
if srinjoy is not available can you assign me this issue i can develop this footer .
it would be great opportunity if you will give me chance to make this footer

@ayushpatel1248 ok wait till tomorrow

@itsmohit097  can you assign it to me now

@ayushpatel1248 assigned to u now


Will not use line spacing whatsoever

I have used all of the traditional markdown ways of line spacing for Parsedown. None of them work. I think this is a bug, or Parsedown needs to be updated to support this
As you can see here, spacing works on GitHub

Elaborate, please.

Closing since the author's account appears to have disappeared – I guess they won't be replying...


Starboard scan for more severitys

Upgrade trivy and starboard helm chart

I decided against adding lower severity errors. It's a risk that it will create to much data and etcd will say request is to large: https://github.com/aquasecurity/starboard/issues/899
Also if you fix the rest of your CVE:s you most likely fix the majority of the lower once as well.
And even if you don't, they are lower for a reason.
If someone want to have lower in the report in the future we can add it as a variable.


Added Azure auth and minor typo/link fixes

This change is

I am ok with my commits being contributed.

I am also okay with my commits being contributed.

/ok-to-test

/assign

Preview:
https://deploy-preview-787--competent-brattain-de2d6d.netlify.com/docs/azure/authentication/

Thanks for this contribution @rem20806!  A couple of hints to make things easier for reviews:

Add the link(s) to the Netlify preview, pointing directly to the page(s) that you've modified.
Update the PR name to describe its scope better.

/ok-to-test

@sarahmaddox I made the requested changes and added a link describing the editor options for kubectl edit function. Please let me know if you see any other issues. Also, where do I find the link for the preview for next time?

https://deploy-preview-787--competent-brattain-de2d6d.netlify.com/

Thanks for the updates and for the CLA confirmations!
/lgtm
/approve


fix: add ability to define server url at build time

Description
This PR makes it possible to point the client app to a given server url (specified at build time)
Examples of how this works with our current npm scripts
REACT_APP_SERVER_URL=https://some-domain.com/graphql yarn start

or
REACT_APP_SERVER_URL=https://some-domain.com/graphql yarn build

There's a little bit of cleverness there to set the websocket url based on the http url provided also. This is a pretty canonical way to do this in react applications over static config files that are being checked into the repo. See https://create-react-app.dev/docs/adding-custom-environment-variables/

Checklist

[ ] npm test passes
[ ] npm run build works
[ ] tests are included
[ ] documentation is changed or added

Added small change as it will not work for http


AC temp only updates when device power is active

HA core version
2023.9.2
Intergration version
v0.3.21
Device type and model
Air Conditioner 00000Q1A / Air Conditioner 00000Q13
Used App
Carrier Air Conditioner
The description of problem
Hey there,
this is more a question than a bug report - because even with the official "Carrier Air Conditioner" android app, this doesn't seem to work.
TLDR: Temperature sensors of the AC devices only update their values if device power switches to active/on. Is there any endpoint which I can trigger with Home-Assistant, curl, wget, you name it - to force an update of those values without turning the device on and off again?
The logs
No response

The description of problem
Hey there,
this is more a question than a bug report - because even with the official "Carrier Air Conditioner" android app, this doesn't seem to work.
TLDR: Temperature sensors of the AC devices only update their values if device power switches to active/on. Is there any endpoint which I can trigger with Home-Assistant, curl, wget, you name it - to force an update of those values without turning the device on and off again?

In fact, these values can also be updated when the device power is off, but they will display as invalid values like ‘FF’, which I have filtered out.
Moreover, different devices are not the same in terms of temperature updates, some devices always provide valid values, while others only provide valid values when the power is on. Unfortunately, your device is like mine, it can only provide valid values when the power is on.

Sad - but thank you to take your time to answer this question!
I will close this one.


refactor: Improve kind-cluster-with* scripts

Replace three scripts into one
Add kind cluster configurations in separate files
Enable registry by script parameter

Fixes #134

Also, the file must have the executable bit:
/home/runner/work/_temp/57c09a5e-0aec-419c-bfd5-968945bef91b.sh: line 1: ./hack/kind-cluster.sh: Permission denied

superseeded by https://github.com/metallb/metallb-operator/pull/424


Dash Incompatibility

Describe the bug
when importing Dash the app fails to run. No issues in dev environment though
To Reproduce
import dash and create/build/run briefcase
app fails to run
Environment:

Operating System: Windows 10
Python version: 3.8.7
Software versions:

Briefcase: 0.3.4

Thanks for the report. I think the issue is related to the binary dependency on Brotli; I'll need to investigate further.

Thanks for the report. I think the issue is related to the binary dependency on Brotli; I'll need to investigate further.

Closing as I believe this has now been addressed.


Can't generate symbols (onprem:se/13.3.27233.0|13.3.27233.0)

I have now tried to generate symbols to several onprem SE containers:
mcr.microsoft.com/businesscentral/onprem:se
mcr.microsoft.com/businesscentral/onprem:13.2.26556.0-se
mcr.microsoft.com/businesscentral/onprem:13.3.27233.0-se-ltsc2016
When I do it with the sandboxes it works.
microsoft/bcsandbox:se
microsoft/bcsandbox:13.2.26556.0-se
It also works with:
mcr.microsoft.com/businesscentral/onprem
All the containers have been generated in the same way:
new-navcontainer `
           -accept_eula `
           -containername $ContainerName `
           -imageName $ImageName `
           -includecside `
           -licenseFile $LicenseFile `
           -Credential $Credential `
           -auth NavUserPassword `
           -verbose `
           -enableSymbolLoading

#Import CSIDE
        Import-ObjectsToNavContainer `
            -objectsFile "$FullFilePath" `
            -containerName $containername `
            -sqlCredential $SQLcredential

    Compile-ObjectsInNavContainer `
        -containername $containername `
        -sqlCredential $sqlcredential

    Generate-SymbolsInNavContainer -containerName $containername

After that I go to the app folder, delete the apps in the .alpackages folder, then download symbols.
The CSIDE objects don't get included in the downloaded symbols. I have verified via "AL Code outline" extension to VS Code.

If you have -enableSymbolLoading, then Compile-ObjectsInNavContainer should generate symbols and the Generate-Symbols should not be needed - but it shouldn't harm.
I have tried to repro using your code - and your images - using this (very simple CSIDE codeunit): https://www.dropbox.com/s/616diqx1w7pg2d6/cod50100.txt?dl=1
In VS Code, I have modified the hello world trigger to
    trigger OnOpenPage();
    var
        c: Codeunit freddy;
    begin
        Message('App published: Hello world' + FORMAT(c.Test(5, 6)));
    end;

I don't use AL Code Outline - I simply download symbols in VS Code and build the project.
Seems to work just fine.
I am using ltsc2019 containers - but that shouldn't cause any difference...
Could you verify that this works with this very simple codeunit for you - then we can try to figure out what makes it fail? (something in the objects maybe - or object ids?)

Well if you haven't updated the images this becomes embarrasing...
Because now I can't reproduce the error either. It works like a charm.

For the record, I tried to download the symbols and build the project, AL Code outline was more a verification to see that the objects weren't included in the symbols.

Now I have managed to find out what went wrong. It was a mix between the app version number and downloading the symbols.
If I set the app version to <IP_ADDRESS> it will download the symbols that contains my CSIDE objekts with
http://ContainerName:7049/NAV/dev/packages?publisher=Microsoft&appName=Application&versionText=<IP_ADDRESS>_
which gives me the file Microsoft_Application113.0.27183.01.app
But if I set the app version to the same as the  applicatoin version (13.3.27233.0), I get a different resultat.
The url
http://ContainerName:7049/NAV/dev/packages?publisher=Microsoft&appName=Application&versionText=13.3.27233.0_
gives me the file Microsoft_Application13.3.27233.0.app
If I compare this two one contains my partner cside objects (App version <IP_ADDRESS>, symbolfile Microsoft_Application_13.0.27183.0.app) but the other one doesn´t.
The size of the file differs between 2-3 MB
The weird thing is that both symbol files contains the test toolkit which was imported as cside.
The reason to I found this was that I tried to use the powershell function Compile-AppInNAVContainer. After a while I noticed that it downloads different symbols then if I have tried to build the package from VS Code (CTRL+F5). In that function it looks at what apps are installed and then download each of them as symbols. The app Microsoft_Application_113.0.27183.0 doesn't even exist in the list given from Get-NavAppInfo.
$publishedApps = Invoke-ScriptInNavContainer -containerName $containerName -ScriptBlock { Param($tenant)
Get-NavAppInfo -ServerInstance NAV -tenant $tenant
Get-NavAppInfo -ServerInstance NAV -symbolsOnly
} -ArgumentList $tenant

I have fixed this in NavContainerHelper by removeing the Application and the Test symbols if you are running hybrid (enableSymbolLoading).
Furthermore - I have filed a bug on the team responsible for the application version number in the database to get fixed - and I will write up a blog post on how to work with Symbols.


Fix PropTypes field typo

PropTypes.function is undefined, the field is called PropTypes.func: https://www.npmjs.com/package/prop-types .

Thanks!


Added interupted download support

This adds support for "createInterruptedDownload".

Checks if file exists in the path it will download to
If file exists, it will compare the disk filesize to server
If the file size is E.G 10MB / 20MB it will continue the download where it left off

I haven't tested this branch, feel free to review /  test / make changes yourself if you would like to merge.

Closed as I found some bugs.

Now tested good to go.

Awesome - do you know when it will be available via NPM?

it is already published on NPM, by the way, can you update the readme.md to document this feature so people who downloads it knows how it works? thanks!


Add constant variable

The idea it's reuse the constant variable in all the applications.

"["
"]"
":"
","

Coverage remained the same at 90.137% when pulling 9d89cf7b5c8db20a7db95c90250cb3e5ac940250 on arturobernalg:feature/constant into fdd78dc3e532ea8f60cbdce36dae0238362b5fef on apache:master.

Looks good to me. Following the pattern of the exiting CollectionUtils.INDEX_NOT_FOUND. 👍

Thank you @kinow

Hi @kinow
should i change something?

Hi @kinow
should i change something?

Hi @arturobernalg sorry, I left it open to give time to others to review it, but also because I was going to create a JIRA. Even though it's a small change, I think it's OK to document it in the changelog (and add a thanks for your contribution there :-)
Could you create the JIRA? I'll take care of the rest and merge it :+1:
Bruno

Hi @kinow
Jira created COLLECTIONS-785

That was quick! I couldn't even finish my coffee :coffee: . Thanks @arturobernalg , let me update the JIRA/changes.xml and merge it.

That was quick! I couldn't even finish my coffee ☕ . Thanks @arturobernalg , let me update the JIRA/changes.xml and merge it.

hahaha , take your time,
TY

Added changes.xml entry, updated JIRA fixVersion/releaseVersion and resolved it. Thanks @arturobernalg ! :+1:


If i run it, it says its a Virus

I have the problem that if i run Funkin.exe it tells me its a virus. Usually, it just runs the game, but now it thinks its a virus. Got the page hacked or anything? I dont wanna run because im a bit scared

I hope you're kidding. It's not a virus, it just doesn't have a valid signature, so it thinks it's a virus.

no


[WIP] Add Ruby 3.0 support

Tasks:

[ ] Add Ruby 3.0 support for CircleCI
[ ] Fix gemspec at:

https://github.com/jgarber623/link-header-parser-ruby/blob/df696072b6f49b8c05d1e5b3be0babb437ef6356/link-header-parser.gemspec#L3-L4

I cannot trigger the CI from this PR apparently.

@thbar Thanks for the pull request and apologies for the trouble triggering CI. I've updated the configuration there, so hopefully in the future, PRs from forks will build appropriately.
I've released v2.2.0 which includes support for Ruby 3. Thanks for the PR getting that started! Let me know how the new version works out for you.

Closed by release of v2.2.0.


Upgraded dependencies versions to fix CVEs

Checklist

[X] The title of the PR is clear and informative
[X] If applicable, the changes made in the PR have proper test coverage
[X] Issues addressed by the PR are mentioned in the description followed by Fixes.

Description

Fixes

This would require an E2E run.


Add two methods of logging in w/ Coinbase API

Create methods to allow credentials to be passed in via:

config file (.json, .csv (possibly?))
STDIN

Implemented client creation with .json config. Foregoing .csv config.

Both methods successfully implemented + debugged


Support "tuples" and "lists" from SSZ Spec v0.5.1

@atoulme and/or @cleishm, if you wouldn't mind giving a little thought to the below proposal, I'd be most appreciative. I've spent a little bit mulling this over and plan to take a first stab at a PR shortly, but in the meantime an extra set of eyes doesn't hurt.
Description
The SSZ spec was rewritten as part of the eth2-specs v0.5.1 release to include both fixed-length and variable-length arrays/lists. Following the python notation used in the eth2-specs, and for the sake of clarity, fixed-length arrays/lists will be referred to as "tuples" and variable-length array/lists will be referred to as "lists".
(Not so) Quick Background

Firstly, the SSZ spec has a limited number of base types:

uintN (where N is in 8, 16, 32, 64, 128, or 256)
a N bit unsigned integer
bool
A Boolean (True or False)
byte == uint8
byte is an alias for uint8

Composite types from these include:

tuple, represented as [type, N]
a fixed-length homogenous collection of N values
list, represented as [type]
a variable-length homogenous collection of values

Some derived values, therefore are:

bytes == ["byte"]
A variable-length collection of byte types (uint8 types by extension)
bytesN == ["byte", N]
A fixed-length collection of byte types with N length

The implications of the above are that "list" requires a length mixin, where as a "tuple" does not.
Proposed Changes

When Java bytes are serialized (i.e. when recursively serializing a Cava Bytes type), they should be serialized as a uint8.
A Cava Bytes type of length 1 should be serialized as a uint8. [still undecided on this one]
A Cava Bytes type of length >1 should be treated and serialized as a "list".
All fixed length Cava BytesN types (i.e. Bytes32) should be treated and serialized as a "tuple".
Support will be added for serializing Bytes... (varags list) as either a "list" or a "tuple"

The proposed method of achieving this is overloading the relevant functions with an additional length parameter.

Support will be added for serializing List<? extends Bytes> as either a "list" or a "tuple".

The proposed method of achieving this is overloading the relevant functions with an additional length parameter.

Additional Information
See https://github.com/ethereum/eth2.0-specs/blob/v0.5.1/specs/simple-serialize.md.

I must admit, I don't quite get this. UInt8 types are serialized as a single byte already. Large integers are serialized as little-endian byte arrays. Because SSZ contains no type information, you have to know what was serialized when you deserialize later.
A Bytes value has a variable length, so it is always serialized with a length prefix.

When Java bytes are serialized (i.e. when recursively serializing a Cava Bytes type), they should be serialized as a uint8.

When serializing a Bytes type, each byte of the array will appear as a single byte in the serialized output - which is the same as a uint8.

A Cava Bytes type of length 1 should be serialized as a uint8. [still undecided on this one]

I'd argue no on this, because it would make it impossible to use the SSZ API to create a serialization of a list of one byte.

A Cava Bytes type of length >1 should be treated and serialized as a "list".

This is the current behavior.

All fixed length Cava BytesN types (i.e. Bytes32) should be treated and serialized as a "tuple".

As above, I'd argue no on this.

Support will be added for serializing Bytes... (varags list) as either a "list" or a "tuple"
Support will be added for serializing List<? extends Bytes> as either a "list" or a "tuple".

The Cava SSZ API doesn't have methods for encoding/decoding sequences of known length. I agree these could be added. E.g. Bytes SSZ.encodeByteTyple(int length, Bytes value), Bytes SSZ.decodeByteTuple(Bytes source, int length).

Thanks for thinking through this one Chris. I made it down into the Cava SSZ weeds, and see most of what you're talking about. I'll concede that implicitly serializing things with/without the length mixin based on their type name might not be the best idea. I'll continue down the path of adding explicit API methods for fixed-length lists/tuples.


Not able to expand dirs and files starting with ~

On neovim, with most recent plugin commit, I cannot expand directories starting with the character ~, and file names can be opened but neovim throws the following error in console first.
E79: Cannot expand wildcards

This can be reproduced by the following structure.
.
├── ~not-found
├── ~test-dir
│   └── not-found
├── test-dir
│   └── found
└── test-file.md

Neovim version:
NVIM v0.8.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by nixbld

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "
/nix/store/q5d6krrh9abkrsbs20k4g0x3k646cgfx-neovim-unwrapped-0.8.1/share/nvim
"

@Arteneko What is your OS and filesystem? I've tried this with both Windows and Linux but only with NTFS filesystem (WSL) and this never happened, I'm not sure of any limitations like this exists on ext4 either.

I'm going to close this issue since It's not reproducible and the author of the issue hasn't replied to the request for more information in a while.
Feel free to reopen this issue if you are still experiencing the same issue.


Caching

Pure functions can use caching to reduce computational load. In our case, we
have an expensive automaton that we generally expect to be a pure function -
the viewer.  We probably don't need aggressive memoization, which has memory
costs, but a simple cache could cut out unnecessary computations, especially
during the stable app states.
I expect a cache of such a pure function to be of the form -
caching : (input -> key) -> (input -> output) -> Automaton input output
caching keyFn fn =
    let automaton =
            Automaton.hiddenState Nothing updater
        updater input store =
            cachingFn (keyFn input) fn input store
        cachingFn key fn input store =
            case store of
                Just (key', output') ->
                    if key == key' then
                        (output', store)
                    else
                        cachingFn key fn input Nothing
                Nothing ->
                    let output = fn input
                    in (output, Just (newKey, output))
    in
        automaton

What we're doing here is replacing the cost of computing fn with a lower cost function keyFn. An alternative would be to use a comparator and store the actual input value instead of the computed key.
Even though the viewer is generally expected to be a pure function, it is worth thinking of it as a process (i.e. automaton) so that we can cache some computations.

Related - Lazy.


[minor] Switch from pympipool to executorlib

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

0 of 0   changed or added relevant lines in 0 files are covered.
10 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 92.396%

Files with Coverage Reduction
New Missed Lines
%

create.py
10
92.16%

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
3208

Relevant Lines:
3472

💛  - Coveralls

This changes the default executor class, so it is not a patch change -> minor

Draft because I think I'd like to merge the stack top-to-bottom here, so main gets the desired state in a single go.


Port Issue: minetest not open with new version

Device Type

[ ] RG351P/M
[ ] RG351V
[ ] RG351MP
[ ] RG353M/V/P
[ ] RG503
[ ] RG552
[ ] RGB10
[ ] RGB30
[ ] RK2023
[Yes ] X55
[ ] Other device (device name here)
[ ] All of the above

Firmware

[ ] ArkOS
[ ] ArkOS Wummle
[ ] AmberELEC
[ ] JelOS
[ Yes] RockNix
[ ] uOS
[ ] RetroOZ
[ ] TheRA

Port: {Port Name} mine test
Description
 new version Don't start
Reproduction Steps

Same here.
Trimui Smart Pro
+CrossMix, based on OpenWRT.
Minetest Log: ./bin/minetest: /usr/lib64/libcurl.so.4: no version information available (required by ./bin/minetest) Running in UINPUT output mode. ./bin/minetest: symbol lookup error: ./bin/minetest: undefined symbol: curl_multi_poll, version CURL_OPENSSL_4 /mnt/SDCARD/Emus/PORTS/../../Roms/PORTS/Minetest.sh: line 73: systemctl: not found


Support role based permission management

Decouple User management and Permission management is terribly necessary for large enterprise. Role based permission management saves django admins from assign permissions for every employee, and let other staffs, such as team leaders to define roles and assign members to and move members between different roles. Django admins will only focus on permission management for roles.
This commit supplies an app that manage UserRole and a backend as AUTH_BACKEND.

Thanks for submitting this idea, but I don't see a need to include it in Django itself. It could easily live as a third-party app for easier maintenance.
If you think there's a problem with that suggestion, decisions for non-trivial features like this are usually made on the django-developers mailling list.


User Payload for YGNode

Because Yoga only handles the layout, which is great, it somehow needs to be integrated into a broader application context. Within a scene drawing function, it's enough to traverse the Yoga tree.
However, sometimes it's necessary to get from a YGNode(Ref) to the application context, let's say a struct. Here it would help a lot if I could store a user-pointer with a YGNode, which I can use to access application specific things from a YGNode.

@Robert-M-Muench depending on the language binding you use, you have a possibility store youre context. In the native C API, you can use getContext and setContext to access and store an arbitrary data pointer.


ParameterState: Improve hot swappable IEqualityComparer system

Description
Solves problem described here: https://github.com/MudBlazor/MudBlazor/pull/8661#issuecomment-2061052057
Adds new overload:
RegisterParameterBuilder<T> WithComparer<TFrom>(Func<IEqualityComparer<TFrom>> comparerFromFunc, Func<IEqualityComparer<TFrom>, IEqualityComparer<T>> comparerToFunc, [CallerArgumentExpression(nameof(comparerFromFunc))] string? comparerParameterName = null)

Example usage:
.WithComparer(() => Comparer, x => new CollectionComparer<T>(x));

How Has This Been Tested?
New unit test.
Type of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (fix or improvement to the website or code docs)

Checklist

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

Ohh, very nice.


clusterCountLayer transition lags behind clusterLayer on cluster click

Description
When a cluster is clicked, the clusterCountLayer seems to lag behind the clusterLayer a little, resulting in the text transition being delayed. I notice this occurs in the cluster demo as well.
Adjusting the viewport transitionDuration doesn't seem to help – I think something may be off about the individual layer transition durations or order in which they occur in. It would be nice if these layers transitioned simultaneously so the cluster count is not delayed.

Repro Steps

Click on cluster
See text in clusterCountLayer lag behind clusterLayer transition

Environment

Library Version: react-map-gl 6.1.14
React Version: 17.0.2
Browser Version: Chrome 96.0.4664.93
OS: Mac OS 11.2.3 Big Sur

Hi @maggievcody! I know it's been more than two years from the day you posted this, but I'm having the same issue, and I am wondering if you found a solution for this? (and if you remember it)

Hi @maggievcody! I know it's been more than two years from the day you posted this, but I'm having the same issue, and I am wondering if you found a solution for this? (and if you remember it)

Sorry, I don't work with this tool anymore and don't recall finding a solution for this.

Oh bummer. Well, thank you for replying! Have a nice day

Hi @ezetaraborelli have you found a solution in the meantime?

Hi @m345054, I'm sorry, but I have not.
I needed this for an interview test, which I failed (it wasn't this issue's fault), so I didn't have the time to try to fix it myself


bug:Samsung S3 4.1.1(genymotion) with  swipe left

support library version:23.1.1
recyclerView version:23.1.1
android-advancedrecyclerview version:0.8.5
when i swipe left,the item shift left,and i swipe back,there is grey background remainning in the item paddingLeft region.Google Nexues 5.1(genymotion ) don't have this issue

can you explain something about this issue,maybe i can modify it by myself for an quick fix solution

@oceancx Sorry, I have no idea about this issue. Also I have been busy with work and have not tried to reproduce it myself.


ISPN-15769 Response time between nodes is not correctly computed

https://issues.redhat.com/browse/ISPN-15769

Thanks @pruivo


Why an empty field cannot be equal to another?

I'm testing the validators and i've this case. I allow my users have an empty passwords.

It would be much appreciated if you could read the contributing guidelines.
With the little information you are providing, it's not even clear if this is a question of a bug report.
You'll note that in either case, a working example is requested. I trust it will be much more illuminating than your two phrases.


Add InternEvo-InternLM2

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


feat: add submit app button, refactor theme accent colors

Description

Add a CTA button to the sidebar to let users know how to deploy their app and link
Refactor brand colors

Type of change

[x] New feature (non-breaking change which adds functionality)

Fixes/Resolves (Optional)
Closes https://github.com/WalletConnect/web3inbox-planning/issues/37
Examples/Screenshots (Optional)

Checklist:

[ ] I have performed a self-review of my own code
[ ] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules

New placement is better @enesozturk
Ship it :)


Route Message from IoT Device Module

Hey All,
I am trying to determine what is the best process for capturing and/or routing messages from an Azure IoT Device Module to the Azure IoT Hub.
Any help will be much appreciated.
Thanks Alot
Regards
Junior

Hi @junsaw,
The most basic way to send messages is to use the send_message method.  I would recommend starting with this quickstart: https://docs.microsoft.com/en-us/azure/iot-hub/quickstart-send-telemetry-python.
If this doesn't answer your question, could you provide more detail please?  If you don't want to post confidential information on your scenarios, we could certainly take this conversation offline.
-Bert

Hey @BertKleewein,
Thanks for the reply, I do apologize for the delay in my response, I noticed I am using the Python V1 library let me first transition to V2 and see if the problem still exists.
Will post an update in the coming days.
Regards
Junior

Hey @BertKleewein
I updated my code to use the newer version of the Azure IoT Python module (V2) and I am now able to see messages sent from a device module to my IoT Hub.  This issue is now resolved.
Thanks for the follow up once again.
Junior

@BertKleewein, @junsaw, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey


Getting HttpClient to work with Wasm

I think there's a common issue with mono wasm and HttpClient.  I get a ERROR: Operation is not supported on this platform.
Blazer was able to get it working but its not a normal HttpClient.  HttpClient doesnt work with Ooui yet either.  Is there a work around that Ive missed?

@zbigniew-gajewski   thanks, I'll check it out.

So does this mean that I should be able to copy that CreateHttp method into my ViewModel?
The WASM part is giving me an error:
The type or namespace name 'WasmHttpHandler' does not exist in the namespace 'unoDemo98.Wasm' (are you missing an assembly reference?)
I'm not getting any help with the quick actions .  Any idea what I am missing?
        private static HttpClient CreateHttp()
        {
#if __WASM__
            var handler = new Wasm.WasmHttpHandler();
			var httpClient = new HttpClient(handler);
#else
            var httpClient = new HttpClient();

#endif
            httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
            httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("text/json"));
            return httpClient;
        }

@davidlsharp1 the WasmHttpHandler is part of the Uno.UI package. Is it included in your project ?

Hi @jeromelaban.  Yes, I added the Uno.UI nuget.

@davidlsharp1 I missed the real reason. You have a namespace called wasm and it's taking precedence over Uno.UI.Wasm. Try qualifying it completely Uno.UI.Wasm.WasmHttpHandler.

@jeromelaban  Ah ok.  I'll give it a try and report back. Thanks!

Support has significantly improved, and this issue has been superseded by https://github.com/nventive/Uno/issues/161

@jeromelaban , Hi. I'd like to see if I can get my rest client library working on Platform Uno:
https://github.com/MelbourneDeveloper/RestClient.Net
It's just a wrapper for HttpClient. So I'm just wondering... Can we use HttpClient yet? Or, do we use this code mentioned in #161?
var httpMessageHandler = Type
  .GetType("System.Net.Http.HttpClient, System.Net.Http")
  .GetField(
    "GetHttpMessageHandler",
    BindingFlags.Static | BindingFlags.NonPublic
  );

httpMessageHandler.SetValue(
  null,
  (Func<HttpMessageHandler>)(() => new Uno.UI.Wasm.WasmHttpHandler())
);

I'd be happy to write a version of RestClient.Net that wraps this code so that it's easy to hit a REST service. Is this the recommended approach?

I don't think it needs to be that complicated I have
#if __WASM__
            HttpClient = new HttpClient(new WasmHttpHandler());
#else
            HttpClient = new HttpClient(new HttpClientHandler());
#endif

Which is enough for UWP and WASM.  Does that not work for ios/android?

@yowl that looks better.
@jeromelaban , how does building libraries from wasm via Uno work? Can Uno directly reference a DLL? A NuGet? Is there documentation on to do this?

I can't seem to get this to work at all.
Using the latest uno template I edit the simple mainpage with a button and label like so:
    public MainPage()
    {
        this.InitializeComponent();
        btn.Click += OnClicked;
    }

    private async void OnClicked(object sender, RoutedEventArgs e)
    {
        lbl.Text = "clicked";
        try
        {
            var wc = new System.Net.Http.HttpClient(new Uno.UI.Wasm.WasmHttpHandler());
            //var client = new System.Net.WebClient();
            var response = await wc.GetStringAsync(new Uri("http://html5rocks-cors.s3-website-us-east-1.amazonaws.com/index.html"));
            lbl.Text = response;
        }
        catch(Exception ex)
        {
            lbl.Text = ex.Message;
        }
    }

I can't get any variation (including the above) of this to work at all for wasm. Am I missing something?


Sphinx

Added Sphinx for documentation building

this new version of the documentation has the latest sphinx and the new alabaster theme.
It's possible to have sneak peek here: https://btclib2.readthedocs.io/en/latest/


Include SQL fragment replaces placeholders in attributes too

I have implemented change for https://github.com/mybatis/mybatis-3/issues/1069

should apply include on attrs only when the elem is included.

@harawata could you provide some progress information? is there something I can help with?

Hi @kmoco2am ,
I think this is a reasonable request.
As we are going to release 3.4.5 very soon, I plan to add this to 3.4.6 (I prefer testing new features/enhancements in SNAPSHOT for a while).
Thank you,
Iwao

Hi
Completely agree - let's test it a bit. Many thanks for information.
Regards
Ondra

Hi @kmoco2am ,
Sorry for a late reply.
I modified the logic a little bit. Scanning attributes is necessary only when the element is included.
Does it look OK?
(Travis is reporting errors, but it's some kind of glitch, it seems)

Hi @harawata,
It looks fine. Please go ahead. Thanks for feedback.

Merged. Thank you, @kmoco2am !

Many thanks to you too.
When is the plan to do next release?

There is no fixed plan, but we usually release new version every 3-4 months.


Compelling Tribute - Markarth - Guard for Raerek's Room Doesn't Move

He normally has a patrol route making it easier to sneak into his room.

Also additionally for Riften I don’t think Aneriul goes all the way into her room either

When completing this quest, I tell Galmar "Raerek says there's a shipment of coin traveling to Solitude..." The voice pack I'm using for Dragonborn Voice Over fails on this line because it uses alias=steward instead of Raerek (even though Raerek would be the only option since the Imperial version says Windhelm). However, it seems there's another line in the files that instead says "The steward says there's a shipment of coin traveling to the capital..." I've encouraged the voice pack maker to regenerate the line to actually say Raerek. An alternative fix would be to adjust the quest dialog itself to match the generic line that's generated ("The steward...").

Hmm, I can take a look but Compelling Tribute is not changed (as least once it starts)

I just sprint past him and hide in the room he's supposed to be guarding anyway.


Destination repository next steps

from discussion at R Validation Hub repos wg weekly standup
To move forward with additional steps to publish packages to some destination, we felt that the easiest path forward would be to build a monorepo of packages (possibly to be surfaced via R-Universe?).
There may be better solutions in the future. The goal of this initial design is to allow the pipeline to develop and explore lifecycle-management concepts, which will apply regardless of architecture.

Thinking about this a bit more, and I think this is something we could spin up without a pipeline in place.
As a demo of how this could be used, I propose that we effectively set up a clone of r-hub/repos, but we merge in the metrics produced by @AARON-CLARK in {riskscore} so the end result would look very similar to dgkf/rvalhub-repo-filters-mvp, but with all of CRAN (at least all of CRAN at the time that Aaron ran that analysis).
This is super actionable today, and we could use it to trial the user experience of using such a repository for a real-world use case. Then we could use it as a springboard for discussion around how a pipeline might make updates to the repo and how we can improve the capture of logs.

@dgkf - I think this sounds like an excellent idea. Great trade off between effort and output by leveraging some great existing work.

@dgkf I am down, let's do it. It is great that we don't have to worry about storing the packages for now.


[TEST] Improve SimpleClusterManagerTest

What changes were proposed in this pull request?

Use Awaitility.await to replace arbitrary sleep in tests.
Make heartbeatTimeoutTest more deterministic.

Why are the changes needed?
To make tests correct and fast.
And serve as an example of waiting longer for correctness without worrying about the speed.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Before

After

Codecov Report

Merging #216 (4a10b15) into master (3d4de8c) will decrease coverage by 1.23%.
The diff coverage is n/a.

:exclamation: Current head 4a10b15 differs from pull request most recent head c3dc93d. Consider uploading reports for the commit c3dc93d to get more accurate results

@@             Coverage Diff              @@
##             master     #216      +/-   ##
============================================
- Coverage     59.13%   57.90%   -1.24%
+ Complexity     1327     1248      -79
============================================
  Files           160      151       -9
  Lines          8727     8229     -498
  Branches        817      786      -31
============================================
- Hits           5161     4765     -396
+ Misses         3301     3210      -91
+ Partials        265      254      -11

Impacted Files
Coverage Δ

...storage/handler/impl/DataSkippableReadHandler.java
81.25% <0.00%> (-3.13%)
:arrow_down:

.../java/org/apache/spark/shuffle/RssSparkConfig.java

.../org/apache/spark/shuffle/writer/WriterBuffer.java

...org/apache/spark/shuffle/RssSparkShuffleUtils.java

...org/apache/spark/shuffle/writer/AddBlockEvent.java

...che/spark/shuffle/writer/BufferManagerOptions.java

...k/shuffle/writer/WrappedByteArrayOutputStream.java

...pache/spark/shuffle/writer/WriteBufferManager.java

...e/spark/shuffle/reader/RssShuffleDataIterator.java

...ava/org/apache/spark/shuffle/RssShuffleHandle.java

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Added ability to add payload to connection_init.

Needed, for example, for to pass JWT token to server.

Thanks for the contribution @BratSinot - aside from that one comment I left can you run cargo fmt on your code please?


Stream Api

Hello. Thanks for the wrappings. It's unique for python for now.
I have quite simple question, but I'm didn't use c# and windows api before and need your advice.
Instead of writing to the file I want to return audio as a stream to analyze it with python, how I can do this?

Hello @makarov-roman,
Sorry for the late reply. I didn't try this but I think you probably can use clr in your python code to add assembly CSCore.dll and use it to capture loopback and return as a stream.
https://github.com/filoe/cscore
https://pypi.org/project/pythonnet/2.2.2/


As a Team Member I want to have a Code Of Conduct to Follow best legal Practice

Acceptance Criteria:

Create Code Of Conduct
Review Policies


Tskit output

This should be a cargo option.  Given how tskit metadata works, the implementation should be either a set of functions or a class that consumes a table collection.
Provenance, too, should be an option.
This may be what pushes a redesign of the code layout into a cargo workspace.

This should be a cargo option.

Actually, we'll need this for testing, and there's currently no plan for stuff like serde-based output.  So, not optional...

Provenance, too, should be an option.

But this can be an option.

Closed via #170


suggesters: add weights for experiment suggester

INSPIR-2406

I don't think this is the right approach, here you're boosting the legacy name because you assume that's what people know, but it's very often not the case.

@michamos complains came when they were trying to auto-complete with legacy name AFAIK, that's why we decided to try this out temporarily while we we are decide what to do with suggesters in general (only prefix based suggestion problem)

OK I see :+1: but this is a symptom of a much more general problem


Multiple binaries share the same codesign path

Steps to reproduce:

Create new project
Add package dependency to your project. We are using SPM
Archive build
Try "Distribute app"
See error:

Multiple binaries share the same codesign path:
/Applications/MyApp.app/Contents/Frameworks/themis.framework/Versions/Current
Binaries:
/Applications/MyApp.app/Contents/Frameworks/themis.framework/Versions/Current/themis
/Applications/MyApp.app/Contents/Frameworks/themis.framework/themis
This can happen if your build process copies frameworks by following symlinks.

Expected behavior
Exporting should work fine
Actual behavior
We receive an error about multiple binaries sharing the same codesign path:
Environment:

Platform: macOS 12.5
Themis version: 0.14.8
Installation way: Swift Package Manager

Ah the beauty of SPM.. Always exciting challenges 😅
Thank you, @VictoriaKostyleva! Could you please help us to narrow down the issue?

Please specify Xcode version you are using?
Do I understand correctly, that you are building app for macOS, not iOS? (Or do you build for both?)
Do you see this happening for M1 or Intel macbook?
Does the error happen only during Distribution? Build and run in Debug and Release are working fine?

Basically, any details would help us to understand the root cause.
I've googled, and people do complain about similar behavior, I'll put the links for Themis team here:
https://github.com/mapbox/mapbox-gl-native/pull/5850/files
cc @julepka @radetsky @ilammy

@vixentael

Xcode version is 13.4.1 and 14.0 Beta 4
Yes, we are building app only for for macOS
It happens for M1, have not tried for Intel MacBook.
Yes, it happen only during Distribution. Build and run in Debug and Release are working fine.

We solved this issue by downloading your repo, updating what Xcode 14.0 Beta 4 suggested, making local framework and putting it into our app.
Here is what Xcode suggested:

.

Fantastic, thank you @VictoriaKostyleva
We have reproduced the issue, will work on fix, 🤞, update the version, release and let you know.

This will be fixed in upcoming 0.14.10 release. ETA: monday.

@VictoriaKostyleva we have release 0.14.9 where addressed this issue
https://github.com/cossacklabs/themis/releases/tag/0.14.9
could you please verify and let us know if it's working for you?

@vixentael Yeah, it works now. Thank you!


StateViz AnimationEffect - DrawIf property exception spam

Describe the bug
PR: https://github.com/microsoft/MixedRealityToolkit-Unity/pull/11438
Console spams exceptions while interacting with StateViz while an Animation type effect is attached.
DrawIf operates on the object being serialized. In this case, we have a StateVisualizer that is being serialized, which contains a simple serializable class: AnimationEffect. AnimationEffect makes use of 'drawif' referencing one of its members, but AnimationEffect is not a monobehavior and will only ever be serialized in the context of another object. In this case, StateVisualizer. When the DrawIf attribute code is invoked, it looks for the specified property name (weightMode) on the object being serialized (a StateVisualizer) and throws an error because that doesn't exist.
To reproduce

Add PressableButton to a GameObject
Add StateViz to the same GameObject
Add Animation effect type to any StateViz outlet

Observed behavior
Console spams exception:
DrawIfAttribute couldn't find the SerializedProperty to compare against! (property name: weightMode)
Expected behavior
No exception spam.
Screenshots
If applicable, add screenshots to help explain your problem.
Your setup (please complete the following information)

Unity Version [e.g. 2018.3.11f1]
MRTK Version [e.g. 3.0.0-preview.14

Fixed with this pull request

https://github.com/microsoft/MixedRealityToolkit-Unity/pull/11438


None of the features seem to work

Sorry for that, i just had to start over to resolve my problem. My bad i'll think twice next time :)

Sure, no problem
If any issue, don't hesitate to ask.


[AutoPR mediaservices/resource-manager] typo: mediaservices/resource-manager/Microsoft.Media

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4712

(message created by the CI based on PR content)

Codecov Report

Merging #3953 into restapi_auto_mediaservices/resource-manager will increase coverage by 0.91%.
The diff coverage is 100%.

@@                               Coverage Diff                               @@
##           restapi_auto_mediaservices/resource-manager    #3953      +/-   ##
===============================================================================
+ Coverage                                        55.09%   56.01%   +0.91%
===============================================================================
  Files                                            10106     9397     -709
  Lines                                           206346   188733   -17613
===============================================================================
- Hits                                            113690   105711    -7979
+ Misses                                           92656    83022    -9634

Impacted Files
Coverage Δ

...re/mgmt/media/models/common_encryption_cbcs_py3.py
44.44% <ø> (ø)
:arrow_up:

...a/azure/mgmt/media/operations/assets_operations.py
12.5% <ø> (ø)
:arrow_up:

...e/mgmt/media/models/presentation_time_range_py3.py
36.36% <ø> (ø)
:arrow_up:

.../azure/mgmt/media/models/common_encryption_cenc.py
44.44% <ø> (ø)
:arrow_up:

...edia/operations/content_key_policies_operations.py
13.13% <ø> (ø)
:arrow_up:

...ure/mgmt/media/operations/transforms_operations.py
13.79% <ø> (ø)
:arrow_up:

...re/mgmt/media/models/common_encryption_cenc_py3.py
44.44% <ø> (ø)
:arrow_up:

...mt/media/models/filter_track_property_condition.py
55.55% <ø> (ø)
:arrow_up:

...edia/models/filter_track_property_condition_py3.py
55.55% <ø> (ø)
:arrow_up:

...dia/azure/mgmt/media/operations/jobs_operations.py
14.28% <ø> (ø)
:arrow_up:

... and 731 more

Continue to review full report at Codecov.

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


[Announcement] Letter to react-native-iap contributors and thoughts on future releases

Hi there~! Thank you all for using react-native-iap.

I was very close to working on this module since I was working on an app that heavily cares about in-app-purchase for more than an year. I was a co-founder and was invited to Y-Combinator final interview and we had a chance for two times of interview but couldn't get funded.
We've tried hard to find investors to keep our product moving but our budgets were very insufficient to get more developers and celebrities (yes our app was about celebrities communicating with their fans on 1-1 basis) to grow in our platform.
Therefore, after 2 years of challenges,  we've decided to move onto the next career and all of us are not currently involved in our app (we quit in Jan 2019). Therefore, I've had a hard time maintaining this which wasn't related to my current work at all.
Today, I realized that the popular module should be maintained by the devs who seriously participate in the feature and the compatibility of new releases that should be affected by both natives. I am currently looking forward to integrating iap feature in my opensource toy app but would take considerable time to get there.
Before I can make a full-featured iap app, I want to give others a chance to develop our example project with money we've received in open collective during 2 years :sweat_smile: . I'll give a contributor our 2 years of expenses, $300 when the work is done.
The issue is posted in #856
Thank you for reading.
by Hyo, the dooboolab

@hyochan thanks for sharing. Are there any new maintainers you have in mind already?

@kennym Thank you for your response. Currently, no. I am trying to gather contributors for open work in #856 and we can think about this further. I'll also try to maintain this as much as possible.

I can create a example for subscription with auto renew with BE receipt validation, that helps?

@basequatro Thanks for the volunteer. Yes of course. I hope you can integrate that into our example app. I'll invite you to our IAPExample app (our example app) if you are interested!

Great stuff @hyochan and thank you so much for your work 👍


Update config.py

Name of var wasn't matching with btt-toggl.py

Thank you for your contribution, and happy new year :)


chore: gateway addresses

Added them manually since there is no way to fetch them from anywhere.

Summary by CodeRabbit

New Features

Expanded ParamType definitions to include new values: "custody" and "gateway".
Added multiple new omnichain addresses across various testnets, enhancing connectivity and functionality.

Bug Fixes

Ensured existing entries remain unchanged while integrating new data seamlessly.

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

Project coverage is 84.27%. Comparing base (abbfeea) to head (de0d96d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #414   +/-   ##
=======================================
  Coverage   84.27%   84.27%
=======================================
  Files           8        8
  Lines         388      388
  Branches      123      123
=======================================
  Hits          327      327
  Misses         61       61

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

I'm actually not sure if we need to mention about implementation address You will always only interact with the proxy

I've removed implementation addresses.


add new --skip-empty option and pass options to reports

In conjunction with https://github.com/istanbuljs/istanbuljs/pull/140

@moos I've released your work in nyc@next; mind trying it out and letting me know if things work as expected.
npm i nyc@next
👍 thanks for the contribution.


[Concurrency] Ban multiple isolated params, as per SE-0313

Resolves https://github.com/apple/swift/issues/60474
Multiple isolated parameters are banned in 0313 but we never implemented the ban it seems.
I had an iffy time about where to put the check; perhaps there's a better place for it -- open to suggestions.

@swift-ci please smoke test

Cool, thanks for the suggestions @theblixguy ! Sounds like good ideas, I'll try 👍

Also resolves rdar://100039019

I'm building upon this PR to fix more of the issues here: https://github.com/apple/swift/pull/61862  so we could close this.

thanks for getting it over the finish line @kavon !


NRF52840 SED Power consumption

Hi can you give figures for current profile when nrf52840 is configured as Sleepy End Device with following configurations.
otPlatRadioSetTransmitPower(sInstance, 0);
mRxOnWhenIdle =  false;
mSecureDataRequests = true;
otLinkSetPollPeriod(sInstance, 1000);
otThreadSetChildTimeout(sInstance, 10);

Hello @kpyush,
Could you please raise this question in Nordic Semiconductor DevZone portal where our tech support will help you.

@LuDuda sure..


[Feature Request] Implement IL Code viewer

Would be nice to have an IL Code viewer in Ionide too.
The idea came up by a person on the FSSF slack channel called @b0urb4k1.

In principle sounds good. But I have no idea how to get IL for the assembly etc.

There is a .net disassembler provided with coreclr,  ildasm, which I guess the .net core community is planning to release as a separate tool at some point (dotnet/cli#6223).
Currently, ildasm is available as a nuget package.  I played around ildasm and I am writing a small proof-of-concept of using it to show IL for an assembly.

IL code viewer for referenced assemblies, or for in project files?

Preferably both?

there definetely is an example of disassembling IL in "C# in a nutshell" (if I'm not mistaken)
BTW, how should that look like? like preview window for markdown?
@Krzysztof-Cieslak, @jakzale if you're ok with this, can I pick it?


How to obtain the Device Key?

Hey!
Sorry for the low effort post, I've just spent 15 minutes searching the docs for instructions on how to obtain the meross device key. I've also fallen into a github-issue rabbit hole with lots of sub-issues with people they managed to obtain the key by following yet another link.
What is the reason that there is not a section about this in the wiki?

I'm sorry to hear this...some clues about the device key are provided in the main README but they're likely confusing or not clear enough to say that the device key is easily (and almost automatically) managed when you configure your Meross account profile in meross_lan.
The manual configuration of a device anyway will 'kindly' ask you if you want to recover the correct device key from your Meross acount in case the manually (or pre-filled) provided key is wrong.
So you can either directly setup a Meross cloud profile (with your Meross credentials) or let it be created automatically in order to retrieve the device key while manually configuring/adding a device.
Once a Meross cloud profile config is in place meross_lan will try use the key stored in that one whenever you add a new device. This should work flawlessly supposing you're only adding devices from the same account...if you have different cloud accounts/devices then it could be a mess and you have to manage a bit by yourself..for this scenario too (multiple cloud accounts) meross_lan should anyway be able to correctly discriminate which is the correct one in order to provide the correct key.
If your device was not configured by the Meross app but instead was 'privately binded/paired' then the device key was provided to any of the utilities used to privately bind the device and so it is completely unknown to meross_lan (even if they normally use a '' (empty) device key by default)

Oh Now I get it, by entering the cloud credentials you just obtain the key, you do not actually connect the device through the cloud after all!
I was just trying to get it set up quickly and did not spend enough effort understanding the key concept 🙈 But yeah I think could be explained in simpler terms in the docs, but I know how hard this can be.


Copy an anecdote only copy the word "anecdote"

If you press the copy button under an anecdote it will only copy the word "anecdote" and not the anecdote itself
I tested it on se coucher moins bete feed

should be fixed in next release

done in 1.1.4


[test-triage] chip_sw_rv_core_ibex_lockstep_glitch

Hierarchy of regression failure
Chip Level
Failure Description
UVM_FATAL @ * us: (chip_sw_rv_core_ibex_lockstep_glitch_vseq.sv:584) [chip_sw_rv_core_ibex_lockstep_glitch_vseq] Check failed alert_major_internal == exp_alert_major_internal (* [*] vs * [*]) Major alert did not match expectation. has 1 failures:

Test chip_sw_rv_core_ibex_lockstep_glitch has 1 failures.
1.chip_sw_rv_core_ibex_lockstep_glitch.3146405452
Line 488, in log /container/opentitan-public/scratch/os_regression/chip_earlgrey_asic-sim-vcs/1.chip_sw_rv_core_ibex_lockstep_glitch/latest/run.log

  UVM_FATAL @ 2534.267120 us: (chip_sw_rv_core_ibex_lockstep_glitch_vseq.sv:584) [uvm_test_top.env.virtual_sequencer.chip_sw_rv_core_ibex_lockstep_glitch_vseq] Check failed alert_major_internal == exp_alert_major_internal (1 [0x1] vs 0 [0x0]) Major alert did not match expectation.
  UVM_INFO @ 2534.267120 us: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
  --- UVM Report catcher Summary ---

Steps to Reproduce

GitHub Revision: feb3d3a15
dvsim invocation command to reproduce the failure, inclusive of build and run seeds:
./util/dvsim/dvsim.py hw/top_earlgrey/dv/chip_sim_cfg.hjson -i chip_sw_rv_core_ibex_lockstep_glitch --build-seed<PHONE_NUMBER> --fixed-seed<PHONE_NUMBER> --waves fsdb
Kokoro build number if applicable

Tests with similar or related failures

[ ] chip_sw_rv_core_ibex_lockstep_glitch

Seems to be a different error to https://github.com/lowRISC/opentitan/issues/15538

Tests
2022-11-16 08:14:00
2022-11-15 08:11:58
2022-11-14 08:10:42
2022-11-13 08:12:54
2022-11-12 08:04:45
2022-11-11 08:07:48
2022-11-10 08:10:06
2022-11-09 08:04:06
2022-11-08 08:03:42
2022-11-07 08:08:10
2022-11-06 07:11:02
2022-11-05 07:11:23
2022-11-04 07:12:05
2022-11-03 07:11:23
Suite

167
chip_sw_rv_core_ibex_lockstep_glitch
66.67
100
100
100
100
66.67
33.33
100
66.67
100
100
66.67
66.67
100
chip_sw_rv_core_ibex_lockstep_glitch

@vogelpi / @GregAC : I think that @vogelpi has worked on an error in the same test previously in #15538 but this is a different issue.
I'll assign to both of you, but whomever has free time to work on this, please deallocate the other and then it will be clear which of you has taken this on.

I'll take this @vogelpi

Many thanks @GregAC ! FYI, @andreaskurth and I had been discussing how we should probably improve the test to get rid of some failures related to undetected alerts here.

Reopening until it pass in the regression. I'll keep watching it and I'm going to close it as soon as it passes.

@GregAC
Last nightly showed
UVM_ERROR @ * us: (uvm_hdl_vcs.c:985) [UVM/DPI/HDL_SET] set: unable to locate hdl path (tb.dut.top_earlgrey.u_rv_core_ibex.u_core.gen_lockstep.u_ibex_lockstep.u_shadow_core.rf_raddr_wb_o) has 1 failures:

Test chip_sw_rv_core_ibex_lockstep_glitch has 1 failures.
0.chip_sw_rv_core_ibex_lockstep_glitch.2355961520
Line 480, in log /container/opentitan-public/scratch/os_regression/chip_earlgrey_asic-sim-vcs/0.chip_sw_rv_core_ibex_lockstep_glitch/latest/run.log

  UVM_ERROR @ 2153.716552 us: (uvm_hdl_vcs.c:985) [UVM/DPI/HDL_SET] set: unable to locate hdl path (tb.dut.top_earlgrey.u_rv_core_ibex.u_core.gen_lockstep.u_ibex_lockstep.u_shadow_core.rf_raddr_wb_o)
   Either the name is incorrect, or you may not have PLI/ACC visibility to that name
  UVM_INFO @ 2153.716552 us: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
  --- UVM Report catcher Summary ---

@johngt fixed by https://github.com/lowRISC/opentitan/pull/16566

All nightlies since Greg fixed this have passed.
Closing the issue as resolved.

Tests
2022-11-29 08:12:00
2022-11-29 08:03:55
2022-11-28 08:13:41
2022-11-27 08:09:15
2022-11-26 08:09:18
2022-11-25 08:08:49
2022-11-24 08:12:13
2022-11-23 08:13:17
2022-11-22 08:08:19
2022-11-21 08:11:59
2022-11-20 08:10:00
2022-11-19 08:10:46
2022-11-18 08:16:52
2022-11-17 08:11:05
Suite

174
chip_sw_rv_core_ibex_lockstep_glitch
100
100
100
100
100
66.67
100
66.67
100
33.33
66.67
66.67
100
100
chip_sw_rv_core_ibex_lockstep_glitch


The CutMix Does not work ??

When I employ CutMix, the results get worse instead.   What is important to keep in mind when I use CutMix?

@liygcheng Could you provide more details? For example, tell me what kinds of datasets and networks you used.

dataset: CUB_200_2011
arch: ResNet50
loss: label smooth cross entropy

@liygcheng We also have tried to train models with CutMix on CUB-200 dataset, but we observed that CutMix improved the performance well. Maybe you should tune other hyper-parameters, such as learning rate, etc., to get optimal performance.


Are there any articles to explain these patterns in this project?

This is a cool project!
If there are some articles to explain the patterns used in this projects and how you think of these pattens, that would be awesome.
Anyway, Thanks for sharing!

Hi, @ShannonChenCHN
I talked about iOS design patterns in iOSDC Japan 2017.
In that talk, I used this project.
This is presentation slides.
https://speakerdeck.com/martysuzuki/mvc-nil-mvp-nil-mvvm-nil-fluxfalseshi-zhuang-falsewei-iwobi-jiao-sitemiru

@marty-suzuki  Thanks a lot! 😀

Hi, @ShannonChenCHN  !
This is additional article that written in Japanese.
https://qiita.com/marty-suzuki/items/5a4f680b10bb82501aa3


[test] Upgrade argos version

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

The naming issue seems to be fixed 😄 .


No hover effect for extensions' icons in sidebar

Does this issue occur when all extensions are disabled?: No, but that's because this issue pertains to the extensions themselves.

VS Code Version: 1.75.1
OS Version: MacOs Ventura 13.2

Steps to Reproduce:

Open VSCode
Ascertain the hover on extensions' icons in the sidebar lack hover effect

Ascertain the hover on extensions' icons in the sidebar lack hover effect

I am sorry that I do not understand. Can you please explain what do you mean by this? If possible please provide a gif or screenshot.

Sure, here you go.
This is what the hover on a sidebar icon normally looks like:

This is what it looks like when the icon belongs to an extension:

As you can see, there is no hover effect in this case. This seems consistently happening with other extensions too.
Is it just my setup for some reason?

Ok, this is because of the icons contributed by these extensions and the color of these icons cannot be changed dynamically.
CC @daviddossett

Ok, this is because of the icons contributed by these extensions and the color of these icons cannot be changed dynamically.
CC @daviddossett

Ain't this something with the potential of being addressed in a future VSCode release?

My guess is that the challenge here is that they are hardcoded SVGs. I don't know how feasible it would be to dynamically change the fill values. @aeschli might have more context here.


remove user serialization on groups

:+1: Fixing the N+1 that @vikhyat had originally commented on in the initial groups PR.

So basically just not serializing them as part of the GroupSerializer?  LGTM :+1:

:+1: :rocket: :shipit:


Creating the webview failed: CreateCoreWebView2CompositionController copletion handler failed. (HRESULT: -0x7ff8ec61)

I am using a Windows 11 Pro Laptop and I am however, getting the following error response.

I tried it on other Window devices, and there are no issue when opening the webview.
May I know what do i need to check or configure in order to get rid of this bug?
Thank you.
Marcus

any update on this?

Any update?

Any update?


Erroneous Environments Showing up in Conda Nb tab with error

Not sure how to fix this, or how it got corrupted.
Error Message:
EnvironmentLocationNotFound: Not a conda environment
Pics Below:

Seems this could be related to conda instal plotly which upgraded conda and anaconda.  Does anyone think that is related?

Okay this looks like there is actually a bigger issue with the new anaconda version.  Conda_NB is not compatible with newest versions of Anaconda and Conda.

The reason is the change of conda info --json output. Fresh installation of version 4.3.33 gives envs=[], version >=4.4 gives envs=[root_env_dir] (always non empty).
Fix:
Replace for env in info['envs']] with for env in info['envs'] if env != info['root_prefix']] in nb_conda/envmanager.py.
You may do it in anaconda_dir/pkgs/nb_conda-2.2.1-py36h8118bb2_0/lib/python3.6/site-packages/nb_conda/envmanager.py on your machine, if you don't want to wait for update.
At least it removes annoying error message and kernels list entry in "Conda" tab.
Variety of kernels in the "New" button is still here, though.

The above method solved the problem.
Just remember to change your path anaconda_dir/pkgs/nb_conda-2.2.1-py36h8118bb2_0/lib/python3.6/site-packages/nb_conda/envmanager.py to your local setting.
But keep the for env in info['envs'] if env != info['root_prefix']]

Had the same problem, and fixed it modifying the envmanager.py file in the directory pointed out by jyepesr1.
Should a pull request be done to fix this?

Yes, just modify the envmanager.py file, which can fix the problem.

I added @voidworker's fix to a PR that also fixes some other issues with conda>=4.4 #75

Hi,
I have the same issue with the same error message.
I have conda 4-5-4 and Jupyter 5.5.0
My environment in Anaconda Navigator works well shows the right one as in Conda terminal.
But in Jupyter, tab Conda, I have got the same issue as above.

I modify the envmanager.py as mentionned above (with voidworker  and jyepesr1 path) and now... the envronment list in Jupyter is empty :( ! with this message:

An error occurred while listing Conda environments. Not Found

I reinstalled Anaconda, always the issue!

Please, note I think this problem come from the "Clone" fonction in Anaconda Navigator. I wanted to clone the Root environment in order to copy it as a new fixed environment :(
I think it is a bad idea!
(The next time, I will create a new environment and I will install Anaconda and the packages I need :).
------------   The complete error message:   -----------------
[I 18:13:06.057 NotebookApp] [nb_conda_kernels] enabled, 6 kernels found
[I 18:13:07.182 NotebookApp] JupyterLab beta preview extension loaded from C:\Anaconda3\lib\site-packages\jupyterlab
[I 18:13:07.182 NotebookApp] JupyterLab application directory is C:\Anaconda3\share\jupyter\lab
[W 18:13:07.633 NotebookApp] Error loading server extension nb_conda
Traceback (most recent call last):
File "C:\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 1481, in init_server_extensions
mod = importlib.import_module(modulename)
File "C:\Anaconda3\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in call_with_frames_removed
File "C:\Anaconda3\lib\site-packages\nb_conda_init.py", line 3, in
from .handlers import load_jupyter_server_extension
File "C:\Anaconda3\lib\site-packages\nb_conda\handlers.py", line 25, in
from .envmanager import EnvManager, package_map
File "C:\Anaconda3\lib\site-packages\nb_conda\envmanager.py", line 85
for env in info['envs'] if env != info['root_prefix']]]
^
SyntaxError: invalid syntax
[I 18:13:07.791 NotebookApp] Serving notebooks from local directory: C:\Users\RLE
[I 18:13:07.792 NotebookApp] 0 active kernels
[I 18:13:07.792 NotebookApp] The Jupyter Notebook is running at:
[I 18:13:07.792 NotebookApp] http://localhost:8888/?token=51c96d41a92da45efd892bba3c2b29fb06679f123587f704
[I 18:13:07.792 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 18:13:07.795 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=51c96d41a92da45efd892bba3c2b29fb06679f123587f704&token=51c96d41a92da45efd892bba3c2b29fb06679f123587f704
[I 18:13:07.859 NotebookApp] Accepting one-time-token-authenticated connection from ::1
[W 18:13:11.938 NotebookApp] 404 GET /conda/environments?=1529856788669 (::1) 23.00ms referer=http://localhost:8888/tree
[W 18:13:11.946 NotebookApp] 404 GET /conda/packages/available?=1529856788670 (::1) 4.00ms referer=http://localhost:8888/tree

Please note too that Jupyter works perfectly (except conda tab).

Thank you for your time.
José.

Please note I installed

nb_conda (2.2.1)
and nb_conda_kernels (2.1.0)
from conda-forge...

I wonder if it has been a good idea
José

Hello! Has there been any movement on this issue as of late? Support for conda 4.4+ would be amazing because trying to resolve r-essentials packages specifications hangs while using conda 4.3.x.

We are working on upgrading our JupyterHub instance to use version 0.9.1 and Conda version 4.5.8.
If, after a fresh Conda install, we attempt to use the root/base environment we see the error in https://github.com/Anaconda-Platform/nb_conda/issues/66, but we have worked around that by creating a new Conda environment specifically for JupyterHub.
As an example:
conda create -n jupyterhub python=3 jupyterhub=0.9.1

I've got a PR here (#75) that includes @voidworker's fix for this, as well as some other Conda 4.4 issues, but there doesn't seem to be much movement on it. @fjcapdevila are you still a maintainer?
@jrelland it looks like you just made a typo when manually applying the fix: In the line marked as containing a 'Syntax error' there's an extra square bracket at the end of the line.

voidworker's fix solved problem, and don't forget to restart jupyter notbook.

The method worked for me too, but the path should be anaconda_dir/lib/python3.6/site-packages/nb_conda/envmanager.py

where can i do that ?

Any plans to get this fixed once for all?

More than a year an a half in..can we get this bug fixed?

Yes, just modify the envmanager.py file, which can fix the problem.

how to do all of this??
Can u elaborate it?

I fix the envmanager.py, but it seems appears one new bug’ EnvironmentLocationNotFound’. Not a good thing to me...

Another super-duper tip: consider switching to to https://github.com/fcollonval/jupyter_conda
:)

The method worked for me too, but the path should be anaconda_dir/lib/python3.6/site-packages/nb_conda/envmanager.py

where can i do that ?

please have you been able to do this

The method worked.
Funny - this bug still exist as of today.

@marcellovirzi nothing really funny about it, this extension is completely abandoned by the anaconda team. No commit since July 2017...

@marcellovirzi nothing really funny about it, this extension is completely abandoned by the anaconda team. No commit since July 2017...

Yeah, I was ironic...

Resolved this issue by replacing for env in info['envs']] with for env in info['envs'] if env != info['root_prefix']] in /opt/conda/lib/python3.8/site-packages/nb_conda/envmanager.py.
Replacing these string in /opt/conda/pkgs/nb_conda-2.2.1-py38h32f6830_4/lib/python3.8/site-packages/nb_conda/envmanager.py did not help me.
After this I have only one default environment root and no annoying message.

Can someone please explain the solution as simple as possible. I'm almost pulling my hair out trying to figure out where 'for env in info[ 'envs' ] ] is and how to replace it with 'for env in info[ 'envs' ] if env != info[ 'root_prefix' ] ] in /opt/conda/lib/python3.8/site-packages/nb_conda/envmanager.py. Someone help please.

Can someone please explain the solution as simple as possible. I'm almost pulling my hair out trying to figure out where 'for env in info[ 'envs' ] ] is and how to replace it with 'for env in info[ 'envs' ] if env != info[ 'root_prefix' ] ] in /opt/conda/lib/python3.8/site-packages/nb_conda/envmanager.py. Someone help please.

Solved! Thanks

Solved! Thanks

None of this worked for me as my issue was slightly different, but I found the removed environment that was being returned in the error was stored in the environment variable $CONDA_PREFIX.  After exporting a new $CONDA_PREFIX (or relaunching terminal), the error went away.

@schultzm Are you working in Linux OS?   I searched for that environment variable on Windows 10 and cannot find it.

nb_conda is unsupported ?
The directory referenced in another to manually fix it does not exist on Windows 10.
anaconda_dir/lib/python3.6/site-packages/nb_conda/envmanager.py


default-user and default-password in client.yml not working

I've created a file in ~/.config/ntfy/client.yml with this content
default-host: https://push.pablo.tools
default-user: pinpox
default-password: mysupersecretspassword

But the client seems to ingnore the values:
$ ntfy pub --config ~/.config/ntfy/client.yml https://push.pablo.tools/test
{"code":40301,"http":403,"error":"forbidden","link":"https://ntfy.sh/docs/publish/#authentication"}

Using the NTFY_USER environment variable works, so I know the crendentials are in fact correct:
$ export NTFY_USER=pinpox:mysupersecretspassword
$ ntfy pub test test
{"id":"ix6JqNqNDETe","time":1667306079,"event":"message","topic":"test","message":"test"}

So I looked at the code and it should work. I'll try this out. :thinking:

Note that this leaks/publishes notifications send to a private instance with the 'ntfy cli', to the public instance at https://ntfy.sh/*, because the configured default-host is ignored.

My evil plan to collect user passwords is working :smiling_imp: -- Just kidding. You're right, I should look at this urgently.

@notDavid Can you confirm notifications are being leaked? I just tested it locally, and it seems like default-host is being used correctly. I think only default-user and default-password are being ignored

I figured out what's going on.
The code to use default-user and default-password for ntfy **sub** was released in version 1.28.0.
But the code to use default-user and default-password for ntfy **pub** hasn't been released yet. It's included in (unreleased) version 1.29.0.

As per @wunter8's comment, this was fixed in #431. I'm going to release the code today.

Can you confirm what version of ntfy you're using? (ntfy -h | tail -n2)

What happens when you subscribe to a topic? Does it use the configured default-host? (ntfy sub --trace mytopic)

Alright. Now let's check file permissions: ls -al ~/.config/ntfy/client.yml

Oh, you're on Mac? I think the default path for client.yml on MacOS is ~/Library/Application Support/ntfy/client.yml. So you could either move your config file there, or specify the path to the config file in the command: ntfy sub --config ~/.config/ntfy/client.yml mytopic

(I just released the v1.29.0, so you should also try that.)

I found the default path for MacOS here: https://ntfy.sh/docs/subscribe/cli/#subscribe-to-multiple-topics
But I agree we should probably update the docs elsewhere


Relax upper bound to allow time-1.6

The API changes from time-1.5 to time-1.6 don't affect HsOpenSSL afaics.
I've already performed a .cabal-edit on Hackage to this effect: https://hackage.haskell.org/package/HsOpenSSL-<IP_ADDRESS>/revisions/, so there's no need to upload a new release to address this ticket.

Just for reference.
Fixed in https://github.com/vshabanov/HsOpenSSL and released on Hackage


No adding forum posts, intentional?

Is it intentional that you can't use scratchattach to create a forum post? (Because of spam)

Yes, that's intentional