Segmentation fault when using Intel MKL with np.linalg.svd

System information
I am running this on the Graham supercomputer of Compute Canada. I tested the bug on computation nodes but it also appears on login nodes without GPUs.

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux - CentOS 7
TensorFlow installed from (source or binary): Custom build with Intel MKL I guess?
TensorFlow version (use command below): b'v1.3.0-0-g9e76bf3' 1.3.0
Python version: Python 3.5.2 (default, Jun 25 2016, 21:38:40) [GCC 5.4.0] on linux
Bazel version (if compiling from source):
CUDA/cuDNN version: 7.5
GPU model and memory: Tesla P100
Exact command to reproduce:

import numpy as np
import tensorflow as tf

a = np.ones((64,256))
u, _, v = np.linalg.svd(a, full_matrices=False)

Without the import tensorflow as tf, the bug doesn't appear.
You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
tf_env.txt
Describe the problem
So basically, when using Intel MKL with the python code above you get a segmentation fault. Without the import tensorflow as tf, the bug doesn't appear. Strangely, when I change the size of the 2nd axis of matrix a to below 201, it works (at some point that I tested, it was 188). When setting the shape of the matrix a to something bigger like (64,256), it just using all CPUs without returning anything as if it was in a deadlock or something. When setting MKL_NUM_THREADS to 1, both bugs disappear. This bug report seems related to all of these issues: https://github.com/tensorflow/tensorflow/issues/9234 https://github.com/tensorflow/tensorflow/issues/13004 https://github.com/tensorflow/tensorflow/issues/11724 https://github.com/tensorflow/tensorflow/issues/10005. They are not identical to this problem but really similar so this bug report is just to let you know another symptom related to the same problem.
Source code / logs
tf_env.txt
gdb_segfault.txt

@rmlarsen can you look into this or redirect? Thanks!

It has been 14 days with no activity and this issue has an assignee.Please update the label and/or status accordingly.

Nagging Assignee: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

So I've talked to guy at Compute Canada and he told me that tensorflow isn't even compiled with libmkl but numpy is. He also told me that he updated to the last version of tensorflow and it solved the problem. So I guess it is not an issue anymore?


BUG: Remove removed item from __all__

All those items were deprecated some time ago with:
 DeprecationWarning: Please use `XXXX` from the `scipy.new_loc`
 namespace, the `scipy.old_loc` namespace is deprecated.

With a redirect to import them from the right place.
Though now those items are not even in scipy.new_loc anymore, which leads to:

An incorrect deprecation warning message with a non-existing
location, as well as an import error.

the module __all__s are wrong which may break any dynamic code that
inspect modules triggering above import errors.

I was not sure if I should disable CI on this one just in case.
Do you believe I should open an issue to have a generic test that checks everything defined in __all__ in every submodules is importable ?

For concerns around incorrect deprecation message and test coverage see #18279 and the various pr in the tracker at the bottom of the issue

thanks , i missed this one and will have a look
On Wed, Sep 13, 2023 at 16:57 Jake Bowhay @.***> wrote:

For concerns around incorrect deprecation message and test coverage see
#18279 https://github.com/scipy/scipy/issues/18279 and the various pr
in the tracker at the bottom of the issue
—
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/pull/19236#issuecomment-1717800228, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACR5T2WTFTMBKOBZXJ5IODX2HCVLANCNFSM6AAAAAA4WQZUXQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Fix path comparison in api-ipc-spec

This resolves the first test that failed in #2558.
The test failed because in one of the paths the drive letter was upper case C and in the other it was lower case c.
Paths in Windows are case insensitive, so this shouldn't fail. The fix was to lower case the paths before comparison (only on Windows).

Thanks!


refactor: rasa/shared/core/training_data/visualization.py

In the refactored version, In function(_remove_auxiliary_nodes), I've replaced the conversion of graph.predecessors(i) into a list with the direct usage of the generator. Additionally, I've introduced the predecessors_seen set to efficiently keep track of seen predecessors. When a duplicated predecessor is found, we can remove the node and break out of the inner loop.
Proposed changes:

This optimization reduces the time complexity of checking for duplicated nodes to approximately O((TMP_NODE_ID - special_node_idx) + out_degree(node)).

Status (please check what you already did):

[x] Implemented performance optimizations

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

💯 Thanks for the contribution can you also add a unit test for _remove_auxiliary_nodes here

Hey @Urkem,
Thank you for acknowledging my contribution! I have implemented unit test for the function: _remove_auxiliary_nodes. Feel free to review it whenever you have a moment.
Thank you once again!

💯 Thanks for the contribution just fix the the ruff errors

Hey @Urkem , Done!

Hey @Urkem,
I've addressed all the code style issues and made necessary fixes. Could you please review it once you are available.
Thanks :)

Hey @Urkem,
Please review it once you are available :)

Hey @arjun-234 I think these changes are making a regression test fail at, tests/regressions/test_action_two_stage_fallback_11294.py::test_action_two_stage_fallback_does_not_return_key_error do you think something in the test can be changed to avoid this failure? I've enabled auto-merge for this PR so it will be merged once the tests pass

Hey @vcidst,
I'm puzzled by the failures. The first occurrence failed during Run Tests (test-other-unit-tests, ubuntu-22.04, 3.8). Unfortunately, we're facing different failure now in Run Tests (test-other-unit-tests, windows-2019, 3.10) :(

@arjun-234 I see, it might be a flaky test in that case. I'll re-run the CI and see if the problem persists

@vcidst Thanks :)


Argus app & Angular refactoring

This PR includes changes to the Argus app, relocation of files and refactoring of loading of the Argus module.

Current coverage is 36.04% (diff: 62.02%)

Merging #85 into develop will decrease coverage by 0.62%

@@            develop        #85   diff @@
==========================================
  Files           220        225     +5
  Lines         12335      12571   +236
  Methods           0          0
  Messages          0          0
  Branches       2101       2134    +33
==========================================
+ Hits           4523       4531     +8
- Misses         7201       7468   +267
+ Partials        611        572    -39

Powered by Codecov. Last update 22561bc...e3033bd

Please review this PR and merge.


(#150) Fps updated every second

Clunky way of updating fps every second.
(fps should probably be Uint16)
Also made a branch for highest frame time called apa-frame-time, but since there is no issue for it I won't pr.

@apa420 looks good to me! :+1: Thank you for your contribution!


Suggestion: Add Route::other for setting route that matches all the requests that didn't match

Description:
It would be useful in some cases to have the possibility to add a route that catches all the requests that didn't match any other route
A good example would be - for cms that dynamically creates pages (page URIs are stored in database for example)
This is different from changing the behavior of 404 responses in several ways:

404 response doesn't use controllers for handling request
changing 404 can only be handled on the App\Exceptions\Handler which is hardcoded in the bootstrap script - and can't be tweaked from packages without ugly workarounds

Currently, in order to achieve similar results - you can create a very broad route like
Route::get( '{any}', ...)- but it has its disadvantages:

Not explicit enough that it should catch whatever others didn't (as opposed to all requests)'
It must be defined last in order (to prevent overwriting of more specific routes) - which makes it hard to maintain if routes are registered through several packages, or files

This is not a bug. You can open a proposal in the laravel/internals repo

But wouldn't using the normal Route::resource() do exactly the same thing, as long as the defined route methods come before the resource route?

For suggestions and feature requests please use the https://github.com/laravel/internals repo.


No check for handling SQL error in ActiveRecord updateAll()

updateAll() returns an integer with number of rows updated. Syntax below.
public static integer updateAll ( $attributes, $condition = '', $params = [] )
However there is no way to check if updateAll() was successful. In update() method, there is a provision to check for SQL failure since it returns either boolean or integer depending on success or failure of query execution as shown below.
public integer|boolean update ( $runValidation = true, $attributeNames = null )
Or may be there is a way still to check for updateAll() failure but not documented?

updateAll does not run validations, does not calls before save etc. It convient call to command::update with set model table name.
Btw update() does not return false with sql errors:

@return integer|boolean the number of rows affected, or false if validation fails or [[beforeSave()]] stops the updating process.

With sql errors exceptions will be thrown in both cases

Thanks for the clarification.


Components that use asset_path('asset name here') will try to get the assets from localhost:6006 instead of the rails app.

Hi, first of all thanks for what you have done with supporting view_components on storybook!!! 🎉 .
Now onto my questions/issues: I have components that use SVG icons like this:
= content_tag(:svg, @options) do
  use xlink:href="#{asset_url('icons/icons.svg')}##{@id}"

They work when using the application normally, since the helper correctly appends the host and port of the application.
When browsing those components in StoryBook, those assets are not displayed, looking at the browser console I noticed that the assets are being loaded from http://localhost:6006/assets. Port 6006 instead of 3000 or whatever port the rails app is running from.
I tried fixing the host on the call to asset_url to :3000 but then there is an error since the iframe under port 6006 is trying to access assets from localhost:3000:

Unsafe attempt to load URL http://localhost:3000/assets/icons/icons-6e468b4eba233466beee0ed25e4c55850994879625e06d93917bdab59b1c2aa3.svg from frame with URL http://localhost:6006/iframe.html?id=button-component--with-short-text&viewMode=story. Domains, protocols and ports must match.

None of the assets images, pngs are loaded.
To load the stylesheets of the main app I used added the file  .storybook/preview-head.html with the content below following the advice here:  https://storybook.js.org/docs/react/configure/story-rendering#adding-to-head  and it worked!.
<!-- .storybook/preview-head.html -->

<link rel="stylesheet" media="all" href="http://localhost:3000/assets/application.css">
<!-- Or you can load custom head-tag JavaScript: -->
<script src="http://localhost:3000/assets/application.js"></script>

Can you think of a workaround for the assets issue?

Thanks for the kinds words.
This sounds a lot like the same problem as #18. I'd suggest making the config change suggested here: https://github.com/jonspalmer/view_component_storybook/issues/18#issuecomment-770232258

Thanks @jonspalmer for your reply. I tried that and it worked, in the sense that the assets are served now from the correct port. Also, the JS and Stylesheets are properly loaded.
But I am still getting the issue of
Unsafe attempt to load URL http://localhost:3000/assets/icons/icons-6e468b4eba233466beee0ed25e4c55850994879625e06d93917bdab59b1c2aa3.svg from frame with URL http://localhost:6006/iframe.html?id=button-component--with-short-text&viewMode=story. Domains, protocols and ports must match.

On a side note, the config that I had to add to the app because it is rails 6 was:
config.action_controller.asset_host =  'http://localhost:3000'

I will close this issue, since I think the safe unload problem might be related to SVG and localhost rather than to storybook or rails. If I find it to be something related I will open it again.
Thanks again!!!

Great news. The "Unsafe attempt" warning is likely CORS settings. You can configure the Rack::Cors middleware a few different ways depending on your use case. I would expect that so solve the problem.

Thanks again, I will have a look at that and let you know how it goes.


[Feature]: Modal support function call

Checklist

[x] Fix linting errors
[x] Tests have been added / updated (or snapshots)
[x] Add new events cancel and confirm

Change information

Support modal component function call .
And register $modal in vue global.

Usage:

import { getCurrentInstance } from 'vue'

import { Modal } from '@fect-ui/vue'

const clickHandler = () => Modal({ title: 'test' })

// or

 const { proxy } = getCurrentInstance()

const clickHandler = () => {
      proxy.$modal({
        title: 'Arrow Function',
        content:
          'As we all know, the arrow function does not have its own this. ',
        cancel: 'Cancel',
        done: 'Confirm'
      })
    }

more details see the document.

来给大佬拜个早年

来给大佬拜个早年

hhh


Termination of instance

First off, thank you for this and very sweat program.
I have created as a test one instance in eu-central. I terminated the instance in AWS. Tried to create a fresh key in same region but autovpn tells me the key already exist.
I have deleted the key for instance eu-central-1 which I had forgotten.
I got confused as far as the result of # ./autovpn -S -r eu-central-1.  It says the instance is running which is the case but thought it still believed the OpenVPN was still running on the instance.  In fact, I am getting the message "Instances running in eu-central-1" because there is indeed another instance not related to autovpn running.
Is there a possibility to clarify the statement that we know the message is not referring to autovpn instance ?

When you delete a key from AWS you also have to manually delete the pem file from you current working directory.
2.when you check the status of instances running in a given region it only looks for instance taged with "auto_vpn". If an instance is found it will return its ID and ip.  If nothing is found it will return a blank line.

Thanks for your reply. To be more clear, I had created for test in region eu-central-1 one vpn instance. I terminated the instance and deleted the key.
Running this command "./autovpn -S -r eu-central-1" I am getting the below as a result telling me the instance autovpn is still running . I equated the "still running" message to the fact that I do have another instance running in that region. Obviously from your last response I was wrong.
Any idea ?
File "./scripts/get_status.py", line 23
print "%s \tIP:%s" %(instance, instanceip)
TabError: inconsistent use of tabs and spaces in indentation
Instances running in eu-central-1

From this output there are no instances running in that region. However I do find the python traceback problematic. Were and modifications made to the script?

No modification were made to the script. But then why is it saying "instances running in eu-central-1" ? your prior statement saying that it looks for a tagged instance "auto_vpn", I would expect a return of no instance running ?

That is just the header for output.
Example:
If instances are found:
instances running in eu-central-1
Instance-I'd instance-ip
If nothing is running:
instances running in eu-central-1
<blank line>

Ah ok. Thanks :) Why the trace back in the code ?

That one I'm not sure I will have to investigate. Also I will make it more clear in output when no instances are found.

issue with traceback has been resolved see #25

I have made changes to Status output to make it more clear
see: https://github.com/ttlequals0/autovpn/commit/929c4c198946f7f2177aa716b38d766d81983401


Runtime: Advanced measures

This PR introduces support for advanced measures. To accomplish that, it introduces a completely refactored metrics query generation package.
High-level changes:

Introduces three different measure types

simple: regular aggregations against the underlying raw data
derived: composed of other measures of type simple
time_comparison: similar to derived, but supports referencing data from a comparison time range

Adds support for adding a window on any measure definition
Adds scaffolding for a per option enabling multi-level aggregation
Adds scaffolding for sub-queries in filters, enabling correct measure filters on dimensions not included in the present query
Moves metrics querying to resolvers and adds backwards compatibility for the current metrics queries package
Adds a new metrics query generation package that incrementally builds and optimizes an AST that is eventually used to generate the SQL query(s) to run against the DB

UI integration notes:

The measures in a MetricsView spec has a new property required_dimensions. This property lists dimensions that must be present in the dimensions parameter of a MetricsViewAggregation request when querying the measure.
A required dimension consists of a name and optional time_grain. If the time_grain is present, the measure can only be queried if the request includes the dimension name truncated to that specific time grain.
To ease support for rolling time series windows, this PR will also support querying advanced measures through the MetricsViewTimeseries RPC (as long as the measure's required_dimensions is empty or only contains the metrics view's time_dimension).

Example advanced measure definitions:
measures:
  - name: total_cost
    expression: "SUM(cost)"

  - name: total_cost_delta
    expression: "SUM(cost)-LAG(SUM(cost))"
    window: true
    requires: [__time]

  - name: total_cost_delta_alt
    expression: "total_cost-LAG(total_cost)"
    window: true
    requires: [__time, total_cost]

  - name: total_cost_cumulative
    expression: SUM(total_cost)
    window: true
    requires: [__time, total_cost]

  - name: total_cost_7day_rolling_avg
    expression: AVG(total_cost)
    window:
      frame: RANGE BETWEEN INTERVAL 7 DAYS PRECEDING AND CURRENT ROW
    requires:
      - name: __time
        time_grain: day
      - name: total_cost

  - name: total_cost_pct_total
    expression: total_cost/sum(total_cost)
    window:
      partition: false
    requires: [total_cost]

  - name: fancy
    type: time_comparison
    expression: 2 * (base.total_cost_pct_total - comparison.total_cost_pct_total)
    requires: [total_cost_pct_total]

  - name: very_fancy
    expression: fancy/sum(fancy)
    window:
      partition: false
    requires: [fancy]

Tasks remaining:

[x] (P0) Unnest support
[x] (P0) [NOT] IN/ILIKE support
[x] (P0) Generate window expressions
[x] (P0) Resolve time ranges based on watermarks
[x] (P0) Serializing the AST to SQL
[x] (P0) YAML parser for advanced measures
[ ] (P0) Validation for advanced measures
[ ] (P0) Retrofit into the MetricsViewTimeseries and MetricsViewAggregation RPCs
[ ] (P1) Support exports
[ ] (P1) Support pivot_on
[ ] (P1) Optimizer for limit/sort pushdown
[ ] (P1) Optimizer for approximate comparisons
[ ] (P1) Optimizer for Druid exactify
[ ] (P1) Add table-based tests
[ ] (P2) Finalize support for subqueries in filters
[ ] (P2) Finalize support for "per"
[ ] (P3) Time comparisons based on offsets
[ ] (P3) Consider supporting join_to_spine (requires a separate filter for non-time dimensions)

The metrics can be queried using an API on POST http://localhost:9009/v1/instances/default/api/metrics. The API is created with the new resolvers and added as a built-in "custom API" so it will show up in auto-generated API docs when we add support for that.
The queries should be passed as a JSON body in the API request.
Example resolver queries:
{
	"metrics_view": "customer_margin",
	"dimensions": [
		{
			"name": "company"
		},
		{
			"name": "time__day",
			"compute": {
				"time_floor": {
					"dimension": "__time",
					"grain": "day"
				}
			}
		}
	],
	"measures": [
		{
			"name": "total_cost"
		},
		{
			"name": "total_cost_delta"
		},
		{
			"name": "total_cost_delta_alt"
		},
		{
			"name": "total_cost_cumulative"
		},
		{
			"name": "total_cost_7day_rolling_avg"
		}
	],
	"time_range": {
		"iso_duration": "P2W"
	},
	"sort": [
		{
			"name": "company"
		},
		{
			"name": "time__day"
		}
	]
}

{
	"metrics_view": "customer_margin",
	"dimensions": [
		{
			"name": "company"
		}
	],
	"measures": [
		{
			"name": "total_cost"
		},
		{
			"name": "total_cost_pct_total"
		},
		{
			"name": "very_fancy"
		}
	],
	"time_range": {
		"iso_duration": "P2W"
	},
	"comparison_time_range": {
		"iso_duration": "P2W",
		"iso_offset": "P2W"
	},
	"sort": [
		{
			"name": "total_cost",
			"desc": true
		}
	],
	"having": {
		"cond": {
			"op": "gte",
			"exprs": [{"name": "very_fancy"}, {"val": 1}]
		}
	}
}


programs with radio should render 2 bots

instantiate robots as needed based on deviceid
2 simulators will generate 2 different runid/deviceid which will confuse the sim.

Done


Understanding TicTacToe performance

The networks starts learning TicTacToe, but there most certainly are still some issues: even when the loss becomes very small, it does not play optimally. The following are some basic points that we should implement/fix in order to understand the situation better.

[x] Use symmetry of the game to augment the datasets used for training.
[ ] Check the development of the weights / implement L1/L2 regularization
[ ] Check the influence of different other types of regularization (dropout, batchnorm)
[ ] Way of visualizing the network value and policy evaluations for debugging purposes
[x] Try different ways of representing the game as data: More channels that separate the players with values in {0, 1} may be more expressive that {-1, 0, 1}? [This did not work well]
[x] Influence of a lower/higher exploration parameter [Random selfplay-branching works well!]

Analyzing the network policies, we realized that there are two primary reasons why the network did not perform flawlessly.

During the playouts for performance evaluation, we drew actions from the network-policy.  This 1%, however, was apparently enough to make the network loose in about 5-10% of games against strong opponents. We remedied this issue by introducing a temperature that controls how the rigidly the player must follow the policy / the MCT suggestion.
After the initial phase of the training, when the network started to perform reasonably well, it would only do stupid moves very rarely. It thus unlearned how to react to scenarios where the opponent played suboptimally / unexpectedly.  We therefore implemented random selfplay-branching: with a certain probability, we create a copy of the current game during selfplay and conduct a random move on this copy. This random branch of the original game is used as the root for an additional call to record_selfplay (again with branching).

With these changes, we can by now train a "perfect" IntuitionPlayer for TicTacToe, in the sense that it never seems to loose against an MCTPlayer with high power.
What I would like to check now are the following questions:


Ugly JS erros when access token expires

use this? https://stackoverflow.com/questions/18884249/checking-whether-something-is-iterable

Not token expired problem but still

Fixed


Update frontend resources with plugin handle properties

// Update frontend resources with plugin handle properties. #1112

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #1125 (6d1688e) into master (938b83b) will decrease coverage by 2.01%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #1125      +/-   ##
============================================
- Coverage     74.44%   72.43%   -2.02%
+ Complexity     2179     2046     -133
============================================
  Files           365      350      -15
  Lines          8202     7882     -320
  Branches        906      866      -40
============================================
- Hits           6106     5709     -397
- Misses         1642     1750     +108
+ Partials        454      423      -31

Impacted Files
Coverage Δ
Complexity Δ

...soul/plugin/sofa/cache/ApplicationConfigCache.java
58.66% <0.00%> (ø)
11.00 <0.00> (ø)

...omara/soul/plugin/sofa/proxy/SofaProxyService.java
48.27% <0.00%> (ø)
4.00 <0.00> (ø)

...ient/springcloud/init/ContextRegisterListener.java
44.44% <0.00%> (-47.56%)
3.00% <0.00%> (-2.00%)

...che/dubbo/ApacheDubboServiceBeanPostProcessor.java
0.00% <0.00%> (-34.33%)
0.00% <0.00%> (-10.00%)

...ba/dubbo/AlibabaDubboServiceBeanPostProcessor.java
0.00% <0.00%> (-34.33%)
0.00% <0.00%> (-10.00%)

...soul/client/tars/TarsServiceBeanPostProcessor.java
24.00% <0.00%> (-22.58%)
5.00% <0.00%> (-5.00%)

...ra/soul/admin/controller/SoulClientController.java
77.77% <0.00%> (-11.12%)
7.00% <0.00%> (+1.00%)
:arrow_down:

...omara/soul/sync/data/http/HttpSyncDataService.java
63.72% <0.00%> (-8.83%)
12.00% <0.00%> (ø%)

...cloud/init/SpringCloudClientBeanPostProcessor.java
77.19% <0.00%> (-7.26%)
9.00% <0.00%> (ø%)

.../soul/plugin/httpclient/NettyHttpClientPlugin.java
57.14% <0.00%> (-2.05%)
10.00% <0.00%> (ø%)

... and 33 more

Continue to review full report at Codecov.

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


Fixed custom jsonb container documentation bug

Aha, sorry about that, thanks for the fix and the additional tests.


Feature/gh 36 sql exporter

Functional testing

Attempting to export a data specification from my Nautilus DB that appears well-formed in the mdm-explorer (has no obvious error messages) produces the following unhelpful error message.

{
  "headers": {
    "normalizedNames": {},
    "lazyUpdate": null
  },
  "status": 500,
  "statusText": "OK",
  "url": "http://localhost:8080/api/dataModels/108f3b67-1358-469e-81d4-09d9f4343852/export/uk.ac.ox.softeng.maurodatamapper.plugins.explorer.provider.exporter/DataModelSqlExporterService/1.0",
  "ok": false,
  "name": "HttpErrorResponse",
  "message": "Http failure response for http://localhost:8080/api/dataModels/108f3b67-1358-469e-81d4-09d9f4343852/export/uk.ac.ox.softeng.maurodatamapper.plugins.explorer.provider.exporter/DataModelSqlExporterService/1.0: 500 OK",
  "error": {}
}

Here are the cohort/data queries of the data specification I attempted to export:

Possible issue with the AND / OR parsing. I attempted to export the following:

which was successful and created this sql:

However, it seems like the first OR should be an AND, no? I tested swapping the outer AND to be an OR as follows:

which was successful and outputted this sql which appears correct to me.

Regarding documentation. this needs to be written but will do that later. The process is not as it should be yet. At the moment the SQL is generated by running an export in the MDM UI where as it needs to be generated automatically in the MDE when a Data Specification is submitted. There is also configuration that is required to set up the Query Builder, and this will need to be documented, although the Query Builder is being updated so that the error messages clearly describe what needs to be done.


LIME with object detection models

Hi, is it possible to use LIME (or Anchors) with object detection models? Such as: faster RCNN, Yolo etc. If yes, which modifications should be done?

If you have a continuous or categorical function to explain, e.g. 'the probability that the object is in the image', you can just use LimeTabularExplainer as is (you'd just have to wrap the output of the object detection model so that it produces this output).
If you are thinking of explaining the boundaries themselves, I don't know how I'd go about doing that.


advanceTimersByTime doesn't "move" time forward in all cases

🐛 Bug Report
Good day, thanks for the library first of all!
I was trying to test something which runs inside of the cron with jest timer mocks and failed. I assume there is a bug, since other timer's mock makes it testable.
Maybe related to https://github.com/facebook/jest/issues/8127 .
To Reproduce
Here is a demo repo with two tests, jest one fails.
https://github.com/PP-etc/cron-vs-jest-example
envinfo
  System:
    OS: macOS 10.15.4
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
  Binaries:
    Node: 10.17.0 - ~/.nvm/versions/node/v10.17.0/bin/node
    npm: 6.14.4 - ~/.nvm/versions/node/v10.17.0/bin/npm
  npmPackages:
    jest: ^26.0.0 => 26.0.0

I need to say, that if I use useFakeTimers("modern") then it works:
https://github.com/PP-etc/cron-vs-jest-example/commit/639d596365e85027e24acf2e672cc7e49ad1d0d9

Cool, thanks for that info! The "modern" implementation will be the default implementation in Jest 27, so I think we can close this


Persian calendar

This issue was originally reported against the Flutter project: https://github.com/flutter/flutter/issues/28926
The problem has to do withPersian week names:

This package very useful for Persians but I have a problem
This package don’t support week mood

Any updates?

Persian calendars will be supported in package:intl4x, see the options.

Is there any roadmap or estimated date? Most of the current packages on 'pub', try to copy Material widgets and are outdated. An official support for other calendar locales would be a really nice feature to use.

We are working on shipping a stable version ASAP.

Most of the current packages on 'pub', try to copy Material widgets and are outdated.

What do you mean with copying material widgets? Could you give examples? I am not very knowledgeable about Flutter.

There are some design systems for building good looking things (widgets) on different operating systems. Android suggests using Material, apple has it's own one. And in current state of dart/flutter, because DateTime itself do not support other formats, a developer should copy and modify the flutter's implemention (or other people's codes) for each of these different looks in a big project!
This could easily be done in a future that there exists a 'type' for different dateTimes.

Thanks for the explanation, that makes sense. Although people would maybe even like to use their own i18n packages, so making this injectable would also be nice for Flutter.


Test results before making release

@anitacaron  to provide examples for @dosumis & @aleixpuigb to review.

Instead of you installing poetry, etc., to run the command, I've updated the test examples for you.
Please check the seed terms, the properties file and the ASCT result for the Eye.
Please ignore the column header. The order in the table is proper; it's just that the number of AS is not correct. I'm working to fix that.


AsciiDoc header metadata

AsciiDoc has it's own kind of metadata format, as described here:
http://www.methods.co.nz/asciidoc/userguide.html#X95
It would be pretty cool if gohugo would support the "native" metadata format of AsciiDoc as an alternative to the YAML/TOML/JSON options currently in use.  This would make the content "pure AsciiDoc".

+1


FlatList is empty when using removeClippedSubviews

Description
When using removeClippedSubviews FlatList is empty after the first render. So lets say I navigate to another screen and go back to the FlatList screen it shows up as empty until touched/scrolled.
React Native version:
System:
    OS: macOS 11.0.1
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
    Memory: 55.80 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.5.0 - ~/.nvm/versions/node/v14.5.0/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.5 - ~/.nvm/versions/node/v14.5.0/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.9.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.2, DriverKit 20.0, macOS 11.0, tvOS 14.2, watchOS 7.1
    Android SDK: Not Found
  IDEs:
    Android Studio: 4.1 AI-201.87<IP_ADDRESS>58069
    Xcode: 12.2/12B45b - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.7 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: ~0.63.3 => 0.63.3
    react-native-macos: Not Found

Steps To Reproduce
Its easily reproduced by just adding removeClippedSubviews to FlatList.
Expected Results
It should not be empty. I've looked at similar issues and some has used initialNumToRender or extraData but neither has worked out for me. Also I think this is a bug when using react-navigation but I am not sure where the root cause of the issue is.
Snack, code example, screenshot, or link to a repository:
It's easily reproduced so I'll leave this empty.

I have this issue too

I have this issue too

I have this issue too but JUST on IOs in RELEASE profile.
IOs 13.6, iPhone 7, react-native 0.61.5

Unsubscribe
William Pope Jr
On Wed, Sep 20, 2023, 1:54 AM github-actions[bot] @.***>
wrote:

This issue is stale because it has been open 180 days with no activity.
Remove stale label or comment or this will be closed in 7 days.
—
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/issues/30473#issuecomment-1727013013,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALNSC3FIQZOICFKL72XKJQ3X3KAITANCNFSM4UCJW3XQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Add documentation and example of rsync excluded_paths

Here's a new PR, following on from #277.

Thanks. :smile:


Exclude used transitive dependencies only if they are provided by given module

Problem situation
We have some common module in project that is used to unite some dependencies and functionalities. That module has api dependencies that we don't want to add directly in other modules that will be using this one, because the whole point of this module: is to provide those dependencies (for example common-network that depends on retrofit and gson and provide some common stuff). But if this module is not added, but dependencies provided with other module through api - we don't want to ignore them
Possible solution
So it will be very cool to have possibility to list onUsedTransitiveDependencies that will be applied only if corresponding module is added as a dependency (of course if it's added  to other module with implementation and we need to add api for some of the transitive dependencies only, an not for whole module, we will need to add them directly)

we have tried bundles, but it seems to not work as expected

we have tried bundles, but it seems to not work as expected

or bundles documentation not clearly describe how it works, and we use it not as intended

or bundles documentation not clearly describe how it works, and we use it not as intended

bundles don't seem to work as expected.

That looks like a bug. I'll need to investigate, but I think what you tried ought to work. I have a unit test for this, but it looks like I don't have any functional tests. If you could provide a repro that is just a PR with a failing unit test, that would be helpful.

bundles don't seem to work as expected.

That looks like a bug. I'll need to investigate, but I think what you tried ought to work. I have a unit test for this, but it looks like I don't have any functional tests. If you could provide a repro that is just a PR with a failing unit test, that would be helpful.

Seems like bundles working properly, and our module missed dependency we needed. Sorry for this

Seems like bundles working properly, and our module missed dependency we needed. Sorry for this

I'm going to close this for now. If you feel that the usage of bundles doesn't capture the intent, please feel free to reopen.


Fix ArgoAppset Resource not namespace scoped

Signed-off-by: Maggie Chen<EMAIL_ADDRESS>https://github.com/stolostron/backlog/issues/25932

/unhold

/retest

/retest-required

/test lint-check-unittests-sonarcloud


Combohandler: Set response as private if one of the origin responses is private

Fixes #1599
Original Commit: 9d33ca209bcd04d118ed1fea634423a6bafb8884

[approve ci autest]

[approve ci autest]

[approve ci autest]


verify unsigned local image throws panic error

Description
verifying a local image (i.e. image saved using cosign save) leads to dereferencing a nil pointer if the image was not signed before saving. I know we should not save an unsigned image but as I was doing unit tests to catch this kind of errors when verifying an unsigned image.
the steps to replicate this are:

using cosign save --dir TEST-DIR, store on disk an image that has not been signed (only tested from a private registry)
run cosign verify --local-image TEST-DIR on this image

This leads to panic
The solution could be added in cosign/pkg/cosign/verify.go > VerifyLocalImageSignatures by adding a check for nil pointer after sigs are returned from sigs, err := se.Signatures()
or return an error when no signatures found in cosign/pkg/oci/layout/index.go > Signatures
Version
v2.0.0-rc.0
it might be on older versions too

I quickly ran into the same issue. It seems sigs in nil so it causes this panic:
[signal SIGSEGV: segmentation violation code=0x2 addr=0x30 pc=0x102bb700c]

goroutine 1 [running]:
github.com/sigstore/cosign/v2/pkg/cosign.verifySignatures({0x104929df0, 0x14000056080}, {0x0?, 0x0?}, {{0x103e019b5?, 0x14000faa800?}, {0x14001009900?, 0x1?}}, 0x1?)
	github.com/sigstore/cosign/v2/pkg/cosign/verify.go:548 +0x4c
github.com/sigstore/cosign/v2/pkg/cosign.VerifyLocalImageSignatures({0x104929df0, 0x14000056080}, {0x16db4f94e?, 0x140002c3f50?}, 0x140005ad840)
	github.com/sigstore/cosign/v2/pkg/cosign/verify.go:544 +0x1a0
github.com/sigstore/cosign/v2/cmd/cosign/cli/verify.(*VerifyCommand).Exec(0x140005ada10, {0x104929df0, 0x14000056080}, {0x140007ce5c0, 0x1, 0x14000184c80?})
	github.com/sigstore/cosign/v2/cmd/cosign/cli/verify/verify.go:263 +0xc90
github.com/sigstore/cosign/v2/cmd/cosign/cli.Verify.func1(0x14000825800, {0x140007ce5c0, 0x1, 0x4})
	github.com/sigstore/cosign/v2/cmd/cosign/cli/verify.go:132 +0x2c4
github.com/spf13/cobra.(*Command).execute(0x14000825800, {0x140007ce580, 0x4, 0x4})
	github.com/spf13/cobra@v1.6.1/command.go:916 +0x5c8
github.com/spf13/cobra.(*Command).ExecuteC(0x14000456600)
	github.com/spf13/cobra@v1.6.1/command.go:1044 +0x35c
github.com/spf13/cobra.(*Command).Execute(...)
	github.com/spf13/cobra@v1.6.1/command.go:968
main.main()
	github.com/sigstore/cosign/v2/cmd/cosign/main.go:62 +0x58


use separate channel to signal session close

Should fix https://github.com/getlantern/flashlight/issues/363
In the current code, buf.ack(aka session.out) may be closed before sending to it https://github.com/getlantern/lampshade/blob/master/receive_buffer.go#L148. This introduces a closeCh so the data channel never closes.

See #12 for an alternative approach that allows us to close the out channel as before.

Okay, this LGTM!

Thanks @oxtoacart


Fix #21 : set slf4j dependency to scope test

Signed-off-by: Frank Gasdorf<EMAIL_ADDRESS>

You are welcome, I run the build locally and it works fine. Do you have a build job that verifies changes?

w is the procedure to get it merged?

I just merged the ci pull request.   I took care of clicking merge for you! Thanks again!


Deleting a user:// folder with an invalid path deletes top level project files

Godot version:
3.2.2
OS/device including version:
Windows 10 64bit
Issue description:
When using the Directory class to delete folders/files within the user:// path if a variable is used to concatenate paths together and the variable has not been defined, rather than failing Godot seems to delete the top level files within the project folder. I believe including a typo without a var does not appear to produce this issue.
I came across this issue while working on save deletions within my game, I believe the variable I'm using is defined, however this is the only way I've been able to reproduce this in a minimum project.
My assumption is the user:// path within Godot doesn't know about or have access to the project files and so this is very odd behaviour.
Steps to reproduce:

Create new files/folders within the user:// directory
Delete the files/folders and include an undefined variable to concatenate the paths
Watch the project files get deleted :(

Minimal reproduction project:
Delete-Test.zip
I've managed to reproduce this minimal project, it includes three buttons:

The first will setup a basic folder structure with some dummy files inside
The second will try and delete those files using an undefined name variable, clicking this button will delete some of the files and also the project's own source files
The third button will do the same as the second but with the name variable defined, this would have the expected behaviour

The name variable isn't undefined. You're accessing the name property of Node (The node's name)
There is still a bug here, but it's a lot simpler. Try this:
var dir = Directory.new()
dir.open("a") # Invalid path

dir.list_dir_begin(true)

while true:
	var file = dir.get_next()
	if file == "":
		break

	print(file)

dir.list_dir_end()

@nathanfranke :female_facepalm: was trying to fix this for so long I didn't think about the node's name property!
As you said there is still a bug here though as in this case the node name doesn't match a path. Not a complete waste of a few hours in that case :smile:

Yes, there is a bug but it has nothing to do with deleting files. The problem is that there was no working Directory "open" check and the default directory is res://, so deleting files from what you think is user:// actually deletes from res://.
PS: I really really hope this didn't destroy your project :frowning_face: Source control (git) has saved my life many times

Ah I see, I guess in my case it just looked like delete because that's what I was doing but writing would have the same outcome.
I didnt lose anything luckily, also have stuff in git and although the code I wrote to delete the save deleted the code I wrote, it was nothing VSCode couldn't restore with a nice undo haha. Love VSCode for that! Anyway glad to see this is being included as a patch release for 3.2.
Thanks all for the speedy fix :laughing:


Localize Samples and permissions documents

The Permissions and samples documents in this API are not localized to other languages.
The GE Client will also change the way it consumes the the localized files to add a new language parameter when requesting for permissions and samples from the API.

Replaced with #216


ADK - 19H1 - Known Issues Section (ADK 10.0.18362.1 + KB4497936 18362.113)

ADK 1903 DISM errors with May 2019 LCU KB4497936
SCCM will be affected as ADK DISM is universal for Deployment Scenarios.
Working Image is unmounted, however Add-Package continues operation using Host System Registry Hive. DISM operation should cease when image unmount is detected.
Pastebin logs linked in the following issue:
https://github.com/MicrosoftDocs/windows-itpro-docs/issues/3699
PS E:\WinROG> DISM /Mount-Image /ImageFile:winre.wim /Index:1 /MountDir:mount\RE
Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Mounting image
[==========================100.0%==========================]
The operation completed successfully.
PS E:\WinROG> DISM /Image:mount\RE /Add-Package /PackagePath:"\\Nb-domain-hq\hq-hdd\1903\2019-05\windows10.0-kb4500109-x64_b727d70aacc30ac3522c02b285164d908e818ad6.msu"
Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18362.30

Processing 1 of 1 - Adding package \\Nb-domain-hq\hq-hdd\1903\2019-05\windows10.0-kb4500109-x64_b727d70aacc30ac3522c02b285164d908e818ad6.msu
[==========================100.0%==========================]
The operation completed successfully.
PS E:\WinROG> DISM /Image:E:\WinROG\mount\RE /Add-Package /PackagePath:"E:\WinROG\windows10.0-kb4497936-x64_4ac9328bb1376d2cadb09f56ba95ac9b08b88fba.msu"
Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18362.30

Processing 1 of 1 - Adding package E:\WinROG\windows10.0-kb4497936-x64_4ac9328bb1376d2cadb09f56ba95ac9b08b88fba.msu
[==========================100.0%==========================]
E:\WinROG\windows10.0-kb4497936-x64_4ac9328bb1376d2cadb09f56ba95ac9b08b88fba.msu: An error occurred applying the Unattend.xml file from the .msu package.
For more information, review the log file.
 Error: 0x80070002

Error: 2

The system cannot find the file specified.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

PS E:\WinROG> DISM /Image:E:\WinROG\mount\RE /Add-Package /PackagePath:"E:\WinROG\windows10.0-kb4497936-x64_4ac9328bb1376d2cadb09f56ba95ac9b08b88fba.msu"
Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Error: 50

DISM does not support servicing a Windows Vista RTM or earlier operating system.
If the operating system is supported check that SSShim.DLL is present.

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

ID: dc732ec0-eb14-8da2-7688-dd74a72cdae5
Version Independent ID: a93682ff-2984-38e0-5a0d-6f77c1c9e5db
Content: Support for Windows 10 - Configuration Manager
Content Source: sccm/core/plan-design/configs/support-for-windows-10.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @mestew
Microsoft Alias: mstewart

Thanks for taking the time to share this with the Configuration Manager documentation team. I’m sorry that you’re having problems, and I want to make sure it gets to the right people that can help. There are a couple of options available to provide the best level of support for this:

Post on Configuration Manager forums. These are moderated by our community MVPs who are very experienced, knowledgeable, and helpful.
Use Microsoft Support to search for the issue, or open a case with professional support.
Contact your Microsoft Premier team, such as a Premier Field Engineer or Technical Account Manager.

I'm closing this issue as there's nothing actionable for docs at this time.

It's not really a fixable thing from my end - as one of the components for WinPE is working properly, or the ADK itself.
I sent a tweet to @robdotyork
I don't really know where ADK belongs, as there's no direct channel for it and falls in many categories.
Especially because the 1903 ADK is still released as a preview build iso.
However thank you.


Add note about Python3 versions

yarl not currently working with Python 3.11 as noted here: https://github.com/aio-libs/yarl/issues/781

Fixed in https://github.com/aio-libs/yarl/issues/781#issuecomment-1336139544


Web interface isn't deployed correctly on C2M server

Hello,
When I launch a Gitlab image on C2M server, the public IP link to its web interface crashes, with a parse error for XML data.

Just saw the "This image is meant to be used on a C1 server." my bad

Actually it should works on C2M too, I will investigate, sorry the x86_64 image is pretty new :)

I started an attempt to fix the issue on x86_64 servers (#21), @QuentinPerez can you help me to finish the job ?

Hi @khanon,
We have released a new version which works also on C2*
Ping me if you have any trouble. 😊

I close this issue, do not hesitate to reopen it


Slider not working in browser when page is opened from another page with another slider

Ionic version:  (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x
[ ] 4.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
Please do not submit support requests or "How to" questions here. Instead, please use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
If we have 2 pages with a slider each, when redirecting the user from one page to another, the slider on the second page stops working properly. If the same page is opened from another, but which doesn't have a slider in it's html, then the slider is working perfectly.
Expected behavior:
The sliders should work on both pages properly. The swipe animation with the cursor on the second page should not break the slide, but animate smoothly instead.
Steps to reproduce:
Just create two pages with sliders inside and push page 2 from page 1 on click in order to navigate.
Related code:
Here's the code I used to create the slides
      <ion-slides pager>
        <ion-slide *ngFor="let photo of photos">
          <img [src]="photo.urls.full"/>
        </ion-slide>
      </ion-slides>

Other information:
On Android and IOS both pages are great, even when using the web inspector device manager in Chrome Dev Tools to emulate IOS, Android and even Responsive design, it is working correctly, but in the browser itself, it doesn't. Tested in Chrome and Firefox, on different computers.
Ionic info:
cli packages: (/Users/PlugaruLucia/Sites/flirtxxx-client-sw/node_modules)
    @ionic/cli-utils  : 1.13.0
    ionic (Ionic CLI) : 3.13.0

global packages:
    cordova (Cordova CLI) : 7.0.1
    Gulp CLI              : CLI version 3.9.1 Local version 3.9.1

local packages:
    @ionic/app-scripts : 3.0.0
    Cordova Platforms  : android 6.2.3 browser 4.1.0 ios 4.5.0
    Ionic Framework    : ionic-angular 3.7.0

System:
    ios-deploy : 1.9.2
    ios-sim    : 6.1.2
    Node       : v6.11.0
    npm        : 5.0.3
    OS         : macOS Sierra
    Xcode      : Xcode 9.0 Build version 9A235

Misc:
    backend : legacy

Hello! Thank you for opening an issue with us! Would you be able to provide a sample application via GitHub that demonstrates the issue you are having? Thanks for using Ionic!

I am closing this issue due to lack of activity. If you can provide a sample project via GitHub that demonstrates this issue so we can attempt to debug and fix it I will be happy to reopen it.


UtmGridSplitter and UtmZoneSplitter multiple UTM zones issue

Hi,
I am using UtmZoneSplitter and UtmGridSplitter to divide a zone that spans across multiple UTM zones. I then create the bbox_list and bbox_list and having that I create the GeoDataFrame which I use for plotting. I am following this example How To: Land-Use-Land-Cover Prediction for Slovenia. But when the plot is created it seems like the bboxes are divided into two groups. I have tested it in zones that do not span across multiple zones and it works perfectly.
country = gpd.read_file(os.path.join(DATA_FOLDER, 'COLOMBIA.shp'))

depto = country[country.DPTO_CNMBR == "CASANARE"]

# Get the shape in polygon format
country_shape = country.geometry.values[-1]

depto_shape = depto.geometry.values[-1]

depto.plot()
plt.axis('off');

This shows the image below

Here is the part where I get the bbox_list and plot the bboxes
# Create the splitter to obtain a list of bboxes
bbox_splitter = UtmGridSplitter([depto_shape], CRS.WGS84, 5000)

bbox_list = np.array(bbox_splitter.get_bbox_list())
info_list = np.array(bbox_splitter.get_info_list())

# Prepare info of selected EOPatches
geometry = [Polygon(bbox.get_polygon()) for bbox in bbox_list]

idxs = [info['index'] for info in info_list]
idxs_x = [info['index_x'] for info in info_list]
idxs_y = [info['index_y'] for info in info_list]

gdf = gpd.GeoDataFrame({'index': idxs, 'index_x': idxs_x, 'index_y': idxs_y},
                           crs=country.crs,
                           geometry=geometry)

# figure
fig, ax = plt.subplots(figsize=(30, 30))
gdf.plot(ax=ax,facecolor='w',edgecolor='r',alpha=0.5)
ax.set_title('Selected 5x5  tiles from Colombia', fontsize=30);
for bbox, info in zip(bbox_list, info_list):
    geo = bbox.geometry
    ax.text(geo.centroid.x, geo.centroid.y, info['index'], ha='center', va='center')

But this plots the image below.

Hi David,
In this case the splitter returns polygons over two UTM grids, which have different coordinate reference system (CRS). The issue arises when you put both sets into a single geopandas dataframe, which allows the definition of a single CRS.
To correctly visualise the result you'd need to create two geopandas dataframes, one for each set of bboxes defined in their own CRS. The CRS is provided in the returned info_list, and it should be used to split the list into the two subsets to be correctly visualised with geopandas. When downloading images, there is no need to keep them separate as long as you provide the corresponding CRS to the UTM geometries.
Hope this helps,
Devis

Thank you for your answer. It's very helpful I thought the problem in the plotting was going to affect the downloading of the images. It seems it is not the case then. Thanks again.


can you update it?

thanks

Can you be more specific?

Hi Jamrizzi,
version 1.3.0 is out, and this seems outdated.
I really appreciated to find a docker version of this! thanks

I will try and update it soon. If you need it super urgently, feel free to create a pull request.

i'd just like to try this software. wouldn't know how to do a pull request. I appreciate your efforts.

Ok, no prob. I'll make sure I update it.

It's updated. I also added tags so the older version is still supported.

The following commit updated it.
a96f81f17102dc4619a260b5c6828db904fcb275

thnk you so much!
unfortunately it doesn't work for me. for some reason there is an overlay on the install page and even if I remove it from the page it won't allow to proceed.
thanks anyway.

Hmm, maybe there is an issue with their version 3. I'm not sure. I'll look into it more later.

nah, it was the same on the previous version. that's when I decided to ask about an update. the overlay is in fact a broken "loading" gif. Since it's coming up as a broken link (source is http://localhost:8888/assets/img/loading.gif), and the installation redirect that always points to localhost - even when you change your base url, I am assuming there is something that gets in the way.

Ok, I'll let you know when it's fixed.


Desugarer warnings

Has #107 crept back in?
Just updated to HLS 0.7 via the VScode plugin and I'm back to not seeing any "incomplete pattern match" warning on e.g.:
{-# OPTIONS_GHC -Wall #-}

f = \case
    Nothing -> ()

:cry:

I'm back to not seeing any "incomplete pattern match" warning

Unless I enable TemplateHaskell. But that wasn't necessary in 0.6.

This is probably due to https://github.com/haskell/ghcide/pull/904 , due to which HLS has to be modified add action kick to its rules, as done here: https://github.com/haskell/ghcide/blob/6365d3cc61e98515333f5fc77b1dabf64475b1fa/exe/Main.hs#L121
/cc @jneira unfortunately this probably warrants another release :(


[NEMO-404] Provide user argument to use lambda executor representer

JIRA: [NEMO-404: Provide user argument to use lambda executor representer] https://issues.apache.org/jira/projects/NEMO/issues/NEMO-404)
Major changes:

Add LambdaExecutorRepresenter class
Prodivde user argument to use the new representer

Other comments:
Try it out by
./bin/run_beam.sh \
        -job_id wordCount_testexecutor \
        -executor_json `pwd`/examples/resources/executors/beam_test_executor_resources.json \
        -optimization_policy org.apache.nemo.compiler.optimizer.policy.DefaultPolicy \
        -user_main org.apache.nemo.examples.beam.WordCount \
        -executor_type lambda \
        -user_args "`pwd`/examples/resources/inputs/test_input_wordcount `pwd`/outputs/wordcount --numEventGenerators=1"

-executor_type lambda will use lambda executor representer.
-executor_type default, or not having this line will use default executor representer.
-executor_type other strings will throw UnsupportedOperation exception.
Blocked by NEMO-398: ExecutorRepresenter interface and DefaultExecutorRepresenter

Break this pr down to 2.
#230


Replacer Ammends New Transform instead of Modifying it

I have the following code that is intended to remove a child from a father transform.
// Import
AssetsManager assetsManager = new AssetsManager();
List<AssetsReplacer> replacers = new List<AssetsReplacer>();
assetsManager.LoadClassPackage("classdata.tpk");
AssetsFileInstance assetsFileInstance = assetsManager.LoadAssetsFile("sharedassets0.assets", false);
assetsManager.LoadClassDatabaseFromPackage(assetsFileInstance.file.typeTree.unityVersion);
AssetsFileTable assetsFileTable = assetsFileInstance.table;

// Get Father
long fatherID = 16256;
long childID = 16153;
AssetFileInfoEx fatherFile = assetsFileTable.GetAssetInfo(fatherID);
AssetTypeValueField fatherBaseField = assetsManager.GetTypeInstance(assetsFileInstance.file, fatherFile).GetBaseField();

// Clear Father's Child
AssetTypeValueField[] fatherChildren = fatherBaseField.Get("m_Children").Get("Array").children;
AssetTypeValueField[] newChildren = fatherChildren.Where(child => child.Get("m_PathID").GetValue().AsInt64() != childID).ToArray();
fatherBaseField.Get("m_Children").Get("Array").SetChildrenList(newChildren);

// Save
replacers.Add(new AssetsReplacerFromMemory(0, fatherFile.index, (int)fatherFile.curFileType, 0xFFFF, fatherBaseField.WriteToByteArray()));

// Export
AssetsFileWriter writer = new AssetsFileWriter(File.OpenWrite("sharedassets0-new.assets"));
assetsFileInstance.file.Write(writer, 0, replacers, 0);
writer.Close();

However, instead of editing the existing father transform, the replaces amend a new transform so I end up with 2 transforms of the same ID (according to AssetsView). What am I missing here? In addition, I also update child's m_Father, I can upload that too if needed. Also, when viewing the transform, AssetsView claims the child has not been removed, but I think it is referencing the older transform and not the one I ammended.
I am using AssetsTools Update 15 v2.0.6 in .NET Framework v4.7.2.

I was able to remove the child fine with your code above and when I added father remove code, it correctly showed the child as a root object in AssetsView. I also wasn't able to get assets with the same id either, it correctly overwrote the original asset.

Here is the function the code is pulled from:
private void EditExistingAsset(LIMapAsset asset, AssetTypeValueField spriteBaseField)
{
    Log("Editing Existing Asset " + asset.type);

    // Get and Clear Child's Father
    AssetExternal compAE = GetComponents(spriteBaseField);
    AssetTypeValueField compBaseField = compAE.instance.GetBaseField();

    long fatherID = compBaseField.Get("m_Father").Get("m_PathID").GetValue().AsInt64();
    compBaseField.Get("m_Father").Get("m_PathID").GetValue().Set(16553);
    AssetFileInfoEx fatherFile = assetsFileTable.GetAssetInfo(fatherID);
    AssetTypeValueField fatherBaseField = assetsManager.GetTypeInstance(assetsFileInstance.file, fatherFile).GetBaseField();

    // Get and Clear Father's Child
    AssetTypeValueField[] fatherChildren = fatherBaseField.Get("m_Children").Get("Array").GetChildrenList();
    AssetTypeValueField[] newChildren = fatherChildren.Where(child => child.Get("m_PathID").GetValue().AsInt64() != compAE.info.index).ToArray();
    fatherBaseField.Get("m_Children").Get("Array").SetChildrenList(newChildren);

    replacers.Add(new AssetsReplacerFromMemory(0, fatherFile.index, (int)fatherFile.curFileType, 0xFFFF, fatherBaseField.WriteToByteArray()));

    // Get and Set New Father
    AssetTypeValueField newChild = ValueBuilder.DefaultValueFieldFromArrayTemplate(polusCompBaseField.Get("m_Children").Get("Array"));
    newChild.Get("m_FileID").GetValue().Set(0);
    newChild.Get("m_PathID").GetValue().Set(compAE.info.index);
    polusCompBaseField.Get("m_Children").Get("Array").SetChildrenList(polusCompBaseField.Get("m_Children").Get("Array").children.Concat(new List<AssetTypeValueField>() { newChild }).ToArray());

    // Set Transform
    compBaseField.Get("m_LocalPosition").Get("x").GetValue().Set(asset.x);
    compBaseField.Get("m_LocalPosition").Get("y").GetValue().Set(asset.y);
    compBaseField.Get("m_LocalPosition").Get("z").GetValue().Set(asset.z);
    compBaseField.Get("m_LocalScale")   .Get("x").GetValue().Set(asset.xScale);
    compBaseField.Get("m_LocalScale")   .Get("y").GetValue().Set(asset.yScale);
    compBaseField.Get("m_LocalScale")   .Get("z").GetValue().Set(1);
    compBaseField.Get("m_LocalRotation").Get("z").GetValue().Set(asset.zRotate);
    compBaseField.Get("m_LocalRotation").Get("w").GetValue().Set(1);

    replacers.Add(new AssetsReplacerFromMemory(0, compAE.info.index, (int)compAE.info.curFileType, 0xFFFF, compBaseField.WriteToByteArray()));
}

Where LIMapAsset is an object with a name, type, x, y, z, xScale, yScale, and zRotate. Then, the file is later saved using this function:
public int Export()
{
    try
    {
        Log("Exporting...");

        // File
        if (File.Exists(assetsLocation))
            File.Delete(assetsLocation);
        if (File.Exists(custAssetsLocation))
            File.Delete(custAssetsLocation);

        // Polus
        replacers.Add(new AssetsReplacerFromMemory(0, polusCompAsset.index, (int)polusCompAsset.curFileType, 0xFFFF, polusCompBaseField.WriteToByteArray()));

        // Writer
        AssetsFileWriter writer = new AssetsFileWriter(File.OpenWrite(assetsLocation));
        assetsFileInstance.file.Write(writer, 0, replacers, 0);
        writer.Close();

        // Custom Asset Writer
        File.WriteAllBytes(custAssetsLocation, customAssetBytes.ToArray());
        return 0;
    }
    catch (IOException ex)
    {
        return 3;
    }
}

The full repository is also available here. (It is intended to be a custom Among Us map maker, when complete)

I tried this code on among us mobile, replacing 16553 with polusCompAsset (just in general, would recommend not hardcoding your pathids because they can change between platforms and updates) and I was able to get it working fine still. I'm guessing the issue is somewhere else in your code. Also, which assets are being duplicated, or are they all being duplicated? Do they show next to each other in AssetsView or is the duplicate asset at the very end of the file?
I would prefer a minimum working example of the bug like the first bit of code you posted that you can confirm this problem happens with (including which specific assets (by name) you used). I've attached the code I used so you can try what I tested.
Issue28.zip

On unity 2019.4, is pc on this also?
Indeed they are
Which assets are being duplicated, or are they all being duplicated? Do they show next to each other in AssetsView or is the duplicate asset at the very end of the file?
The transform of the father asset is being duplicated to the end of the file. The transform at the end of the file removes the child while the original transform still has the child.

Thank you for your continued assistance on this issue. I'll continue to debug this issue and post a solution here if I can find it.

Closing this issue since I wasn't able to reproduce, and you aren't using this anymore.
I suspect the problem was that you had added two replacers of the same pathId, one with the original bytes and one with the new bytes. When you have two replacers, it will only replace one then append the second one to the end.


Autoexpand to preselected values

Hello, This is too Nice component. But it would be great if the items selected through the value parameter were automatically expanded when the list was first opened with a certain parameter in constructor like 'expandValue: true'.

Hi, @capineiro, thank you for your words. I will try to add this prop in the next release.


Double rendering on react-leaflet

Ruler appears twice on react-leaflet map. I am not sure on how to use it with react hooks as some complex functions that refresh the map view might be having an hand on this.

Sorted in production.


Fix log typo and fix chunk sizes

Fix debug log typo
Take into account the compression ratio when choosing chunk sizes for the latest .zarr file

TODO

[ ] make sure I haven't got this compression ratio backwards!

Codecov Report

Merging #63 (4d7c482) into main (5a3bbff) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #63      +/-   ##
==========================================
- Coverage   93.69%   93.65%   -0.04%
==========================================
  Files           6        6
  Lines         333      331       -2
==========================================
- Hits          312      310       -2
  Misses         21       21

Impacted Files
Coverage Δ

metofficedatahub/multiple_files.py
93.12% <100.00%> (-0.11%)
:arrow_down:

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


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 12:09:29 on 2023.05.08
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 4, errors out: 0
Original problem ID: 20425
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=20425

Problem has been resolved in 9m 0s at 12:18:29 on 2023.05.08
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 20425


[hi] Proofread and tidy up container-runtimes.md

This is a Bug Report

Problem:
PR #31857 was merged without finalizing the page as discussed on Slack (here) with a plan to tidy up with an another PR.
Proposed Solution:
Proofread the current version of page and look for grammatical errors, incorrect sentence structures, other inaccuracies such as use of "full stop" instead of "पूर्ण विराम", repition of words etc. and make a PR.
Page to Update:
https://github.com/kubernetes/website/blob/dev-1.22-hi.1/content/hi/docs/setup/production-environment/container-runtimes.md
Note:
The current working branch for hi localization work is dev-1.22-hi.1. Please make sure to open a PR against dev-1.22-hi.1.
For more info see Hindi localization progress tracking issue #29353

/kind bug
/triage accepted

/language hi

/assign

Hi @ashish-jaiswar. Have you started working in the issue? Feel free to ask here or on Slack (#kubernetes-docs-hi) for any help.

Hi @anubha-v-ardhan I am working on this issue and the content of this page is large so it takes time .

/close
Resolved by #32713


Update common.json

Ignore translation

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

Use https://crowdin.com/project/pufferpanel instead.


Add support for .NET 6.0 to Ookii.Dialogs.WinForms

https://devblogs.microsoft.com/dotnet/announcing-net-6/

Closed by d9a564e

:tada: The changes implemented in response to this issue shipped with Ookii.Dialogs.WinForms v4.0.0
The release is available on:

:rocket: GitHub Release
:package: NuGet Package


Scrapper overrides favorite, playcount, lastplayed, rating

Hello,
I have tried your software on my nes collection (retropie). I like image mix feature but I found a lot of issues.
Most important:

scrapper overrides favorites, playcount, lastplayed tags (new and update mode).
and there is no option to prevent erasing others tags (like rating)

Other issue: 100% of ~250 roms found, but in ES I've got a lot of games without metadata (perhaps 5%).
There is no feature to fix rom metadata (ie scrapping only one game) => I need to run on all collection and again lost favorites, playcount, ... tags.

Sorry, I "m wrong. Not the right repository.
I close this issue.


OpenWB Software 2.0: Warning for incorrect charger status

Describe the bug
After updating an OpenWB from software version 1.9 to 2.0, various warning messages are generated during charging.

If the charging process is activated via fast charging, the warning charger logic error: disabled but charging is displayed.
If the vehicle ends the charging process (vehicle soc limit reached) while fast charging is still active in EVCC, the warning charger out of sync: expected enabled, got disabled is displayed.

Steps to reproduce
See bug description.
Configuration details
network:
  # schema is the HTTP schema
  # setting to `https` does not enable https, it only changes the way URLs are generated
  schema: https
  # host is the hostname or IP address
  # if the host name contains a `.local` suffix, the name will be announced on MDNS
  # docker: MDNS announcements don't work. host must be set to the docker host's name.
  host: evcc.abc.xyz
  # port is the listening port for UI and api
  # evcc will listen on all available interfaces
  port: 7070

interval: 10s # control cycle interval

# database configuration for persisting charge sessions and settings
# database:
#   type: sqlite
#   dsn: <path-to-db-file>

# sponsor token enables optional features (request at https://sponsor.evcc.io)
# sponsortoken:

# telemetry enables aggregated statistics
#
# Telemetry allows collecting usage data (grid and green energy, charge power).
# Data is aggregated, no individual charging sessions are tracked. The collected,
# anonymous data can be retrieved using https://api.evcc.io.
#
# See https://github.com/evcc-io/evcc/pull/4343 or details.
#
# For time being, this is only available to sponsors, hence data is associated with
# the sponsor token's identity.
#
# telemetry: true

# log settings
log: info
levels:
  site: debug
  lp-1: debug
  lp-2: debug
  cache: error
  db: error

# modbus proxy for allowing external programs to reuse the evcc modbus connection
# each entry will start a proxy instance at the given port speaking Modbus TCP and
# relaying to the given modbus downstream device (either TCP or RTU, RS485 or TCP)
modbusproxy:
  #  - port: 5200
  #    uri: solar-edge:502
  #    # rtu: true
  #    # readonly: true

# meter definitions
# name can be freely chosen and is used as reference when assigning meters to site and loadpoints
# for documentation see https://docs.evcc.io/docs/devices/meters
meters:
  - name: grid
    type: template
    template: victron-energy
    usage: grid
    host: cerbo.abc.xyz
    port: 502
  - name: pv
    type: template
    template: victron-energy
    usage: pv
    host: cerbo.abc.xyz
    port: 502
  - name: battery
    type: template
    template: victron-energy
    usage: battery
    host: cerbo.abc.xyz
    port: 502

# charger definitions
# name can be freely chosen and is used as reference when assigning charger to vehicle
# for documentation see https://docs.evcc.io/docs/devices/chargers
chargers:
  - name: openwb_rechts
    type: template
    template: openwb-2.0
    modbus: tcpip
    id: 1
    host: raspi-openwb1.abc.xyz
    port: 1502
  - name: openwb_links
    type: template
    template: openwb
    host: raspi-openwb2.abc.xyz
    connector: 1
    phases1p3p: true

# vehicle definitions
# name can be freely chosen and is used as reference when assigning vehicle to loadpoint
# for documentation see https://docs.evcc.io/docs/devices/vehicles
vehicles:
  - name: tesla
    type: template
    template: tesla
    title: Tesla
    accessToken: ###
    refreshToken: ###
    capacity: 79

# site describes the EVU connection, PV and home battery
site:
  title: ### # display name for UI
  meters:
    grid: grid # grid meter
    pv:
      - pv # list of pv inverters/ meters
    battery: battery # battery meter
  #prioritySoc: 70 # give home battery priority up to this soc (empty to disable)
  #bufferSoc: # ignore home battery discharge above soc (empty to disable)

# loadpoint describes the charger, charge meter and connected vehicle
loadpoints:
  - title: Garage Rechts # display name for UI
    charger: openwb_rechts # charger
    #meter: charge # charge meter
    mode: "off" # set default charge mode, use "off" to disable by default if charger is publicly available
    # vehicle: car1 # set default vehicle (disables vehicle detection)
    soc:
      # polling defines usage of the vehicle APIs
      # Modifying the default settings it NOT recommended. It MAY deplete your vehicle's battery
      # or lead to vehicle manufacturer banning you from API use. USE AT YOUR OWN RISK.
      poll:
        # poll mode defines under which condition the vehicle API is called:
        #   charging: update vehicle ONLY when charging (this is the recommended default)
        #   connected: update vehicle when connected (not only charging), interval defines how often
        #   always: always update vehicle regardless of connection state, interval defines how often (only supported for single vehicle)
        mode: charging
        # poll interval defines how often the vehicle API may be polled if NOT charging
        interval: 60m
      estimate: true # set false to disable interpolating between api updates (not recommended)
    phases: 0 # electrical connection (normal charger: default 3 for 3 phase, 1p3p charger: 0 for "auto" or 1/3 for fixed phases)
    enable: # pv mode enable behavior
      delay: 1m # threshold must be exceeded for this long
      threshold: 0 # grid power threshold (in Watts, negative=export). If zero, export must exceed minimum charge power to enable
    disable: # pv mode disable behavior
      delay: 3m # threshold must be exceeded for this long
      threshold: 0 # maximum import power (W)
    guardDuration: 5m # switch charger contactor not more often than this (default 5m)
    minCurrent: 6 # minimum charge current (default 6A)
    maxCurrent: 16 # maximum charge current (default 16A)
  - title: Garage Links # display name for UI
    charger: openwb_links # charger
    #meter: charge # charge meter
    mode: "off" # set default charge mode, use "off" to disable by default if charger is publicly available
    # vehicle: car1 # set default vehicle (disables vehicle detection)
    soc:
      # polling defines usage of the vehicle APIs
      # Modifying the default settings it NOT recommended. It MAY deplete your vehicle's battery
      # or lead to vehicle manufacturer banning you from API use. USE AT YOUR OWN RISK.
      poll:
        # poll mode defines under which condition the vehicle API is called:
        #   charging: update vehicle ONLY when charging (this is the recommended default)
        #   connected: update vehicle when connected (not only charging), interval defines how often
        #   always: always update vehicle regardless of connection state, interval defines how often (only supported for single vehicle)
        mode: charging
        # poll interval defines how often the vehicle API may be polled if NOT charging
        interval: 60m
      estimate: true # set false to disable interpolating between api updates (not recommended)
    phases: 0 # electrical connection (normal charger: default 3 for 3 phase, 1p3p charger: 0 for "auto" or 1/3 for fixed phases)
    enable: # pv mode enable behavior
      delay: 1m # threshold must be exceeded for this long
      threshold: 0 # grid power threshold (in Watts, negative=export). If zero, export must exceed minimum charge power to enable
    disable: # pv mode disable behavior
      delay: 3m # threshold must be exceeded for this long
      threshold: 0 # maximum import power (W)
    guardDuration: 5m # switch charger contactor not more often than this (default 5m)
    minCurrent: 6 # minimum charge current (default 6A)
    maxCurrent: 16 # maximum charge current (default 16A)

# tariffs are the fixed or variable tariffs
# cheap (tibber/awattar) can be used to define a tariff rate considered cheap enough for charging
tariffs:
  currency: EUR # three letter ISO-4217 currency code (default EUR)
  grid:
    # either static grid price (or price zones)
    type: fixed
    price: 0.294 # EUR/kWh
    #zones:
    #  - days: Mo-Fr
    #    hours: 2-5
    #    price: 0.2 # EUR/kWh
    #  - days: Sa,So
    #    price: 0.15 # EUR/kWh

    # # or variable via tibber
    # type: tibber
    # cheap: 0.2 # EUR/kWh
    # token: "476c477d8a039529478ebd690d35ddd80e3308ffc49b59c65b142321aee963a4" # access token
    # homeid: "cc83e83e-8cbf-4595-9bf7-c3cf192f7d9c" # optional if multiple homes associated to account

    # # or variable via awattar
    # type: awattar
    # cheap: 0.2 # EUR/kWh
    # region: de # optional, choose at for Austria
  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.082 # EUR/kWh
  #planner:
    # planner tariff can be used for target charging if not grid tariff is specified
    # GrünStromIndex (Germany only) or ElectricityMaps provide CO2 intensity forecast

    # type: grünstromindex
    # zip: <zip>

    # type: electricitymaps
    # uri: <uri>
    # token: <token>
    # zone: DE

# mqtt message broker
mqtt:
  # broker: localhost:1883
  # topic: evcc # root topic for publishing, set empty to disable
  # user:
  # password:

# influx database
influx:
  # url: http://localhost:8086
  # database: evcc
  # user:
  # password:

# eebus credentials
eebus:
  # uri: # :4712
  # interfaces: # limit eebus to specific network interfaces
  # - en0
  # certificate: # local signed certificate, required, can be generated via `evcc eebus-cert`
  #   public: # public key
  #   private: # private key

# push messages
messaging:
  events:
    start: # charge start event
      title: Charge started
      msg: Started charging in "${mode}" mode
    stop: # charge stop event
      title: Charge finished
      msg: Finished charging ${chargedEnergy:%.1fk}kWh in ${chargeDuration}.
    connect: # vehicle connect event
      title: Car connected
      msg: "Car connected at ${pvPower:%.1fk}kW PV"
    disconnect: # vehicle connected event
      title: Car disconnected
      msg: Car disconnected after ${connectedDuration}
    soc: # vehicle soc update event
      title: Soc updated
      msg: Battery charged to ${vehicleSoc:%.0f}%
    guest: # vehicle could not be identified
      title: Unknown vehicle
      msg: Unknown vehicle, guest connected?
  services:
  # - type: pushover
  #   app: # app id
  #   recipients:
  #   - # list of recipient ids
  # - type: telegram
  #   token: # bot id
  #   chats:
  #   - # list of chat ids
  # - type: email
  #   uri: smtp://<user>:<password>@<host>:<port>/?fromAddress=<from>&toAddresses=<to>
  # - type: ntfy
  #   uri: https://<host>/<topics>
  #   priority: <priority>
  #   tags: <tags>

Log details
[site  ] DEBUG 2024/01/06 09:45:34 ----
[lp-1  ] DEBUG 2024/01/06 09:45:34 charge power: 11324W
[lp-2  ] DEBUG 2024/01/06 09:45:34 charge power: 0W
[site  ] DEBUG 2024/01/06 09:45:34 pv power: 1487W
[site  ] DEBUG 2024/01/06 09:45:34 battery soc: 65%
[site  ] DEBUG 2024/01/06 09:45:34 battery power: 0W
[site  ] DEBUG 2024/01/06 09:45:34 grid power: 11510W
[site  ] DEBUG 2024/01/06 09:45:34 site power: 11510W
[lp-1  ] DEBUG 2024/01/06 09:45:34 charge currents: [16.1 16.2 16.1]A
[lp-1  ] DEBUG 2024/01/06 09:45:34 detected active phases: 3p
[lp-1  ] DEBUG 2024/01/06 09:45:34 charge total import: 764.341kWh
[lp-1  ] DEBUG 2024/01/06 09:45:34 charger status: C
[lp-1  ] DEBUG 2024/01/06 09:45:34 soc estimated: 79.19% (vehicle: 79.00%)
[lp-1  ] DEBUG 2024/01/06 09:45:34 vehicle soc: 79%
[lp-1  ] DEBUG 2024/01/06 09:45:34 vehicle soc limit: 80%
[lp-1  ] DEBUG 2024/01/06 09:45:34 vehicle range: 419km
[lp-1  ] WARN 2024/01/06 09:45:34 charger logic error: disabled but charging
[lp-1  ] DEBUG 2024/01/06 09:45:34 charger: guard elapse
[lp-1  ] DEBUG 2024/01/06 09:45:34 guard timer inactive
[lp-1  ] DEBUG 2024/01/06 09:45:34 set tesla plan soc: 0 @ 0001-01-01 00:53:28 +0053 LMT
[site  ] DEBUG 2024/01/06 09:45:44 ----

[site  ] DEBUG 2024/01/06 09:39:34 ----
[lp-1  ] DEBUG 2024/01/06 09:39:34 charge power: 0W
[lp-2  ] DEBUG 2024/01/06 09:39:34 charge power: 0W
[site  ] DEBUG 2024/01/06 09:39:34 pv power: 919W
[site  ] DEBUG 2024/01/06 09:39:34 battery soc: 65%
[site  ] DEBUG 2024/01/06 09:39:34 battery power: 0W
[site  ] DEBUG 2024/01/06 09:39:34 grid power: 716W
[site  ] DEBUG 2024/01/06 09:39:34 site power: 716W
[lp-1  ] DEBUG 2024/01/06 09:39:34 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2024/01/06 09:39:34 charge total import: 764.174kWh
[lp-1  ] DEBUG 2024/01/06 09:39:34 charger status: B
[lp-1  ] WARN 2024/01/06 09:39:34 charger out of sync: expected enabled, got disabled
[lp-1  ] DEBUG 2024/01/06 09:39:34 charger: guard elapse
[lp-1  ] DEBUG 2024/01/06 09:39:34 guard timer inactive
[lp-1  ] DEBUG 2024/01/06 09:39:34 set tesla plan soc: 0 @ 0001-01-01 00:53:28 +0053 LMT
[lp-1  ] DEBUG 2024/01/06 09:39:34 charger enable
[lp-1  ] DEBUG 2024/01/06 09:39:34 wake-up timer: start
[site  ] DEBUG 2024/01/06 09:39:44 ----

What type of operating system are you running?
Docker container
Version
v0.123.5

@MarkusGH siehst du das auch?

@FelR es braucht bitte mal ein trace log für openwb-2.0.

Die Fehlermeldungen sind korrekt - die OpenWB 2.0 benimmt sich nicht richtig und der Loadpoint beklagt sich zu Recht.
Fix in https://github.com/evcc-io/evcc/pull/11543

@FelR hast Du bitte mal ein trace log wo Du von Sofortladen auf "aus" umschaltest?  DANKE!

 Kann leider erst wieder in 5 Tagen weiter testen.


Android Integration - Minified True Issue

When integrating inside Android, it works fine when minify=false. for minify=true there is no communication happening with Dialogflow.
Environment details

implementation 'com.google.cloud:google-cloud-dialogflow:2.0.0'
implementation 'io.grpc:grpc-okhttp:1.29.0'
OS:
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.tyagiabhinav.dialogflowchat"
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
Java version:
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
// Java V2
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/INDEX.LIST'
}
dialogflow version(s):

Steps to reproduce

Build a signed APK using https://github.com/abhi007tyagi/DialogflowChat
Send some message to bot
DetectIntentResponse comes NULL

Code example
Code: https://github.com/abhi007tyagi/DialogflowChat
in proguard
-keepclassmembers class io.grpc.okhttp.OkHttpChannelBuilder {
  io.grpc.okhttp.OkHttpChannelBuilder forTarget(java.lang.String);
  io.grpc.okhttp.OkHttpChannelBuilder scheduledExecutorService(java.util.concurrent.ScheduledExecutorService);
  io.grpc.okhttp.OkHttpChannelBuilder sslSocketFactory(javax.net.ssl.SSLSocketFactory);
  io.grpc.okhttp.OkHttpChannelBuilder transportExecutor(java.util.concurrent.Executor);
}

Stack trace
No Stack trace. Once this was captured
Conv2Query not enabled due to current app [com.xxxx.yyyy] not in whitelist

External references such as API reference guides

https://github.com/abhi007tyagi/DialogflowChat

Any additional information below
debug works as minify = false.
release works when minify = false.

@abhi007tyagi I just added to my hotlist, and I will look into this week.

Closing because Android is not an officially supported platform, so this is working as intended.

There is actually a lot of demand. Until it is officially supported, is there a workaround for the issue?

@gguuss @munkhuushmgl I have created a library to add Dialogflow chat into Android . I know this is not supported as of now by Google but it may help. Please try at your end :)


Introduce Cost Model for Query Optimization

We have an iterative Optimizer in place, now the next step is to introduce a cost model. Let's have a look how other systems handle the cost model:

In Apache Calcite, the cost is modelled as a scalar representing the number of rows being processed.

In Apache Spark the cost is a vector of the number of rows and the number of bytes being processed. The vector is converted into a scalar value during comparison.

In Presto the cost is a vector of estimated CPU, memory, and network usage. The vector is also converted into a scalar value during comparison.

In CockroachDB, the cost is an abstract 64-bit floating-point scalar value.

https://github.com/crate/crate/pull/14119 introduced number of rows and number of bytes being processed ready to use for the Optimizer.

Note that in the join order benchmark (http://www.vldb.org/pvldb/vol9/p204-leis.pdf, section 5.4) they mention that the results with a pretty simple cost model function were pretty good, and, the impact of the quality of the cost model is small compared to impact of cardinality estimates and join ordering algorithm. So I think to start with we should go with a simple variant.

Hi
I am Chitrank, and I am currently pursuing MS in CS at UT Austin.
As part of my course project, I have to work on addressing a specific issue or bug within a defined timeframe, with the goal of creating a Pull Request (PR) to contribute to the project's development. Given the significance of this project, I am seeking assistance and guidance from experienced contributors such as yourself.
I have identified a set of issues that align with my project's objectives, and I believe that your expertise and insights would be immensely valuable in helping me understand and resolve these challenges effectively.
Kind regards,
Chitrank

Note that we ended up disabling EquiJoinToLookupJoin by default due to the increased memory usage. This to me implies that the cost model must include the required memory in some form.

Yes i agree. The write up tries to explain the difference between fully cost-based approach like cockroachdb or hive against a partial cost-approach like presto or duckdb. I was focused on the optimizer approach not so much on the cost model itself.

Just reading up on things... @mkleen is the goal to release this work in 5.9, but put it behind a flag so users can choose the old or new optimizer? And which one would be on by default?

Cost-based optimizer was not planned at all for 5.9

Ah right, it is back in Candidates. Thanks @matriv .


Identify Feature Selectors for Implementation

Identify two feature selectors to code in addition to:

Forward Selection
Reverse Selection
?
?

Did some research on two feature selectors to choose, focused on these four:

Variance Thresholding (Unsupervised Learning)

Scale all features
Calculate variance of each feature
If variance is below a threshold, remove the feature
LOGIC: Low variance features contain less useful information
Sklearn: https://scikit-learn.org/stable/modules/generated/sklearn.feature_selection.VarianceThreshold.html#sklearn.feature_selection.VarianceThreshold

LASSO Linear Regression

Preform linear regression on features with L1 regularization
Remove features that have weights of 0
Sklearn:
https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LinearRegression.html

Simulated Annealing

Randomly choose feature set
Compute performance
Modify chosen feature set by randomly excluding 5% of chosen features or including unchosen features
Recompute performance of slightly modified feature set
If performance better, use new set, if worse, roll a dice to see if the new set is still kept even if worse, the odds off doing this are reduced as the number of iterations progresses and depending on how bad the new set is compared to the current set.
More complexity can be added, but this is the gist.
Documentation: http://www.feat.engineering/simulated-annealing.html

Genetic Algorithms

Randomly select multiple feature sets (say 12)
Compute the performance of each set
Define the probability of keeping each set based on its performance
Roll a dice to see if each set is kept
For every two sets remaining, merge the sets together as “parents” by exchanging half the chosen features in each to create children.
Apply randomness by rolling dice with small percentage of success to see if each feature in the children flicks on or off (“mutations”)
Repeat cycle until one feature set remains
Documentation: http://www.feat.engineering/genetic-algorithms.html

My recommendation is to do Variance Thresholding, because it is very easy to implement and useful for unsupervised learning data sets, and Simulated Annealing because the implementation also seems relatively simple.

@dkruszew Thanks for the research and suggestions! I agree with picking variance Thresholding and simulated annealing as well!

Also it sounds good to me (variance thresholding and simulated annealing)

For RFE, current implementations are:
• R: RFE in caret
• Py: RFE in scikit
Do we still want to implement this or pick something else?

Up to you and the level of work you'd like to take on. I'm ok with any of the below options:

Creating wrapper function for RFE
Re-write out your own version of RFE for practice/better understanding
Some combination of 1&2
Switching this function to something like a genetic algorithm

I recommend option 3: writing your own function in R (assuming this is your weaker programming language) for the practice and wrapping scikit RFE in python, but also encourage taking a stab at Genetic Algorithm if you can spare the time.

Thanks @dkruszew. I think I will go with your recommendation of #3 and do the R implementation.


Grammar: allow program examples (prim templates) with parameters

There is no reason not to

Pull Request Test Coverage Report for Build 386

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.009%) to 81.727%

Totals

Change from base Build 385:
0.009%

Covered Lines:
5525

Relevant Lines:
6575

💛  - Coveralls


Notifications for unread messages

Fixes https://github.com/jupyterlab/jupyter-chat/issues/32
This PR adds some features (and tests) to handle unread messages:

navigation button
notifications (with setting to disable it)
symbol in tab label

Code change

includes unread messages and current messages in viewport in the model
the model can reveive a CommandRegistry to trigger the notifications
add navigation buttons
add a new settings to disable notifications

TODO (in follow up PRs I think):

be able to  listen to a chat not open (this mean having a chat model opened without widget)
save the status to avoid marking previous message as unread (@trungleduc suggested using localStorage)
add button to mark a chat as unread
add a link to the chat in notification

cc. @trungleduc @krassowski who have shown interest in this feature

be able to listen to a chat not open (this mean having a chat model opened without widget)

As discussed privately, another approach could be to have a server extension that listens for file changes on the file system (using something like https://github.com/gorakhargosh/watchdog) as a server extension, that notifies the front-end when the chat has been updated (so there may be a new message).
@davidbrochart I recall you were looking for a tool like watchdog at some point, was it related to collaboration work?
What do you think about this idea? I feel like it would be better than opening rooms for all chats on the working directory just to get notifications enabled.

As discussed privately, another approach could be to have a server extension that listens for file changes on the file system (using something like https://github.com/gorakhargosh/watchdog) as a server extension, that notifies the front-end when the chat has been updated (so there may be a new message).

Thanks @martin, I agree this is probably a better approach to avoid overloading the client side. And we could still listen on selected chat on client side. The only drawback I see is that it will trigger every changes in the file, like users or some metadata that could be added later (I'm thinking about AI settings for instance).
Maybe the server extension could listen to changes on the existing shared sessions server side (instead of listening for any change in all the chat files) ?
If there is no shared session for a file, this means there is no client on this chat, we can probably assume that it should not change (except for manual change on the file, which should not happen I think).
That way we could trigger a notification only when a message is added or updated.


Redirects caused outside of Remix are not handled correctly

What version of Remix are you using?
1.7.0
Steps to Reproduce

Create an example Remix project using Express
Add a 301/302 redirect outside of Remix e.g. inside server.js to redirect /foo-redirect to /foo
Create two routes: foo.tsx and foo-redirect.tsx and add a loader to both
Now create a route e.g. index.tsx and create a <Link to="/foo-redirect">..</Link> component
Click on the <Link> component

Example repo: https://github.com/dylanblokhuis/remix-redirect-bug.git
Expected Behavior
That the redirect is being followed and the user ends up on /foo
Actual Behavior
Redirect is not being followed and the user ends up on /foo-redirect

The issue is that if Remix does a client side fetch to your loader (which happens when you click on the <Link>), Remix handles redirects differently. You have to check for a data request (URL has search param _data). If so, you need to redirect using status 203 and header: x-remix-redirect, instead of the standard 301/302 status.
I have an example here: https://github.com/kiliman/express-auth-example/blob/4aed9f0bfeb85d7cc73d4e8232cbaf9cd1a1d1c3/server/index.js#L78
  const url = new URL(`${req.protocol}://${req.get('host')}${req.originalUrl}`)
  const isDataRequest = url.searchParams.has('_data')
  if (isDataRequest) url.searchParams.delete('_data')

  const returnUrl = encodeURI(`${url.pathname}${url.search}`)
  const redirectUrl = `/login?returnUrl=${returnUrl}`

  return isDataRequest
    ? // special handling for redirect from data requests
      res.status(204).set('x-remix-redirect', redirectUrl).send()
    : res.redirect(redirectUrl)

In my case we use a reverse proxy that handles all redirects (so its outside of Remix's environment completely), so having to make the reverse proxy handle redirects differently just for Remix is in my opinion not really great. Remix's fetchData(..) already handles redirects properly, it's just the transition part not working correctly. Hence my PR which fixes the problem, but I do not know for sure if it's the proper way to tackle the problem.


[WIP] Add specs for virtual hub

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

GITHUB_TOKEN issue, which can be resolved by submitting a PR from the MM-specs branch with a writing permission account.