Weird behaviour when joining new channel.

When using /join in IRC to join a channel you are not in on mattermost, you immediately get moved out of the channel. Joining a 2nd time does allow you to actually join the channel.

This should be fixed now in master, reopen if still an issue

Mostly fixed, but some different weirdness popped up - see #239.


update packages

:white_check_mark: Build TheIdServer 8.0.0-fix-dependencies1-0259 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/e973e97636 by @invalid-email-address)


Sgl dont reschedule counts and add feature flag to disable the count workers

add a feature flag to disable count workers and cancel count workers if rate limited to avoid feedback loop.
Review checklist

[ ] First, the most important one: is this PR small enough that you can actually review it? Feel free to just reject a branch if the changes are hard to review due to the length of the diff.
[ ] If there are any migrations, will they the previous version of the app work correctly after they've been run (e.g. the don't remove columns still known about by ActiveRecord).
[ ] If anything changed with regards to the public API, are those changes also documented in the apiary.apib file?
[ ] Are all the changes covered by tests? Think about any possible edge cases that might be left untested.

thanks and no re strings vs symbols


Docs : Add link to the discord.js Docs in Readme

This is a  continuation to the discussion on pr #373  .
The suggestion was made by  @BOLT04  to do the following :
create a new section above Discord Gateway Intents with: ## Documentation. Then add something like ##Resources and then a list with general resources for all our documentation. That link would be an item of this list 😃.

PR for this issue #381 has been merged. closing.


Env/deps does not respect non-interactive mode

As an operator I want to have a possibility to perform a fully non-interactive installation of SCION and it's dependencies. Currently one of the steps is running ./env/deps script. This one requires an admin interaction as in the session below
scionlab@scionlab-1107-einstein:~/go/src/github.com/scionproto/scion$ ./env/deps
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libsodium18 python3-cffi python3-cffi-backend python3-cryptography python3-idna python3-ply python3-pyasn1
  python3-pycparser
Suggested packages:
  python-cryptography-doc python3-cryptography-vectors python-nacl-doc python-openssl-doc python3-openssl-dbg python-ply-doc
  doc-base
The following NEW packages will be installed:
  libsodium18 python3-cffi python3-cffi-backend python3-cryptography python3-idna python3-nacl python3-openssl python3-ply
  python3-pyasn1 python3-pycparser
0 upgraded, 10 newly installed, 0 to remove and 109 not upgraded.
Need to get 736 kB of archives.
After this operation, 4,210 kB of additional disk space will be used.
Do you want to continue? [Y/n]

As a result, installation or upgrade of SCION requires a manual interaction what is not a desired behaviour when performing the action in >1 machine.

The recommend approach for this is to do APTARGS=-y ./env/deps, which is already supported.


Enable saving current state of aggregate entity while also saving events in the event store

GenericJpaRepository works with AnnotatedAggregate which publishes events as generic events. I pass in an event store to the GenericJpaRepository so that I could get the best of both worlds -- have the current state of the aggregate and also have the events generated stored. But the events that get saved gets a random uuid for aggregate_identifier column. It would be great if we could have a version of GenericJpaRepository which works with EventSourcedAggregate that creates GenericDomainEventMessage such that the aggregate_identifier saved refers to the actual aggregate identifier and is not a new generated uuid.

Doesn't sound to weird. What do you think @abuijze?

It's not a bad idea, indeed. Unfortunately, the reason it isn't in there yet, isn't a conceptual one, but rather practical. When doing state storage, the aggregate doesn't store the sequence number. When publishing events, this sequence number is mandatory (you can only leave it out once).
I've been thinking of allowing null sequence numbers in generated events, where the event store would automatically assign the highest available + 1 when publishing events. When reading events from the store, they would have this new assigned version.
It's definitely with doing a PoC for to find out what (other) practical issues we come across when implementing this.

With this feature in mind, would you suggest using this event store to pull event in an event bus ? So:

you do not have to do event sourcing which is hard
you though keep the events saved in the same transaction
you publish events to an event bus guarantying at least one message published
Do you know this could be implemented ?

You can see the description in the third solution of https://www.infoq.com/articles/microservices-aggregates-events-cqrs-part-2-richardson but except using transaction logs you use actual domain message events.

Hi @stemlaur, sorry for the late reply, for some reason, this message didn't catch my attention when it was published.
You already don't have to do Event Sourcing, in Axon. It's completely optional. If you use a "regular" repository (i.e. one that stores state), then you can still use an Event Store. In that case, events are stored as they are published, allowing Tracking Processors to re-process them, as well as using these events for auditing, etc.
You don't have to pull the Events in an Event Bus, because the Event Store is the Event Bus. Of course, you're still free to publish Events to wherever you like, including another Event Bus.

Thank you @abuijze for your answer!


[BUG] Android build failed

FAILURE: Build completed with 4 failures.
1: Task failed with an exception.

What went wrong:
Execution failed for task ':react-native-agora:compileDebugJavaWithJavac'.

Could not resolve all files for configuration ':react-native-agora:debugCompileClasspath'.
Could not find full-screen-sharing-4.1.0-1.jar (io.agora.rtc:full-screen-sharing:4.1.0-1).
Searched in the following locations:
https://maven.aliyun.com/repository/public/io/agora/rtc/full-screen-sharing/4.1.0-1/full-screen-sharing-4.1.0-1.jar

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.

What went wrong:
Execution failed for task ':app:mergeDebugJavaResource'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find full-screen-sharing-4.1.0-1.jar (io.agora.rtc:full-screen-sharing:4.1.0-1).
Searched in the following locations:
https://maven.aliyun.com/repository/public/io/agora/rtc/full-screen-sharing/4.1.0-1/full-screen-sharing-4.1.0-1.jar

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

3: Task failed with an exception.

What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find full-screen-sharing-4.1.0-1.jar (io.agora.rtc:full-screen-sharing:4.1.0-1).
Searched in the following locations:
https://maven.aliyun.com/repository/public/io/agora/rtc/full-screen-sharing/4.1.0-1/full-screen-sharing-4.1.0-1.jar

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

4: Task failed with an exception.

What went wrong:
Execution failed for task ':app:mergeDebugNativeLibs'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find full-screen-sharing-4.1.0-1.jar (io.agora.rtc:full-screen-sharing:4.1.0-1).
Searched in the following locations:
https://maven.aliyun.com/repository/public/io/agora/rtc/full-screen-sharing/4.1.0-1/full-screen-sharing-4.1.0-1.jar

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==========================================================

请保持使用maven官方源，看起来是aliyun没有同步到


Quickstart cli to client floc 1400

These changes (by @dwgebler) were reviewed as part of FLOC-1399, and should now be merged into master.

This looks fine and identical to #1155 so I was about to say merge, but then  took a closer look at the build failures and it looks  like this has confused buildbot
And I wonder if it will confuse buildbot when it lands in master?
The branch build results:

http://build.clusterhq.com/boxes-flocker?branch=quickstart-cli-to-client-FLOC-1400

...shows no builds.
And the build results linked from this PR are to the release-maintenance branch. Eg.

http://build.clusterhq.com/builders/flocker-lint/builds/3881

Better investigate and understand what's going on before merging I guess.
@tomprince ??

Issue for the above at https://clusterhq.atlassian.net/browse/FLOC-1406.
A new build has been forced at http://build.clusterhq.com/boxes-flocker?branch=quickstart-cli-to-client-FLOC-1400.

If you merge forward, buildbot will build the merge commit, and merge agasint the correct branch.

There's a new build error that I've never seen before:

http://build.clusterhq.com/builders/flocker-fedora-20/builds/4102/steps/trial/logs/problems

[ERROR]
Traceback (most recent call last):
  File "/srv/buildslave/flocker/venv/lib/python2.7/site-packages/twisted/internet/defer.py", line 140, in maybeDeferred
    result = f(*args, **kw)
  File "/srv/buildslave/flocker/venv/lib/python2.7/site-packages/twisted/trial/_asynctest.py", line 279, in <lambda>
    return lambda: f(*args, **kwargs)
  File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['zpool', 'destroy', 'testpool_2bf0ff0f-b215-4210-87c5-a8ba7e01d351']' returned non-zero exit status 1

flocker.volume.functional.test_filesystems_zfs.IStoragePoolTests.test_clone_to_creates_new
-------------------------------------------------------------------------------
Ran 1129 tests in 553.888s

FAILED (skips=23, expectedFailures=8, errors=1, successes=1097)

...but it can't be related to the changes in this branch.
Looks good to me.
Please merge.


[c4core] update version to 0.1.9 AND [ryml] update to 0.4.1

Fix #24949
Update [c4core] update version to 0.1.9
Note:
Port ryml needs c4core updated to 0.1.9.
No feature needs to test.

There is no explicit support for arm-uwp here https://github.com/biojppm/c4core/blob/8d1af00e2318e9d583c10fd3d89b8b1b1f923ea7/src/c4/cpu.hpp#L27, so it is disabled.


MAISTRA-1074 Extract common finalizer handling code

Note: this PR extracts the finalizer code from the Member controller only. I'll remove the code from the other two controllers in follow-up PRs, because I also need to make additional changes to ensure removing the finalizer works properly in case of conflicts (the watch precondition code needs to ensure reconciliation is triggered during periodic resyncs and resource status changes).

Hey @luksa, these changes look fine, but if we're refactoring, maybe we should look at this conceptually.  For example, setting up the finalizer is part of the initialization process (or check?) when entering the loop.  For some of the multi-version support work, I was looking at initializing some of the spec (version attribute) and was wedging that into where the finalizer was being added (i.e. treating initialization of the finalizer as a more general initialization step).  Another option may be to treat this like a factory, that returns the appropriate reconciler for the given state, e.g. InitializeResource (deletionTimestamp == nil, finalizer not set), ReconcileResource (deletionTimestamp == nil, finalizer set), FinalizeResource (deletionTimestamp != nil, finalizerSet), ResourceDeleted (noop, deletionTimestamp !=n, finalizer not set).  Maybe this could be some follow on work.


Use latest azure bom

Updated the pom file to use azure-sdk-bom to align the verified versions and prevent conflicts among the dependencies.
Added "common parameters of centralized config providers" section in ojdbc-provider-oci/README.md for the common parameters that are shared by the configuration providers.

Merged on PR 33 after updating the branch from main


Support group pinning and show pin icon on pinned node & group

Pinned group & node will not be movable / resizable.

Failure on pinned/unpinned test is expected
 1 failed
    [chromium] › rightClickMenu.spec.ts:89:3 › Node Right Click Menu › Can pin and unpin ───────────


Remove passing Logger as param

This removes passing logger as param. Instead, when Logger
is needed, Logger.getInstance() can be used.
after #662
ONE-vscode-DCO-1.0-Signed-off-by: Hyun Sik Yoon<EMAIL_ADDRESS>

Merge conflicted

Let me close this. Please refer to #700.


Fix the qantum volume sample code

Summary
Starting from the qiskit-experiments 0.2.0, the QuantumVolume class only accept a list of qubits, thus update the sample code to make it work w/ the latest QuantumVolume class.
Details and comments
Per PR https://github.com/Qiskit/qiskit-experiments/pull/431, QuantumVolume class only accept a list of qubits, thus update https://github.com/Qiskit/qiskit-experiments/blob/main/docs/tutorials/quantum_volume.rst to apply this change or it cannot work w/ the latest code.
The code has been tested on my Mac env fyi:
# packages in environment at /Users/dcc/opt/anaconda3/envs/qiskit:
qiskit                    0.34.2                   pypi_0    pypi
qiskit-aer                0.10.3                   pypi_0    pypi
qiskit-experiments        0.3.0                    pypi_0    pypi
qiskit-ibmq-provider      0.18.3                   pypi_0    pypi
qiskit-ignis              0.7.0                    pypi_0    pypi
qiskit-terra              0.19.2                   pypi_0    pypi

 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.


Karpenter UserData on Bottlerocket fails to merge user-given values

Description
Observed Behavior:
Following the userdata spec, I was trying to set extra Containerd settings to my Karpenter nodes.
Variant 1 (bash script)
apiVersion: karpenter.k8s.aws/v1alpha1
kind: AWSNodeTemplate
metadata:
  labels:
    app.kubernetes.io/managed-by: Helm
  name: gpu
spec:
  amiFamily: Bottlerocket
  blockDeviceMappings:
 ...
  securityGroupSelector:
    aws-ids: sg-0415ff01b1de30dfd
  subnetSelector:
    aws-ids: subnet-009e469afa082604f,subnet-0a1cb8f387d24ada4
  userData: |2
          version = 2
          [grpc]
          address = "/run/containerd/containerd.sock"

          [plugins."io.containerd.grpc.v1.cri"]
          sandbox_image = "SANDBOX_IMAGE"
          max_container_log_line_size = 10000
          device_ownership_from_security_context = true

          [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
          runtime_type = "io.containerd.runc.v2"

          [plugins."io.containerd.grpc.v1.cri".cni]
          bin_dir = "/opt/cni/bin"
          conf_dir = "/etc/cni/net.d"

This fails with Reconciler error	{"commit": "322822a", "controller": "machine.lifecycle", "controllerGroup": "karpenter.sh", "controllerKind": "Machine", "Machine": {"name":"gpu-8pjw4"}, "namespace": "", "name": "gpu-8pjw4", "reconcileID": "37ceacaf-cf8b-4384-92c7-ec4e6f488496", "error": "launching machine, creating instance, getting launch template configs, getting launch templates, creating launch template, invalid UserData toml: expected character ="}
Inputting a proper TOML:
apiVersion: karpenter.k8s.aws/v1alpha1
kind: AWSNodeTemplate
metadata:
  labels:
    app.kubernetes.io/managed-by: Helm
  name: gpu
spec:
  amiFamily: Bottlerocket
  blockDeviceMappings:
 ...
  securityGroupSelector:
    aws-ids: sg-0415ff01b1de30dfd
  subnetSelector:
    aws-ids: subnet-009e469afa082604f,subnet-0a1cb8f387d24ada4
  userData: |2
          version = 2
          [grpc]
          address = "/run/containerd/containerd.sock"

          [plugins."io.containerd.grpc.v1.cri"]
          sandbox_image = "SANDBOX_IMAGE"
          max_container_log_line_size = 10000
          device_ownership_from_security_context = true

          [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
          runtime_type = "io.containerd.runc.v2"

          [plugins."io.containerd.grpc.v1.cri".cni]
          bin_dir = "/opt/cni/bin"
          conf_dir = "/etc/cni/net.d"

Seems to work (in the sense that the nodes are being issued).
However, from AWS console, I can see that the launch template User data is not being updated with the custom values:
[settings]
[settings.kubernetes]
api-server = 'APIADDRESS'
cluster-certificate = "CERT'
cluster-name = "mycluster"
cluster-dns-ip = "someip"
max-pods = 29

[settings.kubernetes.node-labels]
'karpenter.sh/capacity-type' = 'spot'
'karpenter.sh/provisioner-name' = 'gpu'
workertype = 'gpu'

Expected Behavior:
The UserData gets merged in the launch template; or an error gets logged on Karpenter nodes.
Reproduction Steps (Please include YAML):
Provisioner Yaml:
apiVersion: karpenter.sh/v1alpha5
kind: Provisioner
metadata:
  labels:
    app.kubernetes.io/managed-by: Helm
  name: gpu
  resourceVersion: "494581794"
  uid: 8a1cf776-60d5-42c5-9075-8733e6cdf353
spec:
  consolidation:
    enabled: true
  labels:
    workertype: gpu
  limits:
    resources:
      nvidia.com/gpu: "6"
  providerRef:
    name: gpu
  requirements:
  - key: kubernetes.io/os
    operator: In
    values:
    - linux
  - key: node.kubernetes.io/instance-type
    operator: In
    values:
    - g4dn.xlarge
  - key: karpenter.sh/capacity-type
    operator: In
    values:
    - spot
  - key: karpenter.k8s.aws/instance-gpu-manufacturer
    operator: In
    values:
    - nvidia
  - key: kubernetes.io/arch
    operator: In
    values:
    - amd64

Versions:

Chart Version: 0.30 and 0.31
Kubernetes Version (kubectl version): 1.27

A similar issue is reported in https://github.com/aws/karpenter-provider-aws/issues/3611, now closed. The solution

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Looking over the Bottlerocket settings that we have, we just cover the settings block in the Bottlerocket config: https://github.com/aws/karpenter-provider-aws/blob/main/pkg/providers/amifamily/bootstrap/bottlerocketsettings.go#L45.
I'm not as familiar with setting details outside of the Bottlerocket settings block in the userData (for instance you have plugins above) and I was doing a little searching around the Bottlerocket repo to find schema to no avail. Do you have a link to documentation that describes how you are able to configure these plugins using Bottlerocket through the userData?

Looking over the Bottlerocket settings that we have, we just cover the settings block in the Bottlerocket config: https://github.com/aws/karpenter-provider-aws/blob/main/pkg/providers/amifamily/bootstrap/bottlerocketsettings.go#L45.
I'm not as familiar with setting details outside of the Bottlerocket settings block in the userData (for instance you have plugins above) and I was doing a little searching around the Bottlerocket repo to find schema to no avail. Do you have a link to documentation that describes how you are able to configure these plugins using Bottlerocket through the userData?
In either case, I think this looks more like a feature than a bug when it comes to expanding our current settings support.

Jonathan, thanks for answering. I went over Bottlerocket's settings and they don't support the userdata as I was trying to issue them; that's not on Karpenter.
We can close this


Automatically update of the „Metadata Date" Field at every save

Several customers request following functionality:
Automatically update of the „Metadata Date" Field with the current date at every save. The behaviour, if it updates automatically or not, can be configured e.g. at gpt.xml.
Nice to have: The user can set the behaviour in the client UI for the edit session which overules the in the gpt.xml configured default behaviour.

hi Stefan, we are no longer developing on Geoportal 1.x and ArcGIS for INSPIRE also has the Geoportal 2.x editor since 10.8. In the new editor, you can control this by a small modification to the DataDocumentType.js object in the INSPIRE 2 profile. There you can include 2 utility functions:

    beforeInitializeElement: function(gxeDocument, element) {
      // add specific element initializations here

      var p = element.gxePath, xDoc = gxeDocument;
      ...
    }

and
    beforeInitializeAttribute: function(gxeDocument, attribute) {
      // add specific attribute initializations here

      var p = attribute.gxePath, xDoc = gxeDocument;
      ...
    }

These functions are called when initializing the element/attribute widgets in the editor. At this point in the editor lifecycle, you can set values, change optional/mandatory settings, etc. p represents the element/attribute you want to change. To set the value of an element that is for example a gco:Date that's part of a custom element in a profile with namespace myprofile to today's date you would use:
  if (p === "/gmd:MD_Metadata/myprofile:date/gco:Date") {
    var today = new Date();
    element.value = today.toDateString();
  }


should parking_lot::rwLock implement UnwindSafe trait?

While porting some code that std::sync::RwLock to use parking_lots equivalent I get the following error.
std::cell::UnsafeCell<shared_state::Shared> may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
I get this since I am using it with a state middleware in a web platform (Gotham).
Looking at the std::sync implementation in
https://doc.rust-lang.org/std/sync/struct.RwLock.html
I see that it implements: impl<T: ?Sized> UnwindSafe for RwLock
While this is currently not the case for parking_lot
Should this be the case for parking_lot as well?

See #32.

We don't implement these traits because the parking_lot mutex implementation does not support poisoning. This is intentional since it allows the API to be a lot simpler and it also avoids performance issues with thread-local storage accesses.
Since the lock doesn't get poisoned by unwinding, we can't claim to be unwind-safe. However you can avoid the need for this trait by using AssertUnwindSafe from the standard library.


Lifetime issues trying to script Speedy2D with Rhai

I'm trying to script Speedy2d so that the user can develop digital signage applications without having to recompile: https://gist.github.com/superlou/a24e2ef881e6058d0890df78ccc3151f.
However, I'm caught up in trying to figure out some way to pass the short-lived &mut Graphics2D to the scripting engine. The closest I've gotten in via an Rc<RefCell<Option>, which eventually gives the kind-of "duh" error shown in the gist. However, if I use lifetimes, Rust can't guarantee the life of the graphics put into the Rc<RefCell<...>> doesn't outlast the function. Is there a simpler approach friendly to Speedy2D's on_draw that I'm missing?

Thanks for the question! It's only possible to use Graphics2D inside the on_draw callback, so it isn't possible to take a reference to this and use it elsewhere.
Instead of storing a reference to the Graphics2D object, a different approach might be instead to store the things you want to draw.
For example, you could have an enum representing possible draw operations:
enum DrawOperation {
    ClearBackground(Color),
    DrawRectangle(Rect, Color),
    ...
}

struct SignWindowHandler {
    engine: Engine,
    ast: AST,
    scope: Scope<'static>,
    last_frame_time: Instant,
    pending_ops: Vec<DrawOperation>,
}

You can then run these inside on_draw by looping through them.
A few other things to bear in mind:

I'm not sure exactly how the scripting engine works, but if it runs in a different thread, you may need to protect the Vec with a mutex.
It would also be good to group operations into frames, to avoid only part of a frame being drawn. The Vec in SignWindowHandler could contain all the operations necessary to draw the most recent frame, and you could replace the whole contents when the script wants to draw a different frame.

Hope that all makes sense!

That works. I was trying to think of reasons where delaying the draw commands during script execution would result in different behavior. So long as the draw commands are pure, I think running them as a frame after the script runs should be fine.
I don't think I need the mutex because it's in the same thread, but I'll watch out for that.
My rough repo is https://github.com/superlou/signrs. Thanks!


No entries in the dropdown menu for "format"...

when downloading with an url.
Only if I use the search function, then the drop down menus has any entries :/
Runtime 3.1.0 installed (windows 10)

Nevermind, it only happens with a few examples like "billie eilish bad guy" for some reason...

This is likely the same issue as https://github.com/Tyrrrz/YoutubeDownloader/issues/77

Hey, this is caused by recent YouTube changes, fix is coming soon.


⚠ Auth API Endpoint has degraded performance

In 014cd77, Auth API Endpoint (https://auth.roblox.com) experienced degraded performance:

HTTP code: 404
Response time: 4330 ms

Resolved: Auth API Endpoint performance has improved in 4c09f18 after 4 days, 12 hours, 43 minutes.


Refactor to use diagnostics throughout

[ ] Diagnostics in run_fluxnet, with Dict writer

We can add an ArrayWriter too. It would probably make single site much simpler.


Fixed build on MonoDevelop

This shouldn't break anything since the output assemblies were not renamed.

Since I didn't really dig into the topic yet and am not yet sure what this does or why it does it, I'll just leave this open as a note to myself for future consideration. Will revisit later.


The input textview is hidden behind the tabbar

When using this pod in UITabBar based application, the input text is hidden behind the tabbar.

My view hiearchy is something like this tabbedbarVC-->NavigationVC->ViewController(extends SLKTextViewController)

I have attached tow image with tow differents tabbar view opacity (1 annd 0.1) you can see here the uitextview is hidden behind the tabbar.
We can avoid this by putting in viewDidLoad
extendedLayoutIncludesOpaqueBars = false
edgesForExtendedLayout = UIRectEdge.None

@dzenbot Yes, I can confirm it Works now. Thank you.

@dzenbot It's not support "HidesBottomBarWhenPushed", many apps hide bottom bar on chat pages or comments. Now, it's impossible.


APIM Built In Analytics not available in Consumption tier?

Is the built-in analytics functionality not available in Consumption tier?  If not, I'd recommend calling this out in one of the Notes areas, or better in the same "Important" callout that says what SKUs this is available for.  Proactively stating that it's not available in Consumption would be useful to users who are trying to confirm this.

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

ID: 2fa7b7b8-e2ce-eba9-8d03-b5ab4e079aea
Version Independent ID: dcca6523-c696-c316-5920-7313e3a462fb
Content: Use API analytics in Azure API Management
Content Source: articles/api-management/howto-use-analytics.md
Service: api-management
GitHub Login: @dlepow
Microsoft Alias: danlep

@boclifton-MSFT
Thanks for your feedback! We will investigate and update as appropriate.

@boclifton-MSFT The built-in analytics is not available in Consumption tier and only available in other tiers as described in the section Availability.

The same has also been mentioned in doc Feature-based comparison of the Azure API Management tiers.
I hope this helps and please let me know if I miss something.


Migrate to Alternative Search

Description
Algolia's OSS plan is slowly getting close to its limits and it may be better for us to self-host our own search indexes so we don't encounter any additional costs. Having it SSR-friendly would be a big bonus.
Alternatives to consider:

Meillisearch
Typesense

With recent improvements where we use Algolia SSR and a local cache, we've significantly reduced our request count, making Algolia much more feasible long term.


Infinite Redirects http -> https

I ran into an interesting situation trying to authorize with a server that had http redirected to https and the url given had a path in it.
Given a url to connect to like:
http://mysite.com/my/path/here
When we request a token, the following path is tried:
http://mysite.com/my/path/here/oauth/request_token
The server responds with a redirect and location of:
https://mysite.com/my/path/here/oauth/request_token
The part of the library that addresses the redirect is here:
https://github.com/oauth-xx/oauth-ruby/blob/master/lib/oauth/consumer.rb#L232
The path pulled from the location header is:
/my/path/here/oauth/request_token
and is checked against the original to detect infinite redirects, but the original is:
/oauth/request_token
So the new path is passed on to token_request.  When the request is made we build a url from the path and the site here:
https://github.com/oauth-xx/oauth-ruby/blob/master/lib/oauth/consumer.rb#L360
Since the new path to try includes the path that is also on the site we get a url like:
http://mysite.com/my/path/here/my/path/here/oauth/request_token
Since the protocol is still http the remote server responds with a redirect again and again.  This grows the path and continues as long as the client or remote server will allow.
The two points of pain I am having are:

The protocol changed in the redirect.  Should we accept the protocol change, raise an exception, or some other behavior to stop the infinite redirects?
When building a new path from the redirect, how or should we account for there being a path on the site that is also in the redirect?

Wondering if you feel this is an issue that could/should be handled by this library.  If so I would like to help.

@mpapis Sorry I have not responded.  I hope to put up a PR this weekend.

Should I close this because of #139 and #140 ?


API to execute op and measure its duration

Context & goals
There are a couple of use cases where optimizer expects to obtain perf estimates for a specific operation and its config. It would be nice to have the ability to validate the design from the optimizer side before we model all ops and implement the infrastructure needed. The proposal is to enable optimizer to run a specific op on silicon and capture its duration. This is not scalable, of course, since executing all possible combinations of the ops would take a long time, but for validation purposes and smaller graphs it should give us some good insights.
Moreover, it's a nice feature to have long term - in case compile is executed on a machine with a card, it can be very useful to get exact op runtime duration of some configs before making optimizer decisions.
Concrete technical proposal TBD.
Perf model parent issue

This document encapsulates the work done on this task so far. Since Belgrade team working on perf modelling is moving on to different projects, @xanderchin and his team will become owners of all perf modelling efforts.


Stress Analysis

[ ] Analyze the stresses in pressure vessels, press fits, curved beams, bolts, and bolted joints in your system
[ ] Calculate stress in machine components due to combined loadings.

Stress analysis of the Mechanical Compenent is complete.
No pressure vessels, press fits, curved beams and bolts in the system.

Let me check

That is great.


ec_resource: Fix panic on empty DT resource kind

Description

Fixes a bug where any deployment template without all of the resources
(Elasticsearch, Kibana, Apm and Enterprise Search) present in
the deployment_template part of the template caused an index out of
bounds panic.
Adds unit and acceptance test cases.
Related Issues

Closes #134
How Has This Been Tested?

All the possible ways.
Types of Changes

[x] Bug fix (non-breaking change which fixes an issue)

Fix looks good, thanks @marclop for looking into the issue and fixing it so quickly 😄


Terminal environment message font seems large

testing https://github.com/microsoft/vscode/issues/96300
I couldn't figure out how to check the font size using the dev tools, but if i zoom in and copy some of the text, it looks like the font is slightly larger than the rest of the tool.
This a zoom of the word "Extensions..." in the popup, and a file in the workspace named "LICENSE", so both have capital "E", which I'm trying to compare.

I'm pretty sure it's the same size as the hover in the editor which it's copying:


How to edit?

Thank you for a nice guide @cpq!
When reading it I came across some typos and similar simple edits ready for a pull request. How do you want them? In a pull request directly here or should I fork to my own profile first or just dump the edits here?
Regards,
Bo

Please PR directly.
Thank you!


[Event Request] Table 5767 "Warehouse Activity Line" - OnBeforeValidateWarehouseActivityLine

Hi, would it be possible to get an event OnBeforeValidateWarehouseActivityLine in Table 5767, trigger OnValidate of field Lot No, like this :
          trigger OnValidate()
           begin
               OnBeforeValidateWarehouseActivityLine(Rec);
               if "Lot No." <> '' then begin
                   ItemTrackingMgt.CheckWhseItemTrkgSetup("Item No.");

                   if "Activity Type" in ["Activity Type"::Pick, "Activity Type"::"Invt. Pick"] then
                       CheckReservedItemTrkg(ItemTrackingType::"Lot No.", "Lot No.");
               end;

               if "Lot No." <> xRec."Lot No." then
                   "Expiration Date" := 0D;
           end;

    [IntegrationEvent(false, false)]
    local procedure OnBeforeValidateWarehouseActivityLine(var WarehouseActivityLine: Record "Warehouse Activity Line")
    begin
    end;

?
Thanks

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Is this compatible with Websockets ?

Hello,
Thanks for this huge work, that looks amazing :)
My question is : is this compatible with WebSockets ? Seems not, because I see you've created an issue for it...
I'd be glad to integrate this into my bot, but it's using WebSockets for better speed...
Thanks a lot

Thanks for your answer :)
To be very honest with you, I would know how to USE it, but not at all how to IMPLEMENT it... I'm not skilled enough, sorry bro
Good luck and thanks again for this great work :)


moved encodings into a separated file + unittests

Codecov Report

Merging #12 (1e8b742) into main (2061224) will decrease coverage by 11.57%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##             main      #12       +/-   ##
===========================================
- Coverage   71.89%   60.32%   -11.58%
===========================================
  Files          29       30        +1
  Lines        1626     1303      -323
  Branches      454      289      -165
===========================================
- Hits         1169      786      -383
- Misses        326      403       +77
+ Partials      131      114       -17

Flag
Coverage Δ

Linux
60.32% <100.00%> (+5.55%)
:arrow_up:

Windows
?

macOS
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/header.hpp
73.68% <ø> (+40.04%)
:arrow_up:

src/metadata.hpp
77.82% <ø> (-1.23%)
:arrow_down:

src/sas7bdat-impl.hpp
67.01% <ø> (-13.70%)
:arrow_down:

src/subheaders.hpp
71.42% <ø> (-14.29%)
:arrow_down:

src/data.hpp
80.61% <100.00%> (-6.57%)
:arrow_down:

src/encodings.cpp
100.00% <100.00%> (ø)

src/page.hpp
80.76% <100.00%> (-5.68%)
:arrow_down:

src/types.cpp
0.00% <0.00%> (-100.00%)
:arrow_down:

src/version.cpp
0.00% <0.00%> (-100.00%)
:arrow_down:

include/cppsas7bdat/datasource_ifstream.hpp
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 20 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 2061224...1e8b742. Read the comment docs.


[Tween 4.0] tween sometimes does not autokill correctly during object's queue_free()

Godot version
v4.0.alpha13.official [82811367c]
System information
Windows 11
Issue description
If I queue_free() an object during the tweening, I expect the tweens associated with that object will be killed automatically.
In most case, it works. But the code below give me some error code that implies the tween does not autokill correctly.

Create an GD script with a function that create/use tween_method, such as:

---- my_obj.gd
extends Node2D
var _value : float = 0.0
func tween_value( from: float, to: float, duration: float):
var tween = get_tree().create_tween()
tween.tween_method(
func(value: float):
_value = value,
from,
to,
duration)

Create my_obj in other main.gd. Call the my_obj.tween_value() function. Then call my_obj .queue_free() before tween done.
The error code below shows in editor.

E 0:00:00:0925   step: Error calling method from MethodTweener: '': Instance is null
<C++ Error>    Method/function failed. Returning: false
<C++ Source>   scene/animation/tween.cpp:929 @ step()
Steps to reproduce
I attached a small project to demostrate the issue. Run the project and click the "ui_accept" button within 10 seconds. The error code shows in the editor at the bottom.

Minimal reproduction project
TweenAutoKill.zip

Tweens don't autokill normally on queue_free(). It only happens when you use bind() (or create_tween() from Node, not SceneTree). Otherwise, if tweened object is freed, this animation is just skipped, but other animations will happen normally. In your case you are tweening a lambda method, for which the object can't be tracked, so Tween will normally try to call it.
It should work correctly if you remove the get_tree() part.

Understood, I will close this issue.


Fix todoist example pack on items with no due date

Was testing something using the todoist pack and came across this issue

Do you know under what circumstances this would happen? The due property isn't even mutable, so if I send null or undefined in shouldn't get it back again?

Do you know under what circumstances this would happen? The due property isn't even mutable, so if I send null or undefined in shouldn't get it back again?

Might be that you have to create items with no due date and then when you mutate them you need to pipe the null through

I was able to repro for the general case, and filed bug 34286 to track it. This seems like a platform issue and not something the Pack maker should need to handle.


TypeError in onInitialize when using TS 2.4.1

Checkout https://github.com/Microsoft/vscode-tslint.git
cd tslint-server folder
npm install
code-insiders .

You get a type error at line 388, which only shows up after upgrading to 2.4.1.
[ts] Argument of type '(params: InitializeParams) => Thenable<InitializeResult | ResponseError<InitializeError>>' is not assignable to parameter of type 'RequestHandler<InitializeParams, InitializeResult, InitializeError>'.
       Type 'Thenable<InitializeResult | ResponseError<InitializeError>>' is not assignable to type 'InitializeResult | ResponseError<InitializeError> | Thenable<InitializeResult> | Thenable<Respons...'.
         Type 'Thenable<InitializeResult | ResponseError<InitializeError>>' is not assignable to type 'Thenable<ResponseError<InitializeError>>'.
           Type 'InitializeResult | ResponseError<InitializeError>' is not assignable to type 'ResponseError<InitializeError>'.
             Type 'InitializeResult' is not assignable to type 'ResponseError<InitializeError>'.
               Property 'code' is missing in type 'InitializeResult'.

I had the same. Simply remove the typings from the arrow function and let the compile infer it. The signature is wrong and now more strictly checked.


Typo on EF-Query-IncludeOptimized wiki

There is an issue on this wiki
var orders = ctx.Orders
                .Where(x => x.OrderId = myOrderID) // 1 orders, 20 columns
                .Include(x => x.Items) // 20 items, 10 columns
                .Include(x => x.DeliveredItems) // 10 items, 10 columns
                .ToList();

The where is missing an Equal (=). It should be:
var orders = ctx.Orders
                .Where(x => x.OrderId == myOrderID) // 1 orders, 20 columns
                .Include(x => x.Items) // 20 items, 10 columns
                .Include(x => x.DeliveredItems) // 10 items, 10 columns
                .ToList();

Thank you @rrdlpl  for reporting,
The typo has been fixed.
Best Regards,
Jonathan


Running scene stuck on splash screen - possible scene/script file corruption

Tested versions
v4.2.1.stable.official [b09f793f5]
System information
Google Pixel 6, Android 14: Godot v4.2.1.stable - Android - Vulkan (Mobile) - integrated Mali-G78 -  (8 Threads)
Issue description
I was working on a simple Godot game on my phone, when, the game started to get stuck on the splash screen whenever I run it. I tried restarting Godot and my phone, but it didn't help. I noticed that the issue did not occur when I run any scene that did not use player.tscn (map.tscn, ui.tscn) and that all the exported properties of Player.gd (used in player.tscn) were reset to default values, which might suggest that the scene file or the Player.gd script were corrupted in some way.
Steps to reproduce

Download the attached MRP and open it with Godot
(I encountered the issue while using Godot Editor on Android)
Either run the game or run player.tscn scene or run any other scene that uses player.tscn (ex. main.tscn)
The game will be stuck on the splash screen
Notice that when you run any scene other than the mentioned above OR you remove the Player.gd script from the player.tscn OR you run the game from the project list, everything works fine
Additionally, the exported properties of the Player.gd script were reset to default values in player.tscn

Minimal reproduction project (MRP)
MyGame.zip

Hello @KUNGERMOoN,
Trying this on Godot 4.2.1 PlayStore build, and I was stuck on the splash screen just the same. Reassigning the AnimatedSprite2D property in the player scene was all it took for it to run properly, even tho the change isn't immediately reflected in the main scene's inspector. Do your exported properties keep getting reset to their default values?

Do your exported properties keep getting reset to their default values?
No, when I change them and save the node they won't get reset.
I worked around the problem by re-creating the scene and editing & recompiling the script.
Still, it's super weird that the problem occurs when running a project after opening it in the editor, but not when running it from the project list.

Testing this on Godot v4.2.1.stable.mono - Windows 10.0.19044 - Vulkan (Mobile) - dedicated AMD Radeon HD 8950 (Advanced Micro Devices, Inc.; 27.20.1034.6) - Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz (8 Threads), the game starts and gets past the splash screen, but then instantly freezes and stops responding. Also it throws an error:
  <C++ Error>    Condition "f.is_null()" is true. Returning: err
  <C++ Source>   core/io/image_loader.cpp:90 @ load_image()

Which is weird considering the icon.svg (which I deleted) doesn't seem to be used anywhere

Testing this on Godot v4.2.1.stable.mono - Windows 10.0.19044 - Vulkan (Mobile) - dedicated AMD Radeon HD 8950 (Advanced Micro Devices, Inc.; 27.20.1034.6) - Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz (8 Threads), the game starts and gets past the splash screen, but then instantly freezes and stops responding. Also it throws an error:
  <C++ Error>    Condition "f.is_null()" is true. Returning: err
  <C++ Source>   core/io/image_loader.cpp:90 @ load_image()

Which is weird considering the icon.svg (which I deleted) doesn't seem to be used anywhere

I do get that error as well using your MRP in Godot 4.2.1 on Windows, but again, the freeze doesn't happen if I assign the AnimatedSprite2D node in the player scene before running the game so the error seems unrelated.

the freeze doesn't happen if I assign the AnimatedSprite2D node in the player scene before running the game

You're right, that seems to fix the problem. Leaving it unassigned probably caused dereferencing null in the script which might've been what caused the freeze. Is it a correct behaviour? (shouldn't it throw some kind of error rather than freezing the game? - I'm kinda new to GDScript so not sure about that)

The icon.svg file is used by default on Windows as the game icon in your project list, among other places. You can point to a different icon or empty the text field in Project Settings -> Application -> Config -> Icon so it stops throwing that error.

Oh, it makes more sense now. Thanks!

I think this is a misunderstanding on your part. As far as I can tell, you've never assigned the value for sprite in Player.gd:
@export var sprite: AnimatedSprite2D only declares the sprite variable and its type, its value here is null.
Because your AnimatedSprite2D is a node in the tree, it has to be either manually assigned in the inspector or assigned to at runtime like this:
func _ready():
	sprite = get_node("AnimatedSprite2D")

(more info here: https://docs.godotengine.org/en/stable/classes/class_node.html#class-node-method-get-node)
The reason your game would only crash inside the inspector is because the release build is more lenient and will avoid crashing as much as possible, as opposed to debug mode inside the editor, which catches errors in order for you to fix them. However, I doubt the animation was actually playing even when you started the game from the project list, right?
As far as I can tell, unless I'm somehow mistaken, there is no bug or file corruption of any kind here.

I think this is a misunderstanding on your part. As far as I can tell, you've never assigned the value for sprite in Player.gd:
@export var sprite: AnimatedSprite2D only declares the sprite variable and its type, its value here is null.
Because your AnimatedSprite2D is a node in the tree, it has to be either manually assigned in the inspector or assigned at runtime like this:
func _ready():
	sprite = get_node("AnimatedSprite2D")

(more info here: https://docs.godotengine.org/en/stable/classes/class_node.html#class-node-method-get-node)
The reason your game would only crash inside the editor is because the release build is more lenient and will avoid crashing as much as possible, as opposed to debug mode inside the editor, which catches errors in order for you to fix them. However, I doubt the animation was actually playing even when you started the game from the project list, right?

It solves the problem, but still, I not sure if not assigning exported property used in the code should cause the game to freeze

The game crashes not because the property is unassigned, but because you're trying to use that unassigned property at runtime in your code.
As far as I can tell, unless I'm somehow mistaken, there is no bug or file corruption of any kind here.

You're right, it probably was a mistake on my part, and since you provided evidence it might not be what I originally thought, I was mostly wondering about the unassigned property causing the game to freeze (which you explained in the quoted comment) and the exported properties being reset - which might've been my mistake (especially considering how easy it is to press the wrong button while using the editor on a phone without a mouse).
Anyway, considering it's most likely not an Engine's fault, I'll be closing this issue.
Thank you for your help (and patience) @AlexOtsuka and I hope you have a good day.

Update on the topic: it seems like some parts of the project might get non-permanently reset after a game freezes due to the user's code.
For example, after freezing the game and re-opening the editor app, the script editor shows as if some (or sometimes all) script files were empty. This doesn't seem like a script importing problem; I didn't see any errors in the output and even got a code warning regarding the script being empty.
The problem disappears if you make it so the editor starts with a tab open that is other than the "Script" tab.
(For example:

open the editor (the scripts will be seemingly empty)
navigate to the "2D" tab
close the editor app without making any changes
re-open the app and the project
navigate to the "Scripts" tab
the scripts will be back)

However, if you try to edit and save the seemingly empty file, it won't go back even if you perform the steps I described above (I've lost a bunch of progress that way)
This issue has happened to me ~4 times so far and I believe it might be the cause of the problem I originally described in this issue - before I uploaded the MRP, I remember encountering a freeze and changing some properties of the faulty node (and saving them).

Update on the topic: it seems like some parts of the project might get non-permanently reset after a game freezes due to the user's code.
For example, after freezing the game and re-opening the editor app, the script editor shows as if some (or sometimes all) script files were empty. This doesn't seem like a script importing problem; I didn't see any errors in the output and even got a code warning regarding the script being empty.
The problem disappears if you make it so the editor starts with a tab open that is other than the "Script" tab.
(For example:

open the editor (the scripts will be seemingly empty)
navigate to the "2D" tab
close the editor app without making any changes
re-open the app and the project
navigate to the "Scripts" tab
the scripts will be back)

However, if you try to edit and save the seemingly empty file, it won't go back even if you perform the steps I described above (I've lost a bunch of progress that way)
This issue has happened to me ~4 times so far and I believe it might be the cause of the problem I originally described in this issue - before I uploaded the MRP, I remember encountering a freeze and changing some properties of the faulty node (and saving them).
Edit: This does not seem to be the same problem as #68862 - the provided MRP does not show the scripts as empty, and does provide a parse error that was not present in my issue


Fails to throw exception when parsing object property name without a matching value

While parsing an object, a string at the end of an object that should throw an exception is ignored.
Both of these cases will be accepted without throwing an error in the current version (4.0.0):
{ "a": 1, "b" }

{ "a": 1, "b": }

The output with default settings is:
{"a": 1}

The "b" in the input text is interpreted as a property name, but there is no associated value.  Therefore, it's invalid JSON.  The correct behavior is to throw an exception to indicate that.

Fixed in v4.0.1 (all versions)


simplified GPU installation instructions

The instructions for installing locally and for installing the GPU version on linux have several steps, and most might not be needed.  I found the entire process needed was:
conda create -n cellpose python=3.7
conda activate cellpose
pip install cellpose  # add [gui] for GUI stuff

Specifically, the GPU seemed to be detected ("** TORCH CUDA version installed and working. **"), without uninstalling torch and installing pytorch.
Would you accept a PR to rework the instructions, or is there a potential gotcha in using the instructions above?  (I would write a version for anaconda, as well.)

I would be very happy to accept a pull request with this! I think python=3.8 should be supported now too


Comment out required fields

Commenting out to match Save point 03. If starting from 00 and following tutorial, this is Issue #339

This should also be fixed in 01 and 02.

This should be addressed now by https://github.com/dotnet-presentations/blazor-workshop/pull/354


Encoding.encode_radial_gradient double-draw for degenerate gradients

Beforehand, if p0=p1 and r0=r1, it would encode the transparent color and continue, encoding ANOTHER draw for the gradient afterward (either the encode_color, or pushing the gradient).
This would cascade into further draws NOT corresponding to the desired paths.

Added a test case above in test_scenes.rs
Without the patch:

With the patch:

It just adds a degenerate gradient fill AFTER the red square, but before the green/blue squares. When unpatched, the double-draw shifts the 2nd and 3rd (supposed to be green/blue) squares, with the 3rd square incorrectly showing up as green.

Looks like a subsequent PR created a conflict. Happy to merge this as soon as it’s resolved.


Eventually remove the job requirement string

It's still needed for HLT and now for the CMS@Home project (see #8615)

@khurtado Kenyi, we quickly discussed it in the meeting but I didn't know there was this issue. I'm assigning this one to you for now ;)

This has been fixed by: https://github.com/dmwm/WMCore/pull/9767
(we never set that BossAir configuration parameter...)

This has been fixed by: https://github.com/dmwm/WMCore/pull/9767
(we never set that BossAir configuration parameter...)


Support Compressed Whisper Format

Hi, this is a companying PR for supporting compressed whisper format (cwhisper) in go-whisper: https://github.com/go-graphite/go-whisper/pull/1, more details about compressed whisper format could be found in that PR.
One thing to note is that the changes in go-whisper is made to be backward compatible so there is no interruptions for existing whisper files.
This PR is set to be draft so that after the changes is accepted in go-whisper, I will update the dependency.
Looking forward to have this changes accepted and all feedback is welcome. :)

It would be nice to have the example config in deploy/go-carbon.conf and README.md changes in this PR

HI @lomik , I have marked this PR ready to review now. Could you take a look when you are convenient and let me know if things looks alright to you?

I do not see any obvious problems.

@bom-d-van
Shouldn't we recommend to use locking by default with compressed format?

@azhiltsov I have updated the doc a bit, could you take a look?

@lomik @azhiltsov I think this is good enough to be merged! :D


fix: Incorrect parentheses in README

Fixed incorrect parentheses in README for firestore's useDocuments hook

@niwhede good spot, thanks for this


Change the case of the first letter(of Account) from uppercase to lowercase.

Small a in Account

Verified this issue on dev app v1.8.0(321)


Bug located in pyaedt\modules\report_templates.py

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
Please, provides an example of the use of the "add_limit_line_from_points" or "add_limit_line_from_equation()" in Hfss3Dlayout.
Steps To Reproduce
import pyaedt
from pyaedt.modules import report_templates
h3d = pyaedt.Hfss3dLayout(projectname=project_path, non_graphical=False, new_desktop_session=True)
RL = h3d.get_all_return_loss_list()
RL_dB = ["dB({})".format(item) for item in RL]
h3d.post.create_report(expressions=RL_dB, plotname="Return Loss")
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
cffi            1.16.0
clr-loader      0.2.6
pip             21.1.2
plumbum         1.8.2
psutil          5.9.7
pyaedt          0.7.11
pycparser       2.21
pywin32         306
rpyc            5.3.1
setuptools      57.0.0
wheel           0.36.2

Hi @Acaptian,
We currently don't have any example available for Hfss3dlayout but we do have it for a Circuit example.
Please look at it here: https://aedt.docs.pyansys.com/version/stable/examples/07-Circuit/Circuit_Transient.html#create-report-inside-aedt.
Bear in mind that this method only works in graphical mode.
Hope is useful somehow!
Kind regards,
Giulia

Hi @Acaptian,
was my answer helpful?
please do let me know so we can close this issue.
Thanks,
Giulia

Hi gmalinve
Thank you for the Circuit example，but it dosen't show how to use the  "add_limit_line_from_points" or "add_limit_line_from_equation()"

@Acaptian Yes it does:
new_report.add_limit_line_from_points([60, 80], [1, 1], "ns", "V")

Hi @Acaptian,
did you check the example I suggested?
Please give us a feedback so we can close this issue in case it replies to your question.
Thanks,
Giulia


'fashion_mnist' failed to load on TPU (try_gcs=True not working)!

I am trying to replicate TensorFlow autoencoder (Source: Second example: Image denoising)  image cleaning example on TPU (in google colab).
Code :
import tensorflow as tf
import tensorflow.keras as keras
import tensorflow_datasets as tfds
from tensorflow.keras.layers import Input, Conv2D, MaxPooling2D, UpSampling2D
from tensorflow.keras.models import Model

tfds.disable_progress_bar()                                                     # disables Tqdm progress bar

# Connect to TPU
resolver = tf.distribute.cluster_resolver.TPUClusterResolver()
tf.config.experimental_connect_to_cluster(resolver)
tf.tpu.experimental.initialize_tpu_system(resolver)
strategy = tf.distribute.TPUStrategy(resolver)

# Define the autoencoder model
def build_autoencoder():
    input_img = Input(shape=(28, 28, 1))
    x = Conv2D(16, (3, 3), activation='relu', padding='same')(input_img)
    x = MaxPooling2D((2, 2), padding='same')(x)
    x = Conv2D(8, (3, 3), activation='relu', padding='same')(x)
    x = MaxPooling2D((2, 2), padding='same')(x)
    x = Conv2D(8, (3, 3), activation='relu', padding='same')(x)
    encoded = MaxPooling2D((2, 2), padding='same')(x)

    x = Conv2D(8, (3, 3), activation='relu', padding='same')(encoded)
    x = UpSampling2D((2, 2))(x)
    x = Conv2D(8, (3, 3), activation='relu', padding='same')(x)
    x = UpSampling2D((2, 2))(x)
    x = Conv2D(16, (3, 3), activation='relu')(x)
    x = UpSampling2D((2, 2))(x)
    decoded = Conv2D(1, (3, 3), activation='sigmoid', padding='same')(x)

    autoencoder = Model(input_img, decoded)
    autoencoder.compile(optimizer='adam', loss='binary_crossentropy')
    return autoencoder

# Load MNIST dataset
(ds_train, ds_test), ds_info = tfds.load('fashion_mnist', split=['train', 'test'], shuffle_files=True, as_supervised=True, with_info=True,
                                         try_gcs = True)

# This works fine !!!!!!!!!!!!!!!!!!!!!!!!! (Mean no error in code !)
#(ds_train, ds_test), ds_info = tfds.load('mnist', split=['train', 'test'], shuffle_files=True, as_supervised=True, with_info=True,
#                                         try_gcs = True)

# Define input preprocessing function
def preprocess_input(image, label,labels:tf.Tensor=None,noise_mean:float=0.0,noise_stddev:float=0.05):
    image = tf.cast(image, tf.float32) / 255.0
    image = tf.image.resize(image, (28, 28))  # Resize images to (28, 28)
    #image_noise =  tf.add(image,tf.random.normal(image.shape,mean=noise_mean,stddev=noise_stddev))
    #image_noise = tf.clip_by_value(image_noise,tf.reduce_min(image),tf.reduce_max(image))
    return image, image #image_noise

# Preprocess and batch the dataset
AUTOTUNE = tf.data.AUTOTUNE
BATCH_SIZE = 128 * strategy.num_replicas_in_sync

ds_train = ds_train.map(preprocess_input, num_parallel_calls=AUTOTUNE)
ds_train = ds_train.cache()
ds_train = ds_train.batch(BATCH_SIZE)
ds_train = ds_train.prefetch(AUTOTUNE)

ds_test = ds_test.map(preprocess_input, num_parallel_calls=AUTOTUNE)
ds_test = ds_test.cache()
ds_test = ds_test.batch(BATCH_SIZE)
ds_test = ds_test.prefetch(AUTOTUNE)

# Create a TPU model
with strategy.scope():
    autoencoder = build_autoencoder()

# Train the model
autoencoder.fit(ds_train,epochs=10,validation_data=ds_test)

Error
UnimplementedError: 9 root error(s) found.
  (0) UNIMPLEMENTED: {{function_node __inference_train_function_145566}} File system scheme '[local]' not implemented (file: '/bufferedio/root/tensorflow_datasets/fashion_mnist/3.0.1/fashion_mnist-train.tfrecord-00000-of-00001')
	 [[{{node MultiDeviceIteratorGetNextFromShard}}]]
	 [[RemoteCall]]
	 [[IteratorGetNextAsOptional_7]]
  (1) UNIMPLEMENTED: {{function_node __inference_train_function_145566}} File system scheme '[local]' not implemented (file: '/bufferedio/root/tensorflow_datasets/fashion_mnist/3.0.1/fashion_mnist-train.tfrecord-00000-of-00001')
	 [[{{node MultiDeviceIteratorGetNextFromShard}}]]
	 [[RemoteCall]]
	 [[IteratorGetNextAsOptional_2]]
  (2) UNIMPLEMENTED: {{function_node __inference_train_function_145566}} File system scheme '[local]' not implemented (file: '/bufferedio/root/tensorflow_datasets/fashion_mnist/3.0.1/fashion_mnist-train.tfrecord-00000-of-00001')
	 [[{{node MultiDeviceIteratorGetNextFromShard}}]]
	 [[RemoteCall]]
	 [[IteratorGetNextAsOptional_1]]
  (3) UNIMPLEMENTED: {{function_node __inference_train_function_145566}} File system scheme '[local]' not implemented (file: '/bufferedio/root/tensorflow_datasets/fashion_mnist/3.0.1/fashion_mnist-train.tfrecord-00000-of-00001')
	 [[{{node MultiDeviceIteratorGetNextFromShard}}]]
	 [[RemoteCall]]
	 [[IteratorGetNextAsOptional]]
	 [[strided_slice_39/_314]]
  (4) UNIMPLEMENTED: {{function_node __inference_train_function_145566}} File system scheme '[local]' not implemented (file: '/bufferedio/root/tensorflow_datasets/fashion_mnist/3.0.1/fashion_mnist-train.tfrecord-00000-of-00001')
	 [[{{node MultiDeviceIteratorGetNextFromShard}}]]
	 [[RemoteCall]]
	 [[IteratorGetNextAsOptional]]
	 [[strided_slice_30/_296]]
  (5) UNIMPLEMENTED: {{function_node __inference_train_function_145566}} File system scheme '[local]' not implemented (file: '/bufferedio/root/tensorflow_datasets/fashion_mnist/3.0.1/fashion_mnist-train.tfrecord-00000-of-00001')
	 [[{{node MultiDeviceIteratorGetNextFromShard}}]]
	 [[RemoteCall]]
	 [[IteratorGetNextAsOptional]]
	 [[strided_slice_21/_266]]
  (6) UNIMPLEMENTED: {{function_node __inference_train_function_145566}} File system scheme '[local]' not implemented (file: '/bufferedio/root/tensorflow_datasets/fashion_mnist/3.0.1/fashion_mnist-train.tfrecord-00000-of-00001')
	 [[{{node MultiDeviceIteratorGetNextFromShard}}]]
	 [[RemoteCall]]
	 [[IteratorGetNextAsOptional]]
	 [[cond/then/_0/cond/cond_1/output/_121/_182]]
  (7) UNIMPLEMENTED: {{function_node __inference_train_function_145566}} File system scheme '[local]' not implemented (file: '/bufferedio/root/tensorflow_datasets/fashion_mnist/3.0.1/fashion_mnist-train.tfrecord-00000-of-00001')
	 [[{{node MultiDeviceIteratorGetNextFromShard}}]]
	 [[RemoteCall]]
	 [[IteratorGetNextAsOptional]]
	 [[Greater/_26]]
  (8) UNIMPLEMENTED: {{function_node __inference_train_function_145566}} File system scheme '[local]' not implemented (file: '/bufferedio/root/tensorflow_datasets/fashion_mnist/3.0.1/fashion_mnist-train.tfrecord-00000-of-00001')
	 [[{{node MultiDeviceIteratorGe ... [truncated]

This code works fine with MNIST dataset but shows following error on Fashion MNIST. I think this might be the problem with try_gcs argument in tensorflow_datasets.load .

Hi @MegaCreater
Based on the error message you provided earlier, it seems that the issue is not related to the specific dataset being used (MNIST vs Fashion MNIST), but rather with how the data is being accessed from the TPU. The error message “File system scheme ‘[local]’ not implemented” suggests that the code is trying to access a local file system, but this is not supported by the TPU.
TPUs are designed to work with cloud storage services such as Google Cloud Storage (GCS), and cannot directly access data stored on the local file system of the machine running the code. "If you are using TPU Nodes, you need to store all data files read by the TensorFlow Dataset in Google Cloud Storage (GCS) buckets. If you are using TPU VMs, you can store data wherever you like. For more information on TPU Nodes and TPU VMs, refer to the TPU System Architecture documentation."
You can create a TPU VM, but it is not for free. You can use it by following this tutorial: “https://colab.research.google.com/github/tensorflow/tpu/blob/master/models/experimental/mnist_jupyter/Cloud-TPU-Demo.ipynb”. If you try changing the runtime to GPU, it should work correctly.
One other approach you can try is to access data stored in a Google Cloud Storage bucket using Colab. Here is a link :"https://colab.research.google.com/github/tensorflow/tpu/blob/master/tools/colab/keras_mnist_tpu.ipynb"

@MegaCreater,
It looks like model_dir is set to a local directory in /tmp/, can you double check to make sure that it is a path to a GCS bucket?
It could be possible that it's creating a directory within data_dir which is a GCS path. Both data_dir and model_dir should be set to GCS buckets.
You would need to have your data stored inside a GCS bucket and the Cloud TPUs should have access to that. Also  can you simply look up the IP address of your VM (something like !curl ifconfig.me in your Colab cell) and then look up which geolocation that IP belongs to.

@medmabcf it's dataset related only ....
# this works fine (NO ERROR)
(ds_train, ds_test), ds_info = tfds.load('mnist', split=['train', 'test'], shuffle_files=True, as_supervised=True, with_info=True, try_gcs = True)

# This create error ! (ERROR)
(ds_train, ds_test), ds_info = tfds.load('fashion_mnist', split=['train', 'test'], shuffle_files=True, as_supervised=True, with_info=True,try_gcs = True)

"https://colab.research.google.com/github/tensorflow/tpu/blob/master/tools/colab/keras_mnist_tpu.ipynb" this example is not useful because my code works fine on 'minst' dataset.

@tilakrayal are you talking about something like this ?
import tensorflow as tf
import tensorflow_datasets as tfds
# Set TPU address (if using Google Cloud TPU)
tpu_address = 'grpc://<tpu-ip-address>'
tpu_resolver = tf.distribute.cluster_resolver.TPUClusterResolver(tpu=tpu_address)
tf.config.experimental_connect_to_cluster(tpu_resolver)
tf.tpu.experimental.initialize_tpu_system(tpu_resolver)
data_dir = 'gs://your-bucket/data'  # GCS bucket path for data
model_dir = 'gs://your-bucket/model'  # GCS bucket path for model
builder = tfds.builder('your_dataset_name', data_dir=data_dir)
builder.download_and_prepare()

# Define the training and validation datasets
train_dataset = builder.as_dataset(split='train', shuffle_files=True)
val_dataset = builder.as_dataset(split='validation', shuffle_files=True)

# Enable batching and shuffling
train_dataset = train_dataset.shuffle(1024).batch(batch_size)
val_dataset = val_dataset.batch(batch_size)
strategy = tf.distribute.experimental.TPUStrategy(tpu_resolver)
with strategy.scope():
    # Define and compile your model
    model = ...
    model.compile(...)
callbacks = [
    tf.keras.callbacks.ModelCheckpoint(
        filepath=model_dir,  # Save the model to the GCS bucket
        save_best_only=True,
        save_weights_only=True
    ),
    # Other callbacks...
]

# Train the model
model.fit(train_dataset, validation_data=val_dataset, callbacks=callbacks, ...)

How can I access  "gs://your-bucket/data" ? I mean how can I get my bucket address ? (what will be the "gs://your-bucket/" ?)

@MegaCreater ,
You can access a bucket in the Cloud Dataprep UI by manually entering the Google Cloud Storage path.
https://cloud.google.com/storage/docs/access-public-data
https://cloud.google.com/storage/docs/cloud-console
Thank you!

@tilakrayal its not working. I don't have cloud storage. And cloud bucket. I don't have any paid or pro access to google cloud. I am not using any cloud VM. I am using google colab TPU. So, how can I do all things in colab TPU environment?

Hi @MegaCreater
The very first answer mentions that the error is due to TPUs being able to pull data only from GCS.
Indeed mnist dataset exists in gs://tfds-data/datasets/mnist/ and hence everything works, but fashion_mnist is unfortunately not available through public TFDS GCS. You should create your own GCS bucket and store fashion_mnist there and then pull it using tfds.load(data_dir=<your GCS bucket>).

@fineguy I am using colab (Colab's TPU). Can I use Google drive as cloud space ?

@MegaCreater , Yes you can mount your Google Drive and import the data.
from google.colab import drive
drive.mount('/content/drive')

from tensorflow import keras
import os

# Path to the MNIST dataset folder in your Google Drive
mnist_path = '/content/drive/MyDrive/MNIST/'


There is 2 different % showing up

i just got round to trying the new app and have noticed there is two different percentages now showing on the app how does one use this or is it calculating the ivs in correctly now

The % next to the CP value indicates the pokemon's CP relative to its maximum potential CP (pokemon has CP of 750, its max CP at its level is 1000, the value will be 75%)
The % next to the IVs indicates the pokemon's combined IV relative to perfection (a 14/14/15 pokemon  has a total of 43 out of 45 total, for 95%).
The reason it's useful to have both percentages is that the attack IV is disproportionately weighted in the CP calculation. A pokemon with high atk IV and low def and stam IVs can still have a pretty high CP.

Thank you that makes things so much more clear now I understand why that's actually a good idea to have both
Get Outlook for Androidhttps://aka.ms/ghei36
On Thu, Aug 25, 2016 at 3:49 PM +0100, "B.J. May" <notifications<EMAIL_ADDRESS>wrote:
The % next to the CP value indicates the pokemon's CP relative to its maximum potential CP (pokemon has CP of 750, its max CP at its level is 1000, the value will be 75%)
The % next to the IVs indicates the pokemon's combined IV relative to perfection (a 14/14/15 pokemon has a total of 43 out of 45 total, for 95%).
The reason it's useful to have both percentages is that the attack IV is disproportionately weighted in the CP calculation. A pokemon with high atk IV and low def and stam IVs can still have a pretty high CP.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/billyvg/pokemon-journal/issues/31#issuecomment-242415829, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AT3DNo6MZHdDVarc67YF9MadDrkphPJ8ks5qjatvgaJpZM4Jsdws.


[10.1] ISPN-11126 Perform some cache manager ops in privileged blocks

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

Integrated into 10.1.x, thanks @tristantarrant !


Fault Sets in Torus

This is a question.
Question:
Let's say I have three racks of servers, each containing 40 servers. I want to run Torus across all of them. I would like to have 3 copies of data and want to place each copy in unique rack. Does Torus have a concept of Fault Zones where I can specify which node belongs to which fault zone and Torus would automatically select nodes in unique fault zone to store data? (a la ScaleIO) ? I am trying to avoid a scenario where Torus would pick nodes in the same rack unit.

Great question. There is a plan for exactly this on our relatively short roadmap.
The trick is to teach the hash ring about these sorts of constraints -- eg, "replicate three times, all on different racks". In fact, rack awareness is how I usually formulate this in examples for design :)
The planning for this is #172, which I'm going to merge this into; as well as naming that one better. Ring Trees may be how this accomplished, but the bug should suggest what the motivation is as well!


mm/alloc: remove all unnecessary cast for alloc

Summary
mm/alloc: remove all unnecessary cast for alloc
Fix the minor style issue and remove unnecessary cast
Signed-off-by: chao an<EMAIL_ADDRESS>Impact
N/A
Testing
ci-check

please add a commit message

Done

@pkarashchenko  all addressed, thank you!

Please fix the leftovers and we can move to merge

@pkarashchenko Done, please review again.


Plugin Module Error on OS X 10.11.5

Hi
I installed pothos, pothosaudio, pothosblocks, pothoscomms, pothosgui, pothosplottrs, pothospython, pothossdr, pothoswidgets, soapysdr and soapyrtlsdr on my MacBook.
When I run "PothosGui", it gives lots of plugin load errors. One example:
2016-07-10 19:33:47 Pothos.PluginLoader.load: Plugin Module Error: Pothos::PluginModule(/usr/local/lib/Pothos/modules/blocks/libEventBlocks.so): failed safe load
When I add a SDR Source block and set the parameters and a Spectrogram block, it shows lots of ProxyBlockEval errors. One example:
2016-07-10 19:39:39 PothosGui.BlockEval.guiEval: Spectrogram0-Proxy Exception Message: Exception: ProxyBlockEval factory(/plotters/spectrogram)  -> {Proxy Exception Message: Plugin Registry Error: Pothos::PluginRegistry::get(/blocks/comms/wave_trigger): plugin path not found}
Any help?

If seemingly random modules arent loading it might be a sign of a missing runtime library. What happens when you run PothosUtil --load-module /usr/local/lib/Pothos/modules/blocks/libEventBlocks.so? Hopefully there is a useful error about a missing library or something else.

Thank you. Running the above-mentioned command gave this error:

Plugin Module Error: Pothos::PluginModule(/usr/local/lib/Pothos/modules/blocks/libEventBlocks.so): Cannot load library: dlopen(/usr/local/lib/Pothos/modules/blocks/libEventBlocks.so, 9): Library not loaded: /usr/local/opt/poco/lib/libPocoUtil.31.dylib

I looked at /usr/local/opt/poco/lib. I have files there, but ending with ".43.dylib", not ".31.dylib", so I renamed every file with "43.dylib" to "31.dylib" extension. I know that this is not the right thing to do, I just did it for test.
Now PothosGui runs without any errors and I see many new blocks inside the app.
But, I still had a problem: when I added a "SDR Source" block, it did not have an input or output port and showed this error:

SDRSource0::eval(...) - Exception: ProxyBlockEval factory(/sdr/source) -> {Exception: SDRBlock::make(): Failed ABI check. Pothos SDR 0.5-1. SoapySDR 0.5-2. Rebuild the module}

So I ran "brew reinstall pothossdr" and now all those errors are gone.
But still there should be some version mismatch or missing components because I can't run "simple_fm_demod" from "pothos-demos" repository. It says:

PothosGui.TopologyEval.commit: Framework Topology Connect Error: Pothos::Topology::commit(): Framework Topology Connect Error: SDRSource0.activate(): Exception: RtAudio init error 'RtApiCore::probeDeviceOpen: system error (kAudioDeviceUnsupportedFormatError) setting sample rate for device (0).

Even when I do a very simple thing (connecting a "rtlsdr" SDR Source to a Spectrogram), it finds the device (says "::1: Found Rafael Micro R820T tuner") but does not show any Spectrogram without giving any errors. The last lines of log:

2016-07-11 01:26:00 ::1: Found Rafael Micro R820T tuner
2016-07-11 01:26:00 ::1: Found Rafael Micro R820T tuner
2016-07-11 01:26:05 SoapySDR: Using format CF32.
2016-07-11 01:26:05 ::1: Exact sample rate is: 1000000.026491 Hz

Thanks for your help

Update: Sometime when I connect the RTL dongle to Macbook and then run the PothosGui, it shows this error:

::1: usb_claim_interface error -3

Thought maybe it's related to the above error.

I looked at /usr/local/opt/poco/lib. I have files there, but ending with ".43.dylib", not ".31.dylib", so I renamed every file with "43.dylib" to "31.dylib" extension. I know that this is not the right thing to do, I just did it for test.

Not sure whats going on with poco. It looks a lot like this issue: https://github.com/pothosware/homebrew-pothos/issues/2 Its best to rebuild pothos and toolkits against whatever poco is currently installed. Renaming the libraries like that could be very crashy

Yes, running 'SoapySDRUtil --probe="driver=rtlsdr" ' gives success and everything's fine (I also can use the dongle in other Soapy based apps like CubicSDR)
I uninstalled pothos-python, pothos-gui and pothos and I'm trying to build them all from source.
A little bit frustrated.

FYI, I reinstalled everything using brew and my original errors (poco related) are gone.
Now I have problems with running topologies and I've created a new issue for it


Is personal data stored for 30 or 90 days?

[Enter feedback here]
The article says the data stores store data for 90 days but then it also says the personal data is stored for 30 days - please clarify.

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

ID: ba59950e-72c3-be82-4338-523f7369db7f
Version Independent ID: dd17834a-6530-7e52-b392-84456652d25e
Content: Azure Multi-Factor Authentication data residency
Content Source: articles/active-directory/authentication/concept-mfa-data-residency.md
Service: active-directory
Sub-service: authentication
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

@AlexFilipin We will have this clarified with the engineering and update the thread.
Thank you.

Thanks for the feedback, @AlexFilipin
As the doc states, there are data stores that contain general product usage information, without specific user object tracking information. Those data stores are retained for 90 days.
Separately, specific log data that does include a UserObjectId is stored for 30 days.
#please-close


SyntaxError: Invalid or unexpected token with v9.2.3

Checklist

[X]  I am not using Home Assistant. Or: a developer has told me to come here.
[X] I have checked the troubleshooting section and my problem is not described there.
[X] I have read the changelog and my problem is not mentioned there.

Deploy method
Docker
Z-Wave JS UI version
No idea (as it won't start)
ZwaveJS version
9.2.2
Describe the bug
SyntaxError: Invalid or unexpected token at container startup
See stacktrace below.
To Reproduce
Pull image 9.2.3 and start zwave js container
Expected behavior
Startup sucessfully
Additional context
Zwave JS container won't start with 9.2.3 version (tag latest). Therefore, the UI is not accessible.
There is no problem with the 9.2.2 version.
Here is all the logs I got when starting the container:
pi@raspberrypi:/home/domotique $ sudo docker-compose up zwavejs2mqtt
Recreating zwavejs2mqtt ... done
Attaching to zwavejs2mqtt
zwavejs2mqtt     | /usr/src/app/node_modules/fast-deep-equal/index.js:1
zwavejs2mqtt     |
zwavejs2mqtt     |
zwavejs2mqtt     |
zwavejs2mqtt     | SyntaxError: Invalid or unexpected token
zwavejs2mqtt     |     at internalCompileFunction (node:internal/vm:73:18)
zwavejs2mqtt     |     at wrapSafe (node:internal/modules/cjs/loader:1176:20)
zwavejs2mqtt     |     at Module._compile (node:internal/modules/cjs/loader:1218:27)
zwavejs2mqtt     |     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
zwavejs2mqtt     |     at Module.load (node:internal/modules/cjs/loader:1117:32)
zwavejs2mqtt     |     at Function.Module._load (node:internal/modules/cjs/loader:958:12)
zwavejs2mqtt     |     at Module.require (node:internal/modules/cjs/loader:1141:19)
zwavejs2mqtt     |     at require (node:internal/modules/cjs/helpers:110:18)
zwavejs2mqtt     |     at Object.<anonymous> (/usr/src/app/node_modules/@homebridge/ciao/src/coder/records/NSECRecord.ts:2:1)
zwavejs2mqtt     |     at Module._compile (node:internal/modules/cjs/loader:1254:14)
pi@raspberrypi:/home/domotique $

It works on my side. Could you tell me the output of uname -a command?

Sure:
Linux raspberrypi 5.10.103-v8+ #1530 SMP PREEMPT Tue Mar 8 13:06:35 GMT 2022 aarch64 GNU/Linux

Could be that docker arm64 container is bugged. I only have docker x64, I would need some other user to tell me if they have problems with that too

@gonzo09 could it be that your sd card is corrupted maybe? Could you try with another device? Or could you try to pull another image maybe by using master tag instead?

@robertsLando I'm on SSD and everything else works fine. I rollbacked to 9.2.2 and it's working too (so no hurry for me).
I just saw that image zwavejs/zwavejs2mqtt is deprecated but still maintain. I'll try to switch to zwavejs/zwave-js-ui image and/or master tag.

OK let me know so

Closing, feel free to reopen


3D map showing scales issue (Android)

Context
I am using 3d map polygons for my project using your latest code on Android (Carto Mobile Sdk 4.2.0). And the map is showing a lot of scales (image attached). I am seeing these lines when I use tilting. When the camera is with a tilt of 90 degrees, the lines go away.
Steps to Reproduce

Load the map for Carto Mobile Sdk 4.2.0
Tilt the map for viewing it in 3d
Weird lines/scales show up

Current Result
The lines or the scales seem to be some polygons/polylines plotted on the map with some alpha
Expected result
3d map should be as clear as 2d map
SDK Version
I am using Carto Version 4.2.0

Thanks for reporting this. Does this happen on all devices or only a specific model?
Also, could you check 'Base maps' sample from our AdvancedMapAndroid project (https://github.com/CartoDB/mobile-android-samples) and check if buildings are displayed properly when you select '3D buildings' from options menu? If they are, then this issue is likely related to specific dataset and we need a reproducible testcase (a basic sample app with the dataset) to investigate this further.

This happens on all devices. I will have to look into that 3D building you suggested.
The same data set worked fine on version 4.0, it only became an issue when upgrading to 4.2.
Also, on iOS on 4.2, the same data set works fine.

Based on the second question, are you using Polygon3D vector elements for rendering indoor boxes? In that case the '3D buildings' selection is not related, as 3D buildings on basemap are based on a different rendering path and this issue is likely not related to that.
So the best way to get this investigated/fixed is a basic sample app.

Yes, we are using 3D polygons. The same code was working on v4.0 and also works on v4.2 for iOS. I will try to get a sample app.

@lasyakoechlin Any chance of a sample? We are getting close to releasing SDK 4.3.0 and would like to fix and close as many issues as possible.

I'm sorry that I've been super swamped with other things that I haven't had the time to create a working sample yet.
In the above image though, all polygons have both 2D polygons on the bottom with a 3D polygon on top of it with same colour and alpha = 0.7.
As you can probably tell from my other post, I've been focusing on refactoring to use GeoJSONVectorDataSource instead with VectorTileLayers because I was running into performance issues with the above scenario when the floor plans became really large.
I have a deliverable early next week and then I will try to see if I can put together a sample app for you.

Closing this due to inactivity and not being able to reproduce this. Could be app-related data issue. A change in 4.2.x that could be related to this: Z-buffering is not used by default for 3D polygons anymore. For better SDK 4.1.x compatibility, calling vectorLayer.setZBuffering(true) may be needed.


Fix glReadPixels

Addresses the issue I brought up in https://github.com/revery-ui/revery/issues/185. Again, this is one of those places where I feel like I sort of had to employ a hack, but it works on my test inputs (easiest way to verify that this is working is to change the glClearColor to red or blue).
Basic description of what I changed:

I was previously setting the image descriptor byte based on what some example code was doing. Not sure why, but this swapped the y-axis so now I just set the image descriptor byte to 0 (which should work according to the TGA spec).
I was previously copying in the raw pixel array as returned by glReadPixels. This would break if you used GL_UNSIGNED_BYTE on a little-endian system, so instead I'm swapping the red/blue channels in the glReadPixels stubs (both native & js).

Not sure why, but this swapped the y-axis so now I just set the image descriptor byte to 0 (which should work according to the TGA spec).

How'd you figure this out? Did you have to dive into the TGA spec? Nice find!

Lol it's actually a weird edge case I bumped into when implementing the original PR. TypedArrays respect system endianess whereas DataViews don't, which was kind of confusing to figure out. I tried to keep the C and JS as close as possible here to make sure both platforms are correct though.

Yeah, I used this http://www.paulbourke.net/dataformats/tga/. Only the second type (unmapped RGB) matters for us luckily.
Anyways I just tested this in Revery and it worked as expected. I'm wondering if there's any way to compile this in big endian on ARM so that I can test that, but it seems like such an edge case for a GUI lib that it might not be worth bothering with.

Anyways I just tested this in Revery and it worked as expected. I'm wondering if there's any way to compile this in big endian on ARM so that I can test that, but it seems like such an edge case for a GUI lib that it might not be worth bothering with.

Great! I'm on-board with this change as-is. We haven't tested ARM support at all across the board, so I suspect this wouldn't be the only issue.

I'll publish a new NPM release once this is in so we can pick it up easily in revery 👍

In that case I guess we can merge this in now


[Feature Request] Read/Write directly to local file, instead of Import/Export

Insomnia is a really powerful tool for REST API testing, and the Import/Export functionality is useful when working with your own API, because you can export your environment and include it in version control. So you could make version tracking over your API and the Insomnia configuration for it.
The thing is: For the user, the Import/Export workflow is a bit tedious, because there are too many interactions to get the Insomnia environment config exported into your repository.
I think that a feature like being able to directly read/write an environment from/to a local file would ease a lot this process, and create a more satisfactory experience (and a more productive workflow).
Workflow example:

Open Insomnia
File > Open > Your file in your repo (Or drag it to Insomnia window)
Make some edits and save automatically all the time
Just commit your changes, the Insomnia environment file will be already updated.
Pull new changes, Insomnia realizes that the already open environment file has changed, so it loads the new version and Insomnia is ready to go with the new version of the environment file.

This sounds like a neat idea, but it would require a massive change to the way Insomnia is architected. I'm not sure the amount of work required would be justified.
That said, it might help to have a command-line interface for importing/exporting. This is being discussed over here #479

@gschier Any chance we can revive this?
Having version controlled, human-readable requests and workspaces would be incredible.
This would reduce conflicts as well as allow people to reuse files (like .graphql and .json files) between Insomnia and their integration tests

+1 to those wanting to be able to upload .graphql files :)

I'd love to see this, IMO it would be a killer feature over every other offering out there. I want to get my whole team using Insomnia because it's so great, but syncing is still a pain. Storing Insomnia requests and config in code would be perfect:
Think of this scenario: I want to build something new using a new feature that a teammate on the backend team rolled out in the API.

Teammate pushes her changes, including the Insomnia requests/config she used to test when building
I pull down latest as usual, make my feature branch, etc
I open insomnia and see the additions that my teammate made, I execute requests and see the output
I build away, happy with the current state of the world


Add Ruby implementation

I've implemented this as proposed in #134, which means that the ruby implementation is just that: a table with some convenience. Currently it would be up to the ruby versions of cid (wip) and outdated ruby multihash to use these tables and add/intepret the prefixes.

@SleeplessByte Sorry I somehow missed that PR. Thanks again for working on the Ruby stuff.


No AES base alias function .

AES function does not implement base functions . As a result , only x86 platform can support AES functions now .
That's different with other functions
I think we should implement base functions

Correct, it would be nice but note it's a very difficult task to write equal-time base functions in C.

Correct, it would be nice but note it's a very difficult task to write equal-time base functions in C.

Is there any method to make sure "equal-time" ?  I am preparing AES job , I must setup some local test firstly

Hi, @haoyu01. you still working on this ? We are trying to add aes implemention using AES instruction set directly.

@IamFive , I haven't start AES job .
And I think that's good news for me .

@haoyu01  I am working on this for Huawei, but they did not accept this solution (using AES instruction like vextq_u8 directly). SO, i give up this task too.


PMComplex should be the subclass of a Number

I don't know if this is easy to do in practice, but this makes a lot of sense to me:
A ComplexNumber is a kind of Number

I dunno what would be the consequences, but it makes sense.

Somehow... Except that inheriting from Number means inheriting from all its expectations.
First expectations, is that numbers are an ordered set (Magnitude), that is, they shall respond to <, >, ...
There are any ways to order ComplexNumber, but none with this property
a < b & (c < d) ==> (a + c < (b + d))

Also consider other inherited stuff like asPoint.
Or not explicitely stated as subclassResponsibility, but systematically sent in arithmetic coercion asInteger, asFloat, ...
Consider also chronology stuff days hours minutes ...
Not accounting the expectations of most 3rd party libraries.
Until now, x isNumber ==> x isComplexNumber not.
So, probably very few will know how to deal with an imaginary part (there are senders in Sound, etc...).
Changing this contract is a recipe for great trouble.
It makes me think of Quaternion, Octonion, ... which are further generalization of Complex.
They have less and less algebraic property, Quaternion looses commutativity, Octonion looses associativity, maybe that's why we do not name them Number, unlike Complex...
Though they are capable of arithmetic, we do not need to have Quaternion inheritsFrom: Number.
Maybe neither do we with Complex?
There is another aspect: currently, Integer can be seen as a Fraction with unit denominator.
They appear as perfectly polymorphic with Fraction, though not in the same hierarchy.
Why couldn't we have the same, and let Number>>isComplexNumber ^true?
This way, 3rd party knowing how to deal with imaginary part would explicitely as isComplexNumber instead of isNumber.
Alas, we made other choices: ComplexNumber with null imaginary part are distinguished from ordinary Number, and are not automatically reduced to real part (unlike a Fraction with unit denominator is reduced to its numerator).
This is because, ComplexNumber has a different behavior so as to implement complex extensions of functions.
For example, try -2 arcCos and -2 asComplexNumber arcCos.
This prevents a Number to answer true to isComplexNumber, because it won't behave asComplexNumber...
That's sad.

I agree with @nicolas-cellier-aka-nice. From a mathematical point of view, insisting on numbers being magnitudes was a big mistake in the Smalltalk class hierarchy.

Unlike real numbers one cannot directly compare two complex numbers, namely, we can't say z < w and I once criterion we could check in one is Liskov Substitutability. I don't think Complex Numbers are Liskov Substitutable with the other numbers with respect to comparison.


Update to Enzyme v0.13

Hi there! I see that this package has no CompatHelper workflow. I'm sure you're aware of it but just to keep track, there's a new Enzyme release and Reactant might need to update its compat bounds, along with a few other internals.

thanks @avik-pal! can we get a release with those changes so that I experiment with them in DI?

@gdalle probably will get a new patch release as soon as #128 and #126 get merged.


Fix #197

Removes jQuery and bootstrap.js dependencies, but adds react-onclickoutside (which is a good tradeoff). I removed those scripts from examples/index.html for good measure.

Should be okay now, please review.

@frontsideair, I found not only dropdown menu for pagination but also insert row for popup a modal will also use bootstrap.js. sorry, this is my fault, could you please also fix the insert button for your solution. Because I need to release today, so I revert this PR and will merge it in next version. Sorry

No problem, I'll take a look as soon as possible. If there's anyplace else using bootstrap.js you can add a comment and I'll check them too.

@frontsideair, take your time, currently I just know the insert button for modal and the close button in modal. Thanks :)

Hello there, by now, this library still depends on bootstrap.js and jquery right?
I just port one demo code to my own project and found that the dropdown list for pagination did not work.