Export tracker issue

Describe the bug
I woke up this morning and have noticed that overnight I somehow exported nearly £800 worth of energy according to the energy tracker provided by this integration:
state_class: total
last_reset: 2024-04-08T00:00:00+01:00
name: export
mpan:<PHONE_NUMBER>229
target_entity_id: sensor.shellyem_channel_1_energy_returned
entity_accumulative_value: true
weekday_reset: 0
month_day_reset: 1
kind: cost_tracker
is_tracking: true
tracked_charges:
- start: '2024-06-08T00:00:00+01:00'
  end: '2024-06-08T00:30:00+01:00'
  rate: 0.15
  consumption: 0.007700000000113505
  cost: 0.0011550000000170257
- start: '2024-06-08T00:30:00+01:00'
  end: '2024-06-08T01:00:00+01:00'
  rate: 0.15
  consumption: 0.00029999999992469384
  cost: 0.00004499999998870407
- start: '2024-06-08T01:00:00+01:00'
  end: '2024-06-08T01:30:00+01:00'
  rate: 0.15
  **consumption: 1764.6992
  cost: 264.70488**
- start: '2024-06-08T01:30:00+01:00'
  end: '2024-06-08T02:00:00+01:00'
  rate: 0.15
  consumption: 0.00009999999997489795
  cost: 0.000014999999996234692
- start: '2024-06-08T02:00:00+01:00'
  end: '2024-06-08T02:30:00+01:00'
  rate: 0.15
  consumption: 0.0018000000000029104
  cost: 0.00027000000000043656
- start: '2024-06-08T02:30:00+01:00'
  end: '2024-06-08T03:00:00+01:00'
  rate: 0.15
  **consumption: 1764.7014
  cost: 264.70521**
- start: '2024-06-08T04:00:00+01:00'
  end: '2024-06-08T04:30:00+01:00'
  rate: 0.15
  consumption: 0.00009999999997489795
  cost: 0.000014999999996234692
- start: '2024-06-08T04:30:00+01:00'
  end: '2024-06-08T05:00:00+01:00'
  rate: 0.15
  **consumption: 1764.7023
  cost:<PHONE_NUMBER>9999997**
- start: '2024-06-08T05:00:00+01:00'
  end: '2024-06-08T05:30:00+01:00'
  rate: 0.15
  consumption: 0.00009999999997489795
  cost: 0.000014999999996234692
- start: '2024-06-08T06:00:00+01:00'
  end: '2024-06-08T06:30:00+01:00'
  rate: 0.15
  consumption: 1.0064000000002125
  cost: 0.15096000000003187
- start: '2024-06-08T06:30:00+01:00'
  end: '2024-06-08T07:00:00+01:00'
  rate: 0.15
  consumption: 0.08599999999978536
  cost: 0.012899999999967804

untracked_charges:
total_consumption: 5295.205400000001
unit_of_measurement: GBP
device_class: monetary
icon: mdi:currency-gbp
friendly_name: Octopus Energy Cost Tracker export

I also have a energy meter using the very same entity (sensor.shellyem_channel_1_energy_returned) and that is reporting the correct amount so I know the issue is not with data reported by that entity.
Reproduction steps
Setup export tracker and let it run
Expected behaviour
It should accurately track energy usage - same way utility meter does
Tariff Code
E-1R-AGILE-23-12-06-J
Integration Version
11.0.2
Home Assistant Version
2024.6.0
Fresh Install?
After upgrading
Home Assistant Logs
debug logging was not enabled at the time this has happened - it is running now so when that occurs I'll update
Confirmation

[X] I confirm that I cannot find my solution within the documentation
[X] I confirm that I cannot find my solution within the FAQ

Hello and sorry you're seeing this issue.
The cost tracker listens for state events raised by HA for the target entities. It then accumulates the difference (if tracking an accumulative sensor) or the provided value. This suggests that for some reason HA provided this integration with the wrong value. Now that you have debugging enabled, there will be logs in the form of event:  which will hold the raw value that HA provided the integration.
You can use this service to manually adjust the effected time periods manually to correct this mistake.

I also have a energy meter using the very same entity (sensor.shellyem_channel_1_energy_returned) and that is reporting the correct amount so I know the issue is not with data reported by that entity.

I believe the energy meter looks at the raised statistics instead of state events, so are more staggered and less susceptable to fluxuations. Did the underlying sensor reset at all during these periods?

OK, it happened again - a 8:10 it was reporting correct value, 8:15 reported big jump:

I have extracted all the event: entries from the log file that refer to the export tracker:
2024-06-08 08:11:01.110 DEBUG (MainThread) [custom_components.octopus_energy.cost_tracker.cost_tracker] event: {'entity_id': 'sensor.shellyem_channel_1_energy_returned', 'old_state': <state sensor.shellyem_channel_1_energy_returned=1769.9398; state_class=total_increasing, unit_of_measurement=kWh, device_class=energy, friendly_name=(Ch1) Grid Export @ 2024-06-08T08:06:11.734443+01:00>, 'new_state': <state sensor.shellyem_channel_1_energy_returned=1769.9399; state_class=total_increasing, unit_of_measurement=kWh, device_class=energy, friendly_name=(Ch1) Grid Export @ 2024-06-08T08:11:01.108960+01:00>}
2024-06-08 08:12:01.001 DEBUG (MainThread) [custom_components.octopus_energy.cost_tracker.cost_tracker] event: {'entity_id': 'sensor.shellyem_channel_1_energy_returned', 'old_state': <state sensor.shellyem_channel_1_energy_returned=1769.9399; state_class=total_increasing, unit_of_measurement=kWh, device_class=energy, friendly_name=(Ch1) Grid Export @ 2024-06-08T08:11:01.108960+01:00>, 'new_state': <state sensor.shellyem_channel_1_energy_returned=1769.9407; state_class=total_increasing, unit_of_measurement=kWh, device_class=energy, friendly_name=(Ch1) Grid Export @ 2024-06-08T08:12:01.000606+01:00>}
2024-06-08 08:13:01.075 DEBUG (MainThread) [custom_components.octopus_energy.cost_tracker.cost_tracker] event: {'entity_id': 'sensor.shellyem_channel_1_energy_returned', 'old_state': <state sensor.shellyem_channel_1_energy_returned=1769.9407; state_class=total_increasing, unit_of_measurement=kWh, device_class=energy, friendly_name=(Ch1) Grid Export @ 2024-06-08T08:12:01.000606+01:00>, 'new_state': <state sensor.shellyem_channel_1_energy_returned=1769.9411; state_class=total_increasing, unit_of_measurement=kWh, device_class=energy, friendly_name=(Ch1) Grid Export @ 2024-06-08T08:13:01.074244+01:00>}
2024-06-08 08:14:01.025 DEBUG (MainThread) [custom_components.octopus_energy.cost_tracker.cost_tracker] event: {'entity_id': 'sensor.shellyem_channel_1_energy_returned', 'old_state': <state sensor.shellyem_channel_1_energy_returned=1769.9411; state_class=total_increasing, unit_of_measurement=kWh, device_class=energy, friendly_name=(Ch1) Grid Export @ 2024-06-08T08:13:01.074244+01:00>, 'new_state': <state sensor.shellyem_channel_1_energy_returned=1769.9415; state_class=total_increasing, unit_of_measurement=kWh, device_class=energy, friendly_name=(Ch1) Grid Export @ 2024-06-08T08:14:01.024270+01:00>}
2024-06-08 08:18:10.055 DEBUG (MainThread) [custom_components.octopus_energy.cost_tracker.cost_tracker] event: {'entity_id': 'sensor.shellyem_channel_1_energy_returned', 'old_state': <state sensor.shellyem_channel_1_energy_returned=1769.9417; state_class=total_increasing, unit_of_measurement=kWh, device_class=energy, friendly_name=(Ch1) Grid Export @ 2024-06-08T08:15:01.017404+01:00>, 'new_state': <state sensor.shellyem_channel_1_energy_returned=1769.9416; state_class=total_increasing, unit_of_measurement=kWh, device_class=energy, friendly_name=(Ch1) Grid Export @ 2024-06-08T08:18:10.047549+01:00>}

I don't mind posting the whole debug file but it is quite big and it has a lot of irrelevant data

- start: '2024-06-08T08:00:00+01:00'
end: '2024-06-08T08:30:00+01:00'
rate: 0.15
consumption: 1770.0171000000003
cost: 265.502565

The data recorded by the tracker (1770.0171000000003) strangely similar to the value reported by shelly EM: 1769.9407

hmm. I think the problem is this line
2024-06-08 08:18:10.055 DEBUG (MainThread) [custom_components.octopus_energy.cost_tracker.cost_tracker] event: {'entity_id': 'sensor.shellyem_channel_1_energy_returned', 'old_state': <state sensor.shellyem_channel_1_energy_returned=1769.9417; state_class=total_increasing, unit_of_measurement=kWh, device_class=energy, friendly_name=(Ch1) Grid Export @ 2024-06-08T08:15:01.017404+01:00>, 'new_state': <state sensor.shellyem_channel_1_energy_returned=1769.9416;

With this the value goes from 1769.9417 to 1769.9416, which is a decrease, however the sensor is configured as a total_increasing sensor. From the HA docs

Similar to total, with the restriction that the state represents a monotonically increasing positive total which periodically restarts counting from 0, e.g. a daily amount of consumed gas, weekly water consumption or lifetime energy consumption. Statistics of the accumulated growth of the sensor's value since it was first added is updated every 5 minutes. A decreasing value is interpreted as the start of a new meter cycle or the replacement of the meter.

I have taken this to mean that if the value decreases, it mean it has reset and the value is the new starting value (i.e. take the value as is).
I'll need to investigate how I should interpret the state in this scenario.

I've added a threshold as per a comment in a HA issue to the cost calculation to handle scenarios where the total_increasing sensors "misbehave" and decrease slightly without a reset, which should fix your issue.
This fix is included in v11.2.0.


fix(ts): incorrect import of Subscription causes noImplicitAny error

Closes #1909 , see this comment for context.

That's a good catch! @markerikson I think that might warrant a 8.0.1? 🎉

Thanks!


Fix ci branch protection for clippy build

Previously the clippy build requirement was clippy (stable). Now it's
been fixed to be clippy (nightly-2023-01-22)

Motivation

Current dependencies on/for this PR:

main

PR #81   👈

This comment was auto-generated by Graphite.


chore: promote react-spring to version 0.0.23

this commit will trigger a pipeline to generate the actual kubernetes resources to perform the promotion which will create a second commit on this Pull Request before it can merge

react-spring
Changes in version 0.0.23
Chores

release 0.0.23 (jenkins-x-bot)
add variables (jenkins-x-bot)

Other Changes
These commits did not use Conventional Commits formatted messages:

FE (iMckify)
bump kaniko (iMckify)

[jx-info] Hi, we've detected that the pipelines in this repository are using a syntax that will soon be deprecated.
We'll continue to update you through PRs as we progress. Please check #8589 for further information.

@iMckify: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

verify
7d48d038a115b0c646862d76e1bdab014d6d4273
link
/test verify

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

/test verify


Suddenly getting "Error: invalid_grant" when trying to get token

This was working 100% fine for several months, until I tried it today (first time I've tried authenticating in a week or so. My code is simple:
xoauth2gen.getToken(function(err, token){
      if(err){
          return console.log("XOAUTH2 Error: " + err);
      }
      console.log("AUTH XOAUTH2 " + token);
      if(type === "full"){
        cb(token);
      }
  });

Things I can verify:

I'm on the latest version of<EMAIL_ADDRESS>The Refresh token I'm using is coming directly from a Google authentication I've just done (offline is enabled, as is force approvalprompt)
The secret + clientID are correct and the same ones that granted the original refreshtoken

Any ideas what's up here?

+1. It seems to be only affecting some accounts, so I'm not exactly sure what's going on.

@vu0tran I fixed this a while ago but annoyingly forgot what the issue was.
I'm 80% sure what I had to do was go into the connected app permissions of the Gmail account that was connected, and de-register my app. The issue was that the permissions that were granted to my app were different from the permissions embedded in the refresh token.

Thanks for the follow up. We tried a couple more things including explicitly requesting offline access in our tokens on our iOS app. We'll see if that helps! Thanks!


Payment profile setting Page construction

Summary by CodeRabbit

New Features

Added support for TravelPerk integration, including payment profile settings and advanced configuration options.

Enhancements

Improved user interface for payment profile configuration with conditional rendering for better user experience.
Updated user interface elements and styling for configuration mapping fields, enhancing visual clarity and usability.

Bug Fixes

Fixed an issue with incorrect property naming (update_at to updated_at) in TravelPerk payment profile settings.
Corrected dropdown behavior and error message displays in configuration mapping fields for a more intuitive user interaction.

@coderabbitai review

Payment Profile Settings


Add overrides for interface types and add CustomEvent types for testing.

This PR will fix https://github.com/Microsoft/TypeScript/issues/14785 and replace https://github.com/Microsoft/TSJS-lib-generator/pull/304.
In order to override interfaces and add types this PR updates the TS.fsx and adds a new override type called typedinterface.  The naming convention was provided here https://github.com/Microsoft/TSJS-lib-generator/pull/304#issuecomment-341561311
This is my first time writing F# so please let me know if I need to make changes to the convention or if I missed an interfaces beyond Dictionaries or Interface Declarations.

Much better approach.  I have updated the code to reflect the requested changes.

initCustomEvent is back in and I also added the type information to the constructor.

It is now optional. Thanks! Good learning experience I will likely have more PRs in the future.

@jthoms1 thank you for stepping up and seeing this through! I got stuck at the F# stuff and never made it through


Enable a ChromeOS Only Build

This changes the TWAManifest to specify whether the build should be
designated as a ChromeOS Only package for distribution through Play.
Otherwise, the build will be available to all devices.
Closes #320

I do have one implementation question.  At the current time, I have to have a user update the isChromeOSOnly flag from the twa-manifest.json file.  Instead, should I add a flag to init and update to specify isChromeOSOnly and update the manifest values accordingly?
Many thanks!

We have a few options:

Keep as it is (init, modify twa-manifest.json, then run update)
Add a flag to init (eg: --chromeOSOnly or something)
Ask the question to developers during init.

I think 2 is fine, but if we expect a large number of developer using ChromeOS only, we should probably implement 3. @PEConn thoughts?

Code looks good - I'm wondering if you have a specific app in mind for this though.


Page/aaronchan32/seek help

Changes
What changes did you make?

Added responsiveness to header component so logo shrinks in size if screen width is too small
Added responsiveness to pages so social media buttons change to be vertically aligned when screen width is too small
Added responsiveness to pages to image buttons when screen width is too small

Testing
How did you confirm your changes worked?

Tested responsiveness using Windows emulation so I could easily resize the screen

Confirmation of Change
https://user-images.githubusercontent.com/42254254/219225700-1439d833-182e-48ca-98c1-e4171a6149af.mp4

Looks good to me!


Wrong documentation.

The documentation is wrong regarding not using keys when using Windows Server Subscription.

Need to use AVMA key activation.
https://docs.microsoft.com/en-us/windows-server/get-started/automatic-vm-activation
Open a support ticket.  I was instructed to use the AVMA key.
Support request number:<PHONE_NUMBER>000250

Support request   number:
2207220040000250

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

ID: c086461c-e2e8-e77a-012d-5279421b3aa6
Version Independent ID: 821170a9-9de2-418f-7f05-baf06d915d64
Content: Activate Windows Server VMs using Automatic Virtual Machine Activation - Azure Stack HCI
Content Source: azure-stack/hci/manage/vm-activate.md
Service: azure-stack
Sub-service: azure-stack-hci
GitHub Login: @sethmanheim
Microsoft Alias: sethm

Hi @gabrielluizbh -- thank you for pointing this out, we are aware of the issue and I have a PR already filed to fix it. I am changing that table entry to "No host-side keys – AVMA is automatically enabled. After it's enabled, you can then apply the generic AVMA keys on the client side." Thanks again for the feedback.


feat(popover): Sample popover implementation

This is how PopoverDirective might look like. It goes path 1) described #1157 , which results in some copy-paste from tooltip component (especially in examples).
I am NOT expecting that this PR will be merged - it's just an example implementation that highlights some problems.
The purpose of this PR is to complement the discussion in #1157

Current coverage is 85.62% (diff: 100%)

Merging #1160 into development will not change coverage

@@           development      #1160   diff @@
=============================================
  Files               35         35
  Lines             1280       1280
  Methods            228        228
  Messages             0          0
  Branches           213        213
=============================================
  Hits              1096       1096
  Misses             184        184
  Partials             0          0

Powered by Codecov. Last update 7e233b1...af1a55b

Anything I could help with here ? I need popover similar functionality in a project where I already have ng2-bootstrap, so if possible wold love to get this or something similar merged.

Any progress on this one?

I am restructuring project and adding more tests, and test env configurations. https://github.com/valor-software/ng2-bootstrap/pull/1223
After it I will be ready to merge and add more components, and avoid any regression

Closing in favour of https://github.com/valor-software/ng2-bootstrap/tree/development/src/popover
Huge thank you for your help!


Use cupy.fuse to improve efficiency hessian_matrix_eigvals

This PR fuses many kernels into a single kernel when computing the analytical 2x2 eigenvalues in hessian_matrix_eigvals. This gives a substantial performance improvement:
import cupy as cp
from cupyx.profiler import benchmark
from skimage import data

from cucim.skimage.feature import hessian_matrix, hessian_matrix_eigvals

img = cp.array(data.camera())
H = hessian_matrix(img)

perf = benchmark(hessian_matrix_eigvals, (H,), n_warmup=20, n_repeat=10000)
print(f"hessian_matrix_eigvals: {1000 * perf.gpu_times.mean()} ms")

Prior to this PR, the duration was:
0.238 ms
with kernel fusion it is:
0.069 ms

@gpucibot merge

Thanks Greg! 🙏


package.json needs additional module metadata

It looks like with the current info in the package.json, there may not be enough info for the package to be correctly interpreted as a ES6 module.
By adding the following keys, it seems to work better (I don't know where to find definitive info on it):
"type": "module",
"exports": "./owlish.js",

resolved with https://github.com/field33/owlish/pull/13


Fail to install squirrel

Command: brew install

Output:
  Error: wrong number of arguments (1 for 0) while loading '/usr/local/Library/Taps/caskroom/homebrew-cask/Casks/squirrel.rb'
  Please report this bug:
      https://github.com/caskroom/homebrew-cask/issues
  <main>:6:in `name'
  <main>:6:in `<class:Squirrel>'
  <main>:in `<main>'
  /usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/source/path_base.rb:55:in `eval'
  /usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/source/path_base.rb:55:in `rescue in load'
  /usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/source/path_base.rb:52:in `load'
  /usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/source/tapped.rb:28:in `load'
  /usr/local/Cellar/brew-cask/0.44.0/rubylib/cask.rb:123:in `load'
  /usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/cli/install.rb:19:in `block in install_casks'
  /usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/cli/install.rb:17:in `each'
  /usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/cli/install.rb:17:in `install_casks'
  /usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/cli/install.rb:6:in `run'
  /usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/cli.rb:81:in `run_command'
  /usr/local/Cellar/brew-cask/0.44.0/rubylib/cask/cli.rb:121:in `process'
  /usr/local/bin/brew-cask.rb:42:in `<top (required)>'

System: OSX 0.10.5

Ruby: ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]

squirrel.rb:
  cask :v1 => 'squirrel' do
      version '<IP_ADDRESS>'
      sha256 '7ba8f934f8d4fe1d42c944ea0771f1a54ed558dd65ea558c4ba4d203505bc130'

      # bintray.com is the official download host per the vendor homepage
      url "https://dl.bintray.com/lotem/rime/Squirrel-#{version}.zip"
      name 'Squirrel'
      homepage 'http://rime.im/download/'
      license :gpl

      depends_on :macos => '>= :lion'

      pkg 'Squirrel.pkg'

      uninstall :pkgutil => 'com.googlecode.rimeime.Squirrel.pkg',
          :delete => '/Library/Input Methods/Squirrel.app'
  end

You’re using an old version of homebrew-cask. Please brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup and try again.
Please always do this before opening new issues.
See also #10224.


Explain Tab beside the query results

Is your feature request related to a problem? Please describe.
After clicking on Explain, the query result panel/tab disappears (with the chart tab) and Messages/Query Plan tab appears. There is no way to go back to the result tab and the created chart.
Describe the solution or feature you'd like
What about displaying the Query plan tab with the Query result, or show the query plan in a pop-up window, or change the Explain button to toggle button that shows the Query plan when it is on and close it (and redisplay the hidden Query Result tab).

The query plan and messages tabs are not tabs next to the results tab. So this should be resolved. Let me know if I'm missing something.


Haxe 3.3.0 + Flash: Illegal write to read-only property

Compiling any OpenFL project with Haxe 3.3.0 leads to this runtime error at startup on Flash:
ReferenceError: Error #1074: Illegal write to read-only property LEFT on class flash.ui.KeyLocation.
	at boot_7e63/init()[C:\HaxeToolkit\haxe\lib\openfl\git\extern\openfl\ui\KeyLocation.hx:14]
	at flash::Boot/start()[C:\HaxeToolkit\haxe\std\flash\Boot.hx:69]
	at boot_7e63()[C:\HaxeToolkit\haxe\std\flash\Boot.hx:38]

I don't think this is related to the fixes in #1022, KeyLocation wasn't touched there.

That looks like it's trying to do a static init on that field. The question is why it would do that.

Because the KeyLocation extern uses an abstract enum.

Ah yes, combining that with @:native is not a good idea.

Looks like @jgranick fixed this in 56dd9f27497b12b96b81874aa3bac657317978e6.


Netflix Scumblr

Just came across this, haven't had a play yet, but could be some things in it that are useful.
https://github.com/Netflix/Scumblr

Interesting!  https://github.com/Netflix/Workflowable looks interesting too.

I'm wondering whether a wiki page would be a good idea to keep track of all these 'not quite huginn related but could be quite useful in combination' things.

Sure, feel free :)

Done :)
https://github.com/cantino/huginn/wiki/Similar-or-Complimentary-to-Huginn
Will trawl back through old issues and find some of the others I've posted.

\o/


auto-fixing some easy cops

3 Performance/CaseWhenSplat: Place when conditions with a splat at the end of the when branches.
1 Style/ElseAlignment: Align else with if.
1 Style/EvenOdd: Replace with Fixnum#even?.
1 Style/MethodDefParentheses: Use def with parentheses when there are parameters.
3 Style/PercentQLiterals: Do not use %Q unless interpolation is needed.  Use %q.
3 Style/SpaceAfterColon: Space missing after colon.
2 Style/SpaceAfterMethodName: Do not put a space between a method name and the opening parenthesis.
2 Style/Tab: Tab detected.
1 Style/TrailingUnderscoreVariable: Do not use trailing _s in parallel assignment.
1 Style/UnneededCapitalW: Do not use %W unless interpolation is needed.  If not, use %w.

@chef/client-core i think this will pass travis and is ready for review...

:+1:


HFRepresenter's view is untyped, making it relatively difficult to use from Swift

The view method on HFRepresenter is typed as an id:
https://github.com/ridiculousfish/HexFiend/blob/104c9f740ca113628e5d027102bc8d97707724a6/framework/sources/HFRepresenter.h#L45
Swift code then need to look like this (in Cocoa):
let view = (layout.view() as! NSView)

Would it be possible to add type information to the view API? It may also improve Swift readability if the API were declared as a property.

Added. Although it's using an HFView preprocessor definition. I think Swift should be able to pick that up though.


Roles assignement in elasticsearch-shield-kerberos-realm plugin

I am evaluating the Kerberos/SPNEGO plugin. I have noticed that there is only 1 config entry for roles assigned to the initiator:
shield.authc.realms.cc-kerberos.roles: role1, role2
This means all the authenticated users will assinged the same role. Is this correct? If it is the case, are there any ways around it?
Thanks

If you use
shield.authc.realms.cc-kerberos.roles
then all users authenticated by this realm will have all of these roles.
But this is optional, the "normal" way of assigning roles to a user is tu use the Shield rolemapping functionality: https://www.elastic.co/guide/en/shield/current/mapping-roles.html

Thanks.
Looking at the code, the roles are always set and defaults to an empty array if the property is not set.
Does this mean that shield overrides the empty array roles?


typescript 2.4 support

Bug Report or Feature Request (mark with an x)
- [x ] bug report -> please search issues before submitting
- [ ] feature request

Versions.
1.1.3
Desired functionality.
Angular-cli should support typescript 2.4 (just released yesterday). Right now angular-cli is locked down to max v2.3

There's an issue with rxjs right now preventing upgrading the CLI to use TypeScript 2.4. I read that the 6.x versions work, but that is in alpha and could lead to some other issues. ⚠ Use caution if you intend on upgrading early. ⚠
Expect the CLI to upgrade its dependencies when things are stable again.
Tracking: https://github.com/ReactiveX/rxjs/issues/2539

@delasteve ...by which issue I was bitten today. And I thought about the following one:
Given that even a minor version release of TypeScript can break things, wouldn't it be wise to generate package json without the ^ character specifically for TS?

@moniuch cli already generates package with ~. Looks like people are trying to update it manually or had old package.json
see https://github.com/angular/angular-cli/blob/v1.2.0/packages/%40angular/cli/blueprints/ng/files/package.json#L50

@delasteve  @filipesilva RxJS 5.4.2 has now been published with the fix for Typescript 2.4.1

At least from my testing, if you upgrade rxjs to 5.4.2 you should be able to use the CLI with TS 2.4.
Just remember that you're upgrading at your own risk as I don't believe it has been fully tested &/or is support at the moment.

I think the referenced issue https://github.com/ReactiveX/rxjs/issues/2539 is now fixed, so are there any plans now?

how to update my typescript to latest version ?
what is the command using npm ?

So is it possible to use typescript >= 2.4 now? I have cli 1.4.6 and it still requires ts < 2.4

Try CLI 1.5+

@MarkPieszak tried it. I still get the same warning.


Include extras for local-package collection (close #670)

This is currently on hold, because of #661


New Feature - Negative Regex

Hi, first of all, really appreciate all the effort on this fantastic library.
I'd like to suggest what I think is a minor improvement...a negative regex test.
Rationale: It can be quite complex to write the inverse of a regex (negative look ahead etc) and would be much simpler to have the ability to negate the result of the match.
Suggestion: Rather than change the current API, I would suggest negex( regex, message) but entirely up to you.
Apologies if there is another idomatic way of achieving the same outcome.
Background: I'm using tiptap as a Wysiwyg editor.  When it's input is empty, rather than "", it returns "
</>".   I want to error if the regex does not match /^
<\/>$/, rather than if it does.  Currently I preprocess the input to coerce "
</>" to "".

Hmm, interesting! I think maybe there is a general "negation" use case here, just not sure what the API for such a feature would be. Maybe something like z.string().except(z.string().regex(...)) where it will allow any type that fails to parse with the specified schema? Definitely a little awkward so worth taking some time to imagine the right design here.

I did think about the general negation case but for me the complexity outweighed any benefit outside of regex.  With strings and numbers it's relatively easy to construct the inverse, and for specific cases like uuid() or email(), it's difficult to conceive why the inverse would be useful (e.g. the message would read "enter something that is not an email?")
my 2 cents.

Here are a few use cases I can think of:

A number outside of a range: z.number().except(z.number().min(10).max(20))
A string that isn't an email: z.string().except(z.string().email())
A string that isn't already a given option (like for a reason field like "Other" on a feedback form): z.string().except(choiceSchema)

Not super common, but seems like we'd need to solve the general case to make the specific one (basically a reverse-refine like call), so might as well enable it.

I'd suggest calling this method .not to be in closer agreement with .and and .or.
Though I'm down to include .negex as well - cool name :)


Image not working

When I start the demo application and upload an image, this image is not added.

Hello. From the box CKEditor doesn't work with image upload. You to create custom build and configure it as documented here - https://ckeditor.com/docs/ckeditor5/latest/features/images/image-upload/image-upload.html


Less stylesheets doesn't work in 4.1

I'm trying to update to latest middleman (previously on 3.3.12) and my less stylesheets are not working.
I have less gem in Gemfile and when I request stylesshets/application.css it cannot be found.
When I create application.css file then it's loaded properly.
What should I do to make less work? It was working fine on 3.3.x

So, you have a stylesheets/application.css.less, correct?

No, I was having application.less after adding .css something is working, but now I'm getting error from middleman-sprockets gem - I'll dig more and eventually open issue there. Thanks


Is this an error in bin file creation?

First of all, thank you for your project.
I converted waymo dataset to pkl file according to this guide.
And I created a bin file with your "generate_input_data.py".
When I used these bin files, the detection result did not reach your sample result.
Again, the detection results of your samples (seq_0_frame_101.bin and seq_0_frame_100.bin) were very good.
Is this an error in bin file creation?
If my PC environment was a problem, the detection results of seq_0_frame_101.bin and seq_0_frame_100.bin would not be as good as the sample.
The environment in which I created the bin file is as follows.
And I attach the bin file and the result that I used.

dataset: waymo open dataset v1.2.0
Waymo-open-dataset devkit: waymo-open-dataset-tf-2.11.0==1.5.0
Command
./build/centerpoint --pfeOnnxPath=models/pfe_baseline32000.onnx --rpnOnnxPath=models/rpn_baseline.onnx --savePath=results --filePath=lidars --fp16

seq_0_frame_197.bin.txt
seq_0_frame_197.zip

I have same issue here, i use waymo dataset v1.4.2 with 10 Val tfrecord.
And got result from waymo_eval like this
OBJECT_TYPE_TYPE_VEHICLE_LEVEL_2/AP [0.26191792]
OBJECT_TYPE_TYPE_VEHICLE_LEVEL_2/APH [0.25024492]
<EMAIL_ADDRESS>[0.0]
OBJECT_TYPE_TYPE_PEDESTRIAN_LEVEL_2/AP [0.4423461]
OBJECT_TYPE_TYPE_PEDESTRIAN_LEVEL_2/APH [0.3565605]
<EMAIL_ADDRESS>[0.0]
OBJECT_TYPE_TYPE_SIGN_LEVEL_2/AP [0.0]
OBJECT_TYPE_TYPE_SIGN_LEVEL_2/APH [0.0]
<EMAIL_ADDRESS>[0.0]
OBJECT_TYPE_TYPE_CYCLIST_LEVEL_2/AP [0.030788602]
OBJECT_TYPE_TYPE_CYCLIST_LEVEL_2/APH [0.028065205]
<EMAIL_ADDRESS>[0.0]

Please help @HaohaoNJU  thank you

Looks like your bin file xyz is like this, (very small number)

while waymo have like this


Not able to connect DNS and host new app on amplify

Environment information
Next js application

Describe the bug
Hi, i have hosted a app on AWS amplify, using godaddy purchased domain,  3-5 months back and the account got deactivated as it was unused, last week i activated the account and deleted all the previous hosted website and created new app using amplify but when i added dns to godaddy, but its taking old app and not able to create SSL on amplify its getting rejected, request customer support but not response,
Reproduction steps
Create a app on AWS amplify
Dont pay the bill -> account deactivation
Pay bill and come back and host new app and delete all previous instances
Add new DNS to godaddy
Hurray old app gets hosted even after deleting Repo from github

Hi @Stratava-solutions 👋 , thanks for reaching out! Have you tried deleting the custom domain from the older Amplify app and then tried connecting it to a new Amplify app? Additionally, you will also need to delete the older DNS records (CNAME) for your domain from the GoDaddy DNS settings.
You can refer to this documentation to learn more about setting up a GoDaddy domain with Amplify Hosting: https://docs.aws.amazon.com/amplify/latest/userguide/to-add-a-custom-domain-managed-by-godaddy.html.


Latest Aumatic Build

Hi there, i am right trying to test this project under Windows 7 32 Bits Service Pack 1.
Ok the first thing i got an issue, when i reach the Main Menu of Perfect Dark, constantly move to one side, left or right. i had disconnect Gamepads, not work, i disable Mouse inside pd.ini neither works.
Ok the second thing is how i can use the EUR Final version with pd.exe because my native lang is spanish, i prefer play on Spanish, but when i try to use "--rom-path" automatically ask for "pd.ntsc-final.z64"
Or i need make a complety manually compilation just for use another rom ?

Other than a key being actually stuck on your keyboard or a connected controller I don't know anything that could cause the movement. Moving the mouse does not control the menus. Make sure you disconnect the controllers before you start the game. If that doesn't work, try to download this file and put it next to pd.ini.
Unfortunately for now using ROMs other than NTSC requires building a separate executable with ROMID=pal-final for example. There are no automatic builds for them.

Other than a key being actually stuck on your keyboard or a connected controller I don't know anything that could cause the movement. Moving the mouse does not control the menus. Make sure you disconnect the controllers before you start the game. If that doesn't work, try to download this file and put it next to pd.ini.
Unfortunately for now using ROMs other than NTSC requires building a separate executable with ROMID=pal-final for example. There are no automatic builds for them.

Ok, i am trying right now with that file, and nothing happend, i press some keys to stuck the movement and when i reach to start a game play inside carringston institute, for unknow reasons, the for the executable is like if i ever had pressed the "w" key, ever is walking to foward.
Well meanwhile i wait you give me another idea for fix this "w" holded i am going see how i can solve some troubles with msys2 to try to compile this proyect with PAL version. https://github.com/msys2/MSYS2-packages/issues/4320

Sorry, but I got no clue what's wrong with your input. Try deleting pd.ini just in case.
Since you're on W7 32-bit, maybe also try an older version of SDL2,dll. Just replace the SDL2.dll that comes with the game with the one from that file.
Executables for PAL and JPN regions are already named pd.pal.exe and pd.jpn.exe. I will probably add them to autobuilds at some point or make one executable work with multiple ROMs.

Still the same, well i don't have form to compile by myself inside Windows 7 Ultimate Service Pack 32 Bits on a Real 32 Bits Environment.
The unique things i know had troubles like that is when you make a cross compilation, well under GNU/Linux 64 Bits to GNU/Linux 32 Bits, something strange happend when you make a cross compilation from 64 Bits to 32 Bits, the binary executable for 64 Bits OS are 32 Bits Real. But if you try to use on a real 32 Bits GNU/Linux OS, does not work becuase the ELF is not a real 32 Bits executable.
Well thanks for the older SDL2.dll

Well at the end i prefer edit "pd.ini" one more time just for change
A_BUTTON=SPACE
Sometimes i got slowdowns for around 30 segs

Well at the end i prefer edit "pd.ini" one more time just for change
A_BUTTON=SPACE
Sometimes i got slowdowns for around 30 segs

@fgsfdsfgs : i got a dunno, when i use the executable for start the pal version rom, that is 100% compatible with save data generate from ntsc rom version ?

I think it should be.

I think it should be.

Well i just wait the prebuilt version in the future versions had a pd.pal-final.exe or pd.exe search without asking or the rom filename can be specify inside the pd.ini just for try
i notice the "epprom.bin" had the savegame ¿is in N64 binary format that file?
well my pc had stuttering when 2 or more enemies are attaking me simultaneously.
¿i do not need a cache file?

Well i go trying to build under GNU/Linux, distro Deepin.
nico@nico-PC$ mkdir -p /tmp/src
nico@nico-PC$ cd /tmp/src
nico@nico-PC: /tmp/src$ git clone https://github.com/fgsfdsfgs/perfect_dark
Clonando en 'perfect_dark'...
remote: Enumerating objects: 91260, done.
remote: Counting objects: 100% (11559/11559), done.
remote: Compressing objects: 100% (2654/2654), done.
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fatal: el remoto se colgó de manera inesperadaB | 47.00 KiB/s
fatal: EOF temprano   7% (6448/91260), 6.18 MiB | 47.00 KiB/s
fatal: index-pack falló

Well . . .
mkdir -p "$HOME/.ssh"
cd "$HOME/.ssh"
rm -rf id_rsa*
ssh-keygen -o -t rsa -C<EMAIL_ADDRESS>

Generating public/private rsa key pair.
Enter file in which to save the key (/home/nico/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/nico/.ssh/id_rsa.
Your public key has been saved in /home/nico/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:swwBM94tg10W0FbpyJv89oWlXneky059rm5yJlxwAxo<EMAIL_ADDRESS>The key's randomart image is:
+---[RSA 2048]----+
|    + .o+o..     |
|   . B +o E .    |
|    o o.o o .   |
|       +o o . o  |
|      ..So   o...|
|       o+o   +.+ |
|        o. .o.= =|
|          o.+=++o|
|         . .oO..|
+----[SHA256]-----+

Well now its the moment to follow this tutorial for use git via ssh :
Option 1 -> https://jdblischak.github.io/2014-09-18-chicago/novice/git/05-sshkeys.html
Option 2 -> https://www.warp.dev/terminus/git-clone-ssh
cd /tmp/src
echo 'After you add your ssh-key to your github account, you ever should use the git user'
git clone git@github.com:fgsfdsfgs/perfect_dark.git

Clonando en 'perfect_dark'...
The authenticity of host 'github.com (<IP_ADDRESS>)' can't be established.
ECDSA key fingerprint is SHA256:p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,<IP_ADDRESS>' (ECDSA) to the list of known hosts.
remote: Enumerating objects: 91260, done.
remote: Counting objects: 100% (11559/11559), done.
remote: Compressing objects: 100% (2653/2653), done.
Recibiendo objetos:   7% (6873/91260), 7.85 MiB | 9.00 KiB/s

Waiting for the moment i hope this finish in the next hour.

eeprom.bin is the save file, yes. It is not directly compatible with emulator eeprom files, but it is essentially used for the same thing.
What kind of GPU do you have? Can you run the game with --log --debug-gl on the command line and post the resulting pd.log file?

eeprom.bin is the save file, yes. It is not directly compatible with emulator eeprom files, but it is essentially used for the same thing.
What kind of GPU do you have? Can you run the game with --log --debug-gl on the command line and post the resulting pd.log file?

i answer you, tomorrow, in this right moment i am on my job, on that machine the OS is GNU/Linux, distro Deepin. i really dislike Debians. i am Slackware user, i try tonight compile under Slackware(64) 14.2
the GPU on the job is Nvidia Quadro K600, on my home personal machine is Nvidia GeForce 620 MSI

Trying on Slackware64 14.2 :
mkdir -p /media/GNU-Con-Linux1/src
cd /media/GNU-Con-Linux1/src
git clone https://github.com/fgsfdsfgs/perfect_dark

That build issue should be fixed now. Even though your compiler really should be able to build it even without the fix.

Hi there, how i can compile the "net-port" version i should use a env variable or is another project ?
yesterday i had compile PerfectDark under Slackware64 15.0, i had do the follow
1 - Install Slackware64 15.0 [Full Installation]
2 - After install "32 Bits" multilib / compat32 support, follow the instructions of "https://docs.slackware.com/slackware:multilib"
cd /tmp
SLACKVER=15.0
mkdir multilib
cd multilib
lftp -c "open http://slackware.nl/people/alien/multilib/ ; mirror -c -e ${SLACKVER}"
cd ${SLACKVER}
upgradepkg --reinstall --install-new *.t?z
upgradepkg --install-new slackware64-compat32/*-compat32/*.t?z

Restart entire pc, and login again and now start the process to download and compile perfect dark manually :
mkdir -p "$HOME/Desktop/src"
cd "$HOME/Desktop/src"
git clone https://github.com/fgsfdsfgs/perfect_dark
cd perfect_dark/
git submodule update --init --recursive
export ROMID=pal-final
make -f Makefile.port TARGET_PLATFORM=i686-linux

i use environemnt variable :
export ROMID=pal-final
Because i want to use European PAL Version with Spanish Text Translations
well the make process finish without errors
Now i make the Directory when i want to put the binary executable and the data need it.
cd "$HOME/Desktop/src/perfect_dark/build/pal-final-port"

mkdir -p "$HOME/Programas/Videojuegos/Disparos/PerfectDark"

mv -f "$HOME/Desktop/src/perfect_dark/build/pal-final-port/pd.pal.exe" "$HOME/Programas/Videojuegos/Disparos/PerfectDark/"

Well i need the "data" directory and this binary executable look for another path, i really prefer, first look in relative path, not on absolute path, because the ever path, are very incovenient when i put the executables on a LiveUSB and use like portables apps.
cd "$HOME/Programas/Videojuegos/Disparos/PerfectDark"
mkdir -p "$PWD/data"
mkdir -p "$HOME/.local/share/perfectdark"
ln -s "$PWD/data" "$HOME/.local/share/perfectdark/data"

Note i use the follow web site, to convert my "n64" rom to "z64" -> https://hack64.net/tools/swapper.php
i put the rom on "data" directory and rename it to "pd.pal-final.z64"
Before know the path i try to run it, and i see the absolute paths, the another curious thing was the first, second, and third time i start it, the port start without sound
Well i just grab my "pd.ini" file and "epprom.bin" from the "Windows XP SP3" test i do before, and the sound now is working and i had my Save Game working
The SaveGame absolute path is
"$HOME/.local/share/perfectdark/eeprom.bin"
i suggest do the follow its the first time you use perfect dark, and don't want the files on diferents paths.
cd "$HOME/Programas/Videojuegos/Disparos/PerfectDark"
mkdir -p "$HOME/.local/share/perfectdark"
touch "eeprom.bin"
ln -s "$PWD" "$HOME/.local/share/perfectdark/eeprom.bin"
ln -s "$PWD/data" "$HOME/.local/share/perfectdark/data"

echo 'i rename pd.pal.exe to pd.pal.lignux32 because GNU/Linux on some distro use MIME Types and depend of your desktop environment can try use "Wine" first because the extension is ".exe" and that is not the idea, i prefer callit lignux to know is GNU/Linux 32 Bits executable'

mv -f "pd.pal.exe" "pd.pal.lignux32"
chmod a+o+x "pd.pal.lignux32"

Now enjoy Perfect Dark :

Well i want compile the net-port version :D

Change to the port-net branch: git checkout port-net.

Ok clean build :
mkdir -p "$HOME/Desktop/src"
cd "$HOME/Desktop/src"
git clone https://github.com/fgsfdsfgs/perfect_dark perfect_dark_net-port
cd perfect_dark_net-port
git checkout port-net
git submodule update --init --remote --recursive
export ROMID=pal-final
make -f Makefile.port TARGET_PLATFORM=i686-linux
cd build/pal-final-port/
mv pd.pal.exe pd-netport.pal.lignux32
chmod a+o+x pd-netport.pal.lignux32
mkdir -p "$HOME/Programas/Videojuegos/Disparos/PerfectDark"
cp "pd-netport.pal.lignux32" "$HOME/Programas/Videojuegos/Disparos/PerfectDark/"
cd "$HOME/Programas/Videojuegos/Disparos/PerfectDark/"
mkdir -p "$PWD/data"
mkdir -p "$HOME/.local/share/perfectdark"
ln -s "$PWD/data" "$HOME/.local/share/perfectdark/data"
cd "$HOME/Programas/Videojuegos/Disparos/PerfectDark"
mkdir -p "$HOME/.local/share/perfectdark"
touch "eeprom.bin"
ln -s "$PWD" "$HOME/.local/share/perfectdark/eeprom.bin"
ln -s "$PWD/data" "$HOME/.local/share/perfectdark/data"
echo 'Does not forget put your Z64 Perfect Dark EURopean ROM on data sub-folder'
./pd-netport.pal.lignux32

Ready :D

Automatic builds now include executables for PAL and JPN.

Automatic builds now include executables for PAL and JPN.

Excelent
Dunno : The dificulty of challange of Combat Simulator #29, the dificult has been down ?
i can't complete that challange because the two simulants killme 10 times too much fast because ever they ever knows when i  appear and when i am respawning i am get killed before i can start to move. the challange rarely dure 1 minute or more.

Higher simulant difficulties might be harder on high FPS. Limit it to 60 maybe.

Higher simulant difficulties might be harder on high FPS. Limit it to 60 maybe.

On that challange its not harder is just unfair, the simulants kill me the 10 times the mayor part of time before the first minute reach. Becuase the simulants knows when and where i appear in the next respawn and when i am appearing both reach to that point and kill me after i can start move.
On the challange 30 is hard but not unfair like 29.


Make unsafe (remaining lock timeout < reveal_timeout) transfers traceable

In #2210 we had some problems because the python client didn't continue a payment that it deemed unsafe (remaining lock timeout < reveal_timeout) and didn't show that information.
We have the same check and don't log a potential error either.
https://github.com/raiden-network/light-client/blob/d65362c267857d1643194d47915948760d4beedd/raiden-ts/src/transfers/epics/locked.ts#L494-L510
Tasks

[ ] Log a message describing the problem

Logging isn't working


ci(test): Add test execution for macos and windows

Add a new workflow for os dependent test execution

LGTM, but we need to fix tests on Windows before merging it.
Maybe, https://github.com/SAP/ui5-linter/pull/29 might improve the situation


Update changing-children.md

Hopefully stops people like me spending 5-10 minutes trying to add a new child and getting confused.

Two things:

I'm not sure this needs to be explicitly mentioned - Parent is a property like any other, and follows the same rules with state objects.
Typically it's cleaner to use something like ComputedPairs if you need to dynamically change what children you have - while you can use Parent, it can often means your children are defined far away from their parent, and makes it less obvious what children that parent may have throughout it's lifetime.

For those reasons, I don't think we should change this right now - but it's definitely something I should give thought to. This probably points to a deeper deficiency in another tutorial, which would most ideally be fixed by rewriting stuff rather than adding these kinds of 'special cases'.


Support class:list directive of Astro

Hello!
I recently got to know the Astro framework and have been playing around with a practice project for the past few days.
However, when using the class:list directive, even if the tailwindAttributes: ['class:list'] option is set, classes are not sorted, so I opened this PR.

Oops! I missed the template literal test.
I'll turn this PR into a draft for a moment for further work.

Hey, thanks for the PR! Could you enable maintainer access to the branch? I've got some cleanups / tweaks to push before merging.

Yes, I enabled maintainer access to the branch!

Updated and merged — thanks! ✨


Have core_bind.h Thread type syntax match core_bind.cpp

Changes two instances of Thread::ID to ::Thread::ID. This is functionally identical to prior implementation, but removes misattributed errors in VSCode intellisense

Thanks!


Loading via RequireJS

Downloaded your library via Bower and am trying to load it using RequireJS yet am getting
Uncaught ReferenceError: Sortable is not defined

Thanks!


running Eel gives this error

C:\Users\ANISH JAIN\AppData\Local\Programs\Python\Python37\lib\importlib_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
return f(*args, **kwds)

I think this means you have an old version of gevent installed


I got an exception while parsing STEP file

I got a step file, and I am trying to read it with this library. It opens in Inventor and in FreeCAD, so the file is okay.

It is in StepBinder.cs:65, in BindRemainingValues()

Line #401 of my file looks like:
#361 = EDGE_CURVE ( 'NONE', #17298, #10171, #2644, .T. ) ;

Later I have such mention of 2644
#2644 =( BOUNDED_CURVE ( )  B_SPLINE_CURVE ( 3, ( #1562, #21152, #11366, #13008 ),
 .UNSPECIFIED., .F., .T. )
 B_SPLINE_CURVE_WITH_KNOTS ( ( 4, 4 ),
 ( 2.053192979712429977, 2.070202670837279157 ),
 .UNSPECIFIED. )
 CURVE ( )  GEOMETRIC_REPRESENTATION_ITEM ( )  RATIONAL_B_SPLINE_CURVE ( ( 1.000000000000000000, 0.9999758893459853581, 0.9999758893459853581, 1.000000000000000000 ) )
 REPRESENTATION_ITEM ( '' )  );

I used Master branch

This library/repo is purely experimental and not ready for general use; only a few entity types are supported and EDGE_CURVE currently isn't one of them, as per pinned issue #15.


at MotionDetected.<anonymous> (/usr/lib/node_modules/homebridge-zigbee-nt/src/accessories/ikea/ikea-motion-sensor.ts:18:70)
[3/4/2021, 4:56:00 PM] [homebridge-zigbee-nt] This plugin generated a warning from the characteristic 'Target Temperature': characteristic value expected float and received undefined. See https://git.io/JtMGR for more info.
[3/4/2021, 4:56:00 PM] [homebridge-zigbee-nt] Error:
    at TargetTemperature.Characteristic.characteristicWarning (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2164:105)
    at TargetTemperature.Characteristic.validateUserInput (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1970:16)
    at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1517:24
    at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:9:18
    at ThermostatServiceBuilder.<anonymous> (/usr/lib/node_modules/homebridge-zigbee-nt/src/builders/thermostat-service-builder.ts:121:9)
    at Generator.next (<anonymous>)
    at /usr/lib/node_modules/homebridge-zigbee-nt/dist/builders/thermostat-service-builder.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/lib/node_modules/homebridge-zigbee-nt/dist/builders/thermostat-service-builder.js:4:12)
    at TargetTemperature.<anonymous> (/usr/lib/node_modules/homebridge-zigbee-nt/src/builders/thermostat-service-builder.ts:120:70)
[3/4/2021, 4:56:00 PM] [ZigBee] translateFromSystemMode(undefined): 0
[3/4/2021, 4:56:00 PM] [ZigBee] translateFromSystemMode(undefined): 0
[3/4/2021, 4:56:00 PM] [homebridge-zigbee-nt] This plugin generated a warning from the characteristic 'Current Temperature': characteristic value expected float and received undefined. See https://git.io/JtMGR for more info.
[3/4/2021, 4:56:00 PM] [homebridge-zigbee-nt] Error:
    at CurrentTemperature.Characteristic.characteristicWarning (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2164:105)
    at CurrentTemperature.Characteristic.validateUserInput (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1970:16)
    at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1517:24
    at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:9:18
    at ThermostatServiceBuilder.<anonymous> (/usr/lib/node_modules/homebridge-zigbee-nt/src/builders/thermostat-service-builder.ts:89:9)
    at Generator.next (<anonymous>)
    at /usr/lib/node_modules/homebridge-zigbee-nt/dist/builders/thermostat-service-builder.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/lib/node_modules/homebridge-zigbee-nt/dist/builders/thermostat-service-builder.js:4:12)
    at CurrentTemperature.<anonymous> (/usr/lib/node_modules/homebridge-zigbee-nt/src/builders/thermostat-service-builder.ts:88:70)
(...)
[3/4/2021, 4:56:32 PM] [homebridge-zigbee-nt] This plugin generated a warning from the characteristic 'Status Tampered': Characteristic not in required or optional characteristic section for service Battery. Adding anyway.. See https://git.io/JtMGR for more info.
[3/4/2021, 4:56:32 PM] [ZigBee] Zigbee message from 0x60a423fffe029b7b {
  type: 'attributeReport',
  device: Device {
    ID: 4,
    _type: 'EndDevice',
    _ieeeAddr: '0x60a423fffe029b7b',
    _networkAddress: 30425,
    _manufacturerID: 0,
    _endpoints: [ [Endpoint] ],
    _manufacturerName: 'TUYATEC-yg5dcbfu',
    _powerSource: 'Battery',
    _modelID: 'RH3052',
    _applicationVersion: 74,
    _stackVersion: 0,
    _zclVersion: 3,
    _hardwareVersion: 1,
    _dateCode: '20180608',
    _softwareBuildID: undefined,
    _interviewCompleted: true,
    _interviewing: false,
    _skipDefaultResponse: false,
    meta: {},
    _lastSeen:<PHONE_NUMBER>107,
    temperature: 0,
    _linkquality: 23
  },
  endpoint: Endpoint {
    ID: 1,
    profileID: 260,
    deviceID: 770,
    inputClusters: [ 0, 1, 3, 1026, 1029 ],
    outputClusters: [ 3, 1026, 1029 ],
    deviceNetworkAddress: 30425,
    deviceIeeeAddress: '0x60a423fffe029b7b',
    clusters: {
      genBasic: [Object],
      msTemperatureMeasurement: [Object],
      msRelativeHumidity: [Object],
      genPowerCfg: [Object]
    },
    _binds: [],
    _configuredReportings: [],
    meta: {}
  },
  data: { batteryVoltage: 30, batteryPercentageRemaining: 200 },
  linkquality: 23,
  groupID: 0,
  cluster: 'genPowerCfg',
  meta: {
    zclTransactionSequenceNumber: 3,
    manufacturerCode: null,
    frameControl: {
      frameType: 0,
      manufacturerSpecific: false,
      direction: 1,
      disableDefaultResponse: true,
      reservedBits: 0
    }
  }
}
[3/4/2021, 4:56:32 PM] [ZigBee] Decoded state from incoming message { battery: 100, voltage: 3000 }
[3/4/2021, 4:56:32 PM] [ZigBee] Updating state of device 0x60a423fffe029b7b with  { battery: 100, voltage: 3000 }
[3/4/2021, 4:56:32 PM] [ZigBee] Updated state for device 0x60a423fffe029b7b is now  { battery: 100, voltage: 3000 }
[3/4/2021, 4:56:32 PM] [ZigBee] Updating service 00000082-0000-1000-8000-0026BB765291 for device 0x60a423fffe029b7b with state { battery: 100, voltage: 3000 }
[3/4/2021, 4:56:32 PM] [ZigBee] Updating service 0000008A-0000-1000-8000-0026BB765291 for device 0x60a423fffe029b7b with state { battery: 100, voltage: 3000 }
[3/4/2021, 4:56:32 PM] [ZigBee] Updating service 00000096-0000-1000-8000-0026BB765291 for device 0x60a423fffe029b7b with state { battery: 100, voltage: 3000 }
[3/4/2021, 4:56:32 PM] [ZigBee] Zigbee message from 0x60a423fffe029b7b {
  type: 'attributeReport',
  device: Device {
    ID: 4,
    _type: 'EndDevice',
    _ieeeAddr: '0x60a423fffe029b7b',
    _networkAddress: 30425,
    _manufacturerID: 0,
    _endpoints: [ [Endpoint] ],
    _manufacturerName: 'TUYATEC-yg5dcbfu',
    _powerSource: 'Battery',
    _modelID: 'RH3052',
    _applicationVersion: 74,
    _stackVersion: 0,
    _zclVersion: 3,
    _hardwareVersion: 1,
    _dateCode: '20180608',
    _softwareBuildID: undefined,
    _interviewCompleted: true,
    _interviewing: false,
    _skipDefaultResponse: false,
    meta: {},
    _lastSeen:<PHONE_NUMBER>112,
    temperature: 0,
    _linkquality: 23
  },
  endpoint: Endpoint {
    ID: 1,
    profileID: 260,
    deviceID: 770,
    inputClusters: [ 0, 1, 3, 1026, 1029 ],
    outputClusters: [ 3, 1026, 1029 ],
    deviceNetworkAddress: 30425,
    deviceIeeeAddress: '0x60a423fffe029b7b',
    clusters: {
      genBasic: [Object],
      msTemperatureMeasurement: [Object],
      msRelativeHumidity: [Object],
      genPowerCfg: [Object]
    },
    _binds: [],
    _configuredReportings: [],
    meta: {}
  },
  data: { batteryVoltage: 30, batteryPercentageRemaining: 200 },
  linkquality: 23,
  groupID: 0,
  cluster: 'genPowerCfg',
  meta: {
    zclTransactionSequenceNumber: 3,
    manufacturerCode: null,
    frameControl: {
      frameType: 0,
      manufacturerSpecific: false,
      direction: 1,
      disableDefaultResponse: true,
      reservedBits: 0
    }
  }
}

Yes, let's fix them and see. Sensors are reporting values and I see HomeKit updates. I don't see any update to 0 for temp or humidity...

Hello, @madchicken, I've just installed new version 2.2.0 of your plugin, but still nothing in homebridge accessories  and home app - logs sems to be ok:
[3/21/2021, 5:59:02 PM] [ZigBee] Zigbee message from 0x60a423fffe029b7b {
  type: 'attributeReport',
  device: Device {
    ID: 4,
    _type: 'EndDevice',
    _ieeeAddr: '0x60a423fffe029b7b',
    _networkAddress: 30425,
    _manufacturerID: 0,
    _endpoints: [ [Endpoint] ],
    _manufacturerName: 'TUYATEC-yg5dcbfu',
    _powerSource: 'Battery',
    _modelID: 'RH3052',
    _applicationVersion: 74,
    _stackVersion: 0,
    _zclVersion: 3,
    _hardwareVersion: 1,
    _dateCode: '20180608',
    _softwareBuildID: undefined,
    _interviewCompleted: true,
    _interviewing: false,
    _skipDefaultResponse: false,
    meta: {},
    _lastSeen:<PHONE_NUMBER>869,
    temperature: 0,
    _linkquality: 18
  },
  endpoint: Endpoint {
    ID: 1,
    profileID: 260,
    deviceID: 770,
    inputClusters: [ 0, 1, 3, 1026, 1029 ],
    outputClusters: [ 3, 1026, 1029 ],
    deviceNetworkAddress: 30425,
    deviceIeeeAddress: '0x60a423fffe029b7b',
    clusters: {
      genBasic: [Object],
      msTemperatureMeasurement: [Object],
      msRelativeHumidity: [Object],
      genPowerCfg: [Object]
    },
    _binds: [],
    _configuredReportings: [],
    meta: {}
  },
  data: { measuredValue: 5576 },
  linkquality: 18,
  groupID: 0,
  cluster: 'msRelativeHumidity',
  meta: {
    zclTransactionSequenceNumber: 2,
    manufacturerCode: null,
    frameControl: {
      frameType: 0,
      manufacturerSpecific: false,
      direction: 1,
      disableDefaultResponse: true,
      reservedBits: 0
    }
  }
}
[3/21/2021, 5:59:02 PM] [ZigBee] Decoded state from incoming message { humidity: 55.76 }
[3/21/2021, 5:59:02 PM] [ZigBee] Updating state of device 0x60a423fffe029b7b with  { humidity: 55.76 }
[3/21/2021, 5:59:02 PM] [ZigBee] Updated state for device 0x60a423fffe029b7b is now  { temperature: 21.67, humidity: 55.76 }
[3/21/2021, 5:59:02 PM] [ZigBee] Updating service 00000082-0000-1000-8000-0026BB765291 for device 0x60a423fffe029b7b with state { temperature: 21.67, humidity: 55.76 }
[3/21/2021, 5:59:02 PM] [ZigBee] Updating service 0000008A-0000-1000-8000-0026BB765291 for device 0x60a423fffe029b7b with state { temperature: 21.67, humidity: 55.76 }
[3/21/2021, 5:59:02 PM] [ZigBee] Updating service 00000096-0000-1000-8000-0026BB765291 for device 0x60a423fffe029b7b with state { temperature: 21.67, humidity: 55.76 }

[3/21/2021, 5:59:39 PM] [ZigBee] Device 0xbc33acfffe3313b6 successfully configured on attempt 1!
[3/21/2021, 5:59:39 PM] [ZigBee] 0xbc33acfffe3313b6 configured after state update

@piokacz May I ask you to move this into a new issue with detailed description of the problem? I am lost tracking things...


Emotion source maps in site

Description
Currently the app project is supplying source maps for emotion styling. The site project was missing this configuration.
When debugging or developing styling it is helpful to easily see the styles applied by css-in-js code (emotion).
Related Ticket
Resolves #582
Changes

Before
After

Checklist

[x] Building the site with npm run build-site works without errors
[x] Building the app with npm run build-app works without errors
[x] I formatted JS and TS files with running npm run format-all

Closing in favor of #726


Memory leaks

Memory leaks
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /home/boooch/m.php on line 105

Hey @zjagust thanks for opening the issue, I have rewrote the script and add tests and CI as well.
Please try it again and let me know if the issue still persist.
Thank you again 👍


Fix dependencies docker image build

Description
Fix docker dependencies image build. The app directory requires to be owned by dspace user.
#10 5.843 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.2.0:single (default) on project dspace-parent: Failed to create assembly: Error creating assembly archive testEnvironment: Problem creating output file for zip /app/target, /app/target/dspace-parent-7.2-SNAPSHOT-testEnvironment.zip (No such file or directory) -> [Help 1]

Instructions for Reviewers
List of changes in this PR:

add RUN chown -Rv dspace: /app

Include guidance for how to test or review your PR. This may include: steps to reproduce a bug, screenshots or description of a new feature, or reasons behind specific changes.
docker build -f Dockerfile.dependencies --no-cache -t dspace-dependencies .

Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
[x] My PR passes Checkstyle validation based on the Code Style Guide.
[x] My PR includes Javadoc for all new (or modified) public methods and classes. It also includes Javadoc for large or complex private methods.
[x] My PR passes all tests and includes new/updated Unit or Integration Tests based on the Code Testing Guide.
[x] If my PR includes new, third-party dependencies (in any pom.xml), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[x] If my PR modifies the REST API, I've linked to the REST Contract page (or open PR) related to this change.

@wwelling : I'm strangely not able to reproduce this Docker image build error.  Here's what I tried running, based on what's in our README (and ensuring I'm using --no-cache like you are):
docker build -t dspace/dspace-dependencies:dspace-7_x --no-cache -f Dockerfile.dependencies .
It builds fine for me without your PR.  While I don't think this PR is detrimental (it's obviously a tiny permission change), I'm just having trouble reproducing the original problem.  Could you try this build again on main just to see if it's working for you now...maybe something got messed up temporarily on your machine while you were doing other Docker work yesterday?

@tdonohue thanks for testing. I am however still able to reproduce. Not sure what could be the cause.
C:\Users\william_welling\Development\DSpace>git log
commit 7fda074543abddb1408935d50cbb4d2c4d5aec0e (HEAD -> main, upstream/main, origin/main, origin/HEAD)
Merge: ae6f795f2 6bedbf09a
Author: Tim Donohue<EMAIL_ADDRESS>Date:   Thu Nov 11 16:16:24 2021 -0600

    Merge pull request #7994 from mwoodiupui/7988

    Ensure that a mapped Item is exported only once.

C:\Users\william_welling\Development\DSpace>docker -v
Docker version 20.10.10, build b485636

C:\Users\william_welling\Development\DSpace>docker build -t dspace/dspace-dependencies:dspace-7_x --no-cache -f Dockerfile.dependencies .
[+] Building 23.8s (10/11)
...
#10 13.99 [INFO] DSpace Services Framework :: API and Implementation  SKIPPED
...
#10 13.99 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.2.0:single (default) on project dspace-parent: Failed to create assembly: Error creating assembly archive testEnvironment: Problem creating output file for zip /app/target, /app/target/dspace-parent-7.2-SNAPSHOT-testEnvironment.zip (No such file or directory) -> [Help 1]

@wwelling : Very odd, as I've got the exact same version of Docker, etc. Not sure what could be different here, but it definitely sounds like this bug at least effects some people.
Ok, in that case, I'll test this PR with the assumption that it's fixing a bug that may not be reproducible everywhere.  Overall, as I said, the change seems reasonable & harmless.  So, if it works on my end as well, we can just move this forward.

@wwelling : We've just fixed the failing ITs on main in #8038. So, if you can rebase this on main, tests should now succeed.

@tdonohue is a merge with main branch okay? I think a squash and merge will clean up the commit onto main.


Prevent authenticated user to access /login and /signup pages

And potentially other pages too
https://nextjs.org/docs/messages/nested-middleware

https://nextjs.org/docs/app/building-your-application/routing/redirecting#nextresponseredirect-in-middleware


finer granularity probe/detector coupling

sometimes we don't want to detect all things in all outputs
e.g. in #21 we're looking for a specific behaviour per input
maybe a subclass of detector where the detections are an ordered list. will help to have a probe data version/hash to be sure things stay in sync

how to implement probe-to-detector args
the harness passes these to detector
a probe sets a dictionary, detector_args = {}
the harness instantiates the detector and then
for k,v in probe.detector_args.items():
detector.k = v
this is how we'll get the listdetector to work
it should include an assert for output / trigger list length match

better eval now possible via Attempt() data structure 29b1ff259678bdf4d4648d2c360576241006790b


Refactor dem 2d

Description of the problem

Previously, the force and torque tensors in two-dimensional DEM solver (dem_2d) had x and y elements. This caused issued in the dem_2d, as the rotation of particles in the third dimension was neglected. We need to address this issue before working on the resolved CFD-DEM, since resolved CFD-DEM will use dem_2d.

Description of the solution

All the force, torque and gravitational acceleration vectors have been changed to three-dimensional vectors. Therefore, all the calculations are performed in three-dimensions. Only in the integration stage, we neglect the force and torques in the z direction.

Future changes

Modified dem_2d solver will be used in the resolved CFD-DEM solver.

Very nice PR this will simplify some manipulation in 2D. Nothing special to say. Just check if it's normal that the value of the test change that much. I guess it is because you changed the test itself?

@Luckabarbeau The results of the two-dimensional tests change because they didn't have any torques before.

A lot of tests don't pass in debug mode @shahabgol

There was a bug in the acceleration vector. It was still <1, dim> instead of <1, 3>. It is fixed now.

Very good work. @shahabgol Before I merge, can you verify that performance is not affected by this change?

I've added a benchmark for tracking the simulation times of the dem_3d solver.

@shahabgol  Can you add your processor information in the readme file you added?
This way we could have multiple type of processors and have the timing for different systems as a function of time for our machines.
After that, ready to merge

Added to both readme and simulation time file.


Downloading features takes very long time

Hi,
wget http://data.lip6.fr/cadene/block/coco/extract_rcnn/2018-04-27_bottom-up-attention_fixed_36.tar shows 2 days estimated time for download even though I have fairly high internet speed. Any chance you have the same file on a faster server?

@erobic,
Thanks for your interest :)
You can download the features from AWS (we should push this soon):
https://github.com/Cadene/block.bootstrap.pytorch/issues/10

Thank you @Cadene
It is super fast now!


How to hide left button in APEX profiler?

Hi
Is there a way to hide left button if I don't need it for my application?
I've currently set left_button_link to '#' in my query, but I don't want to show the left button.
Please advise.
Thanks
Kishore

This Feature is added in Version 2.0
Please get the latest copy


First Pass @ Modularized Code  :: Repeating Message

My first swipe at running the modularized code.  It starts off fine:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...
************************ UID/GID *************************
User uid:    0
User gid:    0
************************** Done **************************
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-gid-video-device: executing...
[cont-init.d] 20-gid-video-device: exited 0.
[cont-init.d] 30-edgetpu-permission: executing...
************** Setting EdgeTPU permissions ***************
Coral Vendor IDs:
"1a6e",ATTRS{idProduct}=="089a"
"18d1",ATTRS{idProduct}=="9302"
No EdgeTPU USB device was found
************************** Done **************************
[cont-init.d] 30-edgetpu-permission: exited 0.
[cont-init.d] 40-set-env-vars: executing...
****** Checking for hardware acceleration platforms ******
OpenCL is available!
VA-API cannot be used
CUDA is available!
*********************** Done *****************************
[cont-init.d] 40-set-env-vars: exited 0.
[cont-init.d] 50-check-if-rpi: executing...
********** Checking if we are running on an RPi **********
Not running on any supported RPi
*********************** Done *****************************
[cont-init.d] 50-check-if-rpi: exited 0.
[cont-init.d] 55-check-if-jetson: executing...
****** Checking if we are running on a Jetson Board ******
Not running on any supported Jetson board
*********************** Done *****************************
[cont-init.d] 55-check-if-jetson: exited 0.
[cont-init.d] 60-ffmpeg-path: executing...
****************** Getting FFmpeg path *******************
FFmpeg path: /usr/local/bin/ffmpeg
*********************** Done *****************************
[cont-init.d] 60-ffmpeg-path: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2022-02-11 08:12:34] [INFO    ] [viseron                 ] - -------------------------------------------
[2022-02-11 08:12:34] [INFO    ] [viseron                 ] - Initializing...

Then I get a repeating error:
Uncaught exception
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/src/viseron/__main__.py", line 26, in <module>
    init()
  File "/src/viseron/__main__.py", line 23, in init
    main()
  File "/src/viseron/__main__.py", line 9, in main
    viseron = setup_viseron()
  File "/src/viseron/__init__.py", line 95, in setup_viseron
    config = load_config()
  File "/src/viseron/config.py", line 47, in load_config
    raw_config = yaml.load(config_file, Loader=yaml.SafeLoader)
  File "/usr/local/lib/python3.8/dist-packages/yaml/__init__.py", line 114, in load
    return loader.get_single_data()
  File "/usr/local/lib/python3.8/dist-packages/yaml/constructor.py", line 49, in get_single_data
    node = self.get_single_node()
  File "/usr/local/lib/python3.8/dist-packages/yaml/composer.py", line 36, in get_single_node
    document = self.compose_document()
  File "/usr/local/lib/python3.8/dist-packages/yaml/composer.py", line 55, in compose_document
    node = self.compose_node(None, None)
  File "/usr/local/lib/python3.8/dist-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/local/lib/python3.8/dist-packages/yaml/composer.py", line 133, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/usr/local/lib/python3.8/dist-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/local/lib/python3.8/dist-packages/yaml/composer.py", line 133, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/usr/local/lib/python3.8/dist-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/local/lib/python3.8/dist-packages/yaml/composer.py", line 127, in compose_mapping_node
    while not self.check_event(MappingEndEvent):
  File "/usr/local/lib/python3.8/dist-packages/yaml/parser.py", line 98, in check_event
    self.current_event = self.state()
  File "/usr/local/lib/python3.8/dist-packages/yaml/parser.py", line 438, in parse_block_mapping_key
    raise ParserError("while parsing a block mapping", self.marks[-1],
yaml.parser.ParserError: while parsing a block mapping
  in "/config/config.yaml", line 3, column 5
expected <block end>, but found '<block mapping start>'
  in "/config/config.yaml", line 12, column 7
[2022-02-11 08:21:10] [INFO    ] [viseron                 ] - -------------------------------------------
[2022-02-11 08:21:10] [INFO    ] [viseron                 ] - Initializing...
Uncaught exception

And I'm running a minimal config file:
ffmpeg:
  camera:
    FrontEast2:
       name: Front East2
       host: !secret camera_ip_front_east2
       username: !secret camera_us_front_east2
       password: !secret camera_pw_front_east2
       path: /cam/realmonitor?channel=1&subtype=0&proto=Private3
       port: 80
       stream_format: mpeg4
       fps: 29
      recorder:
        idle_timeout: 1
        codec: h264
    FrontWest: #
       name: Front West
       host: !secret camera_ip_front_west
       username: !secret camera_us_front_west
       password: !secret camera_pw_front_west
       path: /Streaming/Channels/101?transportmode=unicast&profile=Profile_1
       port: 554
       stream_format: mpeg4
       fps: 25
      recorder:
        idle_timeout: 1
        codec: h264

darknet:
  object_detector:
    model_path: /detectors/models/darknet/yolov4-csp-x-swish.weights
    model_config: /detectors/models/darknet/yolov4-csp-x-swish.cfg
    cameras:
      FrontEast2:
        fps: 1
        scan_on_motion_only: false
        labels:
          - label: person
            confidence: 0.9
            trigger_recorder: true
      FrontWest:
        fps: 1
        labels:
          - label: person
            confidence: 0.9
            trigger_recorder: true
nvr:
  FrontEast2:
  FrontWest:

webserver:

mqtt:
  broker: !secret mqtt_host
  port: !secret mqtt_port
  username: !secret mqtt_us
  password: !secret mqtt_pw
  client_id: viseron
  home_assistant:

logger:
  default_level: debug
  logs:
    viseron.components.data_stream: info
    viseron.components.background_subtractor: info
    viseron.components.mog2: info

A few things I don't yet grasp:
mog2 <--- Not sure what this is and how to configure it
darknet <-- How do I determine the paths for "model_path" and "model_config"
webserver <-- And how do I access it - is it running on port 80?
Thank you

The recorder blocks are not indented correctly, missing one space, like this
ffmpeg:
  camera:
    FrontEast2:
       name: Front East2
       host: !secret camera_ip_front_east2
       username: !secret camera_us_front_east2
       password: !secret camera_pw_front_east2
       path: /cam/realmonitor?channel=1&subtype=0&proto=Private3
       port: 80
       stream_format: mpeg4
       fps: 29
       recorder:
         idle_timeout: 1
         codec: h264
    FrontWest: #
       name: Front West
       host: !secret camera_ip_front_west
       username: !secret camera_us_front_west
       password: !secret camera_pw_front_west
       path: /Streaming/Channels/101?transportmode=unicast&profile=Profile_1
       port: 554
       stream_format: mpeg4
       fps: 25
       recorder:
         idle_timeout: 1
         codec: h264

darknet:
  object_detector:
    model_path: /detectors/models/darknet/yolov4-csp-x-swish.weights
    model_config: /detectors/models/darknet/yolov4-csp-x-swish.cfg
    cameras:
      FrontEast2:
        fps: 1
        scan_on_motion_only: false
        labels:
          - label: person
            confidence: 0.9
            trigger_recorder: true
      FrontWest:
        fps: 1
        labels:
          - label: person
            confidence: 0.9
            trigger_recorder: true
nvr:
  FrontEast2:
  FrontWest:

webserver:

mqtt:
  broker: !secret mqtt_host
  port: !secret mqtt_port
  username: !secret mqtt_us
  password: !secret mqtt_pw
  client_id: viseron
  home_assistant:

logger:
  default_level: debug
  logs:
    viseron.components.data_stream: info
    viseron.components.background_subtractor: info
    viseron.components.mog2: info

mog2 <--- Not sure what this is and how to configure it

Thats a motion detector, the same as the old one that was specified with
motion_detection:
  type: mog2

darknet <-- How do I determine the paths for "model_path" and "model_config"

You can find all the models in the image by running
docker exec -it viseron ls -al /detectors/models/darknet/

webserver <-- And how do I access it - is it running on port 80?

The webserver runs on port 8888 by default, so you need to map it in your docker run command or docker-compose

That fixed those ones. Will open another to make it easier to track. Thank you!


do not strip NativeRunnable private constructor, closes #6624

Fixes proguard in RN 0.22.+. Closes #6624

Awesome. Thanks a lot for the PR.

@facebook-github-bot shipit


test: adding one more watermark test

Risk Level: n/a (test only)
Testing: 5k runs cleanly
Docs Changes: n/a
Release Notes: n/a

Alternately if we don't think a random-backup test is worth the extra test code, I can just remove the TODO.

Alternately if we don't think a random-backup test is worth the extra test code, I can just remove the TODO.

Thx so much


Fix jackson version to use valid Jackson version

Fixes Issue
https://github.com/dependency-check/dependency-check-gradle/issues/260
https://github.com/jeremylong/DependencyCheck/issues/4280
Description of Change
use valid jackson version
Have test cases been added to cover the new functionality?
N/A: no new functionality.

According to https://github.com/FasterXML/jackson-databind/issues/3428#issuecomment-1081330160 it seems the right way forward here is to roll forward to jackson.version of <IP_ADDRESS> which corrects the Gradle metadata causing problems for Gradle users (and dependency-check-gradle).
(Or move to a BOM-based approach entirely which would be more work, and involve removing the specific versions for jackson-databind)

superseded by #4285


On master branch, lnd ran with --no-macaroons,  and ran lncli with --no-macaroons occur error.

I ran lnd with --no-macaroons ,  and ran lncli --no-macaroons --network=testnet getinfo.
There is a error:
[lncli] could not load global options: unable to read macaroon path (check the network setting!): open /root/.lnd/data/chain/bitcoin/testnet/admin.macaroon: no such file or directory
My environment

lnd: master branch, v0.11.99 beta
OS: CentOS
chain backend: neutrino

I get this same error when trying to create a wallet. Lnd doesn't seem to make the macaroons as well as other files and folders when ran for the first time. It only creates
tls.cert
tls.key
logs/bitcoin/mainnet/lnd.log
data/graph/mainnet/channel.db
And that's it. Im running the same version of lnd but in Ubuntu and bitcoind as the backend.

For the command to create a wallet you don't need macaroons yet. They are created after a wallet is initialized (or unlocked the next time).

Hmmm when I run "lncli create" I get the same exact error as you posted...would that be an entirely separate issue?

Ah, yes, I see it now. It's the same problem, the macaroon is always attempted to be read even if it's not needed currently.

Ok. I talked to someone else who had the same problem and suggested I post it as an issue and then I saw your issue and thought it might be the same or similar. But he said his got resolved by updating to the 0.11 beta ?? So I don't know I'm lost

Just for reference I installed 0.11.0-beta and it fixed the problem

Yes, this maybe a bug of master branch. I have checked out to v0.11 branch and everything is OK.


unable to compile tf_ops

i am facing this error when i compile "tf_conv3p_compile_.sh". kindly guide me if i am doing something wrong?
$chmod a+x *
$ ./tf_conv3p_compile_.sh
/home/sarshad/.local/lib/python3.5/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
gcc: error: .cu: No such file or directory
gcc: warning: ‘-x c++’ after last input file has no effect
gcc: fatal error: no input files
compilation terminated.
g++: error: .cpp: No such file or directory
g++: fatal error: no input files
compilation terminated.
g++: error: .cpp: No such file or directory
g++: fatal error: no input files
compilation terminated.
In file included from /usr/local/lib/python3.5/dist-packages/tensorflow/include/tensorflow/core/platform/mutex.h:31:0,
from /usr/local/lib/python3.5/dist-packages/tensorflow/include/tensorflow/core/framework/op.h:32,
from tf_conv3p_grid.cpp:1:
/usr/local/lib/python3.5/dist-packages/tensorflow/include/tensorflow/core/platform/default/mutex.h:25:22: fatal error: nsync_cv.h: No such file or directory
compilation terminated.
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /usr/local/lib/python3.5/dist-packages/tensorflow/include/tensorflow/core/platform/mutex.h:31:0,
from /usr/local/lib/python3.5/dist-packages/tensorflow/include/tensorflow/core/framework/op.h:32,
from tf_conv3p_naive_ctxmem.cu:1:
/usr/local/lib/python3.5/dist-packages/tensorflow/include/tensorflow/core/platform/default/mutex.h:25:22: fatal error: nsync_cv.h: No such file or directory
compilation terminated.
In file included from /usr/local/lib/python3.5/dist-packages/tensorflow/include/tensorflow/core/platform/mutex.h:31:0,
from /usr/local/lib/python3.5/dist-packages/tensorflow/include/tensorflow/core/framework/op.h:32,
from register_op.cpp:1:
/usr/local/lib/python3.5/dist-packages/tensorflow/include/tensorflow/core/platform/default/mutex.h:25:22: fatal error: nsync_cv.h: No such file or directory
compilation terminated.
g++: error: tf_conv3p.so_cuda.o: No such file or directory
g++: error: tf_conv3p.so_cpu.o: No such file or directory
rm: cannot remove 'tf_conv3p.so_cpu.o': No such file or directory
rm: cannot remove 'tf_conv3p.so_cuda.o': No such file or directory

Have you solve this problem?I also meet this problem.Can you help me?

If you are using tensorflow 1.4 then please compile the tf_conv3p_compile_tf14.sh and other details you can find in Readme.

My tensorflow'version is 1.4,there are my error:
raceback (most recent call last):
File "", line 1, in
ImportError: No module named 'tensorflow'
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named 'tensorflow'
tf_conv3p_grid.cpp:1:42: fatal error: tensorflow/core/framework/op.h: No such file or directory
compilation terminated.
nvcc fatal   : argument expected after '-I'
register_op.cpp:1:42: fatal error: tensorflow/core/framework/op.h: No such file or directory
compilation terminated.
g++: error: register_op.o: No such file or directory
g++: error: tf_conv3p.so_cuda.o: No such file or directory
g++: error: tf_conv3p.so_cpu.o: No such file or directory
rm: cannot remove 'tf_conv3p.so_cpu.o': No such file or directory
rm: cannot remove 'tf_conv3p.so_cuda.o': No such file or directory
------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2019年5月25日(星期六) 凌晨2:53
收件人<EMAIL_ADDRESS>抄送: "雄途～～～"1442342449<EMAIL_ADDRESS>主题: Re: [scenenn/pointwise] unable to compile tf_ops (#2)
If you are using tensorflow 1.4 then please compile the tf_conv3p_compile_tf14.sh and other details you can find in Readme.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


metadata-cleaner: 2.0.1 -> 2.1.3

Motivation for this change
https://gitlab.com/rmnvgr/metadata-cleaner/-/blob/v2.1.3/CHANGELOG.md
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg build metadata-cleaner


OCR doesn't work properly when text is not white

For some reason when the text is a different color the OCR generates gibberish. This is in AI: The Somnium Files.

White text appears to work fine though:

This is using the default settings, with Tesseract Default. Interestingly all of the OCR options give the same gibberish except for OCR Space EU which returns the correct text.

Have you checked the manual on improving OCR?
https://game2text.com/user-guide/improve-accuracy/apply-image-filters/
Also, since you are on Windows, you should use the text hooker functionality for this game.
https://game2text.com/user-guide/visual-novels/

Yes I use text extraction for visual novels, but I am testing out the OCR since I suggested using this to someone else for playing games that aren't visual novels. Thanks for the info. I'll try using the image filters.


Configuring file extraction to write files in a directory when reading pcap files

Hello I am trying to also use this plugin however I can't get it to create a directory like ./extracted-files to put them in when I am reading a cap file. Do I also need the base policy extract-all-files? I do like the fact that I can add mime types arrays. Where can I specify the output path and directory?
I am using bro 2.5.1 and the current github version of bro.
Thanks for working this.

Sorry for the slow response.
You should be able to just load one of the plugin scripts ad-hoc to make this happen:
bro -r foo.pcap file-extraction/plugins/extract-all-files.bro

This will create a directory called extracted_files and extract all of the files to that directory.

Did the above help with your issue?

@hosom is there something I can add to local.bro that will also enable "extract-all" ?

@load /scripts/plugins/extract-all-files
On Sat, Apr 27, 2019 at 11:59 AM blacktop<EMAIL_ADDRESS>wrote:

@hosom https://github.com/hosom is there something I can add to
local.bro that will also enable "extract-all" ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hosom/file-extraction/issues/6#issuecomment-487297625,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABGI53BJ46FCFEI6FG7BXCDPSRZ4RANCNFSM4ECSWCIA
.


IA-885 & IA-901 restrict actions submissions perm

Changes

changed "permission" field to "permissions" in menuItems. It now takes an array i.o a string
gave access to Forms to "iaso_submissions" permission
updated ProtectedRoutes to check for an array of permissions i.o single one
users with iaso_submissions permission can view /forms/list, but write actions are not available
id. for ArchivedForms: the actions column is removed

https://user-images.githubusercontent.com/38907762/140543052-6c7570ce-3355-4995-b42e-6ab17af2bd1c.mov

we should probably hide or disable the create button for Form.

Update

removed create button when no "forms" permission
removed iaso_submissions's write access to forms api
fixed bug with archived forms (displayed action buttons only to superusers)
updated and added test

Update
Fixed IA-901 here to avoid git gymnastics:

added handleFormDelete method to Org Units details

The "Show submission button" in actions need to be removed if the user don't have the submission permissions

Or we say that the user who has form also has implicitly the Submission perm but then we need to correct the perm on the Submission page, and to make it more clear for the user
And inversely in submissions page, we should remove the link to the Form if we don't have the form permission

The "Show submission button" in actions need to be removed if the user don't have the submission permissions  Or we say that the user who has form also has implicitly the Submission perm but then we need to correct the perm on the Submission page, and to make it more clear for the user
And inversely in submissions page, we should remove the link to the Form if we don't have the form permission

You should be able to see the form with the submissions permission, just not edit them, so I think the link should stay.
I will have a look at the rest

Update 16/11/2021

remove "see submissions" action button when submissions permissions is absent
hide "forms" tab from org unit details when forms permission is absent
make "forms" tab from org unit details behave like forms page in other cases (superuser, forms permission with and without submissions permission)
update instances tests

https://user-images.githubusercontent.com/38907762/141987054-88261319-69ad-400d-8625-c536d098c6a0.mov

The link from the orgunit tab fail because there is a levels at the end?
See :  http://localhost:8081/dashboard/forms/submissions/formIds/1/tab/list/columns/updated_at,org_unit__name,created_at,status/levels/29679


[Snapshot Interop] Keep API parameters behind remote store experiment…

…al feature flag.

Description
Documentation Changes for Snapshot Interop Project are still not merged.
We will be launching Snapshot Interop Feature with Remote Store Feature, so as part of this PR we are keeping all the Snapshot Interop related API parameters behind the Remote Store Feature Flag.

Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Do we really need these changes ? It might be okay showing some extra flags in API output as it wouldn't break the clients.

org.opensearch.index.shard.RemoteStoreRefreshListenerTests.testRefreshAfterCommit
org.opensearch.index.shard.RemoteStoreRefreshListenerTests.classMethod
org.opensearch.index.shard.RemoteStoreRefreshListenerTests.classMethod
org.opensearch.index.shard.RemoteStoreRefreshListenerTests.testAfterMultipleCommits
org.opensearch.index.shard.RemoteStoreRefreshListenerTests.classMethod
org.opensearch.index.shard.RemoteStoreRefreshListenerTests.classMethod
org.opensearch.index.shard.RemoteStoreRefreshListenerTests.testAfterMultipleCommits
org.opensearch.index.shard.RemoteStoreRefreshListenerTests.classMethod
org.opensearch.index.shard.RemoteStoreRefreshListenerTests.classMethod
org.opensearch.index.shard.RemoteStoreRefreshListenerTests.testAfterMultipleCommits

Failing tests are not related to this change and are flaky . Merging it as it is important to block interop related params  when remote store is not enabled .


[Request] Use " instead of "

Is your request related to a specific problem you're having?
Not exactly: Although the outputted HTML is very small already, it could be made slightly smaller by using a a different representation for quotes (saves 1 byte per quote character). I am using this library to generate HTML for a static site, so storage is more of a "concern" (if you can call 1 byte concerning).
The solution you'd prefer / feature you'd like to see added...

Update this line directly (which would break all of the tests)
A flag/optional argument to replace " with &#34 once the HTML has been generated
A plugin of sorts which would do the same thing as above

Any alternative solutions you considered...
You can run sed to just replace it after the fact, but it would be nice to have it built in.
Additional context...
Although this is super minor, it would be cool to try and shrink the size of the exported HTML, even by a little bit. I don't know if the size of the exported HTML is a priority/concern, so I thought I would ask! Any feedback would be great, Thanks!

Most HTML content served on the web should be gzipped (or better) so there's actually going to be zero effective difference in size between both approaches.
If you really still think this is a good idea in your own processing/build phase you should simply call replace after highlighting to swap the sequence yourself.  It's one line of code.


[PowerToys Run] Crash after turning options on.

PTRun crashed after turning on options Clear the previous query on launch and Disable drive detection warning for the indexer plugin.
After the crash, I was unable to open the PTRun settings tab, it crashed the Settings app.
ℹ Computer information

PowerToys version: 0.21.2
PowerToy Utility: PowerToys Run
Running PowerToys as Admin: yes
Windows build number: 19041.508

📝 Provide detailed reproduction steps (if any)

Turned on options.
Pressed shortcut to open PTRun.

Since there was a System.IO.IOException: The directory is not empty, I've deleted that directory manually. After that PTRun works well without any exceptions with both options on.
✔ Expected result
PTRun opens.
❌ Actual result
PTRun opens with an error message. When tried to open PTRun settings, Settings app crashed too.
This behavior remained unchanged after PowerToys restart.
Something went wrong.txt
2020-09-24.txt

Closing as the issue was present only on master and has been fixed with #6818

This problem is back in PowerToys Version 0.21.1. Whenever I press ctrl + spacebar(my keyboard shortcut for PowerToys Run), nothing happens and when I go into settings and click PowerToys Run, it just crashes.

@AadiSahni can you update to 0.23.2? This issue should be fixed. If not I suggest creating a new issue for this


Align with latest updates

Here is the current CHANGELOG (from https://github.com/fractal-analytics-platform/fractal-server/blob/main/CHANGELOG.md). I'm highlighting things which probably will require some fractal-web updates.
See

https://github.com/fractal-analytics-platform/fractal-web/milestone/2
https://github.com/fractal-analytics-platform/fractal-web/labels/fractal-server-1.3-priority
https://github.com/fractal-analytics-platform/fractal-web/labels/fractal-server-1.3

[x] #168
[x] #162
[ ] #172
[ ] #173
[ ] #149
[ ] #169
[x] #170
[x] #171
[x] Make sure that task.default_args is not used anywhere
[x] Make sure that the deprecated private task-collection parameter is never used

Removing the fractla-server-1.3-priority label, since none of the current to-do points are blocking.

Actually all items have a corresponding issue, closing this one.


Order Problem_id Output

have the sub problem ids arranged in ascending order
i4x-McGillX-Body101x-problem-4bee93786b4f40fe947166754203a6b2_2_1 , i4x-McGillX-Body101x-problem-4bee93786b4f40fe947166754203a6b2_3_1, i4x-McGillX-Body101x-problem-4bee93786b4f40fe947166754203a6b2_4_1
etc.

Do you think you can add this in?

hey Alex, in my code i had ensured that the sub-problem ids were sorted. there is a case where it may fail but can you let me know where did you the sub-problem ids not being ordered?

done...with a very nice short solution :)

K so bug instead of enhancement it was with the same problem ID that was
causing the other issue
On Aug 25, 2015 11:12 PM, "Usman Ehtesham Gul"<EMAIL_ADDRESS>wrote:

hey Alex, in my code i had ensured that the sub-problem ids were sorted.
there is a case where it may fail but can you let me know where did you the
sub-problem ids not being ordered?
—
Reply to this email directly or view it on GitHub
https://github.com/McGillX/edx_data_research/issues/17#issuecomment-134806261
.