It seems "FailMasterPromotionOnLagMinutes" didn't work

Hi,
ochestrator 3.2.6,I set "FailMasterPromotionOnLagMinutes": 15 and "DelayMasterPromotionIfSQLThreadNotUpToDate": true.
With semi-sync topology, how long it will waiting for SQL thread to cathch up to date?I found that the orchestrator will stop io_thread and sql_thread on candidate replica,so it will never catch up.
Could you tell me why, I would be very grateful!
config as below:
{
"Debug": true,
"EnableSyslog": false,
"ListenAddress": ":3000",
"MySQLTopologyUser": "xxx",
"MySQLTopologyPassword": "xxx",
"MySQLTopologyCredentialsConfigFile": "",
"MySQLTopologySSLPrivateKeyFile": "",
"MySQLTopologySSLCertFile": "",
"MySQLTopologySSLCAFile": "",
"MySQLTopologySSLSkipVerify": true,
"MySQLTopologyUseMutualTLS": false,
"MySQLOrchestratorHost": "xxx",
"MySQLOrchestratorPort": xxx,
"MySQLOrchestratorDatabase": "xxx",
"MySQLOrchestratorUser": "xxx",
"MySQLOrchestratorPassword": "xxx",
"MySQLOrchestratorCredentialsConfigFile": "",
"MySQLOrchestratorSSLPrivateKeyFile": "",
"MySQLOrchestratorSSLCertFile": "",
"MySQLOrchestratorSSLCAFile": "",
"MySQLOrchestratorSSLSkipVerify": true,
"MySQLOrchestratorUseMutualTLS": false,
"MySQLConnectTimeoutSeconds": 1,
"DefaultInstancePort": 3306,
"DiscoverByShowSlaveHosts": false,
"InstancePollSeconds": 3,
"DiscoveryIgnoreReplicaHostnameFilters": [
"a_host_i_want_to_ignore[.]example[.]com",
".[.]ignore_all_hosts_from_this_domain[.]example[.]com",
"a_host_with_extra_port_i_want_to_ignore[.]example[.]com:3307"
],
"UnseenInstanceForgetHours": 240,
"SnapshotTopologiesIntervalHours": 0,
"InstanceBulkOperationsWaitTimeoutSeconds": 10,
"HostnameResolveMethod": "none",
"MySQLHostnameResolveMethod": "",
"SkipBinlogServerUnresolveCheck": true,
"ExpiryHostnameResolvesMinutes": 60,
"RejectHostnameResolvePattern": "",
"ReasonableReplicationLagSeconds": 10,
"ReasonableLockedSemiSyncMasterSeconds": 10,
"ProblemIgnoreHostnameFilters": [],
"VerifyReplicationFilters": false,
"ReasonableMaintenanceReplicationLagSeconds": 20,
"CandidateInstanceExpireMinutes": 60,
"AuditLogFile": "",
"AuditToSyslog": false,
"RemoveTextFromHostnameDisplay": ".mydomain.com:3306",
"ReadOnly": false,
"UseSuperReadOnly": true,
"AuthenticationMethod": "basic",
"HTTPAuthUser": "xxx",
"HTTPAuthPassword": "xxx",
"AuthUserHeader": "",
"PowerAuthUsers": [
""
],
"ClusterNameToAlias": {
"<IP_ADDRESS>": "test suite"
},
"ReplicationLagQuery": "select floor(slave_lag_seconds) from meta.my_heartbeat_status_v",
"DetectClusterAliasQuery": "select ifnull(max(cluster_name), '') as cluster_alias from meta.cluster where anchor=1",
"DetectClusterDomainQuery": "",
"DetectInstanceAliasQuery": "",
"DetectPromotionRuleQuery": "",
"DataCenterPattern": ".[.][^.]+[.]mydomain[.]com",
"DetectDataCenterQuery": "select substring_index(@@hostname, '-',2) as dc",
"PhysicalEnvironmentPattern": ".[.]mydomain[.]com",
"PromotionIgnoreHostnameFilters": [],
"DetectSemiSyncEnforcedQuery": "SELECT @@global.rpl_semi_sync_master_wait_no_slave AND @@global.rpl_semi_sync_master_timeout >= 10000",
"ServeAgentsHttp": false,
"AgentsServerPort": ":3001",
"AgentsUseSSL": false,
"AgentsUseMutualTLS": false,
"AgentSSLSkipVerify": false,
"AgentSSLPrivateKeyFile": "",
"AgentSSLCertFile": "",
"AgentSSLCAFile": "",
"AgentSSLValidOUs": [],
"UseSSL": false,
"UseMutualTLS": false,
"SSLSkipVerify": false,
"SSLPrivateKeyFile": "",
"SSLCertFile": "",
"SSLCAFile": "",
"SSLValidOUs": [],
"URLPrefix": "",
"StatusEndpoint": "/api/status",
"StatusSimpleHealth": true,
"StatusOUVerify": false,
"AgentPollMinutes": 60,
"UnseenAgentForgetHours": 6,
"StaleSeedFailMinutes": 60,
"SeedAcceptableBytesDiff": 8192,
"PseudoGTIDPattern": "",
"PseudoGTIDPatternIsFixedSubstring": false,
"PseudoGTIDMonotonicHint": "asc:",
"DetectPseudoGTIDQuery": "",
"BinlogEventsChunkSize": 10000,
"SkipBinlogEventsContaining": [],
"ReduceReplicationAnalysisCount": true,
"FailureDetectionPeriodBlockMinutes": 60,
"FailMasterPromotionOnLagMinutes": 15,
"RecoveryPeriodBlockSeconds": 3600,
"RecoveryIgnoreHostnameFilters": [],
"RecoverMasterClusterFilters": [
""
],
"RecoverIntermediateMasterClusterFilters": [
""
],
"OnFailureDetectionProcesses": [
"echo 'Detected {failureType} on {failureCluster}. Affected replicas: {countSlaves}' >> /tmp/recovery.log"
],
"PreGracefulTakeoverProcesses": [
"echo 'Planned takeover about to take place on {failureCluster}. Master {command} {failedHost} {successorHost} will switch to read_only' >> /tmp/recovery.log"
],
"PreFailoverProcesses": [
"echo 'Will recover from {failureType} on {failureCluster}' >> /tmp/recovery.log"
],
"PostFailoverProcesses": [
"echo '(for all types) Recovered from {failureType} on {failureCluster}. Failed: {failedHost}:{failedPort}; Successor: {successorHost}:{successorPort}' >> /tmp/recovery.log"
],
"PostUnsuccessfulFailoverProcesses": [],
"PostMasterFailoverProcesses": [
"echo 'Recovered from {failureType} on {failureCluster}. Failed: {failedHost}:{failedPort}; Promoted: {successorHost}:{successorPort}' >> /tmp/recovery.log"
],
"PostIntermediateMasterFailoverProcesses": [
"echo 'Recovered from {failureType} on {failureCluster}. Failed: {failedHost}:{failedPort}; Successor: {successorHost}:{successorPort}' >> /tmp/recovery.log"
],
"PostGracefulTakeoverProcesses": [
"echo 'Planned takeover complete' >> /tmp/recovery.log"
],
"CoMasterRecoveryMustPromoteOtherCoMaster": true,
"DetachLostSlavesAfterMasterFailover": true,
"ApplyMySQLPromotionAfterMasterFailover": true,
"PreventCrossDataCenterMasterFailover": false,
"PreventCrossRegionMasterFailover": false,
"MasterFailoverDetachReplicaMasterHost": false,
"MasterFailoverLostInstancesDowntimeMinutes": 0,
"PostponeReplicaRecoveryOnLagMinutes": 0,
"OSCIgnoreHostnameFilters": [],
"GraphiteAddr": "",
"GraphitePath": "",
"GraphiteConvertHostnameDotsToUnderscores": true,
"ConsulAddress": "node1:8500",
"ConsulAclToken": "",
"ConsulKVStoreProvider": "consul",
"ZkAddress": "",
"DelayMasterPromotionIfSQLThreadNotUpToDate": true,
"RecoverLockedSemiSyncMaster": true,
"RaftNodes": [
"node1",
"nide2",
"node3"
]
}
Here is the log:
DeadMaster on mysql-perf-3810/<IP_ADDRESS>:3810
Failed instance	<IP_ADDRESS>:3810
Acknowledged by dailuo, 2021-08-30 09:15:45
1
Successor	 FAIL
2 replicating hosts :
<IP_ADDRESS>:3810
<IP_ADDRESS>:3810
Related detection
Processed by hz-h-public-consul01
Cluster alias	mysql-perf-3810
Cluster name	<IP_ADDRESS>:3810
Affected replicas	2
Start time	2021-08-30 09:15:32
End time	2021-08-30 09:15:53
Recovery steps：
2021-08-30 09:15:32	will handle DeadMaster event on <IP_ADDRESS>:3810
2021-08-30 09:15:32	Running 2 PreFailoverProcesses hooks
2021-08-30 09:15:32	Running PreFailoverProcesses hook 1 of 2: echo 'Will recover from DeadMaster on <IP_ADDRESS>:3810' >> /tmp/recovery.log
2021-08-30 09:15:32	Completed PreFailoverProcesses hook 1 of 2 in 2.856619ms
2021-08-30 09:15:32	Running PreFailoverProcesses hook 2 of 2: /usr/local/sbin/consul services deregister -id rw-3810
2021-08-30 09:15:32	Completed PreFailoverProcesses hook 2 of 2 in 55.35998ms
2021-08-30 09:15:32	done running PreFailoverProcesses hooks
2021-08-30 09:15:32	RecoverDeadMaster: will recover <IP_ADDRESS>:3810
2021-08-30 09:15:32	RecoverDeadMaster: masterRecoveryType=MasterRecoveryGTID
2021-08-30 09:15:32	RecoverDeadMaster: regrouping replicas via GTID
2021-08-30 09:15:42	RecoverDeadMaster: promotedReplicaIsIdeal(<IP_ADDRESS>:3810)
2021-08-30 09:15:42	RecoverDeadMaster: found <IP_ADDRESS>:3810 to be ideal candidate; will optimize recovery
2021-08-30 09:15:42	RecoverDeadMaster: 1 postponed functions
2021-08-30 09:15:42	promoted replica: <IP_ADDRESS>:3810
2021-08-30 09:15:42	RecoverDeadMaster: promoted replica lag seconds: 263
2021-08-30 09:15:42	RecoverDeadMaster: promoted replica sql thread up-to-date: false
2021-08-30 09:15:42	DelayMasterPromotionIfSQLThreadNotUpToDate: waiting for SQL thread on <IP_ADDRESS>:3810
2021-08-30 09:15:53	DelayMasterPromotionIfSQLThreadNotUpToDate error: 2021-08-30 09:15:53 ERROR WaitForSQLThreadUpToDate stale coordinates timeout on <IP_ADDRESS>:3810 after duration 10s
2021-08-30 09:15:53	Running 1 PostUnsuccessfulFailoverProcesses hooks
2021-08-30 09:15:53	Running PostUnsuccessfulFailoverProcesses hook 1 of 1: python3 /data/script/switchfail_mail.py DeadMaster <IP_ADDRESS>:3810
2021-08-30 09:15:53	Completed PostUnsuccessfulFailoverProcesses hook 1 of 1 in 235.882815ms
2021-08-30 09:15:53	done running PostUnsuccessfulFailoverProcesses hooks
2021-08-30 09:15:53	Waiting for 1 postponed functions
2021-08-30 09:15:53	Executed 1 postponed functions
2021-08-30 09:15:53	Executed postponed functions: regroup-replicas-gtid <IP_ADDRESS>:3810

With semi-sync topology, if "DelayMasterPromotionIfSQLThreadNotUpToDate": true,how long it will waiting for SQL thread cathch up.I found that the orchestrator will stop io_thread and sql_thread on candidate replica,so it will never catch up.

Hi @tangweichun ,
It seems timeout when catch up relay log after 10s. From the source code, you can set ReasonableReplicationLagSeconds greater than 10s(if not set, it default to 10s).

Hi @drivebyer ,I also encountered the same situation.
When promotion master is behind less than the value set by the ReasonableReplicationLagSeconds parameter, It waiting for SQL thread, But the SQL thread is actually stopped by the orchestrator and needs to be manually opened to continue.
Why or How do I need to set it so that SQL Thread doesn't get turned off.
tks.

But the SQL thread is actually stopped by the orchestrator and needs to be manually opened to continue.

Why orchestrator stop the promoted instance's SQL thread? is there any log about it?
@hellogitee

@drivebyer Yes, of course.I opened the general log and found that orchestrator did the following action：
Tcp port: 3306  Unix socket: /tmp/mysql3306.sock
310 Connect<EMAIL_ADDRESS>on
310 Query     start slave
310 Query     show slave status
310 Query     stop slave io_thread
310 Query     start slave io_thread
310 Query     stop slave io_thread
310 Query     start slave sql_thread
310 Query     stop slave
This scenario is well simulated, when all the slaves  lagged behand master, shut down the master,then the  promoted instance's SQL thread will stop;

StopReplicationNicely最终会

But the SQL thread is actually stopped by the orchestrator and needs to be manually opened to continue.

Why orchestrator stop the promoted instance's SQL thread? is there any log about it? @hellogitee

see https://github.com/openark/orchestrator/issues/1430#issuecomment-1115868354


Add Auxiliary Classifier GAN Model

This PR adds the Auxiliary Classifier Generator and Discriminator models alongwith their associated losses. Appropriate tests for the trainer using the ACGAN have also been aded.

Codecov Report

Merging #48 into master will increase coverage by 0.43%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #48      +/-   ##
==========================================
+ Coverage   24.09%   24.53%   +0.43%
==========================================
  Files          24       26       +2
  Lines        1108     1239     +131
==========================================
+ Hits          267      304      +37
- Misses        841      935      +94

Impacted Files
Coverage Δ

models/__init__.py
0% <0%> (ø)
:arrow_up:

test_trainer.py
100% <0%> (ø)
:arrow_up:

test_models.py
100% <0%> (ø)
:arrow_up:

losses/__init__.py
0% <0%> (ø)
:arrow_up:

models/acgan.py
0% <0%> (ø)

losses/auxclassifier.py
0% <0%> (ø)

Continue to review full report at Codecov.

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

@avik-pal let's not merge this until the visualizer is done.

@Aniket1998 just add the acgan to the model.rst and we are good to go.


message: "You do not have sufficient permissions to edit this workbook."

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
msal-browser v2.7.0 2020-12-03
Wrapper Library
Not Applicable
Wrapper Library Version
none
Description
Hi, I hope someone can help me.
I setup msal for vanilla JS successful. I can access others Excel files and read it.
BUT I cannot write to others excel file.
I get this error:

What did I do for writing?
In https://portal.azure.com/ in my application I setup the permission like screenshot

p
I use this code:
const r = await OneDrive.callMSGraph(https://graph.microsoft.com/v1.0/me/drive/items/F7084234324234D45763E!26755/workbook/worksheets/Sheet1/range(address='A1:B2')`, 'PATCH',
{
"values": [
[
"KE",
"100"
],
[
"1/1/2016",
null
]
],
"formulas": [
[
null,
null
],
[
null,
"=B1*2"
]
],
"numberFormat": [
[
null,
null
],
[
"m-ddd",
null
]
]
}
);`
When I try https://graph.microsoft.com/v1.0/me/drive/items/F7084234324234D45763E!26755/workbook/worksheets/Sheet1/range(address='A1:B2') in MS Graph Editor, it works perfectly.
So what can I do or what did I do wrong?
MSAL Configuration
this.msalInstance = new msal.PublicClientApplication({
            auth: {
                authority: "https://login.microsoftonline.com/common/",
                clientId: "2398476283469287346",
                redirectUri: chrome.identity.getRedirectURL("oauth2")
            },
            cache: {
                cacheLocation: "localStorage"
            }
        })

Relevant Code Snippets
No response
Identity Provider
No response
Source
External (Customer)

Hi @s72817 ! Can you please try putting your access token in jwt.ms and see if it has the required (app level permission) in the Roles claim? Please confirm if you have the admin role.
Also, are you providing any scope? You would need to determine that for the endpoint you're calling, which scope(s) you need to request and add all of them for oauth2.

Thanks @bmahall for the quick reply!!
I found it :)))))))
I use this example for chrome browser: https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/67e4af7ed6640ea1e140ed2eb3aec4bf6f5b674c/samples/msal-browser-samples/ChromiumExtensionSample
And in the following method I found the issue:
async acquireToken() {         if (!this.msalInstance) return false;         const account = this.msalInstance.getAllAccounts()[0];         // console.log(account)         const request = {             scopes: ["files.read"], <-- Here I changed to "files.readWrite.all"             account: account         }         return this.msalInstance.acquireTokenSilent(request).catch(() => this.relogin(request));     },
Thanks a lot for your help. It was the right hint!

Closing this, feel free to reach out in case of any other issues.


Using .hpp for header filename causes .cpppp for source file

It makes sense that foo.h leads to foo.cpp but foo.hpp now also leads to foo.cpp.
Command:
$ dd if=/dev/urandom bs=1M count=10 of=data.bin
$ bin2cpp --file=data.bin --headerfile="foo.hpp" --output=. --identifier=Foo
bin2cpp v2.4.0 - Convert binary files into C++ source code.
Copyright (C) 2013-2021 end2endzone.com. All rights reserved.
bin2cpp is open source software, see http://github.com/end2endzone/bin2cpp
Embedding "data.bin"...
Writing file "./foo.hpp"...
Writing file "./foo.cpppp"...

Hi. I can't believe I missed that. I do not use hpp files myself (as you can see from bin2cpp source code) but I know many people uses them and did not thought to look at this in unit tests.
Thank you for spotting that one!
I will take a look at PR #46. Please allow me some time to look at it.

On a side note, do you think it would be more appropriate to rename all headers from bin2cpp source code to *.hpp ? I mainly use Visual Studio 2017 for developing and even Visual Studio's class wizard uses *.h for C++ headers. Is this something expected by linux/mac users ? My understanding is that *.hpp is strictly for C++ while *.h can be either C or C++.

On a side note, do you think it would be more appropriate to rename all headers from bin2cpp source code to *.hpp ? I mainly use Visual Studio 2017 for developing and even Visual Studio's class wizard uses *.h for C++ headers. Is this something expected by linux/mac users ? My understanding is that *.hpp is strictly for C++ while *.h can be either C or C++.

I have a habit of using .hpp because it's explicit that it's C++ (ie, since c++ header files are fundamentally a different language than c header files, I think a different extension makes sense


Dev

close #13
close #14

Codecov Report

Merging #16 (94c687b) into main (cbd5e42) will decrease coverage by 0.01%.
The diff coverage is 47.82%.

@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
- Coverage   43.95%   43.93%   -0.02%
==========================================
  Files          10       10
  Lines         794      808      +14
==========================================
+ Hits          349      355       +6
- Misses        445      453       +8

Impacted Files
Coverage Δ

src/spectral.jl
81.32% <0.00%> (ø)

src/sample/sample.jl
89.47% <42.85%> (-7.50%)
:arrow_down:

src/operation.jl
98.07% <71.42%> (-1.93%)
:arrow_down:

Continue to review full report at Codecov.

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


hedefSehir query'si yardimet endpoint'ine eklendi

https://github.com/acikkaynak/deprem-io-backend/issues/3


Throw better exception message if parameterless constructor is not found for entity type

Resolves #4839

:shipit:


New Project: Wordle Game

Describe the project
Wordle game
Here user will be displayed blank boxes, and will have to guess the word.
With each guesses the user will be given a hint like:

if the letter in the guess exists in the original word but is at wrong position, then it's color will change to yellow.
if the letter in the guess exists in the original word and is at a right position, then it's color will change to green.

Features:

flexibility in selecting word length
easy, medium and tough category options
there will be fixed number of guesses. and based on in how many guess user figured out the word, score will be given.

Please assign this issue to me
Issue Type:

[ ] Bug Report
[ ] Feature Request
[ ] Documentation
[x] New Project

Additional context
Add any other context or screenshots about the project here.
Screenshots

If applicable, add screenshots to help explain your problem.

@ritik48 Please assign this to me. I want to work on this project.

Game projects are not accepted


French Bench

Hello,
I am the main author of the CroissantLLM project: Paper.
This initiative is associated to new efforts in benchmarking models in the French language, notably through the release of FrenchBench, a test suite in french with manually annotated tasks covering classification and generative use cases; question answering, trivia, vocab, grammar, translations of english benchmarks like hellaswag and arc-c, etc etc...
It would be awesome to integrate this test suite to the eval harness and open  up new non-english evaluations !
Associated datasets are all on HF: link.
Cheers,
Manuel Faysse

Hello, Nothing changed between both last runs - seems the CPU tests fail because of Eleuther/wikitext which is out of the scope of this PR ? I'm gonna make a minor change just to relaunch but otherwise not sure what to do @lintangsutawika

That should be fine. Can take a look at this PR and merge.

All right @lintangsutawika , just changed the README, ran again and tests seem to pass ! Good for merging on my end, nothing to add ! Thanks a lot for the nice work on this platform !


go PDK is supposed to use pb_rpc.lua but it use mp_rpc.lua

As in the title.

It turns out that I'm building with require github.com/Kong/go-pdk v0.6.1 (go-plugins).


Remove standalone-cluster in v0.11.0

In support of the new unamanged-cluster model, we are removing the deprecated standalone-cluster in v0.11.0
Reference the following proposal in regards to implementing unmanaged-cluster and removing standalone-cluster: https://github.com/vmware-tanzu/community-edition/issues/2266
cc @qnetter

Other relevant issues & PRs:

[x] https://github.com/vmware-tanzu/community-edition/issues/2864
[ ] https://github.com/vmware-tanzu/community-edition/issues/2808
[x] https://github.com/vmware-tanzu/community-edition/issues/3008
[x] https://github.com/vmware-tanzu/community-edition/pull/3007

@jpmcb I'm removing:

https://github.com/vmware-tanzu/community-edition/issues/3045

From the list. It's super important! Just no a qualifier for standalone being removed.

Sounds good! Also just merged the diagnostics plugin PR into our next branch. So all that should be left is the docs removal 🚀


Depth Test Failure / Z-fighting

What happened?
In 1.123, intermittent depth test failure or z-fighting issue.  Not present in <1.122, unsure if it was introduced in 1.122 or 1.123.  Goes away if viewer.scene.globe.depthTestAgainstTerrain is set to true.

Reproduction steps
Open sandcastle, track GeoEye-1, see the primitives show through the globe.
Sandcastle example
https://sandcastle.cesium.com/?src=CZML.html&label=DataSources
Environment
Browser: Version 131.0.6778.85 (Official Build) (64-bit)
CesiumJS Version: 1.123.1
Operating System: Pop!_OS 22.04 LTS

@TJKoury thanks for the report!
I wasn't able to reproduce the bug on Windows.

Could this be OS-specific? Something about depth textures not supported?

Maybe, however here it is on mobile using an iPhone 14 Pro Max.  I have not tried it on Windows.  Track one of the satellites and see if that makes a difference.
It definitely did not do this prior to 1.122, some of the recent shader / pipeline work would be my guess.

Thanks @TJKoury,
When I track GeoEye1, I can sort of reproduce: I get brief flashes (maybe 1 frame) of the other side showing through. It only happens near certain time stamps.
Just wanted to let you know I'm working on it. I'll still need to refine my test case a bit, before I can properly trace back where it broke.

@jjhembd this was also reported in https://github.com/CesiumGS/cesium/issues/12371, might be another good sample sandcastle to help track this down.

Yeah I see the same issue since I upgraded from 1.114 to 1.124. Seems like while tracking an entity I get flickering from other polylines. I couldn't get it to happen while not tracking an entity but working with the camera is a bit harder in that case to orientate it so not certain on that one.

I traced the bug to a single line from #12188. We changed this:
    positionEC = czm_modelView * position;
    gl_Position = czm_projection * positionEC;

to this:
    positionEC = czm_modelView * position;
    gl_Position = czm_modelViewProjection * position;

Reverting this change fixes the bug on my machine.


Integration FUJIN Automatic Irrigation Bluetooth Water Timer FJKB005C-3

I have a FUJIN Automatic Irrigation Bluetooth Water Timer FJKB005C-3 (https://www.fujingarden.com/m/Product/plant_self_watering_automation_irrigation_water_timer.html) and it has been discovered by the integration. However, I've just got one (not working) signal strength entity on HA.
Anyone can help integrating this device?
    "category": "sfkzq",
    "product_id": "bh9xhshd",
    "product_name": "Bluetooth single channel controller ",

Datapoints on "Device Debugging" page of your "Tuya Cloud Project":
va_temperature | Integer | {   "unit": "℃",   "min": -200,   "max": 600,   "scale": 1,   "step": 1 }
va_humidity | Integer | {   "unit": "%",   "min": 0,   "max": 100,   "scale": 0,   "step": 1 }
battery_state | Enum | {   "range": [     "low",     "middle",     "high"   ] }
charge_state | Boolean | "{true,false}"
maxtemp_set | Integer | {   "unit": "℃",   "min": -200,   "max": 600,   "scale": 1,   "step": 1 }
minitemp_set | Integer | {   "unit": "℃",   "min": -200,   "max": 600,   "scale": 1,   "step": 1 }
maxhum_set | Integer | {   "unit": "%",   "min": 0,   "max": 100,   "scale": 0,   "step": 1 }
minihum_set | Integer | {   "unit": "%",   "min": 0,   "max": 100,   "scale": 0,   "step": 1 }
temp_alarm | Enum | {   "range": [     "loweralarm",     "upperalarm",     "cancel"   ] }
hum_alarm | Enum | {   "range": [     "loweralarm",     "upperalarm",     "cancel"   ] }
switch | Boolean | "{true,false}"

IDs of the datapoints:
{"1":"Current Temperature","2":"Current Humidity","3":"Battery level state","8":"Charging","10":"Set maxtemp","11":"Set minitemp","12":"Set maxhum","13":"Set minihum","14":"Temp alarm","15":"Hum alarm","101":"Switch","102":"Mode","103":"Fault Alarm","104":"Rain","105":"自动执行状态","106":"Countdown","107":"循环定时","108":"自动模式区分","109":"生效时间段","110":"型号","111":"记录型开关","112":"Irrigation timer"}

In the HA logs I just see:
Config entry 'DC-23-4F-53-63-F8 5363F8' for tuya_ble integration not ready yet: Could not find Tuya BLE device with address DC:23:4F:53:63:F8; Retrying in background

Hi, thank you for information,
It's not clear to me how the device works. Have I made a climate entity with temperature and humidity ranges? Could you please explain it, maybe with some screenshots from mobile app?

Update: a few minutes later i had different log messages:
2023-07-10 23:09:00.634 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: Initializing
2023-07-10 23:09:00.635 DEBUG (MainThread) [custom_components.tuya_ble.cloud] Retrieved: uuid: xxxxxxxxxxxxxxxx, local_key: xxxxxxxxxxxxxxxx, device_id: xxxxxxxxxxxxxxxx, category: sfkzq, product_id: bh9xhshd, device_name: bluetooth valve, product_model: , product_name: Bluetooth single channel controller
2023-07-10 23:09:00.680 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: Updating
2023-07-10 23:09:00.691 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: Connecting; RSSI: -65
2023-07-10 23:09:05.730 WARNING (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: Device unexpectedly disconnected; RSSI: -65
2023-07-10 23:09:08.726 WARNING (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: Device unexpectedly disconnected; RSSI: -65
2023-07-10 23:09:12.183 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: Connected; RSSI: -65
2023-07-10 23:09:12.920 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: Sending device info request
2023-07-10 23:09:12.921 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: Sending packet: #1 FUN_SENDER_DEVICE_INFO
2023-07-10 23:09:41.496 WARNING (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: Device unexpectedly disconnected; RSSI: -65
2023-07-10 23:10:12.925 ERROR (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: timeout receiving response, RSSI: -65
2023-07-10 23:10:12.926 ERROR (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: Sending device info request failed
2023-07-10 23:10:12.927 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: Connecting; RSSI: -65
2023-07-10 23:10:14.725 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: Connected; RSSI: -65
2023-07-10 23:10:15.547 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: Sending device info request
2023-07-10 23:10:15.547 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: Sending packet: #2 FUN_SENDER_DEVICE_INFO
2023-07-10 23:10:44.798 WARNING (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: Device unexpectedly disconnected; RSSI: -65
2023-07-10 23:11:15.552 ERROR (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: timeout receiving response, RSSI: -65
2023-07-10 23:11:15.554 ERROR (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:53:63:F8: Sending device info request failed

About

It's not clear to me how the device works. Have I made a climate entity with temperature and humidity ranges? Could you please explain it, maybe with some screenshots from mobile app?

It was expected to include a rain sensor, but there are no sensors available through the app, at least not for direct connection to my phone. Unfortunately, I don't have a Tuya hub to test it using Tuya cloud.

I accidentally clicked on the wrong button by mistake.


Can only deploy Kubernetes cluster on freefarm (mainnet)

Have a number of capacity pools available:

deployments of kubernetes clusters always fail on order pools then freefarm.

@weynandkuijpers Please send the failing workload ids

Deployed on mainnet. can't reproduce
Please open an issue if it happens again with the failing work loads

Deployed on mainnet. can't reproduce
Please open an issue if it happens again with the failing work loads


Fix table actions

Signed-off-by: Rastislav Wagner<EMAIL_ADDRESS>requires https://github.com/openshift-assisted/assisted-ui-lib/pull/1261

Included in https://github.com/stolostron/console/pull/1436


Different folders and download table

I want to upload my files to different folder according to some parameters, using php GET, and passing the value to upload.php using a hidden input..
on my upload.php i have the following:
$options = array(
'upload_dir' => $script_dir.'/uploads/'.$_REQUEST["lext"].'/'.$_REQUEST["nota"].'/',
'upload_url' => $script_dir_url.'/uploads/'.$_REQUEST["lext"].'/'.$_REQUEST["nota"].'/',
'thumbnails_dir' => $script_dir.'/uploads/'.$_REQUEST["lext"].'/'.$_REQUEST["nota"].'/thumbnails/',
'thumbnails_url' => $script_dir_url.'/uploads/'.$_REQUEST["lext"].'/'.$_REQUEST["nota"].'/thumbnails/',
'thumbnail_max_width' => 80,
'thumbnail_max_height' => 80,
'field_name' => 'file'
);
//creating folders
mkdir($_SERVER['DOCUMENT_ROOT'].'/blueimp/'.'uploads/'.$_REQUEST["lext"].'/'.$_REQUEST["nota"].'/', 0755, true);
mkdir($_SERVER['DOCUMENT_ROOT'].'/blueimp/'.'uploads/'.$_REQUEST["lext"].'/'.$_REQUEST["nota"].'/'.'thumbnails/', 0755, true);
when i upload it works fine and it will upload to the right folder, but when i reload the page, i cant see the files on the table anymore, after i while i figure out that it would still put the files on the table from the original folder (example/files).
I looked everywhere but didnt find where i could change this, where can i find this?
Thanks!

$this->db = mysql_connect(DB_SERVER, DB_USER, DB_PASS);
		// connect to the server
		mysql_select_db(DB_DATABASE, $this->db);

$this->db = mysql_connect(DB_SERVER, DB_USER, DB_PASS);
		// connect to the server
		mysql_select_db(DB_DATABASE, $this->db);


Associate module overrides hooked words from other modules

If a word is associated to a phrase, the associate module overrides the message first before it reaches the appropriate module.
A practical example is
/associate personA rudeWord
afterwards one can't
/slap personA
anymore. It becomes a race biased alphabetically.

In some ways this is by design, in others it isn't. Given I'm planning to remove some other limitations, I may remove this one too at some point.

resolved by https://github.com/concierge/Kassy/commit/f79aeba24426d9f2d911a5c346f2f89c52fc4de9


Custom configuration to enable comressXml

Is there a way to edit the configuration file? In our company, we are recommending to set compressXml to false in diagrams.net to enable "easy" diff and merge in git
In diagrams.net application it looks like this:

and then the configuration itself

Is it possible to add this to the plugin as well?

duplicate of #6


AMQ-filter

Sometimes you want to search for something faster. Bloom/Quotient/Cuckoo filters helps with that.
https://en.wikipedia.org/wiki/Approximate_Membership_Query_Filter

For now this is out of scope. However you can help give this is a greater chance of being a reality by providing here more technical details how you would see this being implemented in this crate. Looking forward to getting to know more about how you see this exactly.
I know of bloom filters, but had not considered it before for this specific purpose, so I do look forward on how exactly you would see it being implemented here and if there are crates you would suggest that fit this purpose and is compatible with our current implementation.


Question: How to use ReorderPlaylist

Hi there
Thanks a lot for all your effort to make this API
I can't figure out how to use the reorder method, like below:
spotify.Playlists.ReorderItems("myPlayListID", PlaylistReorderItemsRequest)
How do I create this PlaylistReorderItemsRequest?
A couple of code lines would be really nice.
It seems like the documentation is not up to date here, or at least I aven't been able to find it.
Any help is greatly appreciated.

Hmm, have tried some more, and found a solution which can compile without errors, but it still doesn't work
I'm using the code below, but an error happens during the execution of the reorder code line, only Trace1 is written to my output, but no errors are written to my output, and it never writes out Trace2, any good ideas
public async Task Reorder(string playlistId)
{
System.Diagnostics.Debug.WriteLine("Trace1");
var response = await mySpotify.Playlists.ReorderItems(playlistId, new PlaylistReorderItemsRequest(3, 1));
System.Diagnostics.Debug.WriteLine("Trace2");
}

I tried to update to latest NuGet version 6.0.0 released yesterday
But it still fails, I get following info in the output window:
Trace1
Exception thrown: 'SpotifyAPI.Web.APIException' in mscorlib.dll

Hi @KenthJ
Make sure to use the inline XML Docs, your editor should show you the hints when hovering over the class. If not, you can also look at the source files: https://github.com/JohnnyCrazy/SpotifyAPI-NET/blob/master/SpotifyAPI.Web/Models/Request/PlaylistReorderItemsRequest.cs
The exception is important here, what does the message say?
new PlaylistReorderItemsRequest(3, 1) means move the 3rd item in the playlist after the 1st item in the playlist.

Thanks a lot for your response, and it actually led me in the direction, so I was able to fix the problem.
For some reason the error message was not written to the output window, but with a try catch, I was able to catch the error message.
The error message was "Insufficient client scope"
So I added the Scopes.PlaylistModifyPrivate to the scope, and then it worked like a charm.
Thanks you so much for your help.


Hello, everybody,
My OS is Windows 8.1.
And I find there is a bug:
The net6 is my model.
when I don't use pool1_stride or pool1_stride == pool1_pool_size, everything is okay, the coder runs on gpu, it will take 20s for a iteration.
But when I use pool1_stride = (1, 1) or pool1_stride != pool1_pool_size, it will take 1800s for a iteration.
So maybe something is wrong
net6 = NeuralNet(
	layers=[
		('input', layers.InputLayer),
		('conv1', layers.Conv2DLayer),
		('pool1', layers.MaxPool2DLayer),
		('dropout1', layers.DropoutLayer),  # !
		('conv2', layers.Conv2DLayer),
		('pool2', layers.MaxPool2DLayer),
		('dropout2', layers.DropoutLayer),  # !
		('conv3', layers.Conv2DLayer),
		('pool3', layers.MaxPool2DLayer),
		('dropout3', layers.DropoutLayer),  # !
		('conv4', layers.Conv2DLayer),
		('dropout4', layers.DropoutLayer),  # !
		('hidden5', layers.DenseLayer),
		('dropout5', layers.DropoutLayer),  # !
		('hidden6', layers.DenseLayer),
		('output', layers.DenseLayer),
		],

	input_shape=(None, 1, 48, 48),
	conv1_num_filters=32, conv1_filter_size=(3, 3), pool1_pool_size=(3, 3),  pool1_stride = (1, 1),
	dropout1_p=0.1,  # !
	conv2_num_filters=64, conv2_filter_size=(2, 2), pool2_pool_size=(2, 2),
	dropout2_p=0.2,  # !
	conv3_num_filters=64, conv3_filter_size=(2, 2), pool3_pool_size=(2, 2),
	dropout3_p=0.3,  # !
	conv4_num_filters=128, conv4_filter_size=(2, 2),
	dropout4_p=0.4,  # !
	hidden5_num_units=400,
	dropout5_p=0.5,  # !
	hidden6_num_units=250,
	output_num_units=7, output_nonlinearity=softmax,

	# optimization method:
	update=nesterov_momentum,
	# update_learning_rate=0.01,
	# update_momentum=0.9,

	update_learning_rate=0.01,
	update_momentum=0.9,

	regression=False,
	objective_loss_function=categorical_crossentropy,
	batch_iterator_train=BatchIterator(batch_size=64),
	max_epochs=5,
	verbose=1,
	eval_size=0.025,
	)

For me, this sounds like it could be a Lasagne-problem, since nolearn does not do anything specific with strides. Maybe you can head over to the Lasagne issue tracker and report there.

I think Theano's DownsampleFactorMax might only have CPU code for max pooling with a custom stride.  I'd try one of the other max pooling layer implementations (dnn, cuda_convnet), and see if you're more lucky regarding speed.


Swap conflicting enchants not working as expected for multi protection armor

When enchanting an armor with more than 2 different types of protection, swapping between them instead swaps between 2 states : one with only one protection (the last one applied I think), and the other with ALL the other protections at once.
I don't know if swapping between protections was the intended goal of this mod or if it was initially thought for weapons and tools enchantments. Even if fixed, how would it work for boots with the 4 protections enchants + frost walker and depth strider ? Is there a deterministic order ? Swapping at random between the 8 possible states seems kinda tedious.
latest.log

it swaps at random, because i couldn't think of a good way to balance it for smite/bane of arthropods/sharpness so the random swaping was half peeled bandage of a solution


Directory Junction breaks hardcoded paths

Describe the bug
@StephenHodgson has written a documentation on how to add the MRTK to an existing repo via directory junction. This involves creating the junction as a subfolder of the assets data path. This breaks all appearances of hardcoded data paths:
(Paths I found)

ControllerPopupWindow: 19: EditorWindowOptionsPath
ThemeInspector: 1347: Shader.Find("MixedRealityToolkit/Standard")

To reproduce (first issue)
Steps to reproduce the behavior:

Add the MRKT via directory junction
Open a scene with MRTK and drill into the configuration Input -> Controllers -> Controller Definitions
Click one of the controller image buttons
See error

Expected behavior
No error no matter where the toolkit is placed in the project
Screenshots
If applicable, add screenshots to help explain your problem.

Your Setup (please complete the following information)

Unity Version 2018.4.2f1
MRTK Version 2 development_branch

using directory symlinks instead of junction should solve your errors. this will require some admin rights though.
mklink /D Assets\MixedRealityToolkit ..\..\Subrepos\mrtk\Assets\MixedRealityToolkit

Since I prefer to work with the development branch, I don't think this trick won't go away any time soon for me ;)

@gilbdev is it possible that the solution is less switching from junction to symlink than linking each folder from the Toolkit separately rather? Because from what I found is that the difference between the two only concerns local or remote linkage.
To me it looks as if I had to do the linking with each subfolder of the toolkit to avoid breaking the path.

i do 4 symlinks for each of those subfolders:
MixedRealityToolkit
MixedRealityToolkit.Providers
MixedRealityToolkit.SDK
MixedRealityToolkit.Services

you don't need Tests, and Examples is up to you, if oyu want them accessible in your project or not.
so yeah, 4 commands, and 4 symlink folders.
you jsut can't link to the upfolder named "Assets", as it won't merge correctly with your existing Assets folder (maybe it does in junction ?)

Ok, that's what I thought.
Anyways, this means you can't cleanup your Unity project by moving ALL the external assets to a subfolder, cause this one here needs at least 4 folders at the root structure.
Is that improvable? I mean reading the path backwards, relative to the calling script or something?


Fix documentation

I've noticed some discrepancy in the documentation on the onOptionClick and onOptionChange callbacks.
There was also a duplicated entry for onBlur.
Finally, the code example for onComplete  was out of place :)

:+1:


hostfxr.dll will not load

Noob here.  I've installed .NET Core SDK 3.0.100 on Windows 10, but every time I try to run a dotnet command in the CLI, I get the following error:
Failed to load the dll from [C:\Program Files\dotnet\host\fxr\3.0.0\hostfxr.dll], HRESULT: 0x800700C1
The library hostfxr.dll was found, but loading it from C:\Program Files\dotnet\host\fxr\3.0.0\hostfxr.dll failed

Installing .NET Core prerequisites might help resolve this problem.
https://go.microsoft.com/fwlink/?linkid=798306
What am I doing wrong here?

In .NET Core you need to install a matching architecture for the app you are running: on Windows either x86 or x64.  Which did you install, and what command did you run?
cc @livarcocc @elinor-fung

Closing due to the lack of response after two weeks or more.


1.0.3 crashes with forbidden and arcanus

When I update to version 1.0.3 for forge 1.20.1, I get this screen: https://i.imgur.com/o0nSmAD.png
Here is my latest.log: https://gist.github.com/katubug/3a754868a56cb645ce75c6b3193bedd7
And my crash report: crash-2024-05-20_16.46.53-fml.txt

duplicate https://github.com/bigenergy/achievement-optimizer/issues/8


Fixtures dependencies is not working

After yii2-codeception to be deprecated, to load fixture dependencies is not working.
I believe, this problem is happening, because of this:
https://github.com/yiisoft/yii2-codeception/blob/master/TestCase.php#L85
and now in codeception module this line was removed
https://github.com/Codeception/Codeception/blob/2.2/src/Codeception/Module/Yii2.php#L181
Additional info

Q
A

Yii version
2.0.10

PHP version
7.0.8

Operating system

I have done same tests, I changed
https://github.com/Codeception/Codeception/blob/2.2/src/Codeception/Module/Yii2.php#L300 for
$fixturesStore->unloadFixtures();
$fixturesStore->loadFixtures();

But de interesting that the ActiveFixture dos not implement the  unload method, and the reset table
is happening in load method:
https://github.com/yiisoft/yii2/blob/master/framework/test/ActiveFixture.php#L78
But this way, the reset table wil be not happening in correct sequence.
To solve this adding the method unload in ActiveFixture:
/**
 * @inheritdoc
 */
public function unload()
{
    parent::unload();
    $this->resetTable();
}

https://github.com/Codeception/Codeception/pull/4016

This problem happens when exsists foreign keys. I'll refactor the test code to contemplate this situation

Just for info. the above workaround, ist still not working if the application exits abnormally.

PR was merged into Codeception. @leandrogehlen, @ItsReddi would you please check if it fixed anything?

Unfortunately no, this issue will be fixed with #14001

related Codeception/Codeception#4201


Included ItemDisplayBinding in picker.md list of properties

This page already mentioned ItemDisplayBinding, however it was buried deeper in the article. Since the property wasn't in the list of available attributes, I forgot it existed and made my code more difficult. Hopefully adding it to the summary will save someone from making the same mistake.

Internal previews

📄 File
🔗 Preview link

docs/user-interface/controls/picker.md
Picker

Hi @TrueMoniker
Thanks for the PR. You're kinda right - ItemDisplayBinding is a property, but it's not a BindableProperty which is what the list shows. So I'm going to make a minor update to point that out.


Removed absolute path from LOCK_FILE in .gitignore

Because project folder location can be different on each development environment

Thanks @webdevium. small oversight

can you install dev-master and verify that it's correct? then I'll create a patch release


Make the experience better when start-pspester doesn't find pester

PR Summary

refactor code to restore pester into a separate function called Restore-PSPester
update message on what to do when pester is missing
Add ability for get-psoptions to default to new-psoptions
fix an issue with publish-pstesttools when a build has not been run since build.psm1 has been imported (try to use the default options)
make start-pspester use the last build, not just use the default options
fix an issue in restore caused some files not to be removed

PR Checklist
Note: Please mark anything not applicable to this PR NA.

[x] PR has a meaningful title

[x] Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[NA] User facing Documentation needed

[NA] Issue filed - Issue link:

[x] Change is not breaking
[NA] Make sure you've added a new test if existing tests do not effectively test the code changed

[NA] Add [feature] if the change is significant or affectes feature tests

[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

Can you address https://github.com/PowerShell/PowerShell/issues/5640 in the same PR?

Added two commits for the docs.  One to make them pass unit tests and one to make the updates for easier review.


[Feature Proposal] Input Axes

The Problem: As it stands, to set up a simple four-way movement scheme, you need to bind four actions in the InputMap - one for each direction, - and if you want to have proportional input (gamepad axes, etc.), you need to roll your own input axis mapping and polling code - for each script that needs it! This is tedious and non-extensible and, in my opinion, needs a better way of doing it.
The Solution: The proposed solution is to extend the InputMap system to allow binding Axes as well as actions. Similar to Unreal Engine's implementation, the InputAxis will allow binding a raw axis, or a set of keys or buttons with a constant axis value (e.g. axis_move:KEY_A = -1.0, axis_move:KEY_D = 1.0, etc.); allowing an axis to be controlled with a joystick, keyboard, or mouse as required.
This solution would also make trivial axis rebinding, as changing an axis is as simple as a call to InputMap::axis_add/remove_event.
The Implementation: Implementation of this feature would require three major parts:

Add InputMap::Axis, code in InputMap for working with said axes, and related functionality (InputEventAxis, Input::get_input_axis_value, etc.)
Extend the input event dispatching code to handle Axis Events
Extend the editor's Input Map section to support viewing and binding axes.

Questions, comments, etc? I've done some poking around in the code and it looks pretty straightforward to implement, so if there's no objections, I should have an initial PR in a few weeks.

Would be cool if you could explain for people who never used unreal, how this proposal differentiate from what we have currently:

and how we can improve current system?

I think that one big issue with the current system is that you need to bind for each device, if i got it correctly. If you want to do a local multiplayer, you need to bind joy one by one. Unreal has an interesting way to handle input with "player controllers", objects that recive input related to one player and can "possess" pawns.

Will post a screenshot later when I get back to my rig.
The way Unreal Engine works is it has two input binding schemes: Actions and Axes.  Axes are proportional inputs, ranging from -1 to 1, allowing binding gamepad sticks, etc with no loss of precision.
Currently, you can only bind one half of a game pad's axis at a time in Godot, and only (afaik), as a binary input (is_action_pressed, etc). If you want to listen to a full axis, you have to write your own code for this, defeating the point of the InputMap architecture.
Binding devices for local multiplayer is outside the scope of this feature proposal, but you are welcome to open another if you have an idea of how to go about it.

I don't know how Unreal handles axis, but I already tried to do a class working a bit like Unity's Axis. This one can be pretty good for motion because, when pressing a key bind to an axis, you can setup the axis to have a speed and a gravity : when the key is pressed, the axis value will increase based on the speed, and when the key is released the axis goes back to 0 based on the gravity.This allow a more precise way for movement than just constant -1, 0, 1 with keys. The same effect can be used with gamepad's axis when the game needs a bit of precision but not too much to need a precise control of the joystick.

A feature like that is specific enough that it is probably better implemented in application-specific code, though you are welcome to open a separate issue. What I am proposing is a simple and centralized abstraction, allowing for transparent key and axis re-binding as well as simplification of input control code.

To further explain why this feature is useful and what features it could have, here's a screenshot of the Input axis system in Unity:

Unlike Godot's inputs, which are true or false, Unity's Input axis system returns a float between -1 and 1, allowing one variable for in-game axis behavior (instead of moving left or right depending on booleans, you can move horizontally and multiply by the axis variable).
Furthermore, the behavior of an axis can be adjusted with options such as gravity. An input can be set to either instantly jump between 0 and 1, for a behavior similar to booleans, or spend some time in-between. For simple character movement, where you can define moving forward/backward and left/right, a gradual transition between 0 and 1 or -1 makes the character movement VASTLY smoother. In real life, there is no instantaneous acceleration.

Closed in favor of Godot's new Strength system.


Explicitly add num_classes parameter to confusion_matrix

🚀 Feature

It would be nice to be able to specify explicitly the number of classes expected for the confusion matrix metric. A similar behavior is allowed in the accuracy metric for instance.
Motivation

It may happen that you want to incrementally compute the confusion matrix over different steps of testing and, in the end, aggregate those matrices into the final confusion matrix.
Sometimes, particularly with small batches, it happens that a random batch doesn't have samples for each class. With inferred number of classes, this leads to a confusion matrix with a different dimension than expected, thus making it a pain to match shapes afterwards.
Explicit number of classes declaration solves the problem easily for cases in which you know how many classes to expect in advance.
Pitch

Change signature of
pytorch_lightning.metrics.ConfusionMatrix(normalize: bool = False, reduce_group: Any = None, reduce_op: Any = None)
to
pytorch_lightning.metrics.ConfusionMatrix(normalize: bool = False, num_classes: Optional[int] = None, reduce_group: Any = None, reduce_op: Any = None)
make a matching change for
pytorch_lightning.metrics.functional.confusion_matrix(pred: torch.Tensor, target: torch.Tensor, normalize: bool = False)
to become
pytorch_lightning.metrics.functional.confusion_matrix(pred: torch.Tensor, target: torch.Tensor, normalize: bool = False, num_classes: Optional[int] = None)
inside the latter method use the given num_classes, instead of None, as input for get_num_classes
Alternatives

I don't have any that come to my mind.
Additional context

No additional context needed

Please update to master as it is already implemented there:
https://github.com/PyTorchLightning/pytorch-lightning/blob/d3ae26fcfc322b8d64f67b90722931e363769844/pytorch_lightning/metrics/classification.py#L90-L112
Closing this issue.


GiftedSpinner Error

Error message:Element type is invalid:expected a string....Check the render method of 'GiftedSpinner'. What should i do?

+1

@isxiaohu @thecorsair this is fixed in 9b8d939e0feadd728e44fe865c36c524ff6a3a77. You can npm install the module from git directly until it's published on npm

@scazzy can we close this issue then?

Why not published on npm?

@xwartz the repo owner isn't responding to publish request.


export * from ... fails on compile time

Add file with this content to project with default react-redux-starter-kit configuration:
export * from './anotherFile.js';

content of anotherFile is irrelevant.
What happens:

Get runtime error Uncaught SyntaxError: Unexpected token import
Investigating compiled code with error, this is what the module gets compiled to:

	'use strict';

	import _Object$defineProperty from 'babel-runtime/core-js/object/define-property';
	import _Object$keys from 'babel-runtime/core-js/object/keys';
	Object.defineProperty(exports, "__esModule", {
	  value: true
	});

	var _previews = __webpack_require__(776);

	_Object$keys(_previews).forEach(function (key) {
	  if (key === "default" || key === "__esModule") return;

	  _Object$defineProperty(exports, key, {
	    enumerable: true,
	    get: function get() {
	      return _previews[key];
	    }
	  });
	});

What is expected:

It should JustWork™
Perhaps import should get compiled to WebPack's require. I assume it doesn't get compiled because this is already result of compilation? :/

I am not sure if the issue is in WebPack, Babel, or configuration of react-redux-starter-kit
Any ideas?
Thank you

Yeah that really should not be happening. How webpack 1 w/ ES6 modules works is that babel transpiles them down to CommonJS, and then webpack understands how to resolve those. Webpack 2 natively understands ES6 modules so there's no transpilation necessary. We should upgrade soon, but this still should not be happening; will try to repro.

Thanks.
Looking around i found this bug reported in babel: https://github.com/babel/babel/issues/2877
They suggest turning off the polyfill option of runtime (which is the cause - it sees Object.defineProperty and wants to import the polyfill):
"plugins": [
    ["transform-runtime", { "polyfill": false }]
  ]


Py35 syntax in documentation

[x] replace yield froms with await in docs;
[x] duplicate examples — python3.4 / python3.5

Not sure if you need duplicated examples.
Just Python 3.5 version could be fine.

Current coverage is 96.84% (diff: 100%)

Merging #173 into master will not change coverage

@@             master       #173   diff @@
==========================================
  Files            46         46
  Lines          5584       5584
  Methods           0          0
  Messages          0          0
  Branches        424        424
==========================================
  Hits           5408       5408
  Misses          136        136
  Partials         40         40

Powered by Codecov. Last update 352e563...2f1a5fc

Not sure if you need duplicated examples.

Will keep it until python3.4 support is dropped.

Resolves #172 & #102


[ADR] JMAP: Avoid ElasticSearch on critical reads

https://issues.apache.org/jira/browse/JAMES-3440 is the JIRA entry for this...

the problem of position and limit is hard, it could have consequences on Cassandra.

We are returning a full list on metadata on every IMAP synchronisation (that does a full fetch because we do not support QRSYNC). Clients trigger this every 15 minutes or so, and it get executed (with extra metadata on mutable data) in 1-2 seconds for mailboxes around 200.000 mails.
This is a VERY rare operation in JMAP.
I'm not scared ;-)
If you are (or other people are) they can turn that of.
If users run into issues in production plateform, they can disable this.
Of course if that turns out being a bad idea, that could be removed from the code base and this ADR abandonned. But let's give a chance to this experimental feature a chance first, because I really believe that is the best decision we can take about ElasticSearch.

For solving the scrolling issue, we can design a (git like) DAG to store entries and associate a DAG node to a scrolling state by using state feature of JMAP.
By the way, we'll need to implement state at one point.

What is a DAG ?
Or we can wait scrolling being a problem before over-engineering it.
So far, we just don't know if the current proposal is good enough or not.

The problem is, if you don't include the needed complexity from the start, you won't know how it will behave once you include the complexity and thus you may loose your time.
A DAG is a direct acyclic graph, like git.
Whatever the implementation (a DAG may not be the best idea), the idea is to have a "persistent structure" (every change creates a new immutable state) so that a scroll is bound to a given structure. RBDMS usually implements that using MVCC. JMAP state maps to this concept.
I don't know what is the best implementation for that in Cassandra to be honest.

The problem is, if you don't include the needed complexity from the start, you won't know how it will behave once you include the complexity and thus you may loose your time.

I take the risk.
This proposal is a small implementation effort. Discarding it when needed won't be a problem

A DAG is a direct acyclic graph, like git.

Thanks for the explanation.

This proposal is a small implementation effort. Discarding it when needed won't be a problem

Exactly why writing an ADR before doing a PoC may not be the best idea

Exactly why writing an ADR before doing a PoC may not be the best idea

And doing a PoC without a proper ADR is often misunderstood.
Here we have some kind of feature flag, so it can be easily tried and removed if not conclusive. The ADR is interesting because without it the first question I would have asked would have been: "why do you want to do this", and the second one "how do you handle pagination". And thus long debates which are really better explained here.

JMAP state maps to this concept. (DAG)

@mbaechler I would be curious to know why you think that. Can you develop a bit?
I think before starting complicated developments, having a flat, ordered list of changes, served from oldest to newest is way easier to implement than the "from newest to oldest using some intermediate temporary states" documented as an optimization by the spec.
Would that be what you reference as a DAG?

Merged


Improve a warning message for missing object errors

See the linked doc site for more discussion. This solves #786

Thank you!!


UG Final Bug Fixing

Changes made are those that are ticked:
General

[x] Some tab names are not capitalised and some are capitalised. Some of them are enclosed in a code block like this while some aren't. It'll be better to standardise so that it's clear those refer to tab names (Fixed: all tab names are now capitalised with the word "tab" trailing it, e.g. "Dashboard tab", without being enclosed in any code blocks)
[x] Similarly, some model names are capitalised while some aren't, better to standardise, but this is a more trivial issue. (Fixed: all model names are now not capitalised, e.g. "custom goal", "contact", "event", "todo")
[x] Headings capitalisation should be standardised as well, but this is an even more trivial issue.

Using This Guide

[ ] remember to delete "There is also a command summary table at the end of this document." if not planning to include command summary
[x] "specifed" typo
[x] suggestion to add example to aid understanding:
This means that if some command X with effect Y is specifed in the ‘Z tab’ section, the user will only get intended effect Y when X is executed when on the Z tab (unless the user uses convenience commands, or if it is the contacts and details tabs which are highly related, see summary of commands for contacts and details tab).
Can be rephrased to
This means that if some command X with effect Y is specified in the ‘Z tab’ section, the user will only get intended effect Y when X is executed when on the Z tab (unless the user uses convenience commands, or if it is the contacts and details tabs which are highly related, see summary of commands for contacts and details tab). For example, the command to mark a Todo as done will work only while the user is on the Todos tab.

Convenience Commands

[x] "switching between tabs" can be a hyperlink
[x] /schedule add event d/CS2103 meeting fr/1300 to/1500 doesn't work

Adding a Custom Goal

[x] add d/call 20 clients goal/20 bydate/16-05-2021 and add d/earn $1000 in commissions goal/1000 bydate/23-07-2021 bytime/1200 are both dates in the past. Better to use dates in the future to make it more realistic.

Details tab

[x] broken link to summary of commands for contacts and details tab

Changing a client’s status

[x] broken link to dashboard

Schedule tab

[ ] Relook at the entire section after Ricky's update

Deleting an event

[ ] In my opinion, better to omit "Potential enhancement: to delete multiple Events at once which was already added into the Schedule."

Listing all todos

[x] Sorry can you help me remove "By default, the list of all Todos will be shown upon navigating to the Todos tab."

Editing a Todo

[x] heading remove "while on the Todos tab"
[x] Typo "secified" change to "specified"

Codecov Report

Merging #210 (e3c6af9) into master (9bc1a7a) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #210   +/-   ##
=========================================
  Coverage     44.66%   44.66%
  Complexity      682      682
=========================================
  Files           177      177
  Lines          3544     3544
  Branches        408      408
=========================================
  Hits           1583     1583
  Misses         1859     1859
  Partials        102      102

Continue to review full report at Codecov.

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


Does not work with Visual Studio 2022

Are these examples still relevant for the latest VIsual Studio? The assemblies being referenced are out of date and many seem deprecated. I am also still unable to open the projects using the latest Visual Studio. What I would like to see is updated examples that reflect the latest language (e.g. dotnet 6)
I would like to use webhooks in the Azure Function v3 c# application I am using. But am not sure these examples are of much use?
I found this from official Microsoft documentation found at:
https://docs.microsoft.com/en-us/sharepoint/dev/apis/webhooks/webhooks-reference-implementation

It's probably not given the dates. These samples are submitted by the community and there is no onus for those that do so to keep them up to date.  I'm giving a talk next week on this topic and I have an updated solution that I built (although I admit that I don't use VS2022 yet I think I'm still using 2019)... but the references are up to date and this is done in .NET Core 3.1 for Azure Functions v3 using C#, maybe it would assist you.  https://github.com/juliemturner/Public-Samples/blob/master/Webhooks/WebhooksDemo

You are a god send! ;-) Thank you very much for your contribution!
p.s. - It works just fine in VS22'


Ingore FOSSA failures

FOSSA checks are still failing with the same error, re-opening https://github.com/rancherlabs/eio/issues/1216
Instead of removing the check entirely just ignore the failure as per suggested in https://github.com/rancherlabs/eio/issues/1216#issuecomment-1203957485

Sorry for asking, but where have you seen the error?

Hey team! I just wanted to follow up here because we received a support ticket. Can you link me to one of the failing scans that prompted this?

@saramaebee It's the drone-publish builds for this repo. Please reach out on slack for the url


Not able to provision a service instance within Azure

Hi,
Hi created an AKS cluster, When trying to provision a postgreDB I always ends up with a OrphanMitigation
I contacted azure support who was not able to get the issue and redirected me me to your group.
Thanks in advance.
Status for my instance created:
**Name:        postgredb6
Namespace:   osba
Status:      OrphanMitigation - Provision call failed: (no description provided) @ 2018-10-03 18:04:05 +0000 UTC
Class:       azure-postgresql-9-6
Plan:        basic
Parameters:
location: eastus
resourceGroup: hakdeploy**
Bindings:
No bindings defined

Please find below the steps I followed
// Clear the osba and catalogue if previously created
helm delete catalog --purge
helm delete osba –purge
kubectl delete namespaces osba
kubectl delete namespace catalog

// install catalog and osba
helm repo add svc-cat https://svc-catalog-charts.storage.googleapis.com
helm repo add azure https://kubernetescharts.blob.core.windows.net/azure
helm install svc-cat/catalog --name catalog --namespace catalog --set rbacEnable=false
helm install azure/open-service-broker-azure --name osba --namespace osba --set azure.subscriptionId=xxx --set azure.tenantId=xxx --set azure.clientId=xxx --set azure.clientSecret=xxx
// provision the postgre db
svcat provision postgredb6 --class azure-postgresql-9-6 --plan basic --namespace osba -p location=eastus -p resourceGroup=hakdeploy
kubectl get pods -n catalog Return:
NAME                                                  READY     STATUS    RESTARTS   AGE
catalog-catalog-apiserver-5bd5cbffd7-d8f4c            2/2       Running   0          13m
catalog-catalog-controller-manager-77bf5587cb-9vqz6   1/1       Running   6          13m
kubectl get pods -n osba Return:
NAME                                             READY     STATUS    RESTARTS   AGE
osba-open-service-broker-azure-645b78cb4-cxrns   1/1       Running   2          12m
osba-redis-84d6666cf9-fbjdz                      1/1       Running   0          12m

We'd need to see Service Catalog controller logs and OSBA logs for a clearer picture, but my gut here says this could be RBAC related. I see you've --set rbacEnable=false when deploying Service Catalog. Recent AKS clusters have RBAC enabled by default, so unless you explicitly disabled that when provisioning the cluster, you don't want to include that option when installing Service Catalog.
If that's not it, post some logs and we'll take another look.

Re,
Thanks for your answer, In fact when you create a AKS cluster on azure the Use RBAC is set to No, then if you do not put --set rbacENable=false you got an authorization issue.
logs-from-controller-manager-in-catalog-catalog-controller-manager-77bf5587cb-9vqz6.txt
logs-from-open-service-broker-azure-in-osba-open-service-broker-azure-645b78cb4-cxrns.txt

@Harabi I'm certain that new AKS clusters enable RBAC by default, but we can probably set any theory about that being the issue aside...
This bit from the OSBA logs explains what is going on:
time="2018-10-03T18:04:04Z" level=error msg="error executing job; not submitting any follow-up tasks" error="error executing provisioning step \"deployARMTemplate\" for instance \"b1c73f4c-c736-11e8-8be9-6e2eacb3daf0\": error executing provisioning step: error deploying ARM template: error deploying \"6263fea6-250d-4cdc-bd07-abb25448d00f\" in resource group \"hakdeploy\": error getting deployment: resources.DeploymentsClient#Get: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code=\"AuthorizationFailed\" Message=\"The client '820dfc96-b7ec-4165-8822-a5e63f525061' with object id '820dfc96-b7ec-4165-8822-a5e63f525061' does not have authorization to perform action 'Microsoft.Resources/deployments/read' over scope '/subscriptions/b815e902-88c5-4629-92f8-b1affd94c20d/resourcegroups/hakdeploy/providers/Microsoft.Resources/deployments/6263fea6-250d-4cdc-bd07-abb25448d00f'.\"" job=executeProvisioningStep taskID=5ad6e5c1-5d7a-4854-8f42-fcccae2fa56b

The service principal you're using with OSBA doesn't have adequate permissions on the subscription.

Do you have an idea about the permissions it needs?

Hi,
I have more information about it, I set my service principal as contributor to my subscription. My subscription has all the resources required (compute,network and container service). My service principal has the windows active directory permission:

When launching the command I provided you in my first post and looking at the log I do not have the authorization failed. how ever it still failed please find below the logs:
logs-from-open-service-broker-azure-in-osba-open-service-broker-azure-5ff7d9b749-8pj5s.txt
logs-from-controller-manager-in-catalog-catalog-controller-manager-77bf5587cb-sw4vq (1).txt
The error now is:
panic: interface conversion: service.InstanceDetails is nil, not *postgresql.allInOneInstanceDetails
The command i type to provision is:
svcat provision postgredb6 --class azure-postgresql-9-6 --plan basic --namespace osba -p location=eastus -p resourceGroup=myName
any Idea?

That appears it might be a bug in the broker. I'll take a look for you @Harabi

Hi Jeremy,
I did investigated more on the log side, and on the service catalog controller manager api I can see this:
I1009 04:55:31.927596       1 controller.go:387] Error syncing ServiceInstance osba/postgredb6 (retry: 0/15): The instance references a broker "osba" which has no OSB client created.
In fact after a couple of mins, I can see a postgre db provisioned with an id xxxx which is not the postgredb6 name I defined when I called the command:
svcat provision postgredb6 --class azure-postgresql-9-6 --plan basic --namespace osba -p location=eastus -p resourceGroup=myName
The call to svcat get instances returns nothing.
Note that my rbac is disable (default on azure portal website create ressources section) I did not try to activate it after.
please find below the log of the svc manager api, the broker log does not contains anything.
logs-from-controller-manager-in-catalog-catalog-controller-manager-f9b8958f8-dsdlp.txt
thanks

One issue here is that the name you define for kubernetes is not what you will see in the OSBA logs. We are generating a uuid for the name of the resource in azure. The name you gave to svcat is for k8s only.

when you use “svcat get instances” are you providing a namespace?

no

C:\Program Files\Microsoft SDKs\Azure.NET SDK\v2.9>svcat get instances -n osba
NAME      NAMESPACE          CLASS           PLAN    STATUS
+------------+-----------+----------------------+-------+--------+
postgredb6   osba        azure-postgresql-9-6   basic   Ready

can see it

Seems to have worked. If I summarized the key thing was to add the contributor right of my service principal to my azure subscription. The weird thing is that I do not see the deployment taken into account directly after provisioning. maybe the action is put in a queue.
The other question that I have is regarding the error on the log I sent you:
Error syncing ServiceInstance osba/postgredb6 (retry: 0/15): The instance references a broker "osba" which has no OSB client created.
Is it something normal to have?
Thx


API Addition - Pass event context explicitly

It would be nice, if the event context were passed explicitly as an alternative, or in conjunction with "this", would be better imho, since 'this' and 'eval' can be considered dangerous, as they can't be traced in a non-running context.  It's been a niggle of mine with jQuery for a number of years.
$('button').on('click', function(evt, button) {
  button = $(button);
})

I actually added it since I don't know if this would be passed with ES6's arroy functions. However I deleted it for two reasons:

The button is actually passed inside evt as currentTarget:

u('button').on('click', function(evt, button) {
  button = u(evt.currentTarget);
});

The second and further parameters are should be data passed through .trigger()

u('button').on('click', function(e, jimmy, johnny){ /* ... */ });

var jim = 20, john = 30;
u('button').trigger('click', jim, john);

However I completely forgot to implement+document it on the .on() side, while it is impemented on the .trigger() side.

Update on the bug found from this request: now .on() callback accepts the data as parameters.


useRuntimeConfig() returns NitroRuntimeConfig and does not include keys defined in nuxi.config.ts

Environment

Operating System: Windows_NT
Node Version:     v18.12.1
Nuxt Version:     3.10.3
CLI Version:      3.10.1
Nitro Version:    2.9.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, runtimeConfig
Runtime Modules:  -
Build Modules:    -

Reproduction
CodeSandbox
Describe the bug
The return value of the useRuntimeConfig hook does not include the keys defined in nuxt.config.ts on the server, while they are present on the client, even the private keys are included.
Additional context
No response
Logs
No response

Can't access the codesandbox

Can't access the codesandbox

hey sorry about that, I forgot to make it public
here is the link again

Hello @imding, for the any type, you need to add the type yourself as per the docs: https://nuxt.com/docs/guide/going-further/runtime-config#typing-runtime-config
declare module 'nuxt/schema' {
  interface RuntimeConfig {
    apiSecret: string
  }
  interface PublicRuntimeConfig {
    apiBase: string
  }
}
// It is always important to ensure you import/export something when augmenting a type
export {}

Hello @imding, for the any type, you may need to add the type as per the docs: https://nuxt.com/docs/guide/going-further/runtime-config#typing-runtime-config (workaround)
declare module 'nuxt/schema' {
  interface RuntimeConfig {
    apiSecret: string
  }
  interface PublicRuntimeConfig {
    apiBase: string
  }
}
// It is always important to ensure you import/export something when augmenting a type
export {}

EDIT: in test.ts it is also advised to pass the event params in useRuntimeConfig as shown here to handle environment variables conflicts :
export default defineEventHandler((event) => {
  const config = useRuntimeConfig(event)
})

hi Adrian, thanks for the reply.
the index.d.ts file in the docs is for adding typing to the RuntimeConfig interface, which already infers from nuxt.config.ts albeit without hiding the private ones (just types, their values are correctly withheld from the client), while the useRuntimeConfig hook returns the NitroRuntimeConfig interface outside of Vue components, and it does not have any of the config keys defined in nuxt.config.ts, I believe the intended behaviour is to includes all of them (like with RuntimeConfig but with all the values too).

I see your problem, it's weird...
using last version of nuxt (npx nuxt upgrade --force) AND Stackblitz works: https://stackblitz.com/edit/github-gjiyuu?file=server%2Fapi%2Ftest.ts
any attempt on codesandbox is not working, maybe skill issue from me but it is what it is  ¯ \ _ (ツ) _ / ¯

I see your problem, it's weird...
using last version of nuxt (npx nuxt upgrade --force) AND Stackblitz works: https://stackblitz.com/edit/github-gjiyuu?file=server%2Fapi%2Ftest.ts
any attempt on codesandbox is not working, maybe skill issue from me but it is what it is ¯ \ _ (ツ) _ / ¯

I tried your link but I get this

There is no .nuxt folder and I can't type pnpm postinstall (actually I can't type anything) in the terminal.
Do I have to do something after opening the link?

Just tested it and the Stackblitz Reprod works for me. Do you still encounter an issue @imding ?

Just tested it and the Stackblitz Reprod works for me. Do you still encounter an issue @imding ?

I'm not sure what changed on Stackblitz but I still get this when I use useRuntimeConfig in server/* files

@imding That's interesting, since on StackBlitz it definitely works:

You coul try to remove the .nuxt folder and restart your server, to let the types regenerate.
Are you on the latest Nuxt version? And do you have this issue when starting a new project?

@imding That's interesting, since on StackBlitz it definitely works:

You coul try to remove the .nuxt folder and restart your server, to let the types regenerate.
Are you on the latest Nuxt version? And do you have this issue when starting a new project?

Hey, I updated my project to nuxt 3.11.1 and it seems to work.
I am still getting the NitroRuntimeConfig type but it does have all the keys and autocomplete now.
How about the RuntimeConfig type, it still includes keys outside runtimeConfig.public from nuxt.config.ts, should they be omitted or is it up the the developer to know they're not accessibleV

@imding You mean that on the client-side useRuntimeConfig() in  app.vue, you get types for keys outside of runtimeConfig.public that aren't available? Yeah I can reproduce that. The value of apiSecret isn't available on client-side in runtime, but I get auto-suggestions (not on StackBlitz, but on the same code running locally in VSCode).

I think it loads the server types of useRuntimeConfig on the client, because of the event parameter, that is only available for defineEventHandler(event => ... on server-side.

Let's open another issue for this specific bug, and close this one. What do you think?

@madebyfabian this is not necessarily wrong as the "secret" variables are available during SSR but not on the client. So using that + process.server or an if can be valid.

@manniL I see, true! Though I am still confused about the fact the there is the _event param available on the client useRuntimeConfig(_event?: ...). I see it was added with this commit https://github.com/nuxt/nuxt/commit/f40e5dcc8b5e62db91d0f954c02abb9cf66749f8. But I get you, it's not a bug, just something you have to keep in mind.


Added Apple Silicon install instructions under Rosetta

A quick alternative for installing BD on Apple Silicon.

We have a solution to remove all the special instructions for Apple Silicon which should be available in a few days so hopefully this content won't be needed.


Update query-and-edit-an-organization-theme.md

Typo in link.

Thanks for submitting this change to fix the broken link.
I've applied the change manually and it should be live this afternoon.


what's gcc version for wasmtime-go?

so, I want to know the minimum supported version of gcc

Sorry but I don't know the answer to the question.


Click a message and open in a modal dialog

Hello ! I wanna get assigned to this one.

Assigned!  Thank you for your interest


[SPARK-11510][SQL] Remove SQL aggregation tests for higher order statistics

We have some aggregate function tests in both DataFrameAggregateSuite and SQLQuerySuite. The two have almost the same coverage and we should just remove the SQL one.

Merged build triggered.

Merged build started.

Test build #45055 has started for PR 9475 at commit 8ec59c0.

Test build #45055 has finished for PR 9475 at commit 8ec59c0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/45055/
Test PASSed.

LGTM. Merging to master.


Update repo name

Hey there! Can you update your repo name to "terraform-google-network-subnet"? That's the official naming for Google modules which matches the naming of the Terraform Google provider.
That way your modules will show up with the verified Google modules when users search: https://registry.terraform.io/browse?provider=google
For reference here is how the repo name is used to create the module name in the TF Registry:
https://www.terraform.io/docs/registry/modules/publish.html

@KFishner I am facing issues re-adding this module via the registry. Gives a
The same provider ("google") for this module already exists.

Would appreciate some help. Thanks

Hi @tasdikrahman I think this is a known issue you are hitting which should be fixed soon. I'll update this issue when it is.

@banks Sure. That would be great. Thanks for the help.

@tasdikrahman I've fixed the bug you hit now as far as I know.
As a bonus, I could push through the ingress of your module so you don't even have to re-submit :)
You can see it here: https://registry.terraform.io/modules/tasdikrahman/network-subnet/google/0.1.1

I assume this issue can be closed now the preferred provider name is working but I'll let you do that.

@banks That's awesome. Thanks for the help guys :)


Generation property changed to integer

In reference to #36 Wrong value for 'Generation' field in Examples

This change is

Hi @ITGuyOU, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@ITGuyOU Would you be willing to sign the CLA.  See the message for @msftclas  above.

Done. Do you all need me to do anything else?

Hi @ITGuyOU, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;


Correct typo in openrov.service script

Correct typo in openrov.service script  to avoid problem when log files don't exist

Correct forever-monitor deprecated options to args:
https://github.com/foreverjs/forever-monitor/issues/74

Thanks!


Ignore errors in @generated files

See: https://github.com/zertosh/eslint-plugin-ignore-generated
From https://github.com/peggyjs/peggy/pull/400

That eslint plugin hasn't been updated in 6 years, and I can't find any docs on @generated.


Method is always called twice on the server

Asteroid is great, but I have a huge problem with methods. Everytime I call a method, it is actually called twice on the server side. I double-checked with a console.log that Asteroid's call() method is definitely only executed once. What might cause this?

Did you ever figure this out?


component node naming convention

Currently node is named as link-image-text . aem author automatically converts the component locator to link_image_text and if it added twice the random number is appends to  link_image_text.
The current normalize implantation ignore alpha-numeric after _ , which is not helpful to insert components named like above example.
 public static String normalize(String dataPath) {
    return Character.isDigit(dataPath.charAt(dataPath.length() - 1)) ?
        StringUtils.substringBeforeLast(dataPath, "_") :
        dataPath;
  }

The normalization is done only when it is a duplicate and the random number is added to given node, e.g.:

link_image_text will not be processed
link_image_text_2343423  will become a link_image_text


Bump Ipxedust to latest version

Issue #, if available:
https://github.com/orgs/aws/projects/42/views/29?pane=issue&itemId=88919794&issue=aws|eks-anywhere-internal|2792
Description of changes:
For L3 provisioning, we need to consume the latest smee release. Smee has a dependency on ipxedust in our build process. Bump Ipxedust first to have the artifacts available for the latest version to then build Smee. We use the commit ID, as upstream don't cut any tagged releases.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/retest

/approve


Android 12 Overscroll effect

Native Android
With Android 12, this is how the overscroll effect looks like in native Android 12:

Pull stretch
Fling stretch

Flutter
This is what the overscroll effects looks like in Flutter running on Android 12:
https://user-images.githubusercontent.com/19204050/119533495-6b108480-bd75-11eb-9218-c298001134f7.mp4
Resource
You can find the overscroll effect article on Android Developers: https://developer.android.com/about/versions/12/overscroll

Hi @creativecreatorormaybenot
I see there's an open issue addressing the case you described.
Please follow up on that issue, Closing as duplicate of https://github.com/flutter/flutter/issues/82906
If you disagree, please write in the comments and I will reopen it.
Thank you


IDEA build failures until config files are removed from being considered "source"

reported by @yurishkuro

not sure if other people get that, but when I import the project on a clean repo, IntelliJ cannot build it because of configuration files in zipkin-collector-service/config and zipkin-query-service/config. These dirs are somehow added as both test resource and some other type, and I have to open project settings and unselect them to make sure they are only included as test resource (so that IntelliJ doesn't try to compile them).
#544 attempted to solve this issue

In my environment, gradle/idea-mark-config-dir-as-resource.gradle seems to have worked, as I don't have to do anything to have the resulting idea files correct.
$ ./gradlew cleanIdea idea
--snip--
$ grep 'file://\$MODULE_DIR\$/config' */*.iml
zipkin-collector-service/zipkin-collector-service.iml:      <sourceFolder url="file://$MODULE_DIR$/config" isTestSource="false" type="java-resource"/>
zipkin-query-service/zipkin-query-service.iml:      <sourceFolder url="file://$MODULE_DIR$/config" isTestSource="false" type="java-resource"/>

@yurishkuro do you mind checking to see what your local environment generates? (ex the same grep before you open the project in intellij?)

I get the same:
$ grep 'file://\$MODULE_DIR\$/config' */*.iml
zipkin-collector-service/zipkin-collector-service.iml:      <sourceFolder url="file://$MODULE_DIR$/config" isTestSource="false" type="java-resource"/>
zipkin-query-service/zipkin-query-service.iml:      <sourceFolder url="file://$MODULE_DIR$/config" isTestSource="false" type="java-resource"/>

Actually just tried clean import from clean zipkin repo and didn't get compile errors. Maybe it's something about our fork, even though #544 is present.

Can we rename them from .scala to .scalaconf? Maybe the IDE doesn't detect them as source code then.

Both scala and gradle are no longer used in zipkin, Intellij imports the maven project just fine now.


Runing test on self-hosted runners

name: Cypress Integration Test

on:
  workflow_dispatch:

jobs:
  cypress-run:
    runs-on: self-hosted
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      # Install NPM dependencies, cache them correctly
      # and run all Cypress test
      - name: Cypress run
        uses: cypress-io/github-action@v5
        env:
          DEBUG: '@cypress/github-action'
        with:
          build: npm run cy:run

Above is the work flow. it does not work on self-hosted runner, but on Github-Hosted runner is works well.
follow is the error message.
`2023-03-08T16:31:17.446Z @cypress/github-action working directory /home/runner/actions-runner/_work/cypress-ci-test/cypress-ci-test
2023-03-08T16:31:17.450Z @cypress/github-action using custom Cypress cache folder "/home/runner/.cache/Cypress"
2023-03-08T16:31:17.450Z @cypress/github-action trying to restore cached NPM modules
2023-03-08T16:31:17.452Z @cypress/github-action Hash from file /home/runner/actions-runner/_work/cypress-ci-test/cypress-ci-test/package-lock.json is 4404575b8ea298f4a836b139b4fd1f7960e22d65ae030e702555522f3f4727c8a77dcb2e7c3458b0eca604c4df770d15351616694ffc2bf39b16791a914b2
2023-03-08T16:31:17.458Z @cypress/github-action trying to restore cached Cypress binary
2023-03-08T16:31:17.460Z @cypress/github-action Hash from file /home/runner/actions-runner/_work/cypress-ci-test/cypress-ci-test/package-lock.json is 4404575b98ea298f4a836b9b4fd1f7960e22d65ae030e702555522f3f4727c8a77dcb2e7c3458b0eca604c4df770d1535161669411ffc2bf39b16791a9b2
2023-03-08T16:31:18.441Z @cypress/github-action npm cache hit undefined
2023-03-08T16:31:18.441Z @cypress/github-action cypress cache hit undefined
2023-03-08T:31:18.444Z @cypress/github-action installing NPM dependencies
2023-03-08T16:31:18.447Z @cypress/github-action Unable to locate executable file: npm. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
2023-03-08T16:31:.463Z @cypress/github-action Error: Unable to locate executable file: npm. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
    at Object.<anonymous> (/home/runner/actions-runner/_work/_actions/cypress-io/github-action/v5/dist/index.js:6034:27)
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/actions-runner/_work/_actions/cypress-io/github-action/v5/dist/index.js:5845:58)
Error: Unable to locate executable file: npm. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`

@ray31245

it does work on self-hosted runner, but on Github-Hosted runner is works well.

That looks like a typo in there somewhere!
Does it work on a self-hosted runner?
Does it work on a GitHub-hosted runner?
From which type of runner is your log produced?
I suspect that you are on a self-hosted runner and that Node.js is not installed.

@ray31245

it does work on self-hosted runner, but on Github-Hosted runner is works well.

That looks like a typo in there somewhere!
Does it work on a self-hosted runner? Does it work on a GitHub-hosted runner?
From which type of runner is your log produced?

I really has a typo at there. 😅
It does  not work on self-host runner.
I fix the work flow.
name: Cypress Integration Test

on:
  workflow_dispatch:

jobs:
  cypress-run:
    runs-on: self-hosted
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Use Node.js
        uses: actions/setup-node@v3
        with:
          node-version: 18
      # Install NPM dependencies, cache them correctly
      # and run all Cypress test
      - name: Cypress run
        uses: cypress-io/github-action@v5
        env:
          DEBUG: '@cypress/github-action'
        with:
          build: npm run cy:run

Thank you for your feedback, it has been resolved.

@ray31245
Thanks for posting your solution. 👍🏻 That may help somebody else.
The GitHub-hosted runners all have Node.js 18 installed by default, so this is only an issue of self-hosted runners.


Add option to choose which list to start on

The List page always starts with the Anime list. It would be great to have an option for starting with the Manga list instead.
Thanks for this great app.

I found the following in the source code:
https://github.com/rev0lgenX/AniLib/blob/2e0ab3905b6dff658efb4d18cc7f4e4adbc48c6a/app/src/main/java/com/revolgenx/anilib/activity/MainActivity.kt#L226-L228
Thus the solution for me is to create a launcher shortcut for "Open Manga List".
Technically this "solution" is different from the feature being requested, but it works well for my use-case, so I'm closing this ticket.
Thanks.


IGNITE-14922 Change protocol from HTTP to HTTPS in url: http://ignite.apache.org

Replacing insecure HTTP with secure HTTPS
The Contribution Checklist

[x] There is a single JIRA ticket related to the pull request.
[x] The web-link to the pull request is attached to the JIRA ticket.
[x] The JIRA ticket has the Patch Available state.
[x] The pull request body describes changes that have been made.
The description explains WHAT and WHY was made instead of HOW.
[x] The pull request title is treated as the final commit message.
The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
[x] A reviewer has been mentioned through the JIRA comments
(see the Maintainers list)
[x] The pull request has been checked by the Teamcity Bot and
the green visa attached to the JIRA ticket (see TC.Bot: Check PR)

Notes

How to Contribute
Coding abbreviation rules
Coding Guidelines
Apache Ignite Teamcity Bot

If you need any help, please email<EMAIL_ADDRESS>or ask anу advice on http://asf.slack.com #ignite channel.

Could you update master please? The follow modules are not fixed: calcite, ducktests, numa-allocator


Check command

Codecov Report

Merging #21 (bb4bcd3) into master (fd4089c) will increase coverage by 0.28%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
+ Coverage   89.36%   89.64%   +0.28%
==========================================
  Files          10       11       +1
  Lines         470      483      +13
==========================================
+ Hits          420      433      +13
  Misses         50       50

Impacted Files
Coverage Δ

onnxcli/check.py
100.00% <100.00%> (ø)

onnxcli/dispatcher.py
96.55% <100.00%> (+0.25%)
:arrow_up:

Continue to review full report at Codecov.

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


Pallas Ouroboros  Tx-Mempool-Monitoring Mini-Protocol

This is the Ouroboros Tx-Mempool-Monitoring Miniprotocol to interact with the local Mempool of a Cardano Node.
I also added the Protocol Versions 11 and 12 for the handshake protocol as it is needed for the monitoring protocol.
I request that some else also tests the code.
A first implementation of the Mempool monitoring Mini-Protocol can be found here:
https://github.com/Sbcdn/sif

this is awesome!


STORM-1745: Add partition to log output in PartitionManager

Adding topic name and partition id to the log output makes it easier to debug when an issue arises.

@srdo
Could you give an example of actual changes in logs?

@HeartSaVioR Sure. The current logs look like this "Starting Kafka <IP_ADDRESS>:0 from offset 15520", which doesn't tell you which topic it's affecting. The logs in L259 and L269 don't tell you which partition/topic they're affecting at all. This PR changes the log to use the toString on Partition for logging, which looks like this: "Starting Kafka <IP_ADDRESS> Partition{host=<IP_ADDRESS>:9092, topic=dce-data, partition=26} from offset 1612424"

@srdo Okay, thanks for explaining. +1


Add France datums and CRS codes

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

Project coverage is 96.22%. Comparing base (275aa97) to head (1811945).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #222      +/-   ##
==========================================
- Coverage   96.35%   96.22%   -0.14%
==========================================
  Files          32       32
  Lines        1400     1404       +4
==========================================
+ Hits         1349     1351       +2
- Misses         51       53       +2

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

Please go ahead and merge. From my phone...
Em sex., 6 de dez. de 2024, 09:50, Elias Carvalho @.***>
escreveu:

@eliascarv https://github.com/eliascarv requested your review on: #222
https://github.com/JuliaEarth/CoordRefSystems.jl/pull/222 Add France
datums and CRS codes.
—
Reply to this email directly, view it on GitHub
https://github.com/JuliaEarth/CoordRefSystems.jl/pull/222#event-15559924086,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZQW3PUMORFXTIPPWBQNXD2EGMTFAVCNFSM6AAAAABTETI3IWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGU2TSOJSGQYDQNQ
.
You are receiving this because your review was requested.Message ID:
@.***
com>


Docs bug: Table pagination

Describe the bug
Bug is located in the pagination section of the Table component: https://react-magma.cengage.com/version/2.5.5/api/table/#pagination
Something weird going on with the results per page label
Screenshots

The issue is fixed.
RM Link : https://next--upbeat-sinoussi-f675aa.netlify.app/api/table/#pagination
See Screen-cast: <http://somup.com/c3iFfQuYYq>
Thanks!


Request for new function : Matplotlib colormap format

Hi guys,
While the color scale functions in lets-plot are awesome, I would like to propose adding a function that can read any colormap given in the Matplotlib format. This would be different from ..._color_brewer() and ..._color_viridis() as it would take the name of the colormap imported from another package as an argument.
Several packages exist for scientific colormaps (cmcrameri, CMOcean, etc., see this article) and most of them are designed so colormaps can be directly used with Matplotlib.
In order to use such colormaps with lets-plot, I wrote a small function (ggcmap2hex()) that translates colormaps (in Matplotlib format) into a list of hex codes. The list can then be used in the scale_xxxx_gradientn() function in lets-plot (xxxx being either fill or color).
Currently, this function relies on Matplotlib, which makes it dependent on Matplotlib and on its versions. Which is not what you want but I couldn't code it natively for lets-plot :$
It would be super cool if you guys could implement such a function to be used in scale_xxxx_gradientn(). Or to create a new function called something like scale_xxxx_colormap() or scale_xxxx_cmap() that would do scale_xxxx_gradientn(colors=ggcmap2hex(cm.jet))  such as :
from matplotlib import cm
...
...
 + scale_color_cmap(cm.turbo)

or
import cmcrameri.cm as cmc
...
...
 + scale_fill_cmap(cmc.batlow)

I attached a notebook that contains ggcmap2hex() and a demo.
ggcmap2hex.zip

Thanx! this is interesting, certainly worth considering.

Coming in the next release soon: https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24e/scale_cmapmpl.ipynb

Awesome ! it looks great, thanks for considering the idea !

Hi @egayer, v4.4.0 is out, but beware of an unfortunate issue that we failed to detect in time and it made its way into this release.