Dehumidifier Fan Speed

Please add support for control of dehumidifier fan speed. Thanks!

I don't know exactly what you mean, but you need at least to add diagnostic so that I can check options provided by your device. Next time please use Feature request template to open a new Feature Request,

I would like to control the fan speed through home assistant. There are two
speeds, low and high. They can be controlled through the LG app, but I
can’t see it could be done via your home assistant device now. Turning in
and off works, but I can’t see how the fan speed could be controlled.
Probably needs its own entity or something.
On Fri, Dec 30, 2022 at 1:41 PM ollo69 @.***> wrote:

I don't know exactly what you mean, but you need at least to add
diagnostic so that I can check options provided by your device. Next time
please use Feature request template to open a new Feature Request,
—
Reply to this email directly, view it on GitHub
https://github.com/ollo69/ha-smartthinq-sensors/issues/403#issuecomment-1368098794,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALW2IZ2GKTLXPR6B22VSQ3TWP5JJTANCNFSM6AAAAAASFA6ZAY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Humidifier entity in HA do not support fan speed but only modes, that should be already be implemented. In any case please attach diagnostic so that I can check feature provided by your device and understand if something can be done.

I see about the modes. Could I create two modes that are attached with changing the fan speed? The mode pulldown only offers “smart”.
From: ollo69 @.>
Sent: Friday, December 30, 2022 4:55 PM
To: ollo69/ha-smartthinq-sensors @.>
Cc: NateGze @.>; Author @.>
Subject: Re: [ollo69/ha-smartthinq-sensors] Dehumidifier Fan Speed (Issue #403)
Humidifier entity in HA do not support fan speed but only modes https://developers.home-assistant.io/docs/core/entity/humidifier#modes , that should be already be implemented. In any case please attach diagnostic so that I can check feature provided by your device and understand if something can be done.
—
Reply to this email directly, view it on GitHub https://github.com/ollo69/ha-smartthinq-sensors/issues/403#issuecomment-1368137291 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ALW2IZ3GVC4DERJK37YOJW3WP6AABANCNFSM6AAAAAASFA6ZAY .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ALW2IZZH4JJHC2UHOBNL6GDWP6AABA5CNFSM6AAAAAASFA6ZA2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSRRQPEW.gif Message ID: @.*** @.***> >
{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2022.12.8",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.10.7",
"docker": true,
"arch": "aarch64",
"timezone": "America/Los_Angeles",
"os_name": "Linux",
"os_version": "5.15.76-v8",
"supervisor": "2022.12.1",
"host_os": "Home Assistant OS 9.4",
"docker_version": "20.10.19",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {
"matter_experimental": {
"version": "0.3.0",
"requirements": [
"python-matter-server==0.3.0"
]
},
"smartthinq_sensors": {
"version": "0.27.1",
"requirements": [
"pycountry>=20.7.3",
"xmltodict>=0.12.0",
"cchardet>=2.1.7"
]
},
"blueair": {
"version": "1.0.0",
"requirements": []
},
"pyscript": {
"version": "1.3.3",
"requirements": [
"croniter==1.3.4",
"watchdog==2.1.6"
]
},
"hacs": {
"version": "1.29.0",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"hubitat": {
"version": "0.8.3",
"requirements": [
"hubitatmaker>=0.6.1,<0.7.0"
]
},
"purpleair": {
"version": "2.0.1",
"requirements": []
},
"ecovent": {
"version": "0.0.9",
"requirements": []
},
"coway": {
"version": "0.1.6",
"requirements": [
"cowayaio==0.1.5"
]
},
"huesyncbox": {
"version": "1.23.0",
"requirements": [
"aiohuesyncbox==0.0.21"
]
},
"airthings_cloud": {
"version": "0.2.1",
"requirements": []
}
},
"integration_manifest": {
"domain": "smartthinq_sensors",
"name": "SmartThinQ LGE Sensors",
"integration_type": "hub",
"documentation": "https://github.com/ollo69/ha-smartthinq-sensors",
"issue_tracker": "https://github.com/ollo69/ha-smartthinq-sensors/issues",
"dependencies": [],
"codeowners": [
@."

}
},
"support.pacModeExt": {
"_comment": "FuncSync_PAC\ufffd\ufffd\ufffd",
"data_type": "enum",
"value_mapping": {
"0": @."
}
},
"support.sacSubMode": {
"_comment": "FuncSync_SAC\ufffd\ufffd\ufffd",
"data_type": "enum",
"value_mapping": {
"0": @."
}
},
"support.reserve": {
"data_type": "enum",
"value_mapping": {
"0": @.",
"5": @._OFF_ON_TIME",
"6": @._SCHEDULER",
"9": @._SIMPLE_TIMER_DHUM_8"
}
},
"support.light": {
"data_type": "enum",
"value_mapping": {
"0": @."
}
},
"support.airState.tempState.unit": {
"data_type": "enum",
"value_mapping": {
"0": @."
}
},
"support.tempCtrl": {
"data_type": "enum",
"value_mapping": {
"0": @."
}
},
"support.airState.groupType": {
"data_type": "enum",
"value_mapping": {
"0": @.",
"1": @.",
"3": @.",
"4": @."
}
},
"support.accumMode": {
"data_type": "enum",
"value_mapping": {
"0": @._SUPPORT"
}
},
"support.mFilter": {
"data_type": "enum",
"value_mapping": {
"0": @."
}
},
"support.airPolution": {
"data_type": "enum",
"value_mapping": {
"0": @.",
"8": @._MONITORING_SET_SUPPORT"
}
},
"support.airState.notification.detailList": {
"data_type": "enum",
"value_mapping": {
"0": @.",
"1": @.",
"17": @._HIGH_HUMIDITY"
}
},
"support.airState.filterMngState.desorption": {
"data_type": "enum",
"value_mapping": {
"0": @."

}
},
"airState.energy.totalCurrent": {
"data_type": "range",
"default": 0,
"value_validation": {
"min": 0,
"max": 40
}
}
},
"ControlDevice": [
{
"ctrlKey": "basicCtrl",
"comment": "\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd-\ufffd\u2ebb\ufffd\ufffd\ufffd\ufffd, \ufffd\ufffd\ufffd\ufffd\ufffd\ufffd, \ufffd\u0676\ufffd\ufffd\ufffd\ufffd\ufffd, \ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd",
"command": "Operation|Get|Set",
"dataKey": "airState.operation|airState.opMode|airState.windStrength|airState.humidity.desired",
"dataValue": "{%airState.operation%}|{%airState.opMode%}|{%airState.windStrength%}|{%airState.humidity.desired%}"
},
{
"ctrlKey": "reservationCtrl",
"comment": "\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd-\ufffd\ufffd\ufffd\ufffd",
"command": "Get|Set",
"dataSetList": {
"airState.reservation.targetTimeToStop": "{%airState.reservation.targetTimeToStop%}",
"airState.reservation.targetTimeToStart": "{%airState.reservation.targetTimeToStart%}",
"airState.reservation.sleepTime": "{%airState.reservation.sleepTime%}",
"airState.reservation.absoluteStopTime": "{%airState.reservation.absoluteStopTime%}",
"airState.reservation.absoluteStartTime": "{%airState.reservation.absoluteStartTime%}",
"airState.reservation.monOnTime": "{%airState.reservation.monOnTime%}",
"airState.reservation.monOffTime": "{%airState.reservation.monOffTime%}",
"airState.reservation.tueOnTime": "{%airState.reservation.tueOnTime%}",
"airState.reservation.tueOffTime": "{%airState.reservation.tueOffTime%}",
"airState.reservation.wedOnTime": "{%airState.reservation.wedOnTime%}",
"airState.reservation.wedOffTime": "{%airState.reservation.wedOffTime%}",
"airState.reservation.thuOnTime": "{%airState.reservation.thuOnTime%}",
"airState.reservation.thuOffTime": "{%airState.reservation.thuOffTime%}",
"airState.reservation.friOnTime": "{%airState.reservation.friOnTime%}",
"airState.reservation.friOffTime": "{%airState.reservation.friOffTime%}",
"airState.reservation.satOnTime": "{%airState.reservation.satOnTime%}",
"airState.reservation.satOffTime": "{%airState.reservation.satOffTime%}",
"airState.reservation.sunOnTime": "{%airState.reservation.sunOnTime%}",
"airState.reservation.sunOffTime": "{%airState.reservation.sunOffTime%}"
},
"dataGetList": [
"airState.reservation.targetTimeToStop",
"airState.reservation.targetTimeToStart",
"airState.reservation.sleepTime",
"airState.reservation.absoluteStopTime",
"airState.reservation.absoluteStartTime",
"airState.reservation.monOnTime",
"airState.reservation.monOffTime",
"airState.reservation.tueOnTime",
"airState.reservation.tueOffTime",
"airState.reservation.wedOnTime",
"airState.reservation.wedOffTime",
"airState.reservation.thuOnTime",
"airState.reservation.thuOffTime",
"airState.reservation.friOnTime",
"airState.reservation.friOffTime",
"airState.reservation.satOnTime",
"airState.reservation.satOffTime",
"airState.reservation.sunOnTime",
"airState.reservation.sunOffTime"
]
},
{
"ctrlKey": "remoteMon",
"comment": "\ufffd\ufffd\u0778\ufffd\ufffd\ufffd\u0378\ufffd",
"command": "Stop|Start"
},
{
"ctrlKey": "diagData",
"comment": "\ufffd\u06b0\ufffd\ufffd\ufffd\ufffd",
"command": "Get"
},
{
"ctrlKey": "energyStateCtrl",
"comment": "\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd \ufffd\ufffd\ufffd\ufffd\ufffd\ufffd \ufffd\ufffd\u0238",
"command": "Get|Set",
"dataKey": "airState.energy.inCurrent|airState.energy.outCurrent|airState.energy.totalCurrent",
"dataValue": "{%airState.energy.inCurrent%}|{%airState.energy.outCurrent%}|{%airState.energy.totalCurrent%}"
}
],
"SmartMode": {
"MODE010": {
"_comment": "\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd",
"actionName": @._ALARM_DHUM_MODE_W",
"control": [
{
"ctrlKey": "basicCtrl",
"command": "Set",
"dataKey": "airState.operation",
"dataValue": "0"
}
]
},
"MODE020": {
"_comment": "\ufffd\u0370\ufffd\ufffd\ufffd\ufffd",
"actionName": @._ALARM_DHUM_MODE_W",
"control": [
{}
]
},
"MODE030": {
"_comment": "\ufffd\u07b0\ufffd\ufffd\ufffd\ufffd",
"actionName": @._ALARM_DHUM_MODE_W",
"control": [
{
"ctrlKey": "basicCtrl",
"command": "Set",
"dataKey": "airState.operation",
"dataValue": "0"
}
]
},
"MODE040": {
"_comment": "\ufffd\ufffd\u0127\ufffd\ufffd\ufffd",
"actionName": @._ALARM_DHUM_MODE_W",
"control": [
{
"ctrlKey": "basicCtrl",
"command": "Set",
"dataKey": "airState.operation",
"dataValue": "0"
}
]
},
"MODE050": {
"_comment": "\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd",
"actionName": @._ALARM_DHUM_MODE_W",
"control": @._CONTROL"
}
},
"Exception": {
"comment": "\ufffd\ufffd\u04f8\ufffd\ufffd \ufffd\ufffd\ufffd\ufffd\ufffd\ufffd, \ufffd\u0676\ufffd\ufffd\ufffd\ufffd\ufffd \ufffd\ufffd\ufffd\ufffd\ufffd, \ufffd\ufffd\u04f8\ufffd\ufffd \ufffd\ufffd\ufffd\ufffd\ufffd\u0234\ufffd."

Awesome, thanks.
From: ollo69 @.>
Sent: Saturday, December 31, 2022 3:21 AM
To: ollo69/ha-smartthinq-sensors @.>
Cc: NateGze @.>; Author @.>
Subject: Re: [ollo69/ha-smartthinq-sensors] Dehumidifier Fan Speed (Issue #403)
I will think about this, It could be an option create an associated fan device to manage this.
—
Reply to this email directly, view it on GitHub https://github.com/ollo69/ha-smartthinq-sensors/issues/403#issuecomment-1368202605 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ALW2IZ7ZCUMVRD5CDCNZKILWQAJKTANCNFSM6AAAAAASFA6ZAY .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ALW2IZ6XY56TQFV6HVKHB23WQAJKTA5CNFSM6AAAAAASFA6ZA2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSRRUOW2.gif Message ID: @.*** @.***> >

I did some tests for this. As final solution I choose to allow to set fan speed as mode for device like yours that only allow a single operation mode. I think that this should be address as feature request to HA, asking to add the fan option for humidifier entity, this should be the best solution. I also tried to use climate as entity for dehumidifier, but result is not so good because primary (and mandatory) attribute for climate entity is temperature that obviously has nothing to do with dehumidifier.
New implementation will be available on next days when I will publish new release.

Happy new year! Thanks so much for looking into this and providing some
sort of solution. I look forward to seeing it in your next release. I
created a feature request for HA for this, feel free to upvote.
On Sun, Jan 1, 2023 at 2:51 PM ollo69 @.***> wrote:

I did some tests for this. As final solution I choose to allow to set fan
speed as mode for device like yours that only allow a single operation
mode. I think that this should be address as feature request to HA, asking
to add the fan option for humidifier entity, this should be the best
solution. I also tried to use climate as entity for dehumidifier, but
result is not so good because primary (and mandatory) attribute for climate
entity is temperature that obviously has nothing to do with dehumidifier.
New implementation will be available on next days when I will publish new
release.
—
Reply to this email directly, view it on GitHub
https://github.com/ollo69/ha-smartthinq-sensors/issues/403#issuecomment-1368555801,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALW2IZ3OQQFLGFIFXKPZEILWQIC6DANCNFSM6AAAAAASFA6ZAY
.
You are receiving this because you authored the thread.Message ID:
@.***>

New release is now available. Please test and give me your feed-back.

Hi, thanks, it works. Much appreciated for your efforts. The one quirk I may have found is that if you change the mode before you turn it on, it doesn’t register. It is always responsive to mode changes when it has already been switched on though. Thanks again.
From: ollo69 @.>
Sent: Monday, January 2, 2023 11:16 AM
To: ollo69/ha-smartthinq-sensors @.>
Cc: NateGze @.>; Author @.>
Subject: Re: [ollo69/ha-smartthinq-sensors] Dehumidifier Fan Speed (Issue #403)
New release is now available. Please test and give me your feed-back.
—
Reply to this email directly, view it on GitHub https://github.com/ollo69/ha-smartthinq-sensors/issues/403#issuecomment-1369158640 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ALW2IZ5GVFYEVECNEVGQSEDWQMSORANCNFSM6AAAAAASFA6ZAY .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ALW2IZ6P3VFPRVOWNRXGQTDWQMSORA5CNFSM6AAAAAASFA6ZA2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSRTOZ7A.gif Message ID: @.*** @.***> >

I close this, if you have additional request please open new thread.


Add ability to insert array spec

Fixes https://github.com/adobe-community/issues/issues/11066

👍

:+1:


Canceling out of clone from host details page takes me back to main host page

v0.21.2
Steps:

Create a host/machine
Click on host name to go to details page
From menu on right, select Clone
Click on Cancel

Results:
Takes me to the main host page
Expected:
Should take me back to the host details page

v0.51.0 - This is still an issue.

Version - master 3/15
Verified fixed


Application status on DRPolicy list page

On top of: https://github.com/red-hat-storage/odf-console/pull/147

/assign @bipuladh

/lgtm

/retest

/retest

/override ci/prow/odf-console-e2e-aws


The dependencies of the flutter_quill_extensions library are incompatible with gradle 8.

Is there an existing issue for this?

[X] I have searched the existing issues

Use case
The dependencies of the flutter_quill_extensions library are incompatible with gradle 8.
Proposal
The dependencies of the flutter_quill_extensions library are incompatible with gradle 8.

Hello there, on behalf the Flutter Quill Team I would like to thank you for opening your first issue. Your inputs and insights are valuable in shaping a stable and reliable version for all our users. Thank you for being part of the open-source community!

Is there an existing issue for this?

[x]  I have searched the existing issues

Use case
The dependencies of the flutter_quill_extensions library are incompatible with gradle 8.
Proposal
The dependencies of the flutter_quill_extensions library are incompatible with gradle 8.

Hi, thank you for the report, Do you mean the plugins?

Is there an existing issue for this?

[x]  I have searched the existing issues

Use case
The dependencies of the flutter_quill_extensions library are incompatible with gradle 8.
Proposal
The dependencies of the flutter_quill_extensions library are incompatible with gradle 8.

We are able to use all Flutter plugins with the newest versions of Kotlin, AGP 8.1.4, and gradle 8.5
But it requires us to change some configurations in build.gradle
Follow this gist for more info
Unfortunately, it's not up to us to fix this issue, we can only fix it from our side by removing it
If you have any other questions feel free to ask at any time.


Missing pre-requisites/permissions

Hi, Could we add the pre-requisites from https://learn.microsoft.com/en-us/azure/sentinel/connect-threat-intelligence-upload-api#prerequisites to this page? Thanks

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

ID: 22a27692-7760-d91c-1a2e-cb529e2c4cac
Version Independent ID: 7692c9a5-5c8f-baba-9aff-474e8bd8d166
Content: Import threat intelligence with the upload indicators API - Microsoft Sentinel
Content Source: articles/sentinel/upload-indicators-api.md
Service: microsoft-sentinel
GitHub Login: @austinmccollum
Microsoft Alias: austinmc

@acruz2021
Thanks for your feedback! We will investigate and update as appropriate.

#assign:austinmccollum

Thank you for the feedback! This page has been updated with the permissions required.

#please-close


Avatar local history shows the old used avatar instead of the new one

Avatar history is stored in the local database successfully and can be searched. It looks like it was just sorted wrong. Local history shows the same 100 avatars constantly.

Are they your own avatars? since the last update own avatars are no longer added to history but existing entries will remain.

Ah I'm surprised this went unnoticed till now.


Update version to 4.5.0-beta.1

As title.

We should merge it after this new tag created: spring-cloud-azure_4.4.0

@Netyyyy since @hui1110 will take care of this, you could close this PR now.


Support deploying Lambda functions depending on Lambda layers

What this PR does / why we need it:
Enabled to deploy Lambda functions which use layers.
The config is like below:
function.yaml
apiVersion: pipecd.dev/v1beta1
kind: LambdaFunction
spec:
  ...
  layers: # NEW ATTRIBUTE.  not necessary.
    - arn:aws:lambda:REGION:ACCOUNT_ID:layer:layer-A:3
    - arn:aws:lambda:REGION:ACCOUNT_ID:layer:layer-B:1

Which issue(s) this PR fixes:
Fixes #4803
Does this PR introduce a user-facing change?:  yes (addition only)

How are users affected by this change:  add attributes if needed
Is this breaking change: no
How to migrate (if breaking change): no

/review


Not really an issue, but a suggestion

Hi again!
Would it be possible to add an entity with the Confidence value of the selected Ionosonde?
Have a look on https://twitter.com/HB9VQQ/status/1667829304384802816?t=D7orJRQF3Iq0aOR-9PoSMw&s=08 (not me) to see a few ideas. Or in https://www.ursi.org/files/CommissionWebsites/INAG/web-73/confidence_score.pdf
Also would be nice to have a way to select how often I would like the MUF sensor to be updated, every 5 min, 10min, etc...
Great work you have done, 73.

hello, the confidence parameter for Ionosonde is very important, unfortunately I get the data from this API and I don't know which of these values it could be, I think it's the "cs": 80.0. Can you help me?
{ 		"md": "2.750", 		"mufd": 20.49, 		"fof2": 7.45, 		"fbes": null, 		"foes": null, 		"id": 13665684, 		"hmf1": 197.936, 		"station": { 			"name": "Poker Flat, AK, USA", 			"code": "PF765", 			"id": 114, 			"longitude": "212.55", 			"latitude": "65.13" 		}, 		"scalef2": 61.332, 		"foe": null, 		"yf2": 74.712, 		"cs": 80.0, 		"hme": 110.0, 		"he": null, 		"yf1": 76.908, 		"time": "2023-05-20T00:30:05", 		"tec": null, 		"fof1": 4.825, 		"hmf2": 307.369, 		"source": "giro", 		"hf2": 385.0 	},
As for the update time, it's a configuration that I wanted to include in the next releases, unfortunately I'm very busy with work this month, but I'll be able to develop it soon.
Thank you very much

Yes it is. As far as I can see, it is.
But it's easy to find if it is or not;
1- go to https://prop.kc2g.com/stations/
2- pickup a few ionosondes you know or not and check de confidence column
3- try to extract from api the CS value from the same ionosondes that you picked on step 2, if the values match, you have BINGO!
This would be my steps if I had skills to extract values from an api...
Hope it work.
Thanks for reply

Hi I've add new release only in beta for test nee feature:
Added Confidence sensor in Ionosonde Integration

Hi I've add new release only in beta for test new feature: Added Confidence sensor in Ionosonde Integration

Humm... Another thing to learn, "how to enable beta versions from a certain HACS Integration... Will check it out tomorrow.
Tks, 73

Hi,  in HACS you select Integrations and Ham Radio Propagation.
In this page you click the three dots at top right corner, the third item is something like "Download again" (sorry but i have italian translation) .
In the popup you can enable beta releases.
73'

@emics I already installed it, but I'm overloaded of work and, as at the first look, it was not working as expected I need to calm down on work and them I will have a look deeper on this issue around 26 or 27 of july.
Sorry...

Hi @emics , sorry about the late answer.
The ionosonde that is closer to my QTH is Spain - Roquetes.

Not really sure in who I can "trust more"... Your source is the same, right? If it is, why is it showing different values?
Another suggestion is that we can choose the update interval when we setup the integration, like every 5min, 10min, 30min.
73

In the next release i want add a parameter for update interval, but now i don't have time.
About the Confidence value there are different update time:

kc2g.com update data from 10 to 50 minutes
my web service update the data from kc2g.com site every 30 minutes
the Ham Radio Propagation integration update every hour

this is the true.


benchmarking

I want to try to bench this with another sqlite implementation.
I got this though when i ran it:

x-MacBook-Pro:sdk apple$ go test
../../../../../../github.com/cznic/virtual/stdio.go:17:2: no buildable Go source files in /Users/apple/workspace/go/src/github.com/cznic/ccir/libc/errno
../../../../../../github.com/cznic/virtual/pthread.go:12:2: no buildable Go source files in /Users/apple/workspace/go/src/github.com/cznic/ccir/libc/pthread
../../../../../../github.com/cznic/virtual/stdio.go:18:2: no buildable Go source files in /Users/apple/workspace/go/src/github.com/cznic/ccir/libc/stdio
../../../../../../github.com/cznic/sqlite/sqlite.go:66:2: no buildable Go source files in /Users/apple/workspace/go/src/github.com/cznic/sqlite/internal/bin
x-MacBook-Pro:sdk apple$

The code:

package main

import (
	"database/sql"
	"fmt"
	"log"
	"os"

	// _ "github.com/mattn/go-sqlite3"

	_ "github.com/cznic/sqlite"
)

// Rundb does ...
func Rundb() {

	// pump log into "t3"

	os.Remove("./foo.db")

	db, err := sql.Open("sqlite3", "./foo.db")
	if err != nil {
		log.Fatal(err)
	}
	defer db.Close()

	sqlStmt := `
	create table foo (id integer not null primary key, name text);
	delete from foo;
	`
	_, err = db.Exec(sqlStmt)
	if err != nil {
		log.Printf("%q: %s\n", err, sqlStmt)
		return
	}

	tx, err := db.Begin()
	if err != nil {
		log.Fatal(err)
	}
	stmt, err := tx.Prepare("insert into foo(id, name) values(?, ?)")
	if err != nil {
		log.Fatal(err)
	}
	defer stmt.Close()
	for i := 0; i < 100; i++ {
		_, err = stmt.Exec(i, fmt.Sprintf("こんにちわ世界%03d", i))
		if err != nil {
			log.Fatal(err)
		}
	}
	tx.Commit()

	rows, err := db.Query("select id, name from foo")
	if err != nil {
		log.Fatal(err)
	}
	defer rows.Close()
	for rows.Next() {
		var id int
		var name string
		err = rows.Scan(&id, &name)
		if err != nil {
			log.Fatal(err)
		}
		fmt.Println(id, name)
	}
	err = rows.Err()
	if err != nil {
		log.Fatal(err)
	}

	stmt, err = db.Prepare("select name from foo where id = ?")
	if err != nil {
		log.Fatal(err)
	}
	defer stmt.Close()
	var name string
	err = stmt.QueryRow("3").Scan(&name)
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(name)

	_, err = db.Exec("delete from foo")
	if err != nil {
		log.Fatal(err)
	}

	_, err = db.Exec("insert into foo(id, name) values(1, 'foo'), (2, 'bar'), (3, 'baz')")
	if err != nil {
		log.Fatal(err)
	}

	rows, err = db.Query("select id, name from foo")
	if err != nil {
		log.Fatal(err)
	}
	defer rows.Close()
	for rows.Next() {
		var id int
		var name string
		err = rows.Scan(&id, &name)
		if err != nil {
			log.Fatal(err)
		}
		fmt.Println(id, name)
	}
	err = rows.Err()
	if err != nil {
		log.Fatal(err)
	}
}

From the documentation

Supported platforms and architectures
See http://github.com/cznic/ccir. To add a newly supported os/arch combination to this package try running 'go generate'.

Following the links we finally get

Supported platforms and architectures
In GOOS_GOARCH form
linux_amd64
linux_386
If you can access a machine with a not yet supported os/arch and you would like to contribute to porting this package, you may want to start by trying
$ cd $GOPATH/github.com/cznic/ccir/libc
$ go generate
Please fill an issue for the port and let's discuss it there.

We are looking for developers and maintainers of not yet supported ports. It would be definitely nice to support Darwin. Do you perhaps want to try to contribute the port? In this case it is possibly much easier than the effort required to create the Windows port (which is now 99.9% ready thanks to @steffengy).
In any case, you would not like the numbers any benchmark can give you now. This project ATM interprets the sqlite C code in a VM. I guess being slower than native code at least a hundred times is what one can reasonably expect. With some heavy optimization it can maybe be lowered to only one order of magnitude slower. What I'm trying to point out is that the current VM implementation helps mainly in preparing a reliable toolchain and a platform for the final goal: transforming the IR code into Go code. Only then can be the driver expected to perform comparably to via cgo called sqlite driver.
Anyway, for some applications even the VM implementation can be possibly useful already. And some optimizations are already being developed and tested. There is some low hanging fruit around.

As a side node:
For only running SQLite it MIGHT be enough
to just reuse the linux build by copying internal/bin/bin_linux_amd64.go to internal/bin/bin_darwin_amd64.go.
This might work since the mac and linux kernel are atleast similar, but no guarantees.

@cznic @steffengy
thanks for the help !

I made a "$GOPATH/src/github.com/cznic/sqlite/internal/bin/bin_darwin_amd64.go" with a copy from the internal/bin/bin_linux_amd64.go

Then the go generate for $GOPATH/src/github.com/cznic/ccir:

x-MacBook-Pro:libc apple$ pwd
/Users/apple/workspace/go/src/github.com/cznic/ccir/libc
x-MacBook-Pro:libc apple$ go generate
../../virtual/stdio.go:17:2: no buildable Go source files in /Users/apple/workspace/go/src/github.com/cznic/ccir/libc/errno
../../virtual/pthread.go:12:2: no buildable Go source files in /Users/apple/workspace/go/src/github.com/cznic/ccir/libc/pthread
../../virtual/stdio.go:18:2: no buildable Go source files in /Users/apple/workspace/go/src/github.com/cznic/ccir/libc/stdio
libc.go:1: running "go": exit status 1
x-MacBook-Pro:libc apple$

Then i went further down this rabbit hole.
$GOPATH/src/github.com/cznic/ccir
seems to be used and in there there are no darwin files so i guess it fails at that level ?
But i saw that the files inside the libc folder are GOARCH specific, so how to generate darwin ones. ?? hmmmm.
like i said out of my depth on this one. :)
Non of you have an OSX machine ?

I make this issue, since i now get that its dependent on this:
https://github.com/cznic/ccir/issues/3

I made a "$GOPATH/src/github.com/cznic/sqlite/internal/bin/bin_darwin_amd64.go" with a copy from the internal/bin/bin_linux_amd64.go

This won't fix go generate for ccir.
This will only allow you to build sqlite (by using go build/go test there,
since you skip the process the bin file is usually created)

@joeblew99 Plase see my reply at cznic/ccir#3.

I made a "$GOPATH/src/github.com/cznic/sqlite/internal/bin/bin_darwin_amd64.go" with a copy from the internal/bin/bin_linux_amd64.go

FTR: I doubt that can work. Even if all of the required syscalls may exist on both platforms, their numbering differ sometimes even between different architectures of the same OS.

FTR: I doubt that can work. Even if all of the required syscalls may exist on both platforms, their numbering differ sometimes even between different architectures of the same OS.

I do too, just saying it's possible with a bit of luck

You're right. It's very easy to try the luck that way. But I would be scared to potentially call random syscalls on my machine ;-)

@cznic shoudl this be closed now, since it open cznic/ccir#3.

It can be closed, but we can also keep it open until the OP can run his benchmarks on Darwin. I have no strong opinion here.

adios then. Benchmarking is not the issue, but darwin is.


[ENH] Change fitted estimators and ensemble collections from protected to public

Describe the feature or idea you want to propose
Currently in a lot of estimators we fit an sklearn estimator i.e. _estimator or form an ensemble of estimators i.e. _ensemble or _classifiers but these are protected (starting with an _).
Theres not much reason for them to be protected IMO.
Describe your proposed solution
Change fitted estimator attributes from protected to public using our fitted attribute convention i.e. from _estimator to estimator_.
These should then be properly documented in the estimator docstring under "Attributes"
Describe alternatives you've considered, if relevant
No response
Additional context
No response

see https://github.com/aeon-toolkit/aeon/pull/2350 for an example

can you assign this issue to me

@aeon-actions-bot assign @aryan0931

@vedpawar2254 the comment has to be made in a new post, just saw this now. See the contributor guide on the webpage.

yes I am working on that.


Disabled stash count calculation when EnableStashStatus is $false.

The stash count calculation was taking several seconds. I updated Get-GitStatus to skip the calculation if the EnableStashStatus setting is $false.

I swear we were checking this at one point... Odd.
Thanks for the fix!


deadlock

BlackParrot should not block on these FIFOs, instead the counters should be checked, and if an attempt to a read an empty or write a full fifo should complete in AXI-land without stalling. This is how we separate the two systems and prevent deadlock. In particular, restrictions inside BP about only handling one transaction at a time mean that we could have PS waiting on PL/BP and PL/BP waiting on PS.
https://github.com/black-parrot-hdk/zynq-parrot/blob/877fb71c9b1e4a1623c6593786f7402ec93e6ddf/cosim/black-parrot-example/v/top_zynq.sv#L344

Fixed with #13

Leaving open, since BP still blocks on read/write. I still contend the correct solution is to make PS read counters for outgoing I/O to BP, since that will prevent the system from hanging for all possible PL implementations

Not sure I understand. The processor as AXIL client is not something I've seen on any other core. That port is used for config regs (non-blocking) and coherent memory access. In all other cores, backdoor access is achieved by bypassing the core entirely and connecting to the AXI bus (non-coherent). That is achievable without any change to BP.
Non-blocking coherent backdoor access is trickier. It would require adding message types or message flags to the bedrock protocol, so that we know to return rather than block

What you describe is not coherent with the L2 caches.
M
On Wed, Jan 12, 2022 at 5:53 PM Dan Petrisko @.***>
wrote:

Not sure I understand. The processor as AXIL client is not something I've
seen on any other core. That port is used for config regs (non-blocking)
and coherent memory access. In all other cores, backdoor access is achieved
by bypassing the core entirely and connecting to the AXI bus
(non-coherent). That is achievable without any change to BP.
Non-blocking coherent backdoor access is trickier. It would require adding
message types or message flags to the bedrock protocol, so that we know to
return rather than block
—
Reply to this email directly, view it on GitHub
https://github.com/black-parrot-hdk/zynq-parrot/issues/19#issuecomment-1011660327,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEFG5ADB2GFGM5XVSDKUGGTUVYWB7ANCNFSM5JVWBQBA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yes, hence why I specified non-coherent and then discussed coherency.

I believe the agreed upon solution is that BP should not be interacting
with I/O devices that causes potentially indefinite stalls...
On Wed, Jan 12, 2022 at 9:01 PM Dan Petrisko @.***>
wrote:

Yes, hence why I specified non-coherent and then discussed coherency.
—
Reply to this email directly, view it on GitHub
https://github.com/black-parrot-hdk/zynq-parrot/issues/19#issuecomment-1011798144,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEFG5AHEYOFBD6PNJJYCSL3UVZMEFANCNFSM5JVWBQBA
.
You are receiving this because you authored the thread.Message ID:
@.***>

We support both blocking and non-blocking devices nowadays, though black-parrot-minimal-example and black-parrot-example -- closing


Popups of tray icons always displayed behind window

When clicking on a tray icon (blueman-applet, nm-applet) its popup opens but is only properly clickable when no windows is opened on the workspace. When any window is opened the popup is opened behind that window and you can't do anything useful with it. You can see that it's opened by looking at the bar, there will be a small white frame underneath the tray icon - that's the upper border of the popup.
Is this a configuration issue on my side or something related to recent changes on sway/wayland or waybar? I'm using sway (not sway-git) and waybar-git on archlinux.

Should be fixed as https://github.com/swaywm/sway/pull/4781 is merged :)


Ditch kernel functions for point masses

The kernel functions for gravity fields of point sources were just one line functions with a lot of docstrings and their own tests. We are not using them outsides the actual gravity forward modelling functions for point masses, so it might be better to remove them. We can always restore them if we find a use case for them.
Relevant issues/PRs:
Fixes #38

Weeeeeell turns out we needed this for dipole inversions in https://github.com/compgeolab/micromag-euler-dipole/blob/main/code/micromag.py#L284 🤦🏾
Should we add this back (tests will be covered by the gravity tests) or use the gravity functions divided by G?

Haha, if they were useful, we can get them back. The only reason to remove them was that we didn't thought a use case for them. Would you like to open a PR that reverts this PR? I'll be glad if the tests are simpler.


Latest changes have broken home assistant

See home-assistant/core#42653 - I can reproduce the problem (HA can receive and update light statuses but can't send any commands to the Lutron Smart Bridge).
I think it boils down to the client tag not being used correctly in this library.  The intent behind the client tag is that each client uses the same tag for every single request.  We should pick something like PYLUTRON_CASETA or something recognizable rather than a random GUID each time.  It also means we can't use the client tag in order to recognize responses to specific requests.
Fun fact, some Lutron devices (like connect bridges) actually have a maximum number of distinct clients that can connect due to the nature of the legacy hardware that it interacts with (HWQS Proc and RRA2 Main Repeater), and after a fairly small number of messages actually starts rejecting everything.

This is going to require a fairly hefty refactor given that the client tag is being used to pair requests and responses in a way that was never intended by the Lutron bridge, so I don't really have time to tackle it.  The response is supposed to be paired to the request by matching the ReadResponse to the ReadRequest on the same href with the same client tag.  If the same client sends two requests really quickly, you can't be sure which response was triggered by which request.

Are you sure? I have been using this version for weeks and I have restarted Home Assistant many times because I have been testing other things without encountering any startup issues.
In general, the client tag pattern usually allows the client to pass any arbitrary data so that it can associate returned response messages with the client-side operations. At least last I checked, the Android app works the same way, and sends many different client tag values.
If the user were having the problem you describe where sending multiple simultaneous requests causes the bridge to send multiple responses with the same client tag, the user would be receiving "Was not expecting message with tag" errors in the log.
Also, in any case it does not make sense that it would hang this way. Smartbridge implements a five second timeout for every request to the bridge, including the setup requests, so it should not be possible for setup to hang in this way.
More likely, this has always been broken, just not in a way the user noticed. IIRC in the old version, certain requests sent during initialization did not receive a response. It should be possible to tell by enabling debug mode and analyzing the messages sent and received, but also it might be possible to tell by simply disconnecting the bridge from the network, waiting for the connection timeout to occur, and checking the logged stacks for BridgeDisconnectedException.
It wouldn't be too much of a refactor to always use the same tag and only submit one request at a time, but I don't think it will help, and it could have a noticeable performance impact. The older code also sent unlimited simultaneous requests and did not track how many where in progress. If you want to for testing, in LeapProtocol.request, replace tag = str(uuid.uuid4()) with something constant, and put an asyncio.Lock around the self._writer.write(text + b"\r\n") and return await future`. This leaves all the other code in place for now, but limits the client to one request at a time and using a stable tag value.

Probably related to home-assistant/core#42620

@chrisaljoudi Do you have occupancy sensors and they aren't working, but everything else is?

@mdonoughe yep. I suspect the issue is that _request is used for subscribing to occupancy sensor events (which get the client tag returned and are not ‘unsolicited’), and _request only expects one “response” for any message it writes (obviously untrue of a subscription 😊).
See this where each future is setup to expect exactly one response.
Also see this where the presence of a tag (in this case one we currently include in the subscription request) makes those occupancy status events neither unsolicited nor “expected” (and are thus dropped with the unexpected tag error we’re seeing).

Before 0.7, all messages were unsolicited. In pylutron_caseta 0.7.0 expects that the occupancy group updates will not be tagged, the same as the light updates. That's not right.

This isn't the updates, it's the subscribe request to send occupancy group updates. That looks like the problem.
It should probably only look for responses to ReadRequest messages (don't go strictly by client tag).

@swails do you still think there will be problems? I think all the reported issues have been fixed by 0.7.1 and I haven't been noticing stability issues running this code for longer, but I "only" have 12 lights, 1 switch, and one "ceiling fan" (it's just a ceiling fan switch in a single gang electrical box).
It would probably be possible to correlate requests through other means to have less reliance on tags, but if client tags are supposed to work as you say (ie each client always uses the same tag) we could not use a "PYLUTRON_CASETA" tag because the only logical purpose of having such a tag at that point, since the client has already identified itself to the bridge by using its TLS client certificate, would be if responses were broadcast to all clients and the client needed to filter out messages from other clients. In that case, using "PYLUTRON_CASETA" would cause problems if two instances of pylutron_caseta were used to connect to the same bridge at the same time.
In the Android app, at least sometimes, ClientTag is generated by concatenating a client device ID and an incrementing number, so it should be safe to use a different ClientTag value on every request unless the bridge is parsing the ClientTag (possible, but bad software design). Additionally, the client ID may actually be a random UUID generated at app installation, in which case the tags generated by the app could be larger than the tags generated by pylutron_caseta, so there shouldn't be any issues with the size of the tags.

If the android app is using unique client tags then it's probably fine.
The only system I knew was sensitive to client tags was the connect bridge, which provides some caseta functionality to the legacy RA2 and HWQS systems. But that was because of the proc it connected to, not the bridge itself. I was never fully clear on how that tag was meant to be used, so I just adopted the one-tag-per-client rule needed for connect bridges.
I can try 0.7.1 with my system to see if it fixes the issue (I also have occ sensors, which is why it didn't work for me before).

I've just added an occupancy sensor to my setup and it stops reporting, or home assistant stops receiving, status updates. I can still control lights after the sensor stops working. Restarting home assistant fixes it for a while. Can I provide any assistance?

Do you get anything in the logs? Do the sensor changes still show up in the Android app?

I'm on home assistant 117.2, and my logs show when it breaks with the following:
LEAP session ended. Reconnecting...
8:35:17 AM – /home/ha/Downloads/homeassistant/lib/python3.7/site-packages/pylutron_caseta/smartbridge.py (WARNING) - message first occurred at November 3, 2020, 2:10:09 PM and shows up 6 times

ping was not answered. closing connection.
8:35:15 AM – /home/ha/Downloads/homeassistant/lib/python3.7/site-packages/pylutron_caseta/smartbridge.py (WARNING) - message first occurred at November 3, 2020, 2:10:08 PM and shows up 6 times

Let me know if there's additional logging I can/should turn on. The sensor changes show up in the lutron app after they stop showing in home assistant.

What's interesting is that the status updates from the occupancy sensor stop at the first occurrence of this message, but the bridge must be successfully reconnected thereafter because light commands continue to work and light statuses continue to be updated - so it seems the monitor of occupancy events is not being restarted after the connection is lost and re-established.

That is an interesting theory, but I think the problem is more complicated. Smartbridge._monitor_once is called every time a connection is established to the Caséta bridge, and that spins off a task which subscribes to the occupancy group status, and the subscription from Home Assistant does not get cleared, so it is still there and should still be getting called.
However, Smartbridge._process_occupancy_group replaces all the values in self.occupancy_groups every time it is run. This sounds similar to a problem Home Assistant had before, where it was taking a reference to a dictionary owned by pylutron_caseta, subscribing to the change events and looking at the dictionary it picked up originally, but somewhere in between pylutron_caseta had replaced that dictionary with a different one. Sure enough, in the Home Assistant code I can see the integration is doing the same thing in this case.
I don't think this is a new bug in 0.7 or Home Assistant 0.117. From the code history it looks like the problem has been there since support for occupancy groups was originally added. I don't know if nobody complained earlier because they don't use occupancy groups, because they just restart Home Assistant when it breaks, or because their bridges don't get disconnected often enough for them to notice.
I'll fix it the same way as last time this kind of bug happened. _process_occupancy_group should merge the updated status with the existing status.

Can you try the code change in #65? I usually copy the lutron_caseta integration from Home Assistant into my custom_integrations folder and change the manifest to reference the Git repo (eg https://github.com/mdonoughe/home-assistant/commit/a51dc2f8add6ddb14dabf206ad1979d188626b91) and then Home Assistant downloads the updated code into deps on startup.

Sure I'll test it out now leave it running, as soon as I see a LEAP session ended / ping timeout in the log I'll try triggering the occupancy sensor and check the status in HA.
Entirely possible this existed for some time but most people have their HA hardwired and/or more stable connection than I do, and therefore do not see the issue as frequently. I myself cannot go a whole day without it breaking though!

Has Home Assistant been working better with the updated pylutron_caseta?

Isn't it always the case, I made the code change to test but there hasn't been any disconnects occurred to know for sure. I guess I could pull the ethernet to the bridge for a moment?

Okay, pulled the ethernet got the log message disconnected and reconnecting, plugged it back in and triggered the occupancy sensor - state change showed up in HA. All is good thanks for your help @mdonoughe


Appendix table header is missing a background

The URL : https://choosealicense.com/appendix/
The bug :

Please make the sticky header more readable.


Fix endpoint restore to support changing gateway addresses

With the planned rebased of Kubernetes, the allocator will start allocating random IPs. This will cause the gateway IP to be random across agent restarts. The internal plumbing of endpoints being restored need to be fixed up to be able to switch over to a new gateway.

Fixed


Modify code to allow user to change the Vienna user agent name using defaults write

If the user executes:
defaults write uk.co.opencommunity.vienna2 UserAgentName Bern

The user agent name reported by Vienna will change from Vienna to Bern.
This pull request allows the user to fix bug #1357, if needed.
The docs (CONTRIBUTING.md -> Spotify Objective-C Coding Style) say to use 4 spaces for indentation, but in Preferences.h the surrounding code uses tabs. I opted to follow the docs, but in retrospect that may not have been the best decision because it looks funky.
If you have any problems with this pull request let me know and I'll redo it.
Thanks,
Neil

I think a restart and that some settings do not have a GUI are acceptable trade-offs for advanced options like this. There is no major browser where you can easily find an option to change the user agent, and most users don't want to do it. In good operating systems, the GUI is limited to few of the options available, because all of them would overwhelm users and probably make the GUI unusable. I therefore advocate for this kind of implementation, without judging its quality, because I haven't reviewed the code

If the others accept it, would you also integrate this into the webkit browser? You find everything about it in PR #1312

Thanks for the approval.


fix(tts): Added zero shot parameters to talk.py

@atomer-nvidia please rebase on top of release/2.15.0 branch

@atomer-nvidia please rebase on top of release/2.15.0 branch

Done


[5.8] Fix allow serialize igbinary

This PR aims to fix #26186 adding the ability to configure the PredisConnector to use igBinary serializer.
Backward compatible
It is backward compatible, or at least does not brake anything, by moving the serialize/unserialize functionality into the Connectors. That way, any connector without it's own serializer can use the native PHP one. Predis itself will use the native serialization if no specific one is set.

What are PHPRedis' "Native" serialize / unserialize functions? Isn't this a breaking change if they are different than serialize unserialize PHP functions?

Closing pending inactivity.

Sorry, didn't have an opportunity to respond to this during the weekend but I did have a chance to look a little deeper into this.
I mistakenly thought both libraries serialized by default but that is not the case. phpredis for instance has the Redis::SERIALIZER_NONE option. So I will look into that being set as the default for that connector and look into the broken tests.

@taylorotwell Is there a way for me to look at the output from TracisCi again ?

@Dudemullet https://travis-ci.org/laravel/framework/builds/524787361

Thank you @driesvints


Remove dead and unused code.

I removed all commands, and a lot of things that related to them.

@petterarvidsson ready for critical eyes!

@nsg :+1:


State of this project

Hello,
I would like to inquire about the state of this project. Last release was in the fall of last year, and even current master does not seem to support ruby 3.1.2 released in April of this year. Please don't take this in a pushy way, I'm just curious before I import this into our workspace.
Thanks

Please check out the README. We are desperately looking for more maintainers. Want to help? Go for it.

As I have a regular job, my time for this project is now very sporadic. We very much welcome more contributors.

Note: Apache 2 license was chosen I believe to match the Bazels license.
If Bazel changes theirs so Da  we.

I guess I will send few cleanup patches and then ask you to consider a new release (both to signal that this is alive and to get support for 3.1 into a release).

Once it's ready, of course.

Is some contributor license agreement required for this project or submitting code under current license is enough? If yes, where could I find it (to get it cleared by our legal)?

I'll look into adding that. Thanks for bringing it to my attention. You could help by letting us know what your legal considers a red flag vs not.

Final question I have is regarding a code of conduct. Questions about it should
be send to<EMAIL_ADDRESS>Or is that address supposed to be used only for reporting violations? If yes, where would the appropriate venue be?

You can send it directly to me at kigster AT gmail.com.
Thanks.

https://github.com/bazelruby/rules_ruby/discussions/146


gcc-arm-embedded: fix ncurses for gdb

Motivation for this change
These expressions simply grab pre-built 32-bit binaries and the provided GDB requires ncurses 5 instead of ncurses 6.
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[x] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Applied to master (6f1f1d86c1f6a82b44099d744cc52d150321e07e) and release-16.09 (0de7eeb3728252682e9d59d59592bc1c82aadfb7). Thanks.


CreepJS/CloudFlare detection.

CreepJS:

ServiceWorkerGlobalScope: Windows platformVersion 8.1.1 does not match user agent version Windows 8.1 (64-bit)
navigator.webdriver is on: true (webdriver in "undefined", when legit browser has "false")
deviceMemory: available memory 3.5Gb is greater than device memory 1GB.

CloudFlare: Can't bypass UAM page. (example: admin.kingblue.xyz)

All of this is complete apart from the Cloudflare site. I was not seeing success there. I think they might be using QUIC to complete the conversation, which is going to be a large effort. I'm going to split that off into a new ticket


Issue cred loading button on submit, image copyright

Forgot to add the spinner when submitting a cred offer, so it doesn't look like the form is stalled while the post call goes.
Also need copyright image on the cover image. Can't add to images since it can be off the screen based on aspect ratio so overlay. Added structure for this as a user configurable option.

Very weird, I can lint and build without issue, but running frontend npm run dev I had an issue with:
The following dependencies are imported but could not be resolved:

  vue-json-pretty/types/utils (imported by /Users/jason/github/bcgov/traction/services/tenant-ui/frontend/src/components/issuance/offerCredential/EnterCredentialValues.vue?id=0)

removing the unused import "fixed" it...
import { emitError } from 'vue-json-pretty/types/utils';

not sure if you hit anything like that.  what's even weirder is putting that line back in hot-loaded just fine. 🤷
Should probably remove that line; maybe others will encounter the same weirdness.

@usingtechnology thanks for finding, didn't get any error on my end so might chalk it up to weird Vite stuff that happens sometimes. Regardless it's unused so should come out yeah 👍


Setup a CI system

TerraFX does not currently have any CI system configured. One should be setup so that pull requests can ve validated to not exist the current state of the repository.

The azure-pipelines.yml script now exists.
Still todo:

Windows fails because something is trying to run against Microsoft.NETCore.App v2.1.0
Ubuntu 16.04 jobs are failing with Invalid file path '/home/vsts/work/1/s'.
README.MD needs status badges
PRs should trigger CI and display the status
PRs should require jobs to pass before merging

This should now be complete. There are likely further improvements that can be made, such as not triggering CI for new documentation files, but that can be tracked separately.


Cannot find reference 'mesh_core_cython' in 'imported module mm3d.mesh.cython'

I have run 'python setup.py build_ext -i' and 'python setup.py install' commands, but there is still error 'Cannot find reference 'mesh_core_cython' in 'imported module mm3d.mesh.cython'  in  mm3d.mesh.render.py, how can I solve this?

I have the same question, too!


fgrep vs ag

--Hi,
just a single test on my computer with 32 cores(Intel Xeon E5-2650 @ 2.60GHz)
and 128 Gb of ram, using 8Gb text file:<PHONE_NUMBER> big_file.txt
time ag --nocolor --workers=1 --parallel hello big_file.txt
33554432:hello1073741824
67108864:hello2147483648
100663296:hello3221225472
134217728:hello4294967296
167772160:hello5368709120
201326592:hello6442450944
234881024:hello7516192768
268435456:hello
real    0m32.217s
user    0m30.928s
sys     0m1.249s
export LC_LOCAL=C
time fgrep -n hello big_file.txt
33554432:hello1073741824
67108864:hello2147483648
100663296:hello3221225472
134217728:hello4294967296
167772160:hello5368709120
201326592:hello6442450944
234881024:hello7516192768
268435456:hello
real    0m9.071s
user    0m7.790s
sys     0m0.936s
it seems that fgrep is faster than ag !

First, this is not the use-case ag was designed for. If you want to search a single huge file, just use grep. Many of ag's tricks (such as threads and ignore files) can't be used for a single file.
Second, I don't get anything like these results on my system. 90% of the time, people creating issues saying, "It's slower." are mistaken. Either they're not benchmarking correctly (multiple runs, hot vs cold caches, etc), or they're testing different things (counting line numbers vs not).
And finally, I can't see what the problem is if you don't give profiling info. It would really help to see output from Valgrind, gprof, instruments.app, or something similar.

it's not a mistake, i 've just remade the test:
date: Wed Mar 18 18:32:37 CET 2015
time ag --nocolor --workers=1 --parallel hello big_file.txt
33554432:hello1073741824
67108864:hello2147483648
100663296:hello3221225472
134217728:hello4294967296
167772160:hello5368709120
201326592:hello6442450944
234881024:hello7516192768
268435456:hello
real    1m56.401s
user    0m32.936s
sys     0m3.036s
here you have to set the variable to speed up grep search: export LC_LOCAL=C
time fgrep -n hello big_file.txt
33554432:hello1073741824
67108864:hello2147483648
100663296:hello3221225472
134217728:hello4294967296
167772160:hello5368709120
201326592:hello6442450944
234881024:hello7516192768
268435456:hello
real    0m9.208s
user    0m7.889s
sys     0m1.196s
I just measure the computation time with /usr/bin/time, I'm not trying to compare fgrep code vs ag code. It's just a fact, that's all, and it's not a problem if ag is slower than fgrep.

@ggreer I can reproduce @lmanchon experiment.. I went ahead and profiled with gprof and callgrind.
Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total
 time   seconds   seconds    calls   s/call   s/call  name
 74.33     15.75    15.75        1    15.75    15.75  print_file_matches
 25.67     21.19     5.44        9     0.60     0.60  boyer_moore_strncasestr
  0.00     21.19     0.00       25     0.00     0.00  log_debug
  0.00     21.19     0.00       10     0.00     0.00  ag_asprintf
  0.00     21.19     0.00       10     0.00     0.00  free_strings
  0.00     21.19     0.00        7     0.00     0.00  load_ignore_patterns
  0.00     21.19     0.00        6     0.00     0.00  ag_malloc
  0.00     21.19     0.00        5     0.00     0.00  ag_strdup
  0.00     21.19     0.00        4     0.00     0.00  ag_calloc
  0.00     21.19     0.00        2     0.00     0.00  ag_realloc
  0.00     21.19     0.00        2     0.00     0.00  cleanup_ignore

And interesting callgrind output
--------------------------------------------------------------------------------
             Ir
--------------------------------------------------------------------------------
178,420,829,018  PROGRAM TOTALS

             Ir  file:function
--------------------------------------------------------------------------------
149,786,985,268  src/print.c:print_file_matches [./the_silver_searcher.git/ag]
 28,633,115,349  src/util.c:boyer_moore_strncasestr [./the_silver_searcher.git/ag]
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
-- Auto-annotated source: src/util.c
--------------------------------------------------------------------------------
             .  /* Copy-pasted from above. Yes I know this is bad. One day I might even fix it. */
             .  const char *boyer_moore_strncasestr(const char *s, const char *find, const size_t s_len, const size_t f_len,
           144                                      const size_t alpha_skip_lookup[], const size_t *find_skip_lookup) {
           456  => ???:mcount (9x)
             .      ssize_t i;
            18      size_t pos = f_len - 1;
             .
 3,579,139,360      while (pos < s_len) {
14,316,557,720          for (i = f_len - 1; i >= 0 && tolower(s[pos]) == find[i]; pos--, i--) {
            56  => ???:__ctype_tolower_loc (8x)
             .          }
             .          if (i < 0) {
            72              return s + pos + 1;
             .          }
10,737,418,026          pos += ag_max(alpha_skip_lookup[(unsigned char)s[pos]], find_skip_lookup[i]);

--------------------------------------------------------------------------------
-- Auto-annotated source: src/print.c
--------------------------------------------------------------------------------
<skip>

             5      context_prev_lines = ag_calloc(sizeof(char *), (opts.before + 1));
           211  => ./the_silver_searcher.git/src/util.c:ag_calloc (1x)
             .
51,271,171,273      for (i = 0; i <= buf_len && (cur_match < matches_len || lines_since_last_match <= opts.after); i++) {
25,769,803,362          if (cur_match < matches_len && i == matches[cur_match].start) {

<skip>

25,769,803,362          if (cur_match < matches_len && i == matches[cur_match].end) {
             .              /* We found the end of a match. */
            24              cur_match++;
             8              in_a_match = FALSE;
             .          }
             .
             .          /* We found the end of a line. */
26,306,674,274          if (buf[i] == '\n' && opts.before > 0) {
             .              if (context_prev_lines[last_prev_line] != NULL) {
             .                  free(context_prev_lines[last_prev_line]);
             .              }
             .              /* We don't want to strcpy the \n */
             .              context_prev_lines[last_prev_line] = ag_strndup(&buf[prev_line_offset], i - prev_line_offset);
             .              last_prev_line = (last_prev_line + 1) % opts.before;
             .          }
             .
16,642,997,996          if (buf[i] == '\n' || i == buf_len) {

<skip>

   536,870,896              } else if (lines_since_last_match <= opts.after) {
             .                  /* print context after matching line */
             .                  if (opts.print_path == PATH_PRINT_EACH_LINE) {
             .                      print_path(path, ':');
             .                  }
             .                  print_line_number(line, sep);
             .
             .                  for (j = prev_line_offset; j < i; j++) {
             .                      fputc(buf[j], out_fd);
             .                  }
             .                  fputc('\n', out_fd);
             .              }
             .
   536,870,912              prev_line_offset = i + 1; /* skip the newline */
   268,435,456              line++;
   805,306,368              if (!in_a_match && lines_since_last_match < INT_MAX) {
   805,306,368                  lines_since_last_match++;
             .              }
             .              /* File doesn't end with a newline. Print one so the output is pretty. */
   536,870,912              if (i == buf_len && buf[i] != '\n' && !opts.search_stream) {

@lmanchon By default "ag" is doing a case insensitive search and calling boyer_moore_strncasestr because the query is all lowercase. I was surprised to find that by default it will call boyer_moore_strncasestr for lowercase literal searches. @ggreer Wouldn't that make it slower in the nominal case?
    if (opts.casing == CASE_SMART) {
        opts.casing = is_lowercase(opts.query) ? CASE_INSENSITIVE : CASE_SENSITIVE;
    }

ack does not default to CASE_SMART:
http://linux.die.net/man/1/ack
--smart-case, --no-smart-case
    Ignore case in the search strings if PATTERN contains no uppercase characters. This is similar to "smartcase" in vim. This option is off by default.

@lmanchon Can you try with CASE_SENSITIVE search and see if it makes a difference?
 ./ag --nocolor -s --workers=1 --parallel hello big_file.txt

time ag --nocolor -s --workers=1 --parallel hello big_file.txt
33554432:hello1073741824
67108864:hello2147483648
100663296:hello3221225472
134217728:hello4294967296
167772160:hello5368709120
201326592:hello6442450944
234881024:hello7516192768
268435456:hello
real    2m25.652s
user    0m51.915s
sys     0m5.996s
--> even slower
out of curiosity I also tested with ack:
time ack --nopager -H --smart-case hello big_file.txt
big_file.txt
33554432:hello1073741824
67108864:hello2147483648
100663296:hello3221225472
134217728:hello4294967296
167772160:hello5368709120
201326592:hello6442450944
234881024:hello7516192768
268435456:hello
real    8m4.676s
user    7m58.358s
sys     0m4.306s
--> it's the worse

@lmanchon @ggreer using PGO (profile guided optimizations) improve the performance of ag by 33% down to ~20 seconds from ~30 seconds on this particular benchmark. fgrep is still the fastest with 5.1 seconds


ACL: Fix cluster revision for MACL

Cluster revision was updated in the spec when MACL was added, SDK was not.

What about the other two clusters mentioned in https://github.com/project-chip/connectedhomeip/issues/35670? Are they covered by side-loading the TH files mentioned there?


How to call any method of action provider from another react component which is not a widget?

I have react component "Somefile.jsx" from where I am calling  component of react-chatbot-kit. In Somefile.jsx I am calling "abc" method using setInterval to check session timeout. on 6th and 8th min of chat I want to display some session messages in chatbot using createChatbotMessage method. But we cant call this method in Somefile.jsx, because its not declared as widget. Can you please help me with this?
e.g
class ActionProvidder{
....
..
abc(idleTime){
if(idleTime == 6) ---> display msg in chatbot
}
}
In another file Somefile.jsx
class Somefile extends react.Component{
   how to call abc() here ???

......
<Chatbot config={config} actionProvide={ActionProvider} messageParser={MessageParsser}
}

I'm not an expert, but why not try to use contextAPI. Since its parent, and contextAPI is easy to use.  Set actionProvider as globalActionProvider in contextAPI state. so you can access it anywhere. Or any other state manager.


Get Fama French factors from empyrical?

As explained in this alphalens issue, it's a common need to be able to call up the Fama French factors for research or modelling purposes, so it sounds like empyrical should provide stable, reliable support to those factors.
Is there scope to replicate code from pyfolio in empyrical's utils.py?

Closed by #56


"Unable to connect to world" PS4

Hi, the server I've been connecting to has been upgraded and now I cannot access it using the same method with PS4 and phantom. Other players using PS4 have been able to access it and I'm certain I'm doing nothing differently - I'm using v0.1.1 which was working before.
Any ideas?

did anything change with your firewall?

whats the error message you are getting?

Hi, I don't think anything has changed about firewall and the message I get is after clicking to connect on PS4, it says "unable to connect to world" even though the script is all correct on command prompt

I've tried refreshing / restarting, deleting saved data, signing in to microsoft again and installing different versions of phantom - nothing is working

what port are you using?

also, have you tried disabling windows firewall completely (as a test) to see if it works?

also, what version minecraft server are you using and what version minecraft do you have installed?

Port: 19132
I haven't tried disabling firewall yet but the script seems to be fine and it's detected as a local server on the PS4, it just won't connect to the world
And Minecraft version 1.95 I think, the most recent PS4 version

was the update that was installed the server version update or the ps4 version update or the script update?

The update was just a change of port and IP address so that the server had more memory - it hasn't effected the world at all because others have managed to join, I'm just unable to connect to it for some reason

is the server on a local computer?

The server is hosted by someone on a different computer, not locally, and I had been using Phantom to connect to it which was working fine before the change of IP and port

what version of phantom are you using now?

V 0.1.1 works in the command prompt btw, and is detected by the PS4 - it just doesn't connect to the world

are you able to get ahold of the launch script for one of the other players to see if theres anything different they are doing?

They've just sent over their launch script and it looks identical to mine; I think the fault is with the PS4 connecting and have no idea how to fix that

@jhead is there a way to induce a log of what is happening?

Hey @gravyboat500ml, unfortunately I can't help debug v0.1.1. You'll need to update to the latest version to troubleshoot. Once you update, it'd be helpful if you could copy/paste or screenshot the logs from phantom.

The update was just a change of port and IP address

The fact that the server's IP/port changed before this issue started happening might suggest that this is a networking issue between your computer and the server.

What software and version is the server running?
Where is the server located? a PC in your house? a PC in a friend's house? a server provider?
Have you tried connecting to the server directly with Windows 10 edition?

What software and version is the server running? (Still Need)
Where is the server located? a PC in your house? a PC in a friend's house? a server provider? ( Sounds like a PC at a friends house)
Have you tried connecting to the server directly with Windows 10 edition? (other players seem to be able to connect some using an identical script.)

@gravyboat500ml
in the update you were given, did you change the script or were you provided a new script?
i ask because if you were given a new script, you may need to reconfigure your firewall to allow THAT application through as your previous script will have been registered as a "different" application. i would also see if running the script your buddies provided for comparison works as well. this is all sounding more and more like a firewall issue tbh. keep us updated.

We reverted back to the other server and I was able to connect fine using the same process with command but have tried again to use a better server and cannot connect. I don't think it's a firewall issue because the script is running fine on command, and it's detected by the PS4 but will not connect. We'll likely stick to the old server and put up with the lag, but thanks for the help anyway!

 I've been working on addressing some of these issues and I'm hoping they're fixed now.
https://github.com/jhead/phantom/releases

@jhead still unable to connect on same ve
rsion :(

Have you tried any of these methods to fix this error: Minecraft Unable To Connect To World

Have you tried any of these methods to fix this error: Minecraft Unable To Connect To World


Inconsistent State Updates for Planner Steps

Description
The planner-generated steps within Sirji do not consistently update their status to 'running' or 'completed'. This inconsistency affects the overall task tracking.

Closing this issue as it is not needed anymore.


v1.0 Obsidian upgrade truncates some filenames in file listing

Some but not all file/folder names in the file list sidebar are missing the first few characters. See screenshot

@chrisbunch - I have updated the theme to be compatible with the 1.0 release of obsidian. This is a complete rewrite and because I don't have much time for updates, I've tried to simplify things and have really made this mostly a UI theme rather than adjusting any text.

Thank you!
Chris

On 30 Oct 2022, at 19:23, SeanWcom @.***> wrote:
@chrisbunch https://github.com/chrisbunch - I have updated the theme to be compatible with the 1.0 release of obsidian. This is a complete rewrite and because I don't have much time for updates, I've tried to simplify things and have really made this mostly a UI theme rather than adjusting any text.
—
Reply to this email directly, view it on GitHub https://github.com/seanwcom/Red-Graphite-for-Obsidian/issues/19#issuecomment-1296332293, or unsubscribe https://github.com/notifications/unsubscribe-auth/AELLO7WZ2LH3GHYBU2HCJKLWF3DLRANCNFSM6AAAAAARL462NQ.
You are receiving this because you were mentioned.


(Multi Account Dashboard): (Show logs from diff accounts in the same dashboard)

Describe the feature
We would like to have a feature where the logs from multiple accounts can be shown in the same dashboard on central account via centralized logging with OpenSearch.
Use Case
For example, the CLO of a central account imports CloudFront logs from two accounts (A1, A2). The customer wants a dashboard where the request charts for A1 and A2 can appear on one dashboard. In this way, the Request History bar chart can have two legends - one for A1's request count and the other for A2's request count.

Proposed Solution
No response
Other Information
No response
Solution version used
v1.0.0

I am assuming you are trying to merge logs in the same format into the dashboard. To achieve this, you can ingest the same format of logs (e.g., CloudFront access logs) into the same index. Here are some ways to do this, and we plan to make it easier in future versions.
Step 1: Ingest logs into the same index (same dashboard).
There are two ways to ingest logs from multiple resources into the same index. The first one create less resources, and the second one is more automatic. The cost is same for both approach.
Approach 1: Put logs under the same prefix on S3, and create one log ingestion pipeline
Assume you want to save all CloudFront logs in the same S3 bucket (logging bucket). And the logging bucket is in the same region and same AWS account as the CLO solution.

Configure the CloudFront distribution in account A. For example, you can specify the prefix as clo/cloudfront/<account-a-id>/
Configure the log output for CloudFront distribution in account B, and save to the same prefix, for example clo/cloudfront/<account-b-id>/
Create an CloudFront log ingestion pipeline on the CLO console, and choose Manual when you select the CloudFront distribution.
Input an identifier in the CloudFront Distribution ID, it is just used for identification purpose. For example,merged-logs.
In CloudFront Standard Log location, input the prefix which includes both of your CloudFront distributions logs, for example, s3://logging-bucket/clo/cloudfront/. Please remember to replace logging bucket and the prefix with your own value.

By using this approach, you can ingest logs belongs to multiple CloudFront into the same index, and use the same dashboard to visualize the logs.
Approach 2: Use multiple log ingestion pipeline, and put logs in the same index in OpenSearch.
Assume you have followed the cross-account ingestion, and imported multiple logs.

Create an CloudFront log ingestion pipeline on the CLO console for CloudFront A, and choose Automatic. The CLO will detect the log location of the CloudFront automatically, and if the log output is not enabled, it will allow you to enable the standard logs.
In the Step 3: Specify OpenSearch domain, click to expand the Additional settings.
Change the value for Index Prefix. For example, merged-logs.
Create the log ingestion pipeline for CloudFront A.
Create another CloudFront log ingestion pipeline for CloudFront B. Please do not forget to select the right account in Step 1: Specify settings.
In *Step 3: Specify OpenSearch domain, choose No for Sample dashboard.
expand the Additional settings, and input the sample value in Index Prefix. For example, merged-logs.
Create the log ingestion pipeline for CloudFront B.

By using the above approach, you create multiple log ingestion pipelines and upload logs in the sample index (same dashboard) in OpenSearch.
Step 2: Add filter in the dashboard
If you want to filter logs only belongs to one CloudFront distribution, you should consider add some filters in the built-in dashboard.

Open the OpenSearch Dashboards, and find the dashboard created by CLO.
Click the Edit button on the top right corner, and choose Create new.
Choose Controls from the popup window.
On the Controls panel, select Option list, and click the Add button.
Input a value for Control Label.
Select the corresponding Index Pattern. The CLO has already created that for you. For example merged-logs-cloudfront-*.
Select cs-host.keyword in the Field.
Click the Update button at the right bottom corner.

Select the Save, button, and input a title value for the visualization.
By default, the visualization will be appended to the bottom of the dashboard. We recommend you to drag to the up.

Can I ask where cs-host.keyword is defined in Step 2:7?

Hi, @wanggold. When you create the CloudFront log analytics pipeline, you have an option to create a pre-defined CloudFront monitoring dashboard. If you enable this option, the solution will help to you create those definitions, including index mapping template, visuals, dashboard.


cloudbank - logging API disabled meaning no GKE pod and container logs

Context
Not sure if this is deliberate but when investigating I'm not seeing much in the GKE logs (and it looks configured for system and workloads) for Cloudbank ccsf. Anyone any idea why k8s_pod and k8s_container resource logging just seems to vanish unless I look further back in time
https://2i2c.freshdesk.com/a/tickets/567
https://cloudlogging.app.goo.gl/3WZVnnZmAxvZxPmF6
Via troubleshooting guide I see vs a working cluster logging API is not enabled https://cloud.google.com/kubernetes-engine/docs/troubleshooting/troubleshooting-gke-logging
 gcloud services list --enabled --filter="NAME=logging.googleapis.com"
Listed 0 items.

Proposal
No response
Updates and actions
No response

Web link for enabling is https://console.cloud.google.com/apis/library/logging.googleapis.com?project=cb-1003-1696 however I want to understand why this cluster differs. Possibly need to update https://infrastructure.2i2c.org/en/latest/hub-deployment-guide/new-cluster/new-cluster.html

I don't think this was intentional, I think we should enable it!

Auditing - Callysto, also required it enabled and I have done so but all other GCP projects have Cloud Logging API on. Doc update PR coming

Enabling made container logs come back.
https://cloudlogging.app.goo.gl/S9Rz15drPUrG7KaAA

@consideRatio see the earlier link re costing for default retention of container logs 30 days it should be free https://cloud.google.com/stackdriver/pricing#logging-costs
Looking at MEOM or LEAP LEAP has a smalll log spike for a day or two in Feb that might be somethign unrelated but cost less than 3 dollars. I think this is safe from a cost risk on GCP at least

@consideRatio see the earlier link re costing for default retention of container logs 30 days it should be free https://cloud.google.com/stackdriver/pricing#logging-costs

Yes but we still pay for the ingestion cost, 0.5 USD/GB of logs stashed away. I've seen this cost go up to over 1k USD due to a larger set of containers spamming logs.

Filed #2394 to enable APIs consistently through automation not through docs


Coverage remained the same at 60.078% when pulling a7784f2788e5a9b3b8a95c3a06d7405913d469a8 on stgleb:fix_digitalocean_flannel into 2d71bb88b281886001ce1f3e4bfdf5a564b35c75 on supergiant:master.


Revert "[FEAT]: resume waiting/running, dedup on tuner side (TPE-only)"

Reverts microsoft/nni#4931

/azp run full test - NAS

/azp run full test - compression

/azp run integration test - local - linux


Clears pre-existing server messages on page before FE validation runs

Clears inner HTML of any server error notes before starting/re-starting FE validation.
If there is a case where legitimate server-side only validation needs to happen (checking for uniqueness in DB for example), any FE error messages were being incorrectly appended to the existing span causing messages to run together.
As errors are only shown one at a time, this clears the existing span before running FE validation again.
Also adds additional aria attributes for alert role to spans created by MVC error messages, which solved accessibility issues on some devices.

Thanks for picking this up @sarah-storm. This update did cause a side effect when there were no server-side error containers - throwing when trying to remove a non-existing node - but I think I have a fix.
One part of the bug is that we're using the errorNode property for error message removal but it is always initialised empty, not collecting server-rendered errors. Another part is that we're using DOM nodes for client-side error containers + messages and textNodes for messages in serverErrorNodes (to avoid XSS from innerHTML), but when the error messages are server-rendered they're strings.
I think it's cleanest if we can collect the server-rendered error into the (renamed) errorNode property and separate error clearing for serverErrorNodes (just innerHTML = '') and client-side errors (remove error container node). I've made an update that does this and added a few tests.
Since we came to an agreement on the error message rendering the other day I think this will close #47 as well. I've added some additional tests to firm up how this works and add a safety net for future work, and updated the readme to improve error message documentation.


[Automation] - Adding real cluster support for Imported Generic tests

Summary
Fixes #
Adds support for using a real cluster during imported cluster tests.
Occurred changes and/or fixed issues
Updating the init.sh script to use a k3s cluster package to create a single node cluster. The information is then stored in the corral configuration for later use.
Technical notes summary
After creating the cluster the updates to the corral package will allow the imported cluster create test to use it.
Both PRs depend on each other.
https://github.com/rancher/dashboard/pull/10726
Areas or cases that should be tested
Jenkins pipeline
Checklist

[ ] The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
[x] The PR has a Milestone
[x] The PR template has been filled out
[x] The PR has been self reviewed
[x] The PR has a reviewer assigned
[x] The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
[ ] The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

Rebased and the Jenkinsfile is updated to delete the new resource.


Nightly CI runs often fail

Nightly runs often fail bc the testing data cannot be downloaded properly. Example traceback:
Traceback (most recent call last):
  File "/home/circleci/miniforge/lib/python3.8/site-packages/openneuro/download.py", line 241, in _download_files
    await asyncio.gather(*download_tasks)
  File "/home/circleci/miniforge/lib/python3.8/site-packages/openneuro/download.py", line 146, in _download_file
    async with (
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_client.py", line 1830, in __aenter__
    self.response = await self.client.send(
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_client.py", line 1406, in send
    response = await self._send_handling_auth(
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_client.py", line 1444, in _send_handling_auth
    response = await self._send_handling_redirects(
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_client.py", line 1476, in _send_handling_redirects
    response = await self._send_single_request(request, timeout)
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_client.py", line 1502, in _send_single_request
    (status_code, headers, stream, ext,) = await transport.arequest(
  File "/home/circleci/miniforge/lib/python3.8/contextlib.py", line 131, in __exit__
    self.gen.throw(type, value, traceback)
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_exceptions.py", line 343, in map_exceptions
    raise mapped_exc(message, **kwargs) from exc  # type: ignore
httpx.ConnectTimeout

This needs to be addressed upstream in openneuro-py: currently it will auto-retry with an exponential backoff only for server responses indicating server overload etc.; but all timeouts are set to, I believe, 5 seconds. We need to retry also in case of an exceeded timeout.

Another one:
Traceback (most recent call last):
  File "tests/run_tests.py", line 120, in <module>
    run_tests(test_suite, download=download)
  File "tests/run_tests.py", line 73, in run_tests
    fetch(dataset)
  File "tests/run_tests.py", line 16, in fetch
    main(dataset)
  File "/home/circleci/project/tests/download_test_data.py", line 69, in main
    _download(ds_name=ds_name, ds_path=ds_path)
  File "/home/circleci/project/tests/download_test_data.py", line 50, in _download
    download_func(ds_name=ds_name, ds_path=ds_path)
  File "/home/circleci/project/tests/download_test_data.py", line 34, in _download_via_openneuro
    openneuro.download(dataset=DATASET_OPTIONS[ds_name]['openneuro'],
  File "/home/circleci/miniforge/lib/python3.8/site-packages/openneuro/download.py", line 297, in download
    metadata = _get_download_metadata(base_url=default_base_url,
  File "/home/circleci/miniforge/lib/python3.8/site-packages/openneuro/download.py", line 41, in _get_download_metadata
    response = httpx.get(url)
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_api.py", line 181, in get
    return request(
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_api.py", line 93, in request
    return client.request(
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_client.py", line 733, in request
    return self.send(
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_client.py", line 767, in send
    response = self._send_handling_auth(
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_client.py", line 805, in _send_handling_auth
    response = self._send_handling_redirects(
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_client.py", line 837, in _send_handling_redirects
    response = self._send_single_request(request, timeout)
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_client.py", line 861, in _send_single_request
    (status_code, headers, stream, ext) = transport.request(
  File "/home/circleci/miniforge/lib/python3.8/contextlib.py", line 131, in __exit__
    self.gen.throw(type, value, traceback)
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_exceptions.py", line 343, in map_exceptions
    raise mapped_exc(message, **kwargs) from exc  # type: ignore
httpx.ReadTimeout: The read operation timed out

Another one:
Traceback (most recent call last):
  File "tests/run_tests.py", line 120, in <module>
    run_tests(test_suite, download=download)
  File "tests/run_tests.py", line 73, in run_tests
    fetch(dataset)
  File "tests/run_tests.py", line 16, in fetch
    main(dataset)
  File "/home/circleci/project/tests/download_test_data.py", line 69, in main
    _download(ds_name=ds_name, ds_path=ds_path)
  File "/home/circleci/project/tests/download_test_data.py", line 50, in _download
    download_func(ds_name=ds_name, ds_path=ds_path)
  File "/home/circleci/project/tests/download_test_data.py", line 34, in _download_via_openneuro
    openneuro.download(dataset=DATASET_OPTIONS[ds_name]['openneuro'],
  File "/home/circleci/miniforge/lib/python3.8/site-packages/openneuro/download.py", line 297, in download
    metadata = _get_download_metadata(base_url=default_base_url,
  File "/home/circleci/miniforge/lib/python3.8/site-packages/openneuro/download.py", line 41, in _get_download_metadata
    response = httpx.get(url)
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_api.py", line 181, in get
    return request(
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_api.py", line 93, in request
    return client.request(
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_client.py", line 733, in request
    return self.send(
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_client.py", line 767, in send
    response = self._send_handling_auth(
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_client.py", line 805, in _send_handling_auth
    response = self._send_handling_redirects(
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_client.py", line 837, in _send_handling_redirects
    response = self._send_single_request(request, timeout)
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_client.py", line 861, in _send_single_request
    (status_code, headers, stream, ext) = transport.request(
  File "/home/circleci/miniforge/lib/python3.8/contextlib.py", line 131, in __exit__
    self.gen.throw(type, value, traceback)
  File "/home/circleci/miniforge/lib/python3.8/site-packages/httpx/_exceptions.py", line 343, in map_exceptions
    raise mapped_exc(message, **kwargs) from exc  # type: ignore
httpx.ReadTimeout: The read operation timed out

I'm addressing this in https://github.com/hoechenberger/openneuro-py/pull/29
We're already using this branch for downloading our testing data. Seems to be working nicely so far!!

I'm addressing this in https://github.com/hoechenberger/openneuro-py/pull/29
We're already using this branch for downloading our testing data. Seems to be working nicely so far!!


Added profile to website for Daniel Laskewitz

Creating my profile in cloud-developer-advocates

Docs Build status updates of commit 02f40ac:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

advocates/daniel-laskewitz.yml
:white_check_mark:Succeeded
View

advocates/media/profiles/daniel-laskewitz.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


ORC-672: FIX ORC type conversion within arrays where array.length >1024

What changes were proposed in this pull request?
Orc type conversion is throwing ArrayIndexOutOfBoundsException when using ColumnVectors larger than 1024.
The issue is originating from the ConvertTreeReaderFactory where we convert types always using the default CV length instead of the specific batch size.
Why are the changes needed?
This PR takes into account batchSize when converting types and adds tests for all possible type conversions (with large batchSize) as part of TestConvertTreeReaderFactory.
How was this patch tested?
TestConvertTreeReaderFactory

Merged to branch-1.5. Thanks!


Plan for missing functionalities : 1) Mapping with keeping original one 2) Hold Command+Q

I am a fan of two functionalities mentioned in the subject:

I used to map Command R to Command + Space with keeping Command available. By doing this, I could change the input method as well as using Command itself too.
Hold Command+Q to quit application. It makes me make less mistakes of using command+Q.

Are you planning to implement these two or there any ways to do these in karabiner elements?
Thanks for your support.

Yes, I am interested in #2.


add Default Schema on load

having a default schema show on load would be helpful to show what the tool does for someone coming to the site and provide an example of a schema

added a simple default schema as the initial state


Decoupling from WordPress

Summary
In continuation with the epic https://github.com/google/web-stories-wp/issues/2918 "Editor Decoupling", I propose that the decoupling should be done in the following four steps.
1. Move all WordPress-related code from story-editor to wp-story-editor.
As story-editor package is supposed to be the core editor, it should be free from any WordPress-related code so that it can easily be integrated with any third-party platform. In this step, we would only remove any WordPress-specific code from the story-editor package and this task can be broken down into the following sub-tasks.

[ ] Move all REST API requests logic to wp-story-editor and use more platform-agnostic names for WordPress-specific HTTP headers like X-WP-* used in REST requests
[ ] Move PostLock and StatusCheck components as they are WordPress specific.
[x] Move the “Story Published” dialog to wp-story-editor package.
[ ] Move WordPress media modal logic ( wp.media ) to wp-story-editor.
[ ] Move meta boxes to wp-story-editor.

2. Move all WordPress-related code from dashboard to wp-dashboard.
Since the dashboard package has a similar code pattern to some extent, our learnings from step 1 would be helpful to move WordPress-specific code to the wp-dashboard package. It may need the following work.

[ ] Refactor dashboard ApiProvider similar to story-editor  ApiProvider and move all REST API requests logic to wp-dashboard
[ ] Handling dashboard settings ( analytics, video optimization, etc )
[ ] Handling on "use template” button

3. Prepare an Integration layer API to allow the editor to be integrated with any third-party platform.
After completing step-1 and 2, we should naturally have an integration layer of the core editor and core dashboard with WordPress. However, it would still require some additional tasks for the editor to be integrated with any other platform ( Require Discussion ).

[ ] If there is a need to provide additional configuration/callbacks to handle preview in a non-WordPress environment.
[ ] Maybe provide additional props like onSave, onChange, value, onError, onLoad from the main StoryEditor component.
[ ] Add documentation and maybe some logic to ensure that the REST response is in the expected format provided by the callbacks for both story-editor and dashboard.
[ ] Maybe add bare minimum code to use only filters ( addFilter, applyFilters ) to allow overriding some components like MediaUpload and MetaBoxes from their custom integration ( like wp-story-editor in case of WordPress )
[ ] Maybe introduce our own implementation of Slot/Fill to allow third-party platforms to add additional controls/settings/UI in the editor.

4. Prepare to publish the packages.

[ ] Since the packages can be used outside the scope of WordPress now, we should remove wp- from the package names / find a better name.
[ ] https://github.com/google/web-stories-wp/issues/8577 (due to license)
[ ] Solve any package publishing conundrum.
[ ] Try a basic story-editor integration with some third-party CMS/platform to understand gaps and improvements required.

References
Related Issues and PRs
https://github.com/google/web-stories-wp/issues/4737
https://github.com/google/web-stories-wp/pull/8573
https://github.com/google/web-stories-wp/pull/8561
https://github.com/google/web-stories-wp/pull/8646

I moved the summary here to #2918 as that epic actually has sub-tasks attached to it and is the existing go-to reference for all decoupling work.


DD-1551 Add dependency health checks to dd-transfer-to-vault

Fixes DD-1551 Add dependency health checks to dd-transfer-to-vault
Description of changes
Add two http connection HealthChecks to dd-transfer-to-vault

Data-Vault-connection-check checks connection to: url: http://localhost:20365
Vault-Catalog-connection-check checks connection to:  url: http://localhost:20305

when the connection is failed:

an Error will be add to the log file. Example:
ERROR [2024-07-14 17:00:52,660] nl.knaw.dans.ttv.health.HttpConnectionHealthCheck: Http health check against url=http://localhost:20365 failed with response=HttpHealthResponse{status=404, body='{"code":404,"message":"HTTP 404 Not Found"}'}
It will be mentioned in the admin healthy check monitor page. Example;

How to test
navigate to the modules and run start scripts In the terminal tabs:

~/git/dans-core-systems/modules/dd-transfer-to-vault>  start-env.sh

~/git/dans-core-systems/modules/dd-transfer-to-vault>  start-hsqldb-server.sh

~/git/dans-core-systems/modules/dd-transfer-to-vault>  start-service.sh

~/git/dans-core-systems/modules/dd-vault-catalog> start-env.sh

~/git/dans-core-systems/modules/dd-vault-catalog> start-service.sh

~/git/dans-core-systems/modules/dd-vault-catalog> start-hsqldb-server.sh

To run next service, see Docs/dev.md. It is also possible to run following commands without those steps from documentation and see the connection error message in admin web page and dd-transfer-to-vault log file

~/git/dans-core-systems/modules/dd-data-vault> start-env.sh

~/git/dans-core-systems/modules/dd-data-vault> start-hsqldb-server.sh

~/git/dans-core-systems/modules/dd-data-vault> start-service.sh

Monitoring:

dd-transfer-to-vault.log file in the data folder of the dd-transfer-to-vault module
admin web page

Related PRs
(Add links)

Notify
@DANS-KNAW/core-systems

The HttpConnectionHealthCheck is redundant. It doesn't add any functionality. The error-log statement would not warrant a whole new class. Besides, unhealthy states are logged by DropWizaard in any case.
Please, remove this extra class and just register instances of HttpHealtCheck.

Done!

@aliassheikh : works fine now. FYI, dropwizard does log an error if the healthcheck returns unhealthy, so the the error you logged earlier was indeed redundant.
ERROR [2024-07-16 15:37:13,324] io.dropwizard.health.HealthCheckManager: A critical dependency is now unhealthy: name=Data-Vault-connection-check, type=READY


Path traversal and per site configuration

This is half a question and half a feature request.
The question: what is the recommended way to define per website (say IIS-hosted) configuration, especially with multiple instances of the same application?
My first goal was to have a single build output (and deploy). This is trivially solved if you build each instance separately (simply modify a published config file).
At first it seemed env. variables were meant for that... but they are per machine by default. You can also define per processes env. variables in web.config, but that is overwritten by each deployment.
My solution: store some config outside the deployment folder (one level higher). Works nicely.
But implementing that required hacking some configuration provider, because the default file-based providers prevent path-traversal (going higher than base path) and you have to set base path to project.json if you want to use User secrets in dev.
Which leads to the feature request: why is hacking required here?
PhysicalFileProvider doesn't offer a way to disable path-traversing checks. Why not? I should be able to opt-out when I know what I'm doing. Alternatively, it doesn't offer a way to override this, everything being non-virtual. So short of writing my own file access, there is no solution (well... I did it slightly differently, but anyway).
If we could configure this, I could pass a traversal-enabled instance to SetFileProvider.
Or why not enable it by default (for Configuration, of course, not always)? I understand the security risks of path traversal from external http requests, but the configuration is just accessing a handful of hardcoded paths.

@jods4 thanks for posting this. I think I understand your request but let me know if I don't.
FYI, for RTM we are re-enabling absolute paths but not path traversal, i.e. not specifying a relative path that goes any number of levels up.
I agree we should consider enabling path traversal for configuration files again, and we will keep this item here for that.
In the meanwhile, I wonder if the fact that we support absolute paths could help. E.g. could you compute the absolute path outside of configuration and pass it to configuration?

@divega Thanks for your answer!
This is not a critical issue because it can be worked around by passing a different PhysicalFileProvider rooted higher to AddJsonFile().
Another possible improvement could be accepting an optional path to project.json when calling AddUserSecrets(). That way, one could set the base path one level higher.
As for absolute paths: I am sure it will help with some scenarios (there is a shared config or a licence file somewhere specific on the server), but not mine unfortunately :disappointed:
My goal is to have different configurations for the same deployment on the same machine. An absolute path would point to the same file for everyone...

@HaoK what's the resolution? Is there an improvement coming or did you drop the idea of having a path-traversal enabled file provider for configuration?

@jods4 We closed the issue because we don't have plans to make this easier than the workaround you mentioned at https://github.com/aspnet/Configuration/issues/464#issuecomment-225824439. If we get additional customer feedback that demonstrates that it is important to make it easier we can revisit the decision.
Sorry we were not explicit about the reason the issue was being closed cc @HaoK