Restart-DbaService not informing me that a restart didn't occur

a restart of my sql server didn't occur until i added -Force but it looked like it was working. it had a progress bar and it paused for a bit. I believe the issue was that agent needed to restart too.
Can we automatically include dependent services or detect when a force is required and inform the user?
Thank you, here is my verbo0se
VERBOSE: [12:24:32][Resolve-DbaNetworkName] Getting computer information from sql2016.base.local
VERBOSE: [12:24:32][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [12:24:32][Get-DbaCmObject] [sql2016.base.local] Retrieving Management Information
VERBOSE: [12:24:32][Get-DbaCmObject] [sql2016.base.local] Accessing computer using Cim over WinRM
VERBOSE: [12:24:32][Get-DbaCmObject] [sql2016.base.local] Accessing computer using Cim over WinRM - Success
VERBOSE: [12:24:32][Resolve-DbaNetworkName] Resolving sql2016.base.local using .NET.Dns GetHostEntry
VERBOSE: [12:24:32][Get-DbaService] Getting SQL Server namespace on sql2016.base.local
VERBOSE: [12:24:32][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [12:24:32][Get-DbaCmObject] [sql2016.base.local] Retrieving Management Information
VERBOSE: [12:24:32][Get-DbaCmObject] [sql2016.base.local] Accessing computer using Cim over WinRM
VERBOSE: [12:24:32][Get-DbaCmObject] [sql2016.base.local] Accessing computer using Cim over WinRM - Success
VERBOSE: [12:24:33][Get-DbaService] Getting Cim class SqlService in Namespace ComputerManagement14 on sql2016.base.local.
VERBOSE: [12:24:33][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [12:24:33][Get-DbaCmObject] [sql2016.base.local] Retrieving Management Information
VERBOSE: [12:24:33][Get-DbaCmObject] [sql2016.base.local] Accessing computer using Cim over WinRM
VERBOSE: [12:24:33][Get-DbaCmObject] [sql2016.base.local] Accessing computer using Cim over WinRM - Success
VERBOSE: [12:24:33][Get-DbaService] Getting Cim class SqlService in Namespace ComputerManagement13 on sql2016.base.local.
VERBOSE: [12:24:33][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [12:24:33][Get-DbaCmObject] [sql2016.base.local] Retrieving Management Information
VERBOSE: [12:24:33][Get-DbaCmObject] [sql2016.base.local] Accessing computer using Cim over WinRM
VERBOSE: [12:24:33][Get-DbaCmObject] [sql2016.base.local] Accessing computer using Cim over WinRM - Success
VERBOSE: [12:24:33][Get-DbaService] Creating output objects
VERBOSE: Performing the operation "Restarting Service" on target "SqlService (ServiceName = "MSSQLSERVER", SQLServiceType = 1)".
VERBOSE: [12:24:33][Update-ServiceStatus] Getting CIM objects from computer SQL2016
VERBOSE: [12:24:33][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [12:24:33][Get-DbaCmObject] [sql2016] Retrieving Management Information
VERBOSE: [12:24:33][Get-DbaCmObject] [sql2016] Accessing computer using Cim over WinRM
VERBOSE: [12:24:34][Get-DbaCmObject] [sql2016] Accessing computer using Cim over WinRM - Success
VERBOSE: Throttle: '50' SleepTimer '200' runSpaceTimeout '30' maxQueue '0' logFile ''
VERBOSE: Excluding variables $, ?, ^, args, Confirm, ConfirmPreference, ConsoleFileName, Debug, DebugPreference, Error, ErrorAction, ErrorActionPreference, ErrorVariable,
ErrorView, ExecutionContext, false, FormatEnumerationLimit, Functions, HOME, Host, ImportVariables, InformationAction, InformationPreference, InformationVariable, input,
MaximumAliasCount, MaximumDriveCount, MaximumErrorCount, MaximumFunctionCount, MaximumHistoryCount, MaximumVariableCount, Modules, MyInvocation, NestedPromptLevel, null,
OutBuffer, OutputEncoding, OutVariable, PID, PipelineVariable, ProgressPreference, PSBoundParameters, PSCommandPath, PSCulture, PSDefaultParameterValues, PSEdition,
PSEmailServer, PSHOME, PSScriptRoot, PSSessionApplicationName, PSSessionConfigurationName, PSSessionOption, PSUICulture, PSVersionTable, PWD, RunspaceTimeout, ScriptBlock,
ShellId, Snapins, StackTrace, Throttle, true, Verbose, VerbosePreference, WarningAction, WarningPreference, WarningVariable, WhatIf, WhatIfPreference
VERBOSE: Found variables to import: _, Action, actionText, allservers, alwaysBuildLibrary, AppendLog, appveyorlabrepo, azurecred, azuremi, callerName, callStack, cimObject,
 commonParam, ComputerName, config_TestIntegration, copyDllMode, cred, Credential, currentLibraryVersion, dbatools_ImportPerformance, dbatoolsSystemSystemNode,
dbatoolsSystemUserNode, DllRoot, doDotSource, EnableException, errorCodes, FileStreamLevel, filestreamstate, Force, foreach, function, group, historyPath, hosts,
ImportFunctions, ImportLibrary, ImportModules, InputObject, instance, instance1, instance1_detailed, instance2, instance3, InstanceName, instances, item, level, LogFile,
MaxQueue, micred, multiFileImport, names, NoCloseOnTimeout, onlinecred, onlinesite, OutputLookup, Parameter, Path, processArray, PROFILE, ProgressId, PSCmdlet, PSItem,
PSModuleRoot, pssession_cleanup_timer, Quiet, renames, result, ScriptFile, serialImport, server, servers, service, serviceComputerGroup, serviceNames, serviceParams,
SleepTimer, spcred, SPReplicator, sqlcred, SqlCredential, SqlInstance, sqlmi, ssisserver, StandardUserEnv, start, svcCim, svcControlBlock, switch, TAType, TEPP, Timeout,
timeSpent, Type, TypeAlias, TypeAliasTable, VariablesToExclude
.
VERBOSE: Creating runspace pool and session states
VERBOSE: Creating empty collection to hold runspace jobs
VERBOSE: Adding Microsoft.PowerShell.Commands.GroupInfo to collection at 11/6/2018 12:24:34 PM
VERBOSE: Finish processing the remaining runspace jobs: 1
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''instance' = Win32_Service: SQL Server (MSSQLSERVER) (Name = "MSSQLSERVER"),'methodName' =
StopService,'namespaceName' = root/cimv2'.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Perform operation 'Get CimInstance' with following parameters, ''namespaceName' = root/cimv2,'instance' = Win32_Service: SQL Server (MSSQLSERVER) (Name =
"MSSQLSERVER")'.
VERBOSE: Operation 'Get CimInstance' complete.
VERBOSE: "11/6/2018 12:24:34 PM";"Removing:'Microsoft.PowerShell.Commands.GroupInfo'";"0.01 minutes";"Completed";
VERBOSE: Closing the runspace pool

I'm working on adding support for SSRS 2017 and (since I don't want to rebase/merge) will add a Warning message for each service that failed to restart in that hotfix.
Example:

I'm closing this one, should be all good now. 🎆 🍾


Date time recognization

Group 10
Proposed change
The modified integration can extract various date formats including standard numeric formats and month names in both long and short forms. It can also handle time in both 12hrs and 24hrs formats. Additionally, it uses specific keywords to identify high-priority tasks that need immediate attention.
To explain more clearly about integration:
Date Formats:
The code can extract the following date formats:
YYYY/MM/DD (e.g., 2024/11/23), DD/MM/YYYY (e.g., 23/11/2024), MM/DD/YYYY (e.g., 11/23/2024), DD Mon YYYY (e.g., 23 Nov 2024), Mon DD, YYYY or Mon DD YYYY (e.g., Nov 23, 2024 or Nov 23 2024), YYYY Mon DD (e.g., 2024 Nov 23) and YYYY DD Mon (e.g., 2024 23 Nov)
Time Formats:
The modified integration can extract time in both 12-hour and 24-hour formats:
HH:MM (e.g., 14:30), HH:MM AM/PM (e.g., 2:30 PM)
Priority Keywords:
The modified integration uses the following keywords to prioritize tasks:
ASAP
Urgent
Immediately
Critical
Important
Top Priority
Must Do
High Importance
These keywords are case-insensitive, so they will be detected in the task title or description.
Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[X] New integration (thank you!)
[X] New feature (which adds functionality to an existing integration)
[ ] Deprecation (breaking change to happen in the future)
[ ] Breaking change (fix/feature causing existing functionality to break)
[X] Code quality improvements to existing code or addition of tests

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:
Link to documentation pull request:

Checklist

[X] The code change is tested and works locally.
[X] Local tests pass. Your PR cannot be merged unless tests pass
[X] There is no commented out code in this PR.
[X] I have followed the [development checklist][dev-checklist]
[X] I have followed the [perfect PR recommendations][perfect-pr]
[X] The code has been formatted using Ruff (ruff format homeassistant tests)
[X] Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated for [www.home-assistant.io][docs-repository]

If the code communicates with devices, web services, or third-party tools:

[ ] The [manifest file][manifest-docs] has all fields filled out correctly.
Updated and included derived files by running: python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt.
Updated by running python3 -m script.gen_requirements_all.
[ ] For the updated dependencies - a link to the changelog, or at minimum a diff between library versions is added to the PR description.

This PR contains other stuff irrelevant to the integration.
The new integration adds more date patterns compared to the previous one. Does it offer any business function?

This PR has been replaced by [https://github.com/PA2558-SEMP/home-assistant-core/pull/143]. Please refer to the new PR for submission.

You still have a conflict here. Please fix it, first.

I think your proposal does not affect Apple TV and Alexa, right?
There are changes in those integrations.


Recurring schedule after an hour did not work anymore

Hi,
We have current setup in DigitalOcean to run an API to send data to another third party app. and it success processing the jobs during 1 to 2 hours, We are using DigitalOcean App platform container.
Here is our setup of recurring.yml
production:
  salesforce_invoice_sync:
    class: SalesforceInvoiceSync::InvoiceSyncJob
    schedule: every 10 minutes

development:
  salesforce_invoice_sync:
    class: SalesforceInvoiceSync::InvoiceSyncJob
    schedule: every hour

However after one hour to two hours the jobs does not work anymore:
here is the screenshot:

the finished job, after there is no:

Here is pick high memory use:

Our logs.
Dec 06 13:41:48 [innovation-funding-7fd67954d9-qln2z](https://my.papertrailapp.com/systems/innovation-funding-7fd67954d9-qln2z/events?focus=1801806248485232640&selected=1801806248485232640) [InnovationFunding](https://my.papertrailapp.com/groups/39357550/events?q=program%3AInnovationFunding&focus=1801806248485232640&selected=1801806248485232640) I, [2024-12-06T21:41:48.038204 #43]  INFO -- :   Parameters: {"server_id"=>"solid_queue", "application_id"=>"innovationfunding", "status"=>"finished"}
Dec 06 13:41:48 [innovation-funding-7fd67954d9-qln2z](https://my.papertrailapp.com/systems/innovation-funding-7fd67954d9-qln2z/events?focus=1801806248694931456&selected=1801806248694931456) [InnovationFunding](https://my.papertrailapp.com/groups/39357550/events?q=program%3AInnovationFunding&focus=1801806248694931456&selected=1801806248694931456) I, [2024-12-06T21:41:48.093696 #43]  INFO -- : Completed 200 OK in 53ms (Views: 23.0ms | ActiveRecord: 19.1ms (67 queries, 52 cached) | GC: 10.0ms)
Dec 06 13:41:48 [innovation-funding-7fd67954d9-qln2z](https://my.papertrailapp.com/systems/innovation-funding-7fd67954d9-qln2z/events?focus=1801806248715911175&selected=1801806248715911175) [InnovationFunding](https://my.papertrailapp.com/groups/39357550/events?q=program%3AInnovationFunding&focus=1801806248715911175&selected=1801806248715911175) I, [2024-12-06T21:41:48.090483 #43]  INFO -- :   Rendered layout layouts/mission_control/jobs/application.html.erb (Duration: 28.0ms | GC: 10.0ms)
Dec 06 13:44:42 [innovation-funding-7fd67954d9-qln2z](https://my.papertrailapp.com/systems/innovation-funding-7fd67954d9-qln2z/events?focus=1801806978533203969&selected=1801806978533203969) [SyncHubWorker](https://my.papertrailapp.com/groups/39357550/events?q=program%3ASyncHubWorker&focus=1801806978533203969&selected=1801806978533203969) D, [2024-12-06T21:44:42.095384 #598] DEBUG -- : SolidQueue-1.0.2 Prune dead processes (5.6ms)  size: 0
Dec 06 13:49:42 [innovation-funding-7fd67954d9-qln2z](https://my.papertrailapp.com/systems/innovation-funding-7fd67954d9-qln2z/events?focus=1801808237189308477&selected=1801808237189308477) [SyncHubWorker](https://my.papertrailapp.com/groups/39357550/events?q=program%3ASyncHubWorker&focus=1801808237189308477&selected=1801808237189308477) D, [2024-12-06T21:49:42.182049 #598] DEBUG -- : SolidQueue-1.0.2 Prune dead processes (76.9ms)  size: 0
Dec 06 13:49:42 [innovation-funding-7fd67954d9-qln2z](https://my.papertrailapp.com/systems/innovation-funding-7fd67954d9-qln2z/events?focus=1801808239529730051&selected=1801808239529730051) [SyncHubWorker](https://my.papertrailapp.com/groups/39357550/events?q=program%3ASyncHubWorker&focus=1801808239529730051&selected=1801808239529730051) D, [2024-12-06T21:49:42.741373 #608] DEBUG -- : SolidQueue-1.0.2 Unblock jobs (1.3ms)  limit: 500, size: 0
Dec 06 13:54:42 [innovation-funding-7fd67954d9-qln2z](https://my.papertrailapp.com/systems/innovation-funding-7fd67954d9-qln2z/events?focus=1801809495778295809&selected=1801809495778295809) [SyncHubWorker](https://my.papertrailapp.com/groups/39357550/events?q=program%3ASyncHubWorker&focus=1801809495778295809&selected=1801809495778295809) D, [2024-12-06T21:54:42.253818 #598] DEBUG -- : SolidQueue-1.0.2 Prune dead processes (65.0ms)  size: 0
Dec 06 13:59:42 [innovation-funding-7fd67954d9-qln2z](https://my.papertrailapp.com/systems/innovation-funding-7fd67954d9-qln2z/events?focus=1801810754165972992&selected=1801810754165972992) [SyncHubWorker](https://my.papertrailapp.com/groups/39357550/events?q=program%3ASyncHubWorker&focus=1801810754165972992&selected=1801810754165972992) D, [2024-12-06T21:59:42.274625 #598] DEBUG -- : SolidQueue-1.0.2 Prune dead processes (8.9ms)  size: 0
Dec 06 13:59:42 [innovation-funding-7fd67954d9-qln2z](https://my.papertrailapp.com/systems/innovation-funding-7fd67954d9-qln2z/events?focus=1801810756204388357&selected=1801810756204388357) [SyncHubWorker](https://my.papertrailapp.com/groups/39357550/events?q=program%3ASyncHubWorker&focus=1801810756204388357&selected=1801810756204388357) D, [2024-12-06T21:59:42.767003 #608] DEBUG -- : SolidQueue-1.0.2 Unblock jobs (4.2ms)  limit: 500, size: 0
Dec 06 13:59:47 [innovation-funding-7fd67954d9-qln2z](https://my.papertrailapp.com/systems/innovation-funding-7fd67954d9-qln2z/events?focus=1801810776764866566&selected=1801810776764866566) [InnovationFunding](https://my.papertrailapp.com/groups/39357550/events?q=program%3AInnovationFunding&focus=1801810776764866566&selected=1801810776764866566) I, [2024-12-06T21:59:47.668392 #43]  INFO -- : Started GET "/jobs/applications/innovationfunding/finished/jobs?server_id=solid_queue" for [<IP_ADDRESS>](https://my.papertrailapp.com/groups/39357550/events?q=%22<IP_ADDRESS>%22&focus=1801810776764866566&selected=1801810776764866566) at 2024-12-06 21:59:47 +0000

in Addition, when using also puma, to add: bin/jobs start

I am not sure what is going on, why the jobs stop. or do we need to add a worker? But on the other app, we are using a good job,. We are using web only in DigitalOcean, not with worker, but it seems to be working, and it is a heavy load of APIs.
Thanks you in advance for assistance and help.

Hey @lrjbrual, sorry for the delay! It's odd that the job stops being scheduled. When this happens, can you check which processes are running in the server where you're running solid_queue?  Just running something like
ps axl | grep solid

ps axl | grep solid

Hi @rosa, No, problem. Appreciate your reply. I am using DigitalOcean App platform, using web resource without worker.
here are the log information:
0  1000    59    42  20   0<PHONE_NUMBER>88 ?     Sl   ?          0:05 solid-queue-supervisor(1.1.0): supervising 71, 74, 78
0  1000    71    59  20   0<PHONE_NUMBER>68 ?     Sl   ?          0:09 solid-queue-dispatcher(1.1.0): dispatching every 1 seconds
0  1000    74    59  20   0<PHONE_NUMBER>40 ?     Sl   ?          0:11 solid-queue-worker(1.1.0): waiting for jobs in invoice_jobs
0  1000    78    59  20   0<PHONE_NUMBER>88 ?     Sl   ?          0:04 solid-queue-scheduler(1.1.0): scheduling salesforce_invoice_sync
0  1000   155   146  20   0  11812  5080 ?      S    ?          0:00 grep solid

Huh, what did it happen between this
0  1000    59    42  20   0<PHONE_NUMBER>88 ?     Sl   ?          0:05 solid-queue-supervisor(1.1.0): supervising 71, 74, 78
0  1000    71    59  20   0<PHONE_NUMBER>68 ?     Sl   ?          0:09 solid-queue-dispatcher(1.1.0): dispatching every 1 seconds
0  1000    74    59  20   0<PHONE_NUMBER>40 ?     Sl   ?          0:11 solid-queue-worker(1.1.0): waiting for jobs in invoice_jobs
0  1000    78    59  20   0<PHONE_NUMBER>88 ?     Sl   ?          0:04 solid-queue-scheduler(1.1.0): scheduling salesforce_invoice_sync
0  1000   155   146  20   0  11812  5080 ?      S    ?          0:00 grep solid

and this?

After I revalidate again:

rails@innovation-funding-5cff94d599-qsw5r:/rails$ ps axl | grep solid
0  1000   221   157  20   0  11812  4628 ?      S    ?          0:00 grep solid

As there, solid queue is no longer running so that's the reason the job is not being enqueued, but any ideas of what happened?

Huh, what did it happen between this
0  1000    59    42  20   0<PHONE_NUMBER>88 ?     Sl   ?          0:05 solid-queue-supervisor(1.1.0): supervising 71, 74, 78
0  1000    71    59  20   0<PHONE_NUMBER>68 ?     Sl   ?          0:09 solid-queue-dispatcher(1.1.0): dispatching every 1 seconds
0  1000    74    59  20   0<PHONE_NUMBER>40 ?     Sl   ?          0:11 solid-queue-worker(1.1.0): waiting for jobs in invoice_jobs
0  1000    78    59  20   0<PHONE_NUMBER>88 ?     Sl   ?          0:04 solid-queue-scheduler(1.1.0): scheduling salesforce_invoice_sync
0  1000   155   146  20   0  11812  5080 ?      S    ?          0:00 grep solid

and this?

After I revalidate again:

rails@innovation-funding-5cff94d599-qsw5r:/rails$ ps axl | grep solid
0  1000   221   157  20   0  11812  4628 ?      S    ?          0:00 grep solid

As there, solid queue is no longer running so that's the reason the job is not being enqueued, but any ideas of what happened?

That is what I am looking for, why it is happening. I added honeybadger to revalidate. it seems after 3 times attempt it clear up the solid queue, cannot find what is going on, yet.


NaN loss occurs

Thanks for your great work! I am using ResNest as the backbone of my detector, but the loss values turns out to be nan. Previously I was using ResNet as the backbone and the losses are normal.
I use the focal loss function in the classification branch, and the loss value of this branch is a fixed value at every iteration and epoch. As for the regression branch, where I use the Smooth L1 loss function, the loss value turns out to be nan.
Could you please help me out? Thanks!

Could you provide more details? Which framework are you using? what is config.yaml?

Could you provide more details? Which framework are you using? what is config.yaml?

Hi, I am using a one-stage detector, and I am using ResNest in the feature extraction phase. The detection head is pretty simple like using some parallel 1x1 Conv layers to classify and regress. I was using ResNet and the results are good.  I am confused about why the loss values are nan when I apply ResNest in the backbone....

Could you provide more details? Which framework are you using? what is config.yaml?

I used Adam with lr 5e-5, which I think is small enough. I use the same dataset and the same data augment/pre-process. Is there anything else you need to know?

Are you using detectron2? or other framework (mmdetection, maskrcnn-benchmark)?
One possible reason is that the input mean and std are not set correctly. In some frameworks, std is [1,1,1] by default. Please also change the input order to 'RGB'.


SQL syntax highlighting unreadable

Could also be an issue with other syntax highlighting, need to investigate.
All syntax highlighting classes start with hljs-

Here's the package being used by Rocket to add code highlighting, with all of the possible classes to style against: https://github.com/stubailo/meteor-highlight.js/blob/master/github.css

Languages supported (according to the main parser file) are:

[ ] javascript
[ ] sql
[ ] python
[ ] perl
[ ] apache
[ ] xml
[ ] css
[ ] cpp
[ ] json
[ ] coffeescript
[ ] php
[ ] nginx
[ ] diff
[ ] objectivec
[ ] makefile
[ ] ruby
[ ] bash
[ ] cs
[ ] markdown
[ ] ini
[ ] http
[ ] java

Great resource for code snippet examples and expected syntax highlighting: https://highlightjs.org/static/demo/


Tips and Tricks update

Updates and editing of the Tips and Tricks document.

The failing CI job is due to a known dub issue, not an issue for this PR.


[ChatGPT] Would like to add inline functionality

Extension
https://www.raycast.com/abielzulio/chatgpt
Description
Enter a keyword (e.g. /gpt) + ask a question + trigger a keystroke within an app
->
Let ChatGPT generate the result as a stream within the current app
Who will benefit from this feature?
everyone
Anything else?

Yes, please. Essential. So we can also have, for example:
timer 30s


ESP-NOW does not workig with WiFi (STA) mode (IDFGH-8924)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Hello
I am working on ESP-IDF release version-4.4 and having requirements to put the ESP32 device on APSTA mode mean, device should work in AP mode (start web page) and in STA mode connect to router to get internet access. With these both mode device work correctly but after initializing ESP-NOW it doesn't works (Rx data call back handler never called).
I have tried following things before posting this issue here:

Start AP to launch web page and start STA together to connect with router --> ESP-NOW not working
Start only AP to launch web page and init ESP-NOW (start esp-now)  --> ESP-NOW working
Start only STA to connect with router and init ESP-NOW (start esp-now)  --> ESP-NOW not working
Start only STA to connect with router and read channel number and set this channel number to init ESP-NOW (start esp-now)  --> ESP-NOW not working
Start only STA to connect with router and hard-coded channel number to 1 and set this channel number to init ESP-NOW (start esp-now)  --> ESP-NOW not working
From above step-1 to step-5 test, I also tested ESPNOW in both station and softap mode  --> ESP-NOW not working

I already checked following links:

https://github.com/jonathanrandall/esp32-esp32-now-wifi
https://github.com/jonasbystrom/ESP-Now-Sensor-system-with-WiFi

Any suggestions will be appreciated.

Have you tried to disable modem sleep, i.e.
esp_wifi_set_ps(WIFI_PS_NONE);

hi @rajneeshsinha. have you tried the ESP-NOW example, and could you please provide some error log

Congratudolences, guys!  This core functionality has been broken for at least a year!

hi @goatzillax this issue is fixed in IDF 5.0 and later version. if you want tou use it on 4.3/4.4, you should init esp-now first ,then connect to AP, and the esp-now can send packet normally. and we will backport to 4.4

@Xiehanxin I wonder if there is some sort of miscommunication here.
I'm on 2.0.14 of the ESP32 package which apparently is IDF 4.4  (correct me if I'm wrong).
I just tried moving esp_now_init before connecting the RX to an AP, and it still fails.  My testcase is otherwise the same.  I press the button, it disconnects, and then the ESP-NOW messages start showing up.
So as far as I can tell, moving esp_now_init before WiFi.begin() is not a workaround for IDF 4.4.
I've updated my testcase.
https://github.com/goatzillax/espnow_crosstest
Can you show me the testcase you used to verify functionality?

@goatzillax I noticed that your ESPNOW packets are broadcast packets. When STA is connected to wifi, it will only receive the broadcast packet whose bssid is equal to the associated AP bssid. Therefore, packet receiving fails. Suggest you use unicast to send.

@goatzillax In this https://github.com/goatzillax/espnow_crosstest testcase, I don't see the esp_now_add_peer() in the rx_esp32_c3.ino if you send unicast.

@goatzillax In this https://github.com/goatzillax/espnow_crosstest testcase, I don't see the esp_now_add_peer() in the rx_esp32_c3.ino if you send unicast.

I am almost certain that requirement was removed in the ESP32 version of the libraries.  I tried to make that painfully clear in the file naming -- the receiver is an ESP32-C3 and the transmitter is an ESP8266, and their libraries are not the same although they should be able to communicate with each other over ESP-NOW.
https://github.com/espressif/arduino-esp32/issues/8912
Again, I don't think you understand the bug, testcase, and now the API.
The testcase boots up with the RX in STA mode.  No messages are received.  When I press the button, it disconnects from STA and goes into SoftAP mode, and messages are then received.  All without having called esp_now_add_peer.
This is why I suspect espressif's own testcase aren't being run.  I don't think they'll even compile due to API changes.

Just checked the docs, it does not indicate that esp_now_add_peer is required to receive messages.

Just checked the docs, it does not indicate that esp_now_add_peer is required to receive messages. In fact I don't think that was ever a requirement as I'm looking back at some old code. It was the master/slave notion they did away with.

Sorry, I made a mistake, it's not required to add peer when receiving.

https://github.com/espressif/arduino-esp32/issues/8912 I will test the case on Arduino. By the way, can you please have a try on Arduino 3.0.0 (which is based on IDF v5.1)?

Hello all, here there is a working code, it have both transmitter and receiver, running on the ESP32, to set the module as WIFI_STATION and connect to an AP, must be configured as:
WiFi.mode(WIFI_AP_STA );
As the ESP-Now IDF said:  it must be set as the channel that station or softap is on.

The transmitter have a search channel routine to find the receiver channel,
Tested on a ESP32-C3 (revision v0.4).
Arduino IDE 2.3.2
Enjoy coding !
Jose Luis

@rajneeshsinha @goatzillax do you still have this problem?

I tried the esp_wifi_set_promiscuous workaround that PepeTux mentioned, but that did not work for me.
I don't know what you mean by Arduino 3.0.0.  Do you mean the arduino-esp32 3.0.0 board package?  I tried that version, and it is still broken in the exact same way.
I have not seen a test case in any suite that indicates anybody actually understands the bug in the first place.
No test case == not fixed

I have the same issue, once esp_wifi_connect() is called, esp now stops to work.

I don't know what you mean by Arduino 3.0.0. Do you mean the arduino-esp32 3.0.0 board package? I tried that version, and it is still broken in the exact same way.

Yes, I mean the arduino-esp32 3.0.0 board package.

I have the same issue, once esp_wifi_connect() is called, esp now stops to work.

@leonardodanelutti can you provide a demo to test?

Sorry @zhangyanjiaoesp, I am using Rust in my project, but I am doing the same things as @rajneeshsinha and @goatzillax on IDF 5.1:

start the Wi-Fi as STA
Start ESP-NOW (at this point, ESP-NOW packets are being received)
Connect to the Wi-Fi AP.

At this point, ESP-NOW stops working if the AP's channel is not 1.
The problem seems to be that ESP-NOW and the Wi-Fi must be on the same channel, but it is impossible to set a channel other than 1 on the ESP-NOW transmitter (error: peer channel is not equal to home channel, send fail!).

@leonardodanelutti When the STA connects to AP, it will change it's home channel same to the AP.  For example, the default channel for STA is channel 1, when STA connects to a channel 5 AP, the STA will change the home channel to 5. So if the home channel of your STA and AP is different, you need to  call esp_wifi_set_channel() to set channel of the STA same to AP, at the same time, the channel of the peers should also be consistent.

@goatzillax I have tested your code on Arduino 3.0.0, and I didn't reproduce your issue.

@zhangyanjiaoesp I know that, but as I said for me it is impossible to change the channel of the peer in the ESP-NOW transmitting device. As soon as I call esp_now_send this error is raised: "peer channel is not equal to home channel, send fail!".

@leonardodanelutti The peer channel in log peer channel is not equal to home channel, send fail! means the peer->channel when you call esp_now_add_peer(peer), you can call esp_now_mod_peer(peer) to change the peer->channel if you have added it.

@goatzillax I have tested your code on Arduino 3.0.0, and I didn't reproduce your issue.

That's interesting. The TX side just sends a message whenever reset is pressed so it's pretty simple.
So when you ran the RX code, you connected it to a STA, then while still connected to the STA (confirmed with a ping from another machine), you pressed reset on the TX device and saw it blink the LED and/or watched the serial port output and it confirmed "msg received"?

yes

@zhangyanjiaoesp the error message is displayed when I call esp_now_send not when I add the peer, even if I set the same channel in the STA config

@zhangyanjiaoesp seem that this should be fixed on 5.2, I will test that

@zhangyanjiaoesp the error message is displayed when I call esp_now_send not when I add the peer, even if I set the same channel in the STA config

@leonardodanelutti I know the log displayed when call esp_now_send(), when you want to send data to peer, it will check the channel first. Your issue seems to be caused by inconsistent channels, you only need to set the STA channel, AP channel , peer channel to be consistent can solve the problem.

@goatzillax I have tested your code on Arduino 3.0.0, and I didn't reproduce your issue.

That's interesting. The TX side just sends a message whenever reset is pressed so it's pretty simple.
So when you ran the RX code, you connected it to a STA, then while still connected to the STA (confirmed with a ping from another machine), you pressed reset on the TX device and saw it blink the LED and/or watched the serial port output and it confirmed "msg received"?

yes

Huh.  One last thing -- did you change the TX to transmit to a specific MAC (I.e. make it use unicast)?  I only put the broadcast in as a placeholder.

@goatzillax I have tested your code on Arduino 3.0.0, and I didn't reproduce your issue.

That's interesting. The TX side just sends a message whenever reset is pressed so it's pretty simple.
So when you ran the RX code, you connected it to a STA, then while still connected to the STA (confirmed with a ping from another machine), you pressed reset on the TX device and saw it blink the LED and/or watched the serial port output and it confirmed "msg received"?

yes

Huh. One last thing -- did you change the TX to transmit to a specific MAC (I.e. make it use unicast)? I only put the broadcast in as a placeholder.

yes,  I have changed it to my communicate device MAC

OK.  Well, all I can do is leave this here.
I updated my testcase to make it slightly harder to mess up; all you have to do is set your SSID/password and channel in the RX code.
I literally made a video of what I'm seeing:
https://www.youtube.com/watch?v=dEBRfFWL9lQ
When the code starts up, it connects to an AP and no ESP-NOW messages are received.
I press the button, it disconnects, and it starts receiving messages.
The serial console text from the video:
ESP-IDF major 5 ESP-IDF minor 1 MAC Address:  B4:E6:2D:E9:FE:6E <IP_ADDRESS> Wi-Fi Channel: 3 Initializing ESP-NOW disconnecting WiFi msg received msg received
Can you point out where in your test suite this exact functionality is actually tested?


Tutorials on readme.io

[ ] Add tutorial for JavaScript on readme.io.

@danhanson This is your responsibility.


Multiple Inquiries in a workflow lead to pausing state frequently

SUMMARY
This is related to #4135, #4137, #4138 and #4028
A single workflow:
workflow
- action1
- core.ask1
- action2
- core.ask2
- action3
When core.ask1 comes the flow's status is changed to paused successfully. Respond to the inquiry and the flow status is changed to running and action2 is executed.
When core.ask2 comes the flow's status is changed to pausing. I test this many times and this issue is reproduced frequently even waiting for more than one hour. The flow is always pausing and core.ask2 status is pending.
It cannot be resumed in pausing state so I have to update in db.action_execution_d_b and change pausing to paused.
After that responding to the inquiry lead to:
ERROR: 500 Server Error: Internal Server Error
MESSAGE: Internal Server Error for url: http://<IP_ADDRESS>:9101/exp/inquiries/5b62842175ac351947192909
Finally I have to use st2 execution resume command to resume it. I also saw this in 2.6.
ISSUE TYPE

Bug Report

STACKSTORM VERSION
st2 2.7.2, on Python 2.7
OS / ENVIRONMENT / INSTALL METHOD
RHEL7.2 Stackstorm upgraded from 2.6

Experiencing same issue have to manually resume to fix it. Very frustrating

Is this written as action chain or as mistral workflows?

on my side mistral

Here is what I tested on Mistral and I'm not able to reproduce.
The following is the workflow I mocked that runs the core.ask, core.noop, core.ask, and core.noop sequentially.
version: '2.0'

sandbox.mistral_consecutive_inquiries:
    tasks:
        task1:
            action: core.ask
            input:
                schema:
                    type: object
                    properties:
                        approved:
                            type: boolean
                            description: "Continue?"
                            required: True
            on-success:
                - task2

        task2:
            action: core.noop
            on-success:
                - task3

        task3:
            action: core.ask
            input:
                schema:
                    type: object
                    properties:
                        approved:
                            type: boolean
                            description: "Really?"
                            required: True
            on-success:
                - task4

        task4:
            action: core.noop

Here's the execution result and the inquiry responses.
ubuntu@cadmus:~/st2$ st2 run sandbox.mistral_consecutive_inquiries -a
To get the results, execute:
 st2 execution get 5b6b7ece0a08a413aa7f8eda

To view output in real-time, execute:
 st2 execution tail 5b6b7ece0a08a413aa7f8eda
ubuntu@cadmus:~/st2$ st2 execution get 5b6b7ece0a08a413aa7f8eda
id: 5b6b7ece0a08a413aa7f8eda
action.ref: sandbox.mistral_consecutive_inquiries
parameters: None
status: paused
start_timestamp: Wed, 08 Aug 2018 23:37:50 UTC
end_timestamp:
+--------------------------+---------+-------+----------+-----------------+
| id                       | status  | task  | action   | start_timestamp |
+--------------------------+---------+-------+----------+-----------------+
| 5b6b7ece0a08a413aa7f8edd | pending | task1 | core.ask | Wed, 08 Aug     |
|                          |         |       |          | 2018 23:37:50   |
|                          |         |       |          | UTC             |
+--------------------------+---------+-------+----------+-----------------+

ubuntu@cadmus:~/st2$ st2 inquiry respond 5b6b7ece0a08a413aa7f8edd
approved (boolean): Yes

Response accepted for inquiry 5b6b7ece0a08a413aa7f8edd.

ubuntu@cadmus:~/st2$ st2 execution get 5b6b7ece0a08a413aa7f8eda
id: 5b6b7ece0a08a413aa7f8eda
action.ref: sandbox.mistral_consecutive_inquiries
parameters: None
status: paused
start_timestamp: Wed, 08 Aug 2018 23:37:50 UTC
end_timestamp:
result:
  extra:
    state: RUNNING
    state_info: null
+--------------------------+------------------------+-------+-----------+-----------------+
| id                       | status                 | task  | action    | start_timestamp |
+--------------------------+------------------------+-------+-----------+-----------------+
| 5b6b7ece0a08a413aa7f8edd | succeeded (1s elapsed) | task1 | core.ask  | Wed, 08 Aug     |
|                          |                        |       |           | 2018 23:37:50   |
|                          |                        |       |           | UTC             |
| 5b6b7eea0a08a413aa7f8edf | succeeded (1s elapsed) | task2 | core.noop | Wed, 08 Aug     |
|                          |                        |       |           | 2018 23:38:18   |
|                          |                        |       |           | UTC             |
| 5b6b7eeb0a08a413aa7f8ee1 | pending                | task3 | core.ask  | Wed, 08 Aug     |
|                          |                        |       |           | 2018 23:38:19   |
|                          |                        |       |           | UTC             |
+--------------------------+------------------------+-------+-----------+-----------------+

ubuntu@cadmus:~/st2$ st2 inquiry respond 5b6b7eeb0a08a413aa7f8ee1
approved (boolean): Yes

Response accepted for inquiry 5b6b7eeb0a08a413aa7f8ee1.

ubuntu@cadmus:~/st2$ st2 execution get 5b6b7ece0a08a413aa7f8eda
id: 5b6b7ece0a08a413aa7f8eda
action.ref: sandbox.mistral_consecutive_inquiries
parameters: None
status: succeeded (58s elapsed)
result_task: task4
result:
  failed: false
  return_code: 0
  succeeded: true
start_timestamp: Wed, 08 Aug 2018 23:37:50 UTC
end_timestamp: Wed, 08 Aug 2018 23:38:48 UTC
+--------------------------+------------------------+-------+-----------+-----------------+
| id                       | status                 | task  | action    | start_timestamp |
+--------------------------+------------------------+-------+-----------+-----------------+
| 5b6b7ece0a08a413aa7f8edd | succeeded (1s elapsed) | task1 | core.ask  | Wed, 08 Aug     |
|                          |                        |       |           | 2018 23:37:50   |
|                          |                        |       |           | UTC             |
| 5b6b7eea0a08a413aa7f8edf | succeeded (1s elapsed) | task2 | core.noop | Wed, 08 Aug     |
|                          |                        |       |           | 2018 23:38:18   |
|                          |                        |       |           | UTC             |
| 5b6b7eeb0a08a413aa7f8ee1 | succeeded (0s elapsed) | task3 | core.ask  | Wed, 08 Aug     |
|                          |                        |       |           | 2018 23:38:19   |
|                          |                        |       |           | UTC             |
| 5b6b7f060a08a413aa7f8ee3 | succeeded (0s elapsed) | task4 | core.noop | Wed, 08 Aug     |
|                          |                        |       |           | 2018 23:38:46   |
|                          |                        |       |           | UTC             |
+--------------------------+------------------------+-------+-----------+-----------------+

Can you provide an example workflow that I can use to reproduce the issue?

It doesn't happen consistently it happens to me on about 5% of the workflows that go through this.  Perhaps try running it a couple hundred times and come back to them a few days later?   If you have some time i can show you some workflows that are in this current state.
But the workflow you created is essentially what ours do.

Hoping @shusugmt can also comment

If you come across such a case, please capture the details (minimum, output of st2 execution get for the workflow). For example, which task is still active if any that is the cause of the pausing state.

@m4dcoder Install following pack https://github.com/shusugmt/st2-pack-examples2
And st2 run examples2.inquiry_debug_root it will automatically loop the workflow until it fails to pause. The rule used here is simple, so it can't stop before it responds to the pausing workflow, but at least you'll see that this actually happens.
The time it will take to be in that faulty state varies. One of our dev instance took 12 hours, while other one just took 30 mins.

If you come across such a case, please capture the details (minimum, output of st2 execution get for the workflow)

I'd like to do that but it contains some sensible production data. Can we use email for sending them to team?

2018-08-10 00:10:06,356  WARNING - Locale unknown with encoding ANSI_X3.4-1968 which is not UTF-8 is used. This means that some functionality which relies on outputting unicode characters won't work. You are encouraged to use UTF-8 locale by setting LC_ALL environment variable to en_US.UTF-8 or similar.
id: 5b6b9d941799ee03d3fb5dbd
action.ref: shigo.link
parameters:
  device_name: BL5-0101-0300-07T2
  interface_name: ETHERNET10/8/1
status: paused
result_task: engage_DCO
result:
  response:
    clean: true
    engage: false
    replace: false
    reseat: false
  roles: []
  route: ''
  schema:
    properties:
      clean:
        description: Indicates whether the dco reported a cleaning action
        required: true
        type: boolean
      engage:
        description: Indicates whether the dco reported an engagement action
        required: true
        type: boolean
      replace:
        description: Indicates whether the dco reported a replacement action
        required: true
        type: boolean
      reseat:
        description: indicates whether the dco reported a reseating action
        required: true
        type: boolean
    type: object
  ttl: 10000
  users: []
start_timestamp: Thu, 09 Aug 2018 01:49:08 UTC
end_timestamp:
+--------------------------+--------------------------+----------------+----------------+-----------------+
| id                       | status                   | task           | action         | start_timestamp |
+--------------------------+--------------------------+----------------+----------------+-----------------+
| 5b6b9d961799ee0269bd8b15 | succeeded (47s elapsed)  | remove_link_fr | shigo.net-task | Thu, 09 Aug     |
|                          |                          | om_portchannel |                | 2018 01:49:09   |
|                          |                          |                |                | UTC             |
| 5b6b9dc51799ee0a3f09b854 | failed (33s elapsed)     | check_lldp_lin | shigo.net-task | Thu, 09 Aug     |
|                          |                          | k_neighbors    |                | 2018 01:49:57   |
|                          |                          |                |                | UTC             |
| 5b6b9dc51799ee03d925284d | failed (18s elapsed)     | check_if_link_ | shigo.net-task | Thu, 09 Aug     |
|                          |                          | is_up          |                | 2018 01:49:57   |
|                          |                          |                |                | UTC             |
| 5b6b9dc51799ee025eea9306 | failed (200s elapsed)    | get_links_manu | shigo.net-task | Thu, 09 Aug     |
|                          |                          | facturer_data  |                | 2018 01:49:57   |
|                          |                          |                |                | UTC             |
| 5b6b9dd81799ee040309a5c2 | succeeded (16s elapsed)  | create_gdco_tt | shigo.net-task | Thu, 09 Aug     |
|                          |                          |                |                | 2018 01:50:16   |
|                          |                          |                |                | UTC             |
| 5b6b9dea1799ee03d925284f | succeeded (138s elapsed) | check_link_phy | shigo.net-task | Thu, 09 Aug     |
|                          |                          | sical_metrics  |                | 2018 01:50:33   |
|                          |                          |                |                | UTC             |
| 5b6b9e741799ee03d8500774 | succeeded (1s elapsed)   | engage_DCO     | shigo.DC-      | Thu, 09 Aug     |
|                          |                          |                | inquiry        | 2018 01:52:52   |
|                          |                          |                |                | UTC             |
| 5b6c5c3e1799ee03d3fb5e03 | failed (37s elapsed)     | check_if_link_ | shigo.net-task | Thu, 09 Aug     |
|                          |                          | is_up          |                | 2018 15:22:38   |
|                          |                          |                |                | UTC             |
| 5b6c5c3f1799ee02685d104e | failed (203s elapsed)    | get_links_manu | shigo.net-task | Thu, 09 Aug     |
|                          |                          | facturer_data  |                | 2018 15:22:38   |
|                          |                          |                |                | UTC             |
| 5b6c5c401799ee0a3f09b89c | failed (38s elapsed)     | check_lldp_lin | shigo.net-task | Thu, 09 Aug     |
|                          |                          | k_neighbors    |                | 2018 15:22:38   |
|                          |                          |                |                | UTC             |
| 5b6c5c631799ee0265432010 | succeeded (138s elapsed) | check_link_phy | shigo.net-task | Thu, 09 Aug     |
|                          |                          | sical_metrics  |                | 2018 15:23:15   |
|                          |                          |                |                | UTC             |
| 5b6c5ced1799ee03db4f0918 | succeeded (1s elapsed)   | engage_DCO     | shigo.DC-      | Thu, 09 Aug     |
|                          |                          |                | inquiry        | 2018 15:25:33   |
|                          |                          |                |                | UTC             |
+--------------------------+--------------------------+----------------+----------------+-----------------+

Above you will see that the engage_DCO succeeded but it did not perform on-success instead it just went in to a paused state.  This just happened.

OK I could reproduce this in my dev environment. I was running this auto-loop and now 2 out of 3 instance get stuck into the pausing state issue. st2 execution get is as follows:
(st2client)[sugimoto@knd-test-st2b st2-docker]$ st2 execution get 5b6d23d7a31999011d232cc8
id: 5b6d23d7a31999011d232cc8
action.ref: examples2.inquiry_debug_root
parameters: None
status: pausing
start_timestamp: Fri, 10 Aug 2018 05:34:15 UTC
end_timestamp:
result:
  tasks: []
+------------------------------+------------------------+----------------+---------------------------+----------------------------+
| id                           | status                 | task           | action                    | start_timestamp            |
+------------------------------+------------------------+----------------+---------------------------+----------------------------+
|   5b6d23d8a3199901e029d1f5   | succeeded (0s elapsed) | root_t1        | core.noop                 | Fri, 10 Aug 2018 05:34:16  |
|                              |                        |                |                           | UTC                        |
| + 5b6d23d9a3199901e029d1f7   | paused                 | root_t2        | examples2.inquiry_debug_s | Fri, 10 Aug 2018 05:34:16  |
|                              |                        |                | ub1                       | UTC                        |
|    5b6d23d9a3199901e029d1f9  | succeeded (1s elapsed) | sub1_t1        | core.noop                 | Fri, 10 Aug 2018 05:34:17  |
|                              |                        |                |                           | UTC                        |
|    5b6d23daa3199901e029d1fb  | succeeded (0s elapsed) | sub1_t2        | core.noop                 | Fri, 10 Aug 2018 05:34:18  |
|                              |                        |                |                           | UTC                        |
|    5b6d23dba3199901e029d1fd  | succeeded (0s elapsed) | sub1_t3        | core.noop                 | Fri, 10 Aug 2018 05:34:19  |
|                              |                        |                |                           | UTC                        |
|  + 5b6d23dba3199901e029d1ff  | paused                 | sub1_t4        | examples2.ask_to_proceed  | Fri, 10 Aug 2018 05:34:19  |
|                              |                        |                |                           | UTC                        |
|     5b6d23dca3199901e029d201 | succeeded (0s elapsed) | dummy_notify   | core.noop                 | Fri, 10 Aug 2018 05:34:20  |
|                              |                        |                |                           | UTC                        |
|     5b6d23dda3199901e029d203 | pending                | wait_for_input | core.ask                  | Fri, 10 Aug 2018 05:34:21  |
|                              |                        |                |                           | UTC                        |
+------------------------------+------------------------+----------------+---------------------------+----------------------------+

(st2client)[sugimoto@knd-test-st2b st2-docker]$ st2 execution get 5b6d23d7a31999011d232cc8 -d
+-----------------+------------------------------------------------+
| Property        | Value                                          |
+-----------------+------------------------------------------------+
| id              | 5b6d23d7a31999011d232cc8                       |
| action.ref      | examples2.inquiry_debug_root                   |
| context.user    | stanley                                        |
| parameters      |                                                |
| status          | pausing                                        |
| start_timestamp | Fri, 10 Aug 2018 05:34:15 UTC                  |
| end_timestamp   |                                                |
| result          | {                                              |
|                 |     "tasks": []                                |
|                 | }                                              |
| liveaction      | {                                              |
|                 |     "runner_info": {                           |
|                 |         "hostname": "9037fca54923",            |
|                 |         "pid": 345                             |
|                 |     },                                         |
|                 |     "parameters": {},                          |
|                 |     "action_is_workflow": true,                |
|                 |     "callback": {},                            |
|                 |     "action": "examples2.inquiry_debug_root",  |
|                 |     "id": "5b6d23d7a31999011d232cc7"           |
|                 | }                                              |
+-----------------+------------------------------------------------+

How to reproduce
Install following packs

st2 run packs.install packs=http://github.com/shusugmt/st2-pack-examples=mistral-inquiry-debug
st2 run packs.install packs=stackstorm-st2

then, run the following action

st2 run examples2.inquiry_debug_root

... and wait.
There are two rules enabled by default after installing examples2 pack.

The rule to automatically loop the execution of examples2.inquiry_debug_root. It simply starts a next execution once the previous one becomes complete state.
The rule to automatically respond to the inquiry. When triggered, this first checks the root workflow status, and if it is in paused state, then it will respond to that inquiry to continue the workflow and finish. Otherwise it sleeps 60 sec and repeat the status check. If it repeats 10 times and the root workflow is still in pausing state, then it gives up and stop the execution loop.

Now, you get this bug reproduced.
Note: Please do not try this in any production or sensitive environment!

@m4dcoder mistral workflow.

See #4309


Improve consistency of hadoop and hbase scripts, fix shellcheck issues

While working on hbase infra, we discussed improving consistency of shell scripts using tools like shellcheck.

This PR fixes all issues found by this tool in hdfs and hbase scripts.
This PR fixes issue in Large HDFS cluster creation. Now /etc/hosts configuration is printed out correctly.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.

@iemejia as we discussed earlier could you take a look? I run shellcheck over hadoop and hbase scripts.

Run Java Precommit


Fix run_tests for C++

Expedited merge because it'd prevent people (or new jenkins instances) from actually running tests.


[REQ] Border Settings and display (Retail and Classic)

As a user I would like to have a pixel or two wide configurable borders for the loot box.

Thank you for this! I'm going to be working on adding more configuration next so this is great timing.
Are you looking for a border around the whole feed frame? Or around each row (similar to the "looting the same item and updating quantity" highlight?)

I was thinking of each item in the list that scrolls. I notice a border when crafting, but something to just give each block some definition.
I believe similar to the same item, but for all rows created. It could be off by default like it is now but the ability to add a border would be awesome :)

Perfect, that's what I was thinking you meant. I'll work on that!

If you want to give an alpha a try: https://github.com/Mctalian/RPGLootFeed/pull/218#issuecomment-2547650150
Otherwise it'll hit a beta version later this week and hopefully a full release around Christmas 🤞🏼

That looks fantastic!! Great work @Mctalian !!  Thank you!

Fits perfectly


:arrow_up: Update levelup dependency

See https://github.com/Level/levelup/blob/master/CHANGELOG.md
0.18.6 to 0.19.0 does not have any breaking change, and 0.19.0 to 1.0.0 does not have any breaking change in Zetta. Following semver, ^1.3.5 does not break either.

The failing check does not seem to be related to the PR.


Navbar Covers Heading

Hi, tried your wonderful Gravstrap Theme. Will probably use it until final release is out.
Only one thing: In 'Home Single' One Page Demo all the Section Headings are covered by navbar. Guess it's the wrong css padding.

Seems to be a Firefox Issue. Chromium works!

HI could you try with the latest versions I pushed to master branches and let me know if that is fine for you? It's a little tricky to setup. Get the last version from here, https://github.com/giansi/gravstrap-theme-skeleton/releases/download/v1.0.0-rc.5/gravstrap-skeleton.tar.gz, then remove the plugins/gravstrap theme and get the latest from master branch here, https://github.com/giansi/gravstrap. Do the same with gravstrap-theme, https://github.com/giansi/gravstrap-theme, then remove the pages folder and grab them  again from here https://github.com/giansi/gravstrap-theme-skeleton.

Fixed with 1.0.0 release.


go-mysql password sanitizing support

Issue #, if available:
#131 and #160 but more general
Description of changes:
Adds a case to the stripPasswords function to cover the case for using the go-sql-driver/mysql (https://github.com/go-sql-driver/mysql#dsn-data-source-name). The current code does not support stripping the passwords from the default go-mysql DSN format:
The Data Source Name has a common format, like e.g. PEAR DB uses it, but without type-prefix (optional parts marked by squared brackets):
[username[:password]@][protocol[(address)]]/dbname[?param1=value1&...&paramN=valueN]
A DSN in its fullest form:
username:password@protocol(address)/dbname?param=value
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hi @aircraft-cerier,
Thanks for opening up this PR. There is one missing case in this logic. when there is not password this will strip the user. For example in this case, "user@tcp(localhost:5555)/dbname?tls=skip-verify&autocommit=true" logic in the PR will return this string "@tcp(localhost:5555)/dbname?tls=skip-verify&autocommit=true"

Hi @aircraft-cerier,
Thanks for opening up this PR. There is one missing case in this logic. when there is not password this will strip the user. For example in this case, "user@tcp(localhost:5555)/dbname?tls=skip-verify&autocommit=true" logic in the PR will return this string "@tcp(localhost:5555)/dbname?tls=skip-verify&autocommit=true". Also, I am not sure if this logic affects other drivers.

Fixed to accommodate no password being included in the DSN.   As pre Go 1.11, the DSN for MySQL would be parsed as a URL and therefore wasn't an issue, but in Aug of 2019 the Go team made some changes to URL parsing as a security fix in 1.13 and backported the change to 1.11.13 and 1.12.8.
Specifically, the part that affects our issue is that they rejected parsing of URLs where the port includes anything other than digits. In the case of the MySQL DSN, the port is parsed as 3306), which used to be OK (as long as nothing tried to actually use that port for anything, which X-Ray doesn't). But now it's rejected and causes parsing to return an error. Thanks to @idubinsky for helping figure this out!
https://github.com/golang/go/issues/29098

Hi @aircraft-cerier,
Thanks for your contribution. Unfortunately we might not be able to merge this PR since it modifies the logic inside stripPassword because we are going to merge custom SQL driver support PR (https://github.com/aws/aws-xray-sdk-go/pull/169/files#) so this logic might affect other drivers dsn string. Moreover, I am currently working on sanitizing strategy (https://github.com/aws/aws-xray-sdk-go/pull/193) and we will have both the options custom sanitizer if customer wants to provide their sanitizer and default sanitizer implemented by us.

Hi @aircraft-cerier,
Test case have failed in Travis CI 1.11 and 1.12 Go runtime.

Hi @aircraft-cerier,
Test case have failed in Travis CI 1.11 and 1.12 Go runtime.

Hi @bhautikpip
The test cases are failing in Travis because the .travis.yml file is specifying to use versions "1.11" and "1.12"
This is a problem because according to travis' documentation (https://docs.travis-ci.com/user/languages/go/#specifying-a-go-version-to-use) this version specification will default to the original major version. So in this case 1.11.0 and 1.12.0 which do not include the updates to the Go version security fixes (to not parse as URLs) in 1.11.13 and 1.12.8. It passes for 1.13 because this have the security fix from the get go.  So I think there are 2 options:

update the .travis.yml to say 1.11.x and 1.12.x

Update the tests to allow it to pass with either the DSN or URL set just for 1.11 and 1.12

Hi @aircraft-cerier,
Test case have failed in Travis CI 1.11 and 1.12 Go runtime.

Hi @bhautikpip
The test cases are failing in Travis because the .travis.yml file is specifying to use versions "1.11" and "1.12"
This is a problem because according to travis' documentation (https://docs.travis-ci.com/user/languages/go/#specifying-a-go-version-to-use) this version specification will default to the original major version. So in this case 1.11.0 and 1.12.0 which do not include the updates to the Go version security fixes (to not parse as URLs) in 1.11.13 and 1.12.8. It passes for 1.13 because this have the security fix from the get go. So I think there are 2 options:

update the .travis.yml to say 1.11.x and 1.12.x
Update the tests to allow it to pass with either the DSN or URL set just for 1.11 and 1.12

Which approach should we take?

I think let's take the approach of updating the test because our goal is to verify logic inside strippassword works and as far as we can test that behavior we should be good.

Hi @aircraft-cerier,
Test case have failed in Travis CI 1.11 and 1.12 Go runtime.

Hi @bhautikpip
The test cases are failing in Travis because the .travis.yml file is specifying to use versions "1.11" and "1.12"
This is a problem because according to travis' documentation (https://docs.travis-ci.com/user/languages/go/#specifying-a-go-version-to-use) this version specification will default to the original major version. So in this case 1.11.0 and 1.12.0 which do not include the updates to the Go version security fixes (to not parse as URLs) in 1.11.13 and 1.12.8. It passes for 1.13 because this have the security fix from the get go. So I think there are 2 options:

update the .travis.yml to say 1.11.x and 1.12.x
Update the tests to allow it to pass with either the DSN or URL set just for 1.11 and 1.12

Which approach should we take?

I think let's take the approach of updating the test because our goal is to verify logic inside strippassword works and as far as we can test that behavior we should be good.

@bhautikpip
I updated the test cases and all checks have passed :)

Hi @aircraft-cerier,
Thanks for the changes. Would you mind taking a look at this PR (https://github.com/aws/aws-xray-sdk-go/pull/169) ? According to recent update on this PR we have kept deprecated xray.SQL (as per your suggestion) APIs (basically function signature stays the same) but underlying implementation will change. And will also make sure that this PR adds updated '@' case inside stripPassword logic that you are trying to address and will unblock you. Basically the issue is if we are to merge this PR then we will have to keep 2 different SQL tracing implementation with different test cases for both the implementation and will add more redundant code.  Moreover, the current SQL tests consists data races and this PR (https://github.com/aws/aws-xray-sdk-go/pull/169) will be able to resolve that. Let me know if that makes sense for you guys. I am really sorry for last min suggestions.

Hi @bhautikpip
my team and I looked at #169, assuming sql function is kept and the update we are trying to make here for the case "@" is also added to their PR we should be ok.  Are you going to merge that PR soon? I ask because you can merge our fix and then #169 could rebase/merge master back and resolve any conflicts and still remove the old tests in favor of the new ones.

Hi @aircraft-cerier,
Good to hear that! Yes, I am going to merge that PR soon but to unblock you guys immediately I will merge this PR and then PR (https://github.com/aws/aws-xray-sdk-go/pull/169) can rebase.


ViaVersion compatibility issue

Hello, as I just see thins bug tracker I paste the message I left on the discuss :
there is a bug on 1.8.8 paperspigot sever with ViaVersion, all players can't connect in 1.9+ for :
DecoderExeption : java.lang.IndexOutOfBoundsExeption: readerIndex(0)
+length(1)exceeds writerIndex(0): UnpooledSliceByteBuf(ridx: 0, widx: 0,cap 0/0, unwrapped: PooledUnsafeDirectByteBuf (ridx: 5796, widx: 5802, cap: 8192)) @ io.netty.handler.codec.MessageToMessageDecoder:98

This plugin does not interfere in any way with the Minecraft protocols, which are the ones used to allow players from different versions join your server.


Fix: Make some dependencies optional

Fix: Make spring-data-jpa and hibernate-envers dependencies optional, and move slf4j-log4j12 dependency to test scope

Abandon


Can't see console.

Is there option to enable console to be visible for eye - server console. other then bash of docker

I mean is there option to have server console in docker management.

I'm still not quite sure what you mean. If you mean the Minecraft server console, then this should help
https://github.com/itzg/docker-minecraft-server#interacting-with-the-server

I wasn't knowing how to attach server console, And can I attach console on my servers that are already running? Without rcon access enabled

Again, if you look at
https://github.com/itzg/docker-minecraft-server#interacting-with-the-server
you are left with the option of using docker attach; however, I would recommend leaving rcon enabled since it is a much easier way to access the minecraft server console.

servers seam to crash when I use -it as start parametr

cockpit server template from image - I have settings copied for easier management

I'm not familiar with cockpit, so can you translate the name of that field. The -it argument is passed to the docker run and not as an argument to the container itself.
Why don't you want to use rcon? It is much simpler.

I found an English screenshot. That's the wrong field for that setting and you already checked the correct one. Do you know how to do an "attach" with Cockpit? I am not able to support third party management software that I have not used.

vockpit visualixates docker data, it is somehow customizable, and I not sure how to attach  it tells something is not enable. I remember it starts with "T".

Maybe "TTY"? There didn't seem to be an checkbox for that in Cockpit. Does it have a way to "exec" a command in a container?

I think you need to contact Cockpit for support since the problems are not specific to this repo. You need to have them explain how to create a container with the equivalent of -i -t and they need to confirm how to do docker attach to that.

I will try, if they have any support for cockpit, it is community handled

Well, I'm the only one providing support of this repo, so they will easily outnumber me :) .

I will try, if they have any support for cockpit, it is community handled


where is Linter?

This extension depends on Linter,right?
But I can't find Linter in atom's package installation panel

Hey @zzzgit, you can follow the instructions of the repo https://github.com/steelbrain/linter
but that's odd you should find linter on installation panel. atom-community/linter

Unfortunately the search functionality for packages in Atom is... rather bad and Linter is quite far down in the list of results. It's one of the reasons most providers automatically install it for you.


Make age extraction more flexible

@anthonystevendick reported a bug where age extraction may fail:
Traceback (most recent call last):
  File "/scripts/run.py", line 104, in <module>
    main()
  File "/scripts/run.py", line 91, in main
    age = int(data.PatientAge.replace('Y', ''))
ValueError: invalid literal for int() with base 10: '004M'

In the above case, the subject's age is 4 months, but the age extraction code assumes that the subject's age is reported in years.
Participants this young are rare, so this is a low priority bug to fix.

Hello Taylor,
This was a typo from the scanner tech. This is supposed to say years (we don’t scan younger than 4 years).
Anthony
--
Anthony Steven Dick, Ph.D.
Associate Professor
Director, Cognitive Neuroscience Program and Graduate Certificate in Cognitive Neuroscience
Florida International University MM Campus AHC4 454
Department of Psychology and Center for Children and Familieshttp://www.ccf.fiu.edu/, an FIU Preeminent Programhttps://beyondpossible.fiu.edu/preeminent-programs/
11200 S.W. 8th Street
Miami, FL 33199
Ph:<PHONE_NUMBER>; Lab Ph:<PHONE_NUMBER>; Fx:<PHONE_NUMBER>
Email: adick<EMAIL_ADDRESS>Webpage: http://dcn.fiu.eduhttp://dcn.fiu.edu/; Join the SSHDhttp://www.sshdonline.org/

Check out the new bookhttp://www.routledge.com/9781138960039:
Dick, A.S., & Müller, U. (2018). Advancing Developmental Science: Philosophy, Theory, and Method. Taylor & Francis.
From: Taylor Salo<EMAIL_ADDRESS>Reply-To: FIU-Neuro/cis-processing<EMAIL_ADDRESS>Date: Wednesday, September 12, 2018 at 10:02 AM
To: FIU-Neuro/cis-processing<EMAIL_ADDRESS>Cc: Anthony Dick<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [FIU-Neuro/cis-processing] Make age extraction more flexible (#25)
@anthonystevendickhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_anthonystevendick&d=DwMCaQ&c=lhMMI368wojMYNABHh1gQQ&r=DmdQWjwCJRFVHJCqLOrjwA&m=M2Nsay1Dl9qynUyoACpKzVyG7JutrQ62gMHQUmURtpc&s=eYfDj6UWT5uG1qIsZyoc_KStQBBKn72VIC_czIw0-tg&e= reported a bug where age extraction may fail:
Traceback (most recent call last):
File "/scripts/run.py", line 104, in
main()

File "/scripts/run.py", line 91, in main
age = int(data.PatientAge.replace('Y', ''))

ValueError: invalid literal for int() with base 10: '004M'
In the above case, the subject's age is 4 months, but the age extraction code assumes that the subject's age is reported in years.
Participants this young are rare, so this is a low priority bug to fix.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_FIU-2DNeuro_cis-2Dprocessing_issues_25&d=DwMCaQ&c=lhMMI368wojMYNABHh1gQQ&r=DmdQWjwCJRFVHJCqLOrjwA&m=M2Nsay1Dl9qynUyoACpKzVyG7JutrQ62gMHQUmURtpc&s=mIYt-9odz17tCk3PIcds6D2eBROMBPpymsv7tUOdmco&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AeBVSS3XIyev3wrZjHHIFtxOXXgTereIks5uaRPqgaJpZM4Wlc7X&d=DwMCaQ&c=lhMMI368wojMYNABHh1gQQ&r=DmdQWjwCJRFVHJCqLOrjwA&m=M2Nsay1Dl9qynUyoACpKzVyG7JutrQ62gMHQUmURtpc&s=Inr17XGCiXvoU5syagw0aKMvhe2b1WSPnDpId9wErt0&e=.

That's true, but that typo did expose a bug in the cis-processing code. Even in cases where there is a minor typo like that, I think it's better to err on the side of letting the mistake through, since people should check their outputs anyway. I see not being able to even run the converter on your data because of a small typo a mistake on the converter's (my) end.

Fixed in cis-bidsify.


Miss info on available settings page in wiki

Hi, you're work is amazing. Thank you!
But as the title goes, available settings page shows something wrong.
I don't know which category this belongs to, so I put this issue here.

Thanks for mentioning it


Create a separate addon for exposing Firebase service?

What are everyone's thoughts on an addon that simply exposes a Firebase service?
I think a problem on a community developed addon for Firebase is being reliant on emberfire for the firebase and firebaseApp service which is lagging behind in terms of version. Here's an example of my use-case, I have an ember-firebaseui addon that could move up to the 2.x version of firebaseui-web which supports phone auth if it's using an up-to-date Firebase version.
With this, community based addons can now target the latest Firebase without creating their own Firebase service that will do firebase.initializeApp(). Not to mention having more than 1 firebase.initializeApp() can introduce clashes. EmberFire then, could simply target a lower version of that Firebase service addon if it can't support yet the latest one. I can also imagine that getting updates on that addon will be quicker since it would pretty much just be a matter of updating the dependency in it's package.json. EmberFire team would be able to update it easily.
Is this something that the EmberFire team would entertain?

Why not kee  updated this addon with the last one version of ember api and firebase ?
I started a fresh 2.16 ember application and I think emberfire isn't use new module API.  I'm very sad with that.


API: Ability to create a commit including multiple files

There are three endpoints to make a commit via API: repoUpdateFile, repoCreateFile, repoDeleteFile. But there are no way to make a commit, that contains a multiple changes in multiple files.

What about a endpoint, that apply diff & patch files?
cc @zeripath

Heheh
Ok I'll simplify and propose the patch endpoint pr. We'll get the rest of stuff sorted later.

@d-lunyov why aren't you creating a temporary working branch to commit stuff to and the merge it in to your primary branch?

@d-lunyov why aren't you creating a temporary working branch to commit stuff to and the merge it in to your primary branch?

@zeripath This is exactly what I do. But I think this is a workaround. In addition, the number of requests to the server increases in proportion to the number of files.
Another git-providers offers:
Github rest api commit steps:

POST a new tree
Create a new commit referred to the new tree SHA
Patch a reference to set a new commit SHA

Gitlab: create a commit with multiple files and actions endpoint
Bitbucket:  create new commits in the repository by uploading files
Azure: Push changes to the repository with multiple actions
Bitbucket-server also does not propose a simply-way to create a multiple files to commit, so I'm using a workaround with temporary branch.

Is there any progress on this issue? currently I'm blocked by this on a pr I'm working on to enable support for Gitea on https://github.com/fluxcd/go-git-providers . It is used by https://github.com/fluxcd/flux2 to support git resource reconciliation logic.
. see similar api usage from other providers at

https://github.com/fluxcd/go-git-providers/blob/main/github/client_repository_commit.go#L72
https://github.com/fluxcd/go-git-providers/blob/main/gitlab/client_repository_commit.go#L67

I think we need both patch upload endpoint and multiple files changed endpoint.

Are there any updates on that? I created a gitea backend for Static CMS, but without this feature I'm dependent on a hack which fails regularly....

We're trying to implement Gitea as a backend for Plenti too, this unfortunately is a blocker for us. Per @d-lunyov's comment, the way GitLab uses actions works really well for our use-case.


[Bug]: The irrelevant  linting error is displayed in  the s3 Update button property pane

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
The irrelevant  linting error is displayed in  the s3 Update button property pane

Steps To Reproduce

Generate S3 crud page
click on the edit icon
click on the update button
inside the property pane
Under onclick action "the update file and Listfile shows up the lining error "

Environment
Release
Version
Cloud

Duplicate of #11943.


when I run the project , there is an error, how to fix it?

PS D:\projects\js_projects\nexth> npm run dev

<EMAIL_ADDRESS>dev
next dev

ready - started server on <IP_ADDRESS>:3000, url: http://localhost:3000
error - ./src/pages/_app.tsx:3:0
Module not found: Can't resolve 'components/layout/Layout'
1 | import type { AppProps } from 'next/app'
2 | // import { Layout } from 'components/layout'

3 | import { Layout } from 'components/layout/Layout'
4 | import { Web3Provider } from 'providers/Web3'
5 | import { ChakraProvider } from 'providers/Chakra'
6 | import { useIsMounted } from 'hooks/useIsMounted'

https://nextjs.org/docs/messages/module-not-found
wait  - compiling...
error - ./src/pages/_app.tsx:2:0
Module not found: Can't resolve 'components/layout'
1 | import type { AppProps } from 'next/app'

2 | import { Layout } from 'components/layout'
3 | // import { Layout } from 'components/layout/Layout'
4 | import { Web3Provider } from 'providers/Web3'
5 | import { ChakraProvider } from 'providers/Chakra'

https://nextjs.org/docs/messages/module-not-found

Did you install everything successfully?
Please run yarn or npm install first.
Then you can run yarn dev or npm run dev

I have run npm install ,  I cannot find the 'Layout' form path 'compents/layout'，is it correct？

I run npm install first, then run npm run dev，but the the error still exists.

Which version of Node.js, npm, and yarn is used in the project?

yarn -v 1.22.18
npm -v 8.15.0
node -v v16.17.1
I usually prefer yarn over npm. Can you see if that work?
Otherwise share a bit more a bit more on your setup? Device / OS / software versions?

Someone else seemed to have a similar issues that was solved by switching to yarn
See #20
Closing issue


wish : ~wxWidgets/wxWidgets

wxWidgets: ~wxWidgets/wxWidgets
I don't know how hard it is to package it for build2, so if it's too complicated any other GUI library would do. cppget currently doesn't seem to have any GUI lib, so I think this would be a good addition.

FYI, we are working on packaging Qt5 and Qt6:
https://github.com/build2-packaging/Qt5
https://github.com/build2-packaging/Qt6


how to provide raw csv as input for column mapping?

Is there a way we can skip the file upload and instead provide raw CSV content as a string for column mapping?
The requirement is

we get the file content from backend
do the column mapping
download the new content as a new csv file

Hmm, the most flexible thing in this case might be to directly grab the source code components for the mapping step and adapt them to your needs? Because it sounds like the only piece you need is the drag/drop, right?

This would be great if this feature existed as well, especially with external csv files


Some feed events are failing to return 200

Initially noticed some strange behavior where certain feed events were showing up in the channel multiple times. This is caused by Phabricator's behavior which will continue to retry if it doesn't receive a 200 when the event is posted. However, it seems that the error is happening after the message goes through to slack, since we are seeing duplicate messages.
This is what we get while monitoring phabulous in debug mode:
2017/02/01 17:41:10 Panic recovery -> runtime error: index out of range
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/panic.go:423 (0x806f34d)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/panic.go:12 (0x806dc93)
/Users/etcinit/go/src/github.com/etcinit/phabulous/app/resolvers/differential.go:47 (0x81e1236)
/Users/etcinit/go/src/github.com/etcinit/phabulous/app/controllers/feed.go:90 (0x815ff47)
/Users/etcinit/go/src/github.com/etcinit/phabulous/app/controllers/feed.go:29 (0x8160c78)
/Users/etcinit/go/src/github.com/gin-gonic/gin/context.go:95 (0x8161099)
/Users/etcinit/go/src/github.com/gin-gonic/gin/logger.go:56 (0x816ec7f)
/Users/etcinit/go/src/github.com/gin-gonic/gin/context.go:95 (0x8161099)
/Users/etcinit/go/src/github.com/gin-gonic/gin/recovery.go:43 (0x816f5ea)
/Users/etcinit/go/src/github.com/gin-gonic/gin/context.go:95 (0x8161099)
/Users/etcinit/go/src/github.com/gin-gonic/gin/gin.go:294 (0x8166603)
/Users/etcinit/go/src/github.com/gin-gonic/gin/gin.go:275 (0x81662fe)
/usr/local/Cellar/go/1.5.1/libexec/src/net/http/server.go:1862 (0x81fbbb6)
/usr/local/Cellar/go/1.5.1/libexec/src/net/http/server.go:1361 (0x81f9905)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_386.s:1662 (0x8097d61)

I assume this will be fixed in the upcoming release. Please re-open if you still have the issue with 3.0.0


ISO C99

Hello. Please fixed build on real device.
/../SevenZip.swift/Sources/CsevenZip/7zCrc.c:180:9 Call to undeclared function '__crc32b'; ISO C99 and later do not support implicit function declarations
/../SevenZip.swift/Sources/CsevenZip/7zCrc.c:189:11 Call to undeclared function '__crc32w'; ISO C99 and later do not support implicit function declarations
/../SevenZip.swift/Sources/CsevenZip/7zCrc.c:212:9 Call to undeclared function '__crc32b'; ISO C99 and later do not support implicit function declarations
/../SevenZip.swift/Sources/CsevenZip/7zCrc.c:221:11 Call to undeclared function '__crc32d'; ISO C99 and later do not support implicit function declarations

Release v0.1.4.
To use SevenZip.swift, you have to specify the git revision, not the git tag name.

I test SevenZip.swift on iPhone 14: https://github.com/mtgto/ExampleSevenZip

Release v0.2.0 includes a bit change.
If you have any question, you may write more comments on this issue or create a new issue.


Fix memoryview support for the cffi backend

Previously, __buffer__ was returning the raw _buffer, which isn't
always set. This resulted in None being returned, which caused type
errors about Frame not supporting the buffer interface. Switch to
returning buffer, which will set _buffer if it isn't already.
Part of #1566

Thanks! Affected tests pass. The timeouts are due to pip's very slow dependency solver, which I'm fixing in #1565


Only call MatterReportingAttributeChangeCallback on write if the data version changes.

Problem
Right now we have two places where writes can call MatterReportingAttributeChangeCallback:

WriteSingleClusterData
emAfWriteAttribute

Both call it unconditionally, even if the value being written is identical to the current value.
Proposed Solution
Once we have dataversion support, read the dataversion, then write the value, then read the dataversion and only report if it has changed.

Note: the implementation proposed above does not work, because we actually update data version from inside MatterReportingAttributeChangeCallback nowadays.

Overall: this is the largest cause of needless reports, and fixing this will have a big impact on reducing congestion for large fan-outs of lighting commands.


Connector not loading in Grasshopper 6

Priority: Loader
{
  Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "ConnectorGrasshopper.Properties.Resources.resources" was correctly embedded or linked into assembly "SpeckleConnectorGrasshopper" at compile time, or that all the satellite assemblies required are loadable and fully signed.
  MissingManifestResourceException
}

Not really sure what it means, but maybe due to some of the csproj changes too? @AlanRynne
Original thread:https://speckle.community/t/connector-not-loading-in-grasshopper-6/5903

Looking into it in the hopes of getting it out in this weeks hotfix ;)


Add 'userAgent' property to the iOS WKWebView.

Add 'userAgent' property to the iOS WKWebView.
The property to set the userAgent in the iOS WKWebview is customUserAgent. But to make the interface the same, I set userAgent props to WKWebview customUserAgent.

@Titozzz aren't you vouching for removing UIWebView completely soon?

@Titozzz
UIWebview does not officially change the User-Agent. Instead, there are three hacks:

Modify window.navigator.userAgent in the js context with the stringByEvaluatingJavaScriptFromString API.
Replace the User-Agent Header for all requests in the loadRequest.
Modify NSUserDefaults to override the settings for the entire app.

Mostly not modern, just HACK. It seems good to add that docs do not support it, is that what you think?

What about this text in Reference.md:
### `userAgent`

Sets the user-agent for the `WebView`. This will only work for iOS if you are using WKWebView (see https://developer.apple.com/documentation/webkit/wkwebview/1414950-customuseragent), not UIWebView.

| Type   | Required |
| ------ | -------- |
| string | No       |

@KoenLav You are right, I'll remove it soon, too tired to keep maintaining it.
But I the meantime I like to keep everything clean and up to date ^^'

:tada: This PR is included in version 2.7.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

I want to get useragent in wkwebview. How can I do it?


Change uniprot_literature to genetic_association datatype

Currently UniProt provides the UniProt literature evidence strings as genetic_literature data type and then the pipeline hardcoded replaces genetic_literature with genetic_association.
Note this will change how it is validated by the schema, so we need to ensure it is still valid after this change.

genetic_literature refers to evidence strings that do not provide variant information. Therefore they need to be validated against a different JSON schema than genetic_association.


How to run a Espresso test with this action

Could this actions upload and start an android native test using Espresso?

@dinisnunes1 If you follow the steps on https://www.browserstack.com/docs/automate/selenium/github-actions,
The setup for GitHub actions remains the same till step 2.
Step 3 onwards is where the documentation is specific to Selenium/Appium testing.
You should be able to upload the app and start a test using the action. You'll need to add in the steps (curl commands) to upload the app and execute the test.
Unlike Selenium/Appium tests, for Espresso, the App and test APK are uploaded to Browserstack and the test is executed on Browserstack without the need of a client (Selenium/Appium test script).
Using GitHub Actions may not be very useful for Espresso tests IMO since you'll need to also build a polling script to keep checking the status of the build on Browserstack and only once the build completes execution, teardown the local tunnel.

@dinisnunes1 If you follow the steps on https://www.browserstack.com/docs/automate/selenium/github-actions,
The setup for GitHub actions remains the same till step 2.
Step 3 onwards is where the documentation is specific to Selenium/Appium testing.
You should be able to upload the app and start a test using the action. You'll need to add in the steps (curl commands) to upload the app and execute the test.
Unlike Selenium/Appium tests, for Espresso, the App and test APK are uploaded to Browserstack and the test is executed on Browserstack without the need of a client (Selenium/Appium test script).
Using GitHub Actions may not be very useful for Espresso tests IMO since you'll need to also build a polling script to keep checking the status of the build on Browserstack and only once the build completes execution, teardown the local tunnel.


Patch for HHH-1237

A patch for bug "Escaping : with :: in queries" (HHH-1237) was provided four years ago, but never applied to the code: https://hibernate.atlassian.net/browse/HHH-1237
I canceled my old pull request from 11 May 2014 (https://github.com/hibernate/hibernate-orm/pull/738/) and created this new one. Hopefully it gets into the branch this time.

Please add a test case.

Thanks for the PR. Did you sign the CLA?

@vladmihalcea this can be merged without needing the CLA.

Please merge the new pull request https://github.com/hibernate/hibernate-orm/pull/1352 that includes now a test and cancel this one.

Closing in favor of PR https://github.com/hibernate/hibernate-orm/pull/1352.


AMBARI-23281 Enable Kerberos Wizard style edits

How was this patch tested?
Tested manually.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1239/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1258/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1323/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1373/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1457/
Test PASSed.


IFrameWindow.js _message url checks

Added in some checks into IFrameWindow.js _message function to verify that e.data is a string and begins with http/https to ensure it's a URL as expected.
Helps resolve #1221

Glad you got the plug in fixed, but I still think this check doesn't hurt. Thanks!

Glad you got the plug in fixed, but I still think this check doesn't hurt. Thanks!


The List of Pathogens and List of Antibiotics are not visible in the drop-down fields.

closed in #54


Added project to JS

Added stopwach project to JS projects

happy to your project @Rishika10442 .
Need more good project in JS from your side
PR accepted @Rishika10442
Successfully merged to HacktoberFest_22 repo.
Need to Star this repo incase not done.
🚀🚀👍


General Grievance: Watch brimixapp.github.io

General Grievance requests the watch of the watch_keyword brimixapp\.github\.io. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by tripleee in Charcoal HQ


missed dependency

Hello,
can You add dependency for nette/utils?

Hi, it doesn't need package nette/utils or am I wrong? Where is the problem?
Thanks

Hello,
I try it as clean application (from scratch) and without nette/utils I get Fatal error.
The Invoice class use Nette\Utils\Strings.
btw: nice work, I like this library :)

You've right! Thanks.


RSDK-5313 remove extra from slam GetPosiitonResponse

fyi just made this change locally to test go changes and had to remove line 7 because it's unused when you run make dist/buf to build the protos

fyi just made this change locally to test go changes and had to remove line 7 because it's unused when you run make dist/buf to build the protos

thanks for letting me know just removed it!


Many-to-Many and attributes

Hi !
I was wondering what would be the best way to create a many-to-many relationship with extra attributes ? For instance, I'd like to have Library <--> LibraryHasBook (count) <--> Books. LibraryHasBook would have the following fields (library_id, book_id, count). Has anyone done or seen that pattern before ?
I was thinking of:
type Library struct {
    ID            uint   `gorm:"primary_key"`
    Name      string
    Books     []LibraryHasBook
}

type LibraryHasBook struct {
    Library   Library   `gorm:"primary_key"`
    Book Book `gorm:"primary_key"`
    Count   uint
}

type Book struct {
    ID            uint   `gorm:"primary_key"`
    Name      string
    Libraries  []LibraryHasBook
}

And then inserting a new Book & associated Libraries with something like:
book := Book{
    Name: "The Lords of the Ring",
    Libraries: []LibraryHasBook {
        LibraryHasBook{
            Library: Library{Name: "Tolkien Specialists"},
            Count: 10,
        },
        LibraryHasBook{
            Library: Library{Name: "Awesome Library"},
            Count: 3,
        },
    },
}
db.Create(&book)

But I am quite not sure if it would work (the Go is most likely not valid anyways as I typed it directly in that issue), especially if GORM would be able to fill LibraryHasBook's Library, and what annotation should be used, etc. Should I instead use a transaction, create Libraries, create Book, then LibraryHasBooks, specifying explictely the book/librairies and commit, would it work better ?
How would it be possible then to get a book with its Libraries and count ?
I did not find anything related in the docs, pardon me if I am blind.
Thank you so much.

Hi @Quentin-M
yes, it is possible to do this, refer below example
package main

import (
	"github.com/davecgh/go-spew/spew"
	_ "github.com/lib/pq"

	"github.com/jinzhu/gorm"
)

type User struct {
	ID         int
	Email      string
	GroupUsers []*GroupUser
}

type Group struct {
	ID         int
	Name       string
	GroupUsers []*GroupUser
}

type GroupUser struct {
	ID      int
	Group   *Group
	GroupID int
	User    *User
	UserID  int
	Owner   bool
}

func (*GroupUser) TableName() string {
	return "group_user"
}

func main() {
	db, err := gorm.Open("postgres", "user=gorm DB.name=gorm sslmode=disable")
	if err != nil {
		panic(err)
	}
	db.AutoMigrate(&User{}, &Group{}, &GroupUser{})

	db.LogMode(true)

	db.Debug().Save(&User{
		Email<EMAIL_ADDRESS>		GroupUsers: []*GroupUser{
			{
				Group: &Group{
					Name: "ccc",
				},
				Owner: true,
			},
		},
	})

	var group Group
	if err := db.Preload("GroupUsers.User").First(&group).Error; err != nil {
		panic(err)
	}

	spew.Dump(group)
}

@jinzhu How do I append and delete items in such relationships?

@rbatukaev User, GroupUser are normal has many relations, refer https://github.com/jinzhu/gorm#association-mode

This needs to be in the documentation - and proper pivot support needs to be added


[FEATURE REQ]

Library name
Azure.Core
Please describe the feature.
Improve the performance of Utf8JsonRequestContent and GZipUtf8JsonRequestContent.

[ ] Eliminate usage of MemoryStream in favor of IBufferWriter (see this gist for details)
[ ] Investigate usage of ArrayPool for the array buffer

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Azure.Core:0.33908004,Storage:0.29043505,Azure.Identity:0.057809334'


Fix service account

On 12/10/2020, EPSchedule was brought down by #380 - a seemingly innocent PR that only touched the .gitignore. However, a few months ago, GCP changed the API for SecretManager - a change that only went into effect when #380 was pushed.
It turns out that when the person who developed #380 tested it locally, their machine had a cached version of the secrets, and thus it seemed to work fine. During the review of the pull request, the tests correctly caught the issue, but were ignored by the reviewer of #380. Then once the PR was merged, the auto-deploy script deployed the service, which caused the changed SecretManager API to come into effect, which brought the service down for ~2 days.
How can this be avoided in the future? master should be made a protected branch, so PRs without passing tests cannot be merged. The auto-deploy script should also be revised to only deploy on green.

LOL at the contortions here to avoid placing blame: "the person who developed", "the reviewer".
Nice explanation though for posterity.


PageUp / PageDown shortcut support

Is your feature request related to a problem? Please describe.
KDE Connect has a "slideshow tool", when you press left or right on this tool in the mobile app, in KDE it will emit PageUp for left / previous slide, and PageDown for right / next slide. As far as I can tell these are unconfigurable in KDE Connect (at least from GUI).
Describe the solution you'd like
I would like if this presentation tool supported PageUp and PageDown for changing slides.

#115

@trgwii This functionality should be available on latest main branch now 😄


Update Set-VMComPort.md (via #1610)

@namkedia wrote:

It is not clear if one has to create a named pipe or how this connection to the COM port can then be put to use.

https://github.com/MicrosoftDocs/windows-powershell-docs/pull/1610#issue-344683074
This PR is a follow-up replacement of PR #1610, with applied copy editing suggestions, and with correct merge target.
The PR had passed review via @tseward, @get-itips and @JohanFreelancer9

Docs Build status updates of commit 39f59f6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/hyper-v/Set-VMComPort.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Why is your emulator not working!

Your emulator is not working.

Viewport tag had incorrect quotes!!11


[SPARK-48667][PYTHON] Arrow python UDFS didn't support UDT as outputType

What changes were proposed in this pull request?
Arrow Python UDF didn't support  UDT as return type
df.select(udf(lambda x: x, returnType=ExamplePointUDT(), useArrow=useArrow)("point")),

 java.lang.AssertionError: assertion failed: Invalid schema from pandas_udf: expected org.apache.spark.sql.test.ExamplePointUDT@49ccc723, StructType(StructField(st,StructType(StructField(tt,TimestampType,true)),true)), got ArrayType(DoubleType,false)

Since Arrow Field didn't support UDT type,  UDT will convert to it's sqlType() in ArrowField, I think here we should convert it when compare output schema.
Why are the changes needed?
Support Arrow python UDFs UDT as outputType
Does this PR introduce any user-facing change?
Support Arrow python UDFs UDT as outputType
How was this patch tested?
Added UT
Was this patch authored or co-authored using generative AI tooling?
No

cc @xinrong-meng FYI

@HyukjinKwon How about current?

ping @HyukjinKwon @cloud-fan @ueshin Could you take a look?


Recipe for switching from Tape to AVA

@jamestalmage commented some things on Gitter:

The assertion API’s are similar, but not exact. Especially when it comes to truthy vs strictly true, and == vs ===.
Most of the gotchas for newcomers surround AVA’s async behavior. Specifically, don’t store mutable data in a closure scope (i.e. accessible from multip tests). Use t.context instead.
It goes without saying that you should read the readme thoroughly. But also read through the release notes.

I'd add:

t.plan() doesn't implicitly end the test.
test.cb() for callback tests.

What else?

My 2 cents:

t.equal => t.is
t.deepEqual => t.same
no need for t.end() in most case

I think it would be really helpful if, along with the recipe, there was a "conversion cheat sheet" (maybe in a table or something). That listed all the commands:

node-tap
tape
ava
notes

t.equal
t.equal
t.is

t.throws
t.throws
t.throws
ava also accepts a Promise in addition to functions.

...

...

I'm not sure if it's necessary to have separate node-tap / tape columns or not.

Closing as a duplicate of #445.

@novemberborn This is #445 😝

Ha, meant #178 :wink:


Don't use the global cache when paket.local is given. fixes #2690

See #2690
paket.local + new sdk style projects is no longer supported.

We could copy them to a project-local folder and modify NuGet.config. (Just thinking about ways to solve this in the future, should someone be interested in a PR ;) )

@0x53A Yes your suggestion would also solve that this currently is not compatible with storage: none.
But for now I'm trying to get another good stable out (basically I'm in only bugfixing mode right now :P)