Comment the optimized version of IRChecker.ErrorContext.

Review by @gzm0

LGTM otherwise

LGTM

You can merge this. It just seems I can't do it on mobile if CI hasn't passed. (GH says server error though...)

I've recently enabled protection of the master branch in this repo (here), so GitHub won't let us merge PRs that don't have a green build. Even I can't on desktop ^^ (although I could go and unprotect it, merge it, then protect it back, but that kind of defeats the purpose :-p)

I see. So we'll actually need a next branch for new versions now :)

No for new versions we'll unprotect the branch, and protect it back afterwards. Otherwise there's no way we can avoid having 2 commits with a release version number.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2288/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2969/
Test FAILed.

Jenkins, test this please

Really? From the comments in the options, it seems you can also push commits that have a checkmark. So opening a PR and then not merging, but pushing it should do it...

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2287/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2968/
Test PASSed.

Ah possibly. We'll see when we get there.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2289/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2970/
Test PASSed.


Davenew

Docs Build status updates of commit 8be525f:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-conceptual/azureadps-1.0/install-msonlinev1.md
:warning:Warning
View (azureadps-1.0)
Details

azureadps-2.0/toc.yml
:warning:Warning
View (azureadps-2.0)
Details

azureadps-2.0-preview/toc.yml
:warning:Warning
View (azureadps-2.0-preview)
Details

azureadps-1.0/toc.yml
:warning:Warning
View (azureadps-1.0)
Details

docs-conceptual/azureadps-1.0/install-msonlinev1.md

Line 91, Column 28: [Warning: hard-coded-locale - See documentation] Link 'https://docs.microsoft.com/en-us/powershell/module/msonline/connect-msolservice?view=azureadps-1.0' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 91, Column 28: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/en-us/powershell/module/msonline/connect-msolservice?view=azureadps-1.0' will be broken in isolated environments. Replace with a relative link.
Line 91, Column 28: [Suggestion: preserve-view-not-set - See documentation] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: https://docs.microsoft.com/en-us/powershell/module/msonline/connect-msolservice?view=azureadps-1.0. Otherwise, remove the view parameter.

azureadps-2.0/toc.yml

Line 5, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#administrative-units' in 'azureadps-2.0/AzureAD/index.yml'.
Line 26, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#application-proxy-application-management' in 'azureadps-2.0/AzureAD/index.yml'.
Line 45, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#application-proxy-connector-management' in 'azureadps-2.0/AzureAD/index.yml'.
Line 66, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#applications' in 'azureadps-2.0/AzureAD/index.yml'.
Line 109, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#azuread' in 'azureadps-2.0/AzureAD/index.yml'.
Line 210, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#certificate-authorities' in 'azureadps-2.0/AzureAD/index.yml'.
Line 221, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#connect-to-your-directory' in 'azureadps-2.0/AzureAD/index.yml'.
Line 228, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#contacts' in 'azureadps-2.0/AzureAD/index.yml', did you mean '#options'?
Line 247, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#contracts' in 'azureadps-2.0/AzureAD/index.yml'.
Line 252, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#deleted-objects' in 'azureadps-2.0/AzureAD/index.yml'.
Line 257, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#devices' in 'azureadps-2.0/AzureAD/index.yml', did you mean '#options'?
Line 282, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#directory' in 'azureadps-2.0/AzureAD/index.yml'.
Line 291, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#directory-objects' in 'azureadps-2.0/AzureAD/index.yml'.
Line 296, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#directory-roles' in 'azureadps-2.0/AzureAD/index.yml'.
Line 325, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#domains' in 'azureadps-2.0/AzureAD/index.yml', did you mean '#options'?
Line 344, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#extension-properties' in 'azureadps-2.0/AzureAD/index.yml'.
Line 349, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#groups' in 'azureadps-2.0/AzureAD/index.yml'.
Line 404, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#oauth2' in 'azureadps-2.0/AzureAD/index.yml'.
Line 411, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#policies' in 'azureadps-2.0/AzureAD/index.yml'.
Line 418, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#service-principals' in 'azureadps-2.0/AzureAD/index.yml'.
Line 465, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#users' in 'azureadps-2.0/AzureAD/index.yml'.

azureadps-2.0-preview/toc.yml

Line 5, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#administrative-units' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 50, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#application' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 83, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#application-proxy-application-management' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 102, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#application-proxy-connector-management' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 123, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#applications' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 174, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#azureadpreview' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 251, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#certificate-authorities' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 262, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#connect-to-your-directory' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 271, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#contacts' in 'azureadps-2.0-preview/AzureAD/index.yml', did you mean '#options'?
Line 290, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#contracts' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 295, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#custom-security-attributes' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 316, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#deleted-objects' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 329, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#devices' in 'azureadps-2.0-preview/AzureAD/index.yml', did you mean '#options'?
Line 354, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#directory' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 363, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#directory-auditing' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 370, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#directory-objects' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 375, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#directory-roles' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 390, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#directory-settings' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 403, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#domains' in 'azureadps-2.0-preview/AzureAD/index.yml', did you mean '#options'?
Line 422, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#extension-properties' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 427, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#groups' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 482, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#identity-provider-management' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 493, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#oauth2' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 500, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#object-settings' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 511, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#policies' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 528, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#privileged-role-management' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 551, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#role-management' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 568, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#service-principals' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 623, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#staged-rollout' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 638, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#trust-framework-policy-management' in 'azureadps-2.0-preview/AzureAD/index.yml'.
Line 649, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#users' in 'azureadps-2.0-preview/AzureAD/index.yml'.

azureadps-1.0/toc.yml

Line 5, Column 11: [Warning: bookmark-not-found] Cannot find bookmark '#msonline' in 'azureadps-1.0/MSOnline/index.yml'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Thanks @davenew for your contribution.
@CelesteDG , this is good to go.

Docs Build status updates of commit 6446034:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azureadps-1.0/install-msonlinev1.md
:bulb:Suggestion
View (azureadps-1.0)
Details

docs-conceptual/azureadps-1.0/install-msonlinev1.md

Line 89, Column 28: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/powershell/module/msonline/connect-msolservice?view=azureadps-1.0' will be broken in isolated environments. Replace with a relative link.
Line 89, Column 28: [Suggestion: preserve-view-not-set - See documentation] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: https://docs.microsoft.com/powershell/module/msonline/connect-msolservice?view=azureadps-1.0. Otherwise, remove the view parameter.

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

Thank you very much, @davenew - Thank you for your contribution. Let me remove the version from that URL. For our part, I just noted that it had the locale (en-us) and we typically do not include that in our URLs.

Docs Build status updates of commit dc0fb03:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azureadps-1.0/install-msonlinev1.md
:bulb:Suggestion
View (azureadps-1.0)
Details

docs-conceptual/azureadps-1.0/install-msonlinev1.md

Line 89, Column 28: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/powershell/module/msonline/connect-msolservice' will be broken in isolated environments. Replace with a relative link.

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


Produce error if metadata file not supplied

This is addressed in check_params_and_input () in [main.nf](./main.nf].  If the file doesn't exist, the pipeline will error.


[Wish] Option "desubroutinize" in TTX

Subroutinization can cause trouble with regard to the hinting in FontLab Studio 5.0.4. If you autohint a subroutinized font with the AFDKO, open it in FontLab Studio and generate it, the hinting can become partly damaged. By the way, that is one of the reasons, why I would like to have a bug fixed autohint macro for FontLab.
FontTools subset has the option "desubroutinize". It would be very nice, if TTX would have that option, too. If possible, an option "subroutinize" would be likewise useful.
As workaround you can use the subset tool, extract the CFF table with TTX and merge it into the source font. But that is not comfortable.
My workaround

You can write a short script to do that. I don't think we'll add such options to ttx.


1.Add lookup for popular Domains Behind CF as endpoint  and 2.Test Connection interrupts Every x second

Hi I've tested warp-plus on Telecommunication Company of Iran and figured that using --scan isn't much effective and data transfer rate drops to zero soon or late after connection established. So I wrote this batch script to find clean ip and Determine connection interrupts. It first use nslookup to grab CF ip behind these two popular websites in iran :  "tgju.org" and "zula.ir". then i've used curl to check connection every 20 seconds to determine connection interrupts with 4s timeout. if timeout reached and no response received, script uses killtask to terminate warp-plus.exe then use nslookup for another website in a loop....
Can you include these to warp-plus ?? this connection is way more Stable . Sorry For Bad English
`
@echo off
setlocal enabledelayedexpansion
:start
for /f "tokens=2 delims=: " %%a in ('nslookup -q=A tgju.org ^| findstr /R "^Addresses: [0-9].[0-9].[0-9].[0-9]$"') do (
set ip=%%a
goto :break
)
:break
start /b warp-plus.exe -e !ip!:890
timeout /t 5
goto :loop
:start2
for /f "tokens=2 delims=: " %%a in ('nslookup -q=A zula.ir ^| findstr /R "^Addresses: [0-9].[0-9].[0-9].[0-9]$"') do (
set ip=%%a
goto :break2
)
:break2
start /b warp-plus.exe -e !ip!:880
timeout /t 5
goto :loop2
:loop
curl --proxy <IP_ADDRESS>:8086 --max-time 4 http://gstatic.com/generate_204
if %errorlevel% neq 0 (
echo Connection failed
taskkill /F /IM warp-plus.exe
goto :start2
) else (
echo Connection successful
)
timeout /t 20 /nobreak
goto :loop
:loop2
curl --proxy <IP_ADDRESS>:8086 --max-time 4 http://gstatic.com/generate_204
if %errorlevel% neq 0 (
echo Connection failed
taskkill /F /IM warp-plus.exe
goto :start
) else (
echo Connection successful
)
timeout /t 20 /nobreak
goto :loop2
`

This is an interesting idea! So if I understand correctly, the issue is that when scan is used you only know if IP is working on the first few minutes. After that, the IP may not be usable and must be switched. So what is desired is a system that actively tests the tunnel to see if it's healthy, and if not, scan for a new IP and reconnect.


flutter.dev web page  loading problem overlaping text

Hi @Zeeshan-progs,
I tried same web page and able to see without any issues.

Please try to close the browser / refresh the page and see if it works for you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Send basic user metadata along with Feedback

[ ] Decide if plan should be a tag or part of the user object.

QA Checklist

[ ] No errors logged to console.
[ ] Accessibility score in Chrome DevTools Audit/Lighthouse is 100% with Lighthouse version: #.#.#.
[ ] Component is accessible at mobile-size viewport.
[ ] Component is accessible at tablet-size viewport.
[ ] Component is accessible at laptop-size viewport.
[ ] Component is accessible at big-monitor-size viewport.
[ ] If applicable, create a PR in a site repo, copy the component, and test it. Push to staging and instruct the reviewer to test the component in-page.

Open the test cases app locally on:

[ ] Chrome, no errors logged to console.
[ ] Firefox, no errors logged to console.
[ ] Safari, no errors logged to console.
[ ] Edge, no errors logged to console.
[ ] IE11, no errors logged to console.
[ ] Mobile Safari, no errors logged to console.
[ ] Android Chrome, no errors logged to console.

Holding - I'd like to get the tests from #256 in this PR before we move forward.

@danswick awesome finds! Ready for review, again!


[BUG] add button is hiding last rows

Describe the bug
the add row button is covering the last rows, so interaction with them is impossible.
To Reproduce

create many rows in database
allow many rows to be displayed in settings

Expected behavior
the add button should be underneath the last row to not cover them.
Screenshots
https://user-images.githubusercontent.com/38974541/187280225-1748abeb-358a-4fa1-9db2-902dcdea9d74.mov
Desktop (please complete the following information):

macOS 12.3.1
Obsidian 0.15.9

This is a known issue. Before the release was happening with navbar too and I found a hacky way to fix it conserving the sticky property. I will try to implement that for.add row too


incompatible types: inferred type does not conform to upper bound(s)

hapi-fhir-jpaserver-base\src\main\java\ca\uhn\fhir\jpa\term\TerminologyLoaderSvcImpl.java:[426,58] error: incompatible types: inferred type does not conform to upper bound(s)
[ERROR] inferred: List<? extends Object>
[ERROR] upper bound(s): List,Object

@jjathman


We would like to know whether mmdetection supports multi-task learning, which mainly includes techniques such as balancing of loss functions, e.g., DWA

It includes many sampling strategies and losses with balancing capabilities, such as ClassBalancedDataset, and more.


Make firewall allow-list for workspace VMs customisable

Description
As a TRE Administrator
I want to be able to supply additional FQDNs to be allowed outbound access in the firewall
So that additional sites can be allowed access from workspace VMs (e.g. to add additional CRL verification URLs)
(based on https://github.com/microsoft/AzureTRE/pull/2694#discussion_r997010456)
Acceptance criteria

[ ] Additional allowed FQDNs can be specified in the firewall to allow access for workspace VMs

A candidate for this list is service tags, such as AzureActiveDirectory


messages stuck in queue

postal messages stop in the queue in the pending status, while postal status shows every thing work correctly. the issue solve when restarting postal but happened again and again.
i see the postal logs see this issue:
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /usr/local/bundle/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `_query'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /usr/local/bundle/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `block in query'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /usr/local/bundle/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `handle_interrupt'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /usr/local/bundle/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `query'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /opt/postal/app/lib/postal/message_db/database.rb:319:in `query_on_connection'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /opt/postal/app/lib/postal/message_db/database.rb:223:in `block in insert'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /opt/postal/app/lib/postal/message_db/mysql.rb:20:in `client'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /opt/postal/app/lib/postal/message_db/database.rb:342:in `with_mysql'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /opt/postal/app/lib/postal/message_db/database.rb:222:in `insert'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /opt/postal/app/lib/postal/message_db/delivery.rb:8:in `create'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /opt/postal/app/lib/postal/message_db/message.rb:124:in `create_delivery'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /opt/postal/app/app/jobs/unqueue_message_job.rb:413:in `block in perform'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /opt/postal/app/app/jobs/unqueue_message_job.rb:31:in `each'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /opt/postal/app/app/jobs/unqueue_message_job.rb:31:in `perform'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /opt/postal/app/lib/postal/worker.rb:64:in `receive_job'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /opt/postal/app/lib/postal/worker.rb:96:in `block in join_queue'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /usr/local/bundle/gems/bunny-2.20.3/lib/bunny/consumer.rb:56:in `call'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /usr/local/bundle/gems/bunny-2.20.3/lib/bunny/channel.rb:1842:in `block in handle_frameset'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /usr/local/bundle/gems/bunny-2.20.3/lib/bunny/consumer_work_pool.rb:108:in `block (2 levels) in run_loop'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /usr/local/bundle/gems/bunny-2.20.3/lib/bunny/consumer_work_pool.rb:103:in `loop'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /usr/local/bundle/gems/bunny-2.20.3/lib/bunny/consumer_work_pool.rb:103:in `block in run_loop'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /usr/local/bundle/gems/bunny-2.20.3/lib/bunny/consumer_work_pool.rb:102:in `catch'
worker_5       | [9] [2023-12-02T01:05:19.353] INFO -- : [BHENIXLFMA] [76::6291 8368583] /usr/local/bundle/gems/bunny-2.20.3/lib/bunny/consumer_work_pool.rb:102:in `run_loop'
worker_5       | [9] [2023-12-02T01:05:19.357] INFO -- : [BHENIXLFMA] [76::6291 8368583] Queued message was unlocked
worker_5       | [9] [2023-12-02T01:05:19.359] INFO -- : [EVVB5KJG] Finishing up
worker_5       | [9] [2023-12-02T01:05:19.406] INFO -- : [BHENIXLFMA] Finished processing UnqueueMessageJob job in 2227.245330177s
worker_5       | E, [2023-12-02T01:05:19.406291 #9] ERROR -- #<Bunny::Session:0xca58 postal@<IP_ADDRESS>:5672, vhost=postal, addresses=[<IP_ADDRESS>:5672]>: Uncaught exception from consumer #<Bunny::Consumer:61680 @channel_id=1 @queue=deliver-jobs-outgoing-146 @consumer_tag=bunny-1701461517000-256706572341>: #<Bunny::ChannelAlreadyClosed: cannot use a closed channel! Channel id: 1, closed due to a server-reported channel error: PRECONDITION_FAILED - delivery acknowledgement on channel 1 timed out. Timeout value used: 1800000 ms. This timeout value can be configured, see consumers doc guide to learn more> @ /usr/local/bundle/gems/bunny-2.20.3/lib/bunny/channel.rb:2075:in `raise_if_no_longer_open!'```

hi agian.
the problem is continues and we have this error again.
ERROR -- #<Bunny::Session:0xca58 postal@<IP_ADDRESS>:5672, vhost=postal, addresses=[<IP_ADDRESS>:5672]>: Uncaught exception from consumer #<Bunny::Consumer:1229000 @channel_id=1 @queue=deliver-jobs-outgoing-149 @consumer_tag=bunny-1702579847000-96517523738>: #<Bunny::ChannelAlreadyClosed: cannot use a closed channel! Channel id: 1, closed due to a server-reported channel error: PRECONDITION_FAILED - delivery acknowledgement on channel 1 timed out. Timeout value used: 1800000 ms. This timeout value can be configured, see consumers doc guide to learn more> @ /usr/local/bundle/gems/bunny-2.20.3/lib/bunny/channel.rb:2075:in `raise_if_no_longer_open!'
and message still keep in pending.

i found this line:
https://github.com/postalserver/postal/blob/2f62baa238fc1102706ee4acf079b7a876b05283/lib/postal/message_requeuer.rb#L11
i suspect that requeuer stop and dont get message from mysql and when we restart postal also this task run again and get messages to rabbitmq

And any solutions ?

No nothing absolute.
but i think maybe increase consumer_timeout in rabbitmq and also wrapping this line in begin and rescue.
https://github.com/postalserver/postal/blob/2f62baa238fc1102706ee4acf079b7a876b05283/lib/postal/message_requeuer.rb#L11
       begin
          QueuedMessage.requeue_all
        rescue StandardError => e
          log "Error during requeueing: #{e.message}"
        end

I do the following to "unstuck" the messages for the queue.

Restart the postal processes - postal stop && postal stop periodically to deal with rabbitmq channel problem
run the query update queued_messages set locked_at=NULL, locked_by=NULL; to unstuck the messages from the queue

Nothing else seems to work so far.

new versions have been released very recently, I wonder if there is a solution to this problem in those versions

There is problem with consumer_timeout. Default 1/2h is to small for big queue.
docker exec -it postal-rabbitmq /bin/bash
rabbitmqctl eval 'application:set_env(rabbit, consumer_timeout,<PHONE_NUMBER>0).'
and restart postal work for me

There is problem with consumer_timeout. Default 1/2h is to small for big queue. docker exec -it postal-rabbitmq /bin/bash rabbitmqctl eval 'application:set_env(rabbit, consumer_timeout,<PHONE_NUMBER>0).' and restart postal work for me

thanks, I will try this

No nothing absolute. but i think maybe increase consumer_timeout in rabbitmq and also wrapping this line in begin and rescue.
https://github.com/postalserver/postal/blob/2f62baa238fc1102706ee4acf079b7a876b05283/lib/postal/message_requeuer.rb#L11
       begin
          QueuedMessage.requeue_all
        rescue StandardError => e
          log "Error during requeueing: #{e.message}"
        end

rabbitmq timeout is the problem

This will hopefully be solved when we remove Rabbit and change message queueing in v3.


Public id on account management

A new field should be created on the accounts table to be able to reference an account by a random string instead of an incremental number.
I guess the refresh token logic and email providers should be changed to only return the public id to the user.

This issue must be addressed before adding any other provider, because they are going to follow the same framework this issue is considering to change.
Hopefully there would not be dramatic changes on the integration tests.
Adding a public id on the accounts and email provider tables would imply another call to get the private id of the account.
This could be done on the serialization of the user. From the public id of the JWT, get the private id of the account and keep everything else the same.

To add this feature, every endpoint which uses req.user should add an additional call to get the private id needed for the internal functions.
Also, the private id should not be seen on the tokens. We can achieve this goal using the authentication middleware and changing the response of the auth/check endpoint.


Promoters?

Hi,
Are promoters also output specifically? It does not seem to be in the master data, nor does it say it is one of the outputs.
I understand that what makes a promoter is variable, but extracting xxx bp upstream/down of TSS would be good enough.
Thanks!

Hi @c2b2pss, yes, promoters are extracted by pullint out +/- 2kb regions from the TSS. For example see: https://github.com/saketkc/gencode_regions/tree/master/data/GRCh38/v25 and the associated notebook:  https://github.com/saketkc/gencode_regions/blob/6e32af220c4d929f3ad67414ab83ecb343180932/notebooks/hg38-v96.ipynb


Width of workspaces increased

I just upgraded to master and the width of my workspace buttons increased significantly for no apparent reason. Is this is a bug or an issue with my stylesheet?
Many thanks for maintaining this project!

style.css
* {
    border: none;
    border-radius: 0;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    min-height: 0;
}

window#waybar {
    font-family: Cantarell, sans-serif;
    font-size: 12px;
    background: rgba(50, 50, 50, .95);
    color: #dcdccc;
    padding: 1px;
}

#workspaces {
    font-size: 13px;
}

#workspaces button {
    padding: 0 .3em;
    margin: 1px;
    background: #222222;
    border-bottom: 1px solid transparent;
}

#workspaces button.focused {
    background: #4b5e4b;
    border-bottom: 1px solid #bfbfbf;
}

#workspaces button.urgent {
    background: #800a0a;
}

#window {
}

#mode {
}

#clock, #battery, #cpu, #memory, #network, #pulseaudio, #tray, #mode {
    border-right: 1px solid rgba(220, 220, 204, .25);
    padding: 0 .6em;
    margin: 1px;
}

#clock {
    min-width: 3.6em;
}

#battery {
}

#battery.charging {
}

@keyframes blink {
    80% {
        background-color: transparent;
        color: #ff5a5a;
    }
    90% {
  	    background-color: rgba(255, 20, 0, .4);
        color: #dcdccc;
    }
}

#battery.warning:not(.charging) {
    color: #ff5a5a;
}

#battery.critical:not(.charging) {
    color: #ff5a5a;
    animation-name: blink;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

#cpu {
    min-width: 3.4em;
}

#memory {
    min-width: 3.4em;
}

#network {
}

#network.disconnected {
    color: #ffb45a;
}

#pulseaudio {
}

#tray {
}

There has been no change on the workspace module, it must come from your margin/padding

I've temporarily set all margin and padding values to 0 and, while the width obviously decreases, the grids are still way too wide.

This is how it looks with the default CSS:

And this is how it looks with both default CSS and default config:

@lgrahl, have you tried checking style for workspace buttons and labels within with gtk inspector? If you select an object, Objects->CSS nodes view would show all applied styles with source stylesheet for non-default values.

It might also be your Gtk theme.

I'm having the same issue. Since my config didn't change at all, the width of the buttons shouldn't have changed. Seems like a bug. Maybe not in the workspace module, but originating from somewhere else.
My gtk theme has been the same as well, and changing it doesn't seem to have any effect.

Can you try adding following style:
#workspaces button {
   min-width: 0;
}

Can you try adding following style:
#workspaces button {
   min-width: 0;
}

That did it :) Cheers.

Okay, so that's 100% fault of Gtk theme, because I found this by switching all the themes that I had installed.
If you are using materia theme, that could be this recent change: https://github.com/nana-4/materia-theme/commit/5d145d60f3ed718e6fd5b4a4aeb7c587872231ec

Perfect. Thanks for your investigation!

Perhaps this could be added to the FAQ?
I'm suggesting this because I had the same issue.


allow datum in emulator genesis utxo #213

As far as I can see this is what would need to change to close #213
Very open to guidance, I am new to contributing.
deno fmt has been run on this file, I did not include outstanding formatting corrections for other files. Tests are passing.

I think it'll be better to have some uniformity and use OutputData, instead of datumHash and datum separately.

Oh yes that makes more sense, I agree. Will do so.


Add Spring Boot REST Helm chart

Add Spring Boot REST Helm chart for OpenShift
Chart package and index update

Added this helm into the right repository: https://github.com/openshift-helm-charts/charts. Closing.


Turn implicit casts in code generated by flutter_platform.dart into explicit casts.

Description
Make flutter_platform.dart generated code compliant with implicit-casts: false analyzer option: turn the implicit casts into explicit casts.
Related Issues
https://github.com/flutter/flutter/issues/56283
Tests
Any thoughts on how to test this please? Enabling the analyzer option somewhere would make sense.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] I signed the CLA. I'm a Googler.
[X] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[X] I read the Tree Hygiene wiki page, which explains my responsibilities.
[X] I updated/added relevant documentation (doc comments with ///).
[X] All existing and new tests are passing. No change to test results with my PR; looks like I need some additional setup to get everything passing though, 16 yellow and 13 red for flutter_tools.
[X] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[X] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[X ] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: Replace with a link to your migration guide

Thanks @davidmorgan !


Operation with more than 3 transactions not possible?

Hi, first of all great work on the wallet.
Im trying to do bulk operations with multiple transactions. It seems that the Ledger doesn't receive the call when there are more than 3 transactions in one operation. Is that a limit?
Im calling from the browser.

There is a bug in the currently release Wallet app on Ledger Live that causes large operations to fail. That bug has been fixed in develop if you want to build/install yourself. Also, in develop, signing a batch operation will cause the app to show you a blake2b hash of the operation instead of each field individually. You can try to confirm the hash by recomputing the operation yourself. This feature is planned for the next release along with documentation for how to use it.

Hi, thanks for the prompt reply. We will wait for the official release then.
Great work so far.

This is resolved with Tezos Ledger 2.0.0+.


Trust in Open Source Software

Describe the blog post your would like to write
We are sharing results of Q3 quarterly survey that was hosted on OpenSearch.org website
What is the title of the blog post?
Trust in Open Source Software
Who are the authors?
Aparna Sundar and Kris Freedain
What is the proposed posting date?
October 31st

@apasun - I'm checking on the draft for this and when you think it might be readyfor review?

@pajuric @apasun - it's on me - I need to add to it still - will likely have time to work on it tomorrow


Try adding keytar to store credentials

See: https://core.trac.wordpress.org/ticket/49390
Previusly: #40

This needs testers on Windows and Linux.
Instructions for testing.  Download this branch, run npm link in the directory, and in your WordPress install, run npm link grunt-patch-wordpress

This needs testers on Windows and Linux.

Pinging @kadamwhite @azaozz @SergeyBiryukov


2D screen space shaders corrupted with stretch_mode=viewport or fullscreen

Running the screen space shaders example, if I change the stretch_mode to "viewport" and then resize the window, the shader becomes corrupted:

I was trying to use a screen space shader for an effect. It looks fine in the editor, but my game uses the "viewport" stretch mode and a test_width/test_height that are half the size of my screen. Under those conditions, when the game is run the shader graphic was always corrupted. I was also seeing the shader become corrupted after using OS.set_window_fullscreen() .
Using git version a12c364489df586bf3cbb38f613c0615f88eaff1 on Ubuntu 14.10.

Don't know if this helps any but I can fix the fullscreen issue by adding
rasterizer->reload_vram();
to the end of
OS_X11::set_wm_fullscreen
I noticed something similar being done in os_android.cpp. If I also use stretch_mode=2d (instead of stretch_mode=viewport) then the issue is solved for me.
Is rasterizer->reload_vram() a legit fix? I can submit a PR if you think it's a good idea.

In a nutshell:

open the demos/2d/screen_space_shaders demo
change the stretch_mode to "viewport"
run it
choose an effect
resize the window

^^I have taken the liberty to copy your instruction from the mailing list.
Can somebody confirm this issue on Windows or OSX?

i just get a GPU crash instead.. nice..
I have not the slightest clue what might be going on.. but reload_vram definitely has nothing to do with this

wish there was some way to debug it

Below is what I get on Windows 8.1 64bits AMD R4 GPU.
strech_mode = viewport
keep = ignore
It does not crash. Behavior change with the aspect ratio of the window.

Hey, in my case, this issue seems to have been solved by : https://github.com/okamstudio/godot/commit/3b434eacde58450965708c3eafb6b22eb2a99361
Could you confirm @jotson ?

Oh my bad ... i spoke too fast again ... sorry, it's not solved.

Any status on this issue?
I have a pixel based game with viewport mode, and the shaders only work with 2d mode, when the game is scaled on viewport mode to a different resolution (example a 320x240 target game, scaled x2), all shaders that uses coordinates from vec3 c = texscreen(SCREEN_UV); instructions gets broken.
For my understanding, performance wise for a low resolution pixel game viewport stretch mode > 2d stretch mode, also on viewport mode ensures that all shader effects maintain always the same pixel size.

ah right i have to check this in windows because in Ubuntu the crash corrupts the stack

Just adding a comment to push this issue to the front, as suggested here: https://www.facebook.com/groups/godotengine/permalink/647160102087254/

See https://github.com/rippledodger/godot/commit/f15bd9c8aa6ff62ed3358f4809b735a56110f3fb for a proposed fix - @reduz was saying however in #2377 that it might beat the purpose of the feature, so he'll probably implement his own fix when he gets to it.

Is this not fixed already?

Problem remains on latest master 3c6dd5749d445f082fc925a34cc0a26f8d342304

I'm still seeing this problem using the latest master e4cb104e6daa9c2e5781535ac8790f406ae53f08.
Resizing the window to a larger dimensions seems to work fine. But resizing the window to a smaller size results in the same corruption as before. For example, using test_width and test_height smaller than width and height in the scene settings with stretchmode=viewport.

yes, this won't be fixed as it's really difficult with GLES2. GLES3 backend
in 3.0 will work better
On Mon, Jan 25, 2016 at 9:35 PM, John Watson<EMAIL_ADDRESS>wrote:

I'm still seeing this problem using the latest master e4cb104
https://github.com/godotengine/godot/commit/e4cb104e6daa9c2e5781535ac8790f406ae53f08
.
Resizing the window to a larger dimensions seems to work fine. But
resizing the window to a smaller size results in the same corruption as
before. For example, using test_width and test_height smaller than width
and height in the scene settings with stretchmode=viewport.
—
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/issues/1571#issuecomment-174747512.

No problem (2d is workaround for me). Thanks for all your hard work on this.

So this will be fixed with the GLES3 backend update?

yeah, working on GLES3 update and this will definitely be fixed
On Mon, Oct 3, 2016 at 10:48 PM, Hearto<EMAIL_ADDRESS>wrote:

So this will be fixed with the GLES3 backend update?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/1571#issuecomment-251275370,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z20-_FeDZaTKBl1YJ_FaSKEMuzvTrks5qwbB5gaJpZM4D0TU-
.


#issue#425 Debug MVP: Show searches as inline buttons, choose 1 search to follow

Supposedly this is a full version of feature set that stores user's searches to follow (1 per user) and retrieves it from DB for user to view/edit in the list of active searches. The list will be shown to user as inline keyboard (ikb - this abbreviation is used).
In this version this is shown only for user with username AnatolyK1975. All other user will see previous productive version.

@AKagitin could you please add "return None" to every function (e.g. manage_search_whiteness). unfortunately, in google cloud functions absence of the return statement causes function containers freezes sometimes.


fixed date range manual input for dd.mm.yyyy

connected to https://vimean.atlassian.net/browse/UXE-72
we provide format of date, which a user should use.
https://github.com/vimeo/iris/blob/main/src/components/inputs/Dates/DateRange/DateFormat.ts#L27
https://github.com/vimeo/iris/blob/main/src/components/inputs/Dates/Calendar/Calendar.state.tsx#L87
issue happens when a user should enter  dd.mm.yyyy date format - we show him "invalid date error". Because javascript  new Date constuction doesn't work with  dd.mm.yyyy format
The code checks if date format dd.mm.yyyy - then it transforms the format into yyyy.mm.dd which works with new Date

Hey @chepelevdi, it looks like this is a pretty inflexible solution, I'm wondering if there's a better way to approach this, (ie. what if a person needs the date to be YYYY/MM/DD?)--perhaps the date component should accept a date formatting util?

@juliewongbandue Hey, we have format checker https://github.com/vimeo/iris/blob/main/src/components/inputs/Dates/DateRange/DateFormat.ts#L27, which check input format depends on user local https://github.com/vimeo/iris/blob/main/src/components/inputs/Dates/Calendar/Calendar.state.tsx#L87
So a user don't have choice, we give him  format which he should use.
As far I understand, new Date with dd.mm.yyyy (EU format) doesn't work, so if user has dd.mm.yyyy format we have to transform the format into one with which new Date can work

I see, you're transforming the date to conform to the ISO 8691 format  for the Date constructor. Could you include that in a comment above your convertDDMMYYYToYYYYMMDD function?

@juliewongbandue done, thank you


azure.conf should be ini format, no json

https://docs.openshift.com/container-platform/3.5/install_config/configuring_azure.html#azure-configuration-file
I've tried to create a PVC with the previous format and it failed with "Failed to create provisioner: Failed to get Azure Cloud Provider. GetCloudProvider returned  instead" and after doing this modifications and restarting master service, it works.

Tested again with the old format and it works, so it should be related with the service restart.


Configurable Automatic Table Rollups

Use case: It would be great if there was a way to automatically rollup data from one table and store the aggregations into another table.
Feature description:
Imagine you have a table for general ingestion thats getting events every second. It would be great if after a specified time period (monthly or weekly) you could have a process automatically collect all the events past that period on a per-day basis (maybe hourly? every 4 hours?) and insert those results into another table and then remove the individual events from the general ingestion table in an optimized way.
Could help with issue https://github.com/crate/crate/issues/10370

Would materialized views cover your use-case, or do you have something else in mind?

Materialized views are great, but you're still storing every single data point in an underlying table. This is slightly different because it's pruning old data from the table and just storing the aggregates in a new "archive" table.

Dear Robert,
I believe you are asking for a feature which would provide downsampling and retention, as implemented by InfluxDB through retention policies (RP) and continuous queries (CQ) [1], in order to automate the process of downsampling data and expiring old data, right?
@mfussenegger: The background of this is usually

to keep the high precision raw data for only a limited time, and store the lower precision, summarized data for much longer or forever.

The downsampling process is done by applying aggregations using avg/mean together with a GROUP BY time() clause, in order to downsample from e.g. ten-second resolution data to 30-minute resolution data.
With kind regards,
Andreas.
[1] https://docs.influxdata.com/influxdb/v1.7/guides/downsampling_and_retention/

After have a short out-of-band conversation with @proddata, we wanted to add that, beginning with InfluxDB 2.0, the continuous queries (CQ) feature is gone and has been replaced by a more generic "Tasks" feature for downsampling data [1]:

One of the most common use cases for InfluxDB tasks is downsampling data to reduce the overall disk usage as data collects over time. In previous versions of InfluxDB, continuous queries filled this role.

These tasks can be created from the CLI [2] and contain a scheduling option and a Flux query for filtering, windowing and aggregating the data.
Window functions are available within CrateDB [3], so many parts of such a subsystem might already be in place, modulo a task scheduler.
[1] https://docs.influxdata.com/influxdb/v2.0/process-data/common-tasks/downsample-data/
[2] https://docs.influxdata.com/influxdb/v2.0/process-data/manage-tasks/create-task/#create-a-task-using-the-influx-cli
[3] https://crate.io/docs/crate/reference/en/4.3/general/builtins/window-functions.html

This is also related to https://github.com/crate/crate/issues/8806


Update go protocol buffers to v2.

 This is largely behind the protos existing interfaces, and so is transparent to the SDK's use of them.
The proto option go_packages were updated to the fully qualified import names, as the usage we had was being deprecated soon. This lead to some changes to the go generate script that creates the pb.go files. We still require that the beam repo be ensconced in a github/apache folder in a developer's Go path, for proper Go SDK development, but this should be easier to handle if there are other small proto changes needed.
Handles renaming the MonitoringInfos rpc from https://github.com/apache/beam/pull/13078 which required small updates to harness/harness.go, this PR will be force updated once that one is in.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] 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.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Go PostCommit

Retest this please

Run Go Postcommit

The python failure is expected until #13078 is merged in and this PR rebased on top of it. The important part is the Go tests pass.


Model deployment

Is there any provisions to make in production cases when deploying a model with this batch norm on mobile devices or on any server? Can it run smoothly on cpu?

InPlaceABN models can be deployed by following any standard procedure to deploy Pytorch models using standard BN, with a small caveat: weight parameters from all InPlaceABN layers should be replaced with weight.abs(). This is necessary because of the different way InPlaceABN and standard BN do feature scaling.


how to delete lines?

I want to delete lines that match with regex pattern, but couldn't find a way.

<leader>rd helped me


Dockerfile ADD remote url does not use any HTTP header so always re-downloads

To Reproduce:

Build the below Dockerfile a couple of times docker build . Each time the jar file gets downloaded even though the file has not changed on Nexus.

FROM ubuntu

ADD ["https://oss.sonatype.org/service/local/artifact/maven/content?r=public&g=org.eclipse.xtext&a=org.eclipse.xtext.builder&v=2.9.0-SNAPSHOT", "/opt/xtext-builder.jar"]

CMD ["echo", "hello!"]

However, Nexus returns HTTP headers like Last-Modified or ETag that could be used to prevent the re-download and just use what's in the Docker cache.

# curl -I "https://oss.sonatype.org/service/local/artifact/maven/content?r=public&g=org.eclipse.xtext&a=org.eclipse.xtext.builder&v=2.9.0-SNAPSHOT"

HTTP/1.1 200 OK
Content-Disposition: attachment; filename="org.eclipse.xtext.builder-2.9.0-20150820.042448-99.jar"
Content-Length: 341045
Content-Type: application/java-archive
Date: Thu, 20 Aug 2015 10:14:34 GMT
ETag: "{SHA1{44253ea5406c02ead80789cbc763c8c27ba87124}}"
Last-Modified: Thu, 20 Aug 2015 04:24:49 GMT
Server: nginx
Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Connection: keep-alive

docker version: Docker version 1.8.1, build d12ea79
docker info:
Containers: 2
Images: 365
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 369
 Dirperm1 Supported: false
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.13.0-49-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 4
Total Memory: 15.67 GiB
Name: UBUNTU4116V
ID: OTB6:5W7M:D7PU:M6Q2:KKCI:PKI3:2TS4:SPZ5:6LQC:CYIW:N4AJ:XREU
WARNING: No swap limit support

uname -a: Linux UBUNTU4116V 3.13.0-49-generic #83-Ubuntu SMP Fri Apr 10 20:11:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu image running on VMWare

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Previously reported in https://github.com/docker/docker/issues/3672 but closed until a better solution could be found. Perhaps we could leave this open to discuss possible solutions to this.
Seems like we track Last-Modified, but it isn't being used to check cache hits: https://github.com/docker/docker/pull/8716

https://github.com/docker/docker/issues/12361#issuecomment-93992321

The decision was made to, basically, not trust things like the URL or timestamps, and instead actually check the data itself to make sure nothing has changed.

Didn't spot that, thanks. ETag seems like a safer way to do it, though. That's typically a hash of the file's contents.
There's probably a certain degree of "good enough" for busting the cache too. E.g. RUN wget https://... will never get downloaded again if it changes, and people seem to be alright with that. If you absolutely want a URL to be downloaded again, you can do a docker build --no cache.

Yip I already use RUN wget and build --no-cache but I'm downloading a bunch of jars and have to manually go an figure out if each jar changed which is cumbersome.
Since Last-Modified header will be in a HTTP-date format (http://tools.ietf.org/html/rfc2616) couldn't this be parsed & used for validating the cache. If you cannot parse it for any reason revert to the existing approach and re-download the file again. But yes ETag would also be another option also.

Since Last-Modified header will be in a HTTP-date format (http://tools.ietf.org/html/rfc2616) couldn't this be parsed & used for validating the cache. If you cannot parse it for any reason revert to the existing approach and re-download the file again. But yes ETag would also be another option also.

Here's an old discussion on that topic;
see these comments for that; https://github.com/docker/docker/pull/8716#issuecomment-61271301, and https://github.com/docker/docker/pull/8716#issuecomment-61401677

I am in favour of comparing last-modified/etag as an initial check and falling through to a data-check, was just noting a previous position.
Why bother parsing it? Just hash the last-modified/etag, then compare it to the existing hash. If it matches then great, no need to download.

Do we have any follow up on this issue?
Are there any downsides or concerns with using last-modified/etag for caching remote files and avoid re-downloading?

I don't think anyone is working on it at the moment; possibly if someone implements @aidanhs's proposal  it could be considered, but I don't know other maintainers opinion on this.

It's still a problem. However,  I'm not sure if I want to see this implemented in docker. It might be easier to do this by a small bash script.
So, I'm -1 on this.
@thaJeztah I wonder if we have a proper way to close/push forward proposals. Like -3 from maintainers = close, +3 = push forward.

It would be great for my build workflow to have this option. Actually, I'm downloading a 200 Mb file everytime!
I don't want to put this file in my git repo! Also, the file could eventually change.

In lieu of a perfect solution being found, can we not review the proposed ideas? @thaJeztah
It seems like there is a lot of discussion around this and several related issues that have gone nowhere.
Perhaps the earliest report was over 2 years ago 👎  (in - https://github.com/docker/docker/issues/3672)

After a lengthy discussion in our maintainers meeting;

We're open to adding this in future
However, the current caching mechanism makes it very complicated to check either on ETAG, or the checksum of the downloaded files, and would require "hacky" changes to the cache-store (which we want to avoid)
There are plans to refactor the caching store to be more flexible
After that refactor is done, we can revisit, and see if we can implement this

@thaJeztah Two years later and this still appears to be an issue. I have confirmed the file I'm downloading does have an etag header so I'm assuming this got buried in the backlog...

@ed-alertedh I think this is implemented in BuildKit; can you try with BuildKit enabled? (set the DOCKER_BUILDKIT=1 environment variable before running docker build)

Thanks for the speedy response! I wasn't aware of BuildKit, but looks like I can't enable it easily in my setup until this bug is resolved: https://github.com/docker/compose/issues/6440
In the meantime, the file I'm downloading is very unlikely to change at the source so I just used wget instead.

For example, with the following Bitbucket urls, it always re-downloads, I assume because Bitbucket fails to include the right header(s).
ADD https://bitbucket.org/teros/datavana/raw/"$commit"/moodwire/mwapi/requirements.txt  '/interos/temp/requirements.txt'
ADD https://bitbucket.org/teros/datavana/raw/"$commit"/moodwire/mwapi/constraints.txt '/interos/temp/constraints.txt'

@ORESoftware that output looks like you're using the classic builder; can you try using the buildkit builder? See my comment above https://github.com/moby/moby/issues/15717#issuecomment-493854811

@thaJeztah thanks - is there documentation on that? link here maybe

@ed-alertedh I think this is implemented in BuildKit; can you try with BuildKit enabled? (set the DOCKER_BUILDKIT=1 environment variable before running docker build)

Yep. Works for me. It does not re-download. But I did not check if it will if file will be changed.


updated userGuide

added: admin can update and delete any thread and comment

Pull Request Test Coverage Report for Build 171

0 of 17 (0.0%)  changed or added relevant lines in 4 files are covered.
6 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.07%) to 46.432%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/com/t13g2/forum/logic/commands/DeleteCommentCommand.java
0
4
0.0%

src/main/java/com/t13g2/forum/logic/commands/DeleteThreadCommand.java
0
4
0.0%

src/main/java/com/t13g2/forum/logic/commands/UpdateCommentCommand.java
0
4
0.0%

src/main/java/com/t13g2/forum/logic/commands/UpdateThreadCommand.java
0
5
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/com/t13g2/forum/logic/commands/UpdateCommentCommand.java
1
0.0%

src/main/java/com/t13g2/forum/logic/commands/UpdateThreadCommand.java
1
0.0%

src/main/java/com/t13g2/forum/logic/commands/DeleteCommentCommand.java
2
0.0%

src/main/java/com/t13g2/forum/logic/commands/DeleteThreadCommand.java
2
0.0%

Totals

Change from base Build 167:
-0.07%

Covered Lines:
1308

Relevant Lines:
2817

💛  - Coveralls


Add cpu pinning for AMD nodes

Add pinning of CPU for nodes with AMD processors.  4 CPUS will be reserved on compute/controller nodes, and 1 will be reserved on compute-only nodes.

retest

This looks like it'll work, provided all our AMD hosts have exactly the same # of cores. For a next iteration of this, we could figure out how many cores are on the host and do some math to do the reservation dynamically. But that's for a future when we'll have mixed core amounts.

Also I'm curious why this would only be on AMD hosts and not our Intel hosts.

retest

@j2sol AMD nodes have a different NUMA topology from Intel nodes: Intel has odd cores on one physical CPU and even on the other, while each CPU in the AMD nodes is actually a multi core model with two 8 core dies and cores are numbered sequentially. I've shared out an internal Google Doc with more details.


MySQL INSERT INTO  SET =, = Syntax Not Supported

Example: INSERT INTO workflow SET account_id = 1, prospect_id = 2
Valid according to https://dev.mysql.com/doc/refman/5.7/en/insert.html

This one is not supported by JSqlParser.


Center Floating Head in Container

So I am attempting to center my table inside it's div. I am centering the table by setting margin: 0px auto. In my project, the table is centered, but the header is not (it is off by 35px, which is the size of padding on my container div).
After inspecting it, it seems that the table element that floatThead creates for the header, is outside my container div... The actual table is inside though. So this results in my table being properly centered, but my header being slightly offset to the right.
Here is an image showing the offset (data blocked out):

I attempted to duplicate the issue with a fiddle, but it works fine! Has anyone had this issue where they're newly generated table for the header is outside the containing div?
https://jsfiddle.net/skx1u94d/1/

Does this issue look like the other open issue?
On Tue, Sep 10, 2019, 11:26 AM burgoyne<EMAIL_ADDRESS>wrote:

So I am attempting to center my table inside it's div. I am centering the
table by setting margin: 0px auto. In my project, the table is centered,
but the header is not (it is off by 35px, which is the size of padding on
my container div).
After inspecting it, it seems that the table element that floatThead
creates for the header, is outside my container div... The actual table is
inside though. So this results in my table being properly centered, but my
header being slightly offset to the right.
Here is an image showing the offset (data blocked out):
[image: table head padding]
https://user-images.githubusercontent.com/17754882/64627331-68ada180-d3bd-11e9-9b5c-1b6bd3fe0c33.png
I attempted to duplicate the issue with a fiddle, but it works fine! Has
anyone had this issue where they're newly generated table for the header is
outside the containing div?
https://jsfiddle.net/skx1u94d/1/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mkoryak/floatThead/issues/443?email_source=notifications&email_token=AAC5WSOFBQEALZYPVPOR5OLQI64CRA5CNFSM4IVJGW22YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HKPNUZQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAC5WSPDE5AYNWOBDZRAU3DQI64CRANCNFSM4IVJGW2Q
.

I noticed that other thread, but it does not seem to be the same issues. My problem seems to be caused by the generated table being placed outside the container. I assume it is a bug, potentially a configuration issue.

Looking more into it, it does seem to be the same issue. I am going to try to resolve this based off of those answers.

duplicate of #437


Ability for clients to page through query results

There are situations where results of a query can be quite large and clients would benefit from processing results in a paginated manner. dynamodb supports this type of experience by including a LastEvaluatedKey value in query response allowing subsequent queries to pickup where the last page ended by passing in a ExclusiveStartKey parameter (see docs).
Exposing this information at the scanamo API level would greatly benefit clients using the library to be able to make appropriate paginated calls.

@regiskuckaertz, thanks for taking this on. As part of this work, it would be fantastic to also allow the DSL to set the ScanIndexForward option as well. Doing so would allow clients to do pagination in either direction.

Closed by #227
(Note: ScanIndexForward is supported on queries: table.query(...).descending)


Set created and updated dates which cannot be null

Hi,
You must create MR on master repo > https://github.com/acantepie/umbrella + i don't understand your PR, createdAt and updatedAt are setted by gedmo https://github.com/acantepie/umbrella/blob/master/Bundle/AdminBundle/Resources/config/doctrine/BaseAdminUser.orm.xml


Header image is blurry

Hi there, thanks for sharing this plugin which in theory does exactly what I need.
The issue I have is the header image is blurry.
I uploaded a 2064x1238px image and set it to 'stretch'.
Let me know if you need anything more.

Hi there, thanks for sharing this plugin which in theory does exactly what I need.
The issue I have is the header image is blurry.
I uploaded a 2064x1238px image and set it to 'stretch'.
Let me know if you need anything more.

I have the same issue. is there any fix?


posibility of a 4.15.14 release for @vue/cli-plugin-eslint with updated globby

Version
4.5.13
What is expected?
No warning
What is actually happening?
Warning

Subject of the issue
<EMAIL_ADDRESS>requires<EMAIL_ADDRESS>which has a security problem (see: CVE-2020-28469):
<EMAIL_ADDRESS>➔<EMAIL_ADDRESS>➔<EMAIL_ADDRESS>➔<EMAIL_ADDRESS>I do not know if this vulnerability actually affects @vue/cli-plugin-eslint, but it will show up in security reports about dependencies. Since a large number of developers use @vue/cli-plugin-eslint@4.5.13(259,731 downloads per week), is there any posibility that you could release an update version for 4.5.* (ie 4.15.14) that introduces a patched version(>=5.1.2) of glob-parent?
In<EMAIL_ADDRESS>maybe you can perform the following update:
globby ^9.2.0 ➔ ^10.0.0
where<EMAIL_ADDRESS>➔<EMAIL_ADDRESS>➔<EMAIL_ADDRESS>and<EMAIL_ADDRESS>has fixed the vulnerability CVE-2020-28469.
Thank you for your help and welcome to share other ways to resolve the issue.

It's not a real vulnerability to Vue CLI users. See https://overreacted.io/npm-audit-broken-by-design/
Please ignore the report or use yarn resolutions or npm-force-resolutions


Repository Language Detection - Arduino

Linguist is only displaying one language for my repository even though multiple are used. Clicking on the language brings up the accurate language classifications but these are not factored into the repository languages header.
It should be bringing up C++ and Arduino but it is only displaying C++. I made sure that Arduino is a supported language and that the Arduino file extension was already included in Linguist. Another Arduino library repository's language header is working fine (https://github.com/jmax33/arduino_libShiftRegister).

Arduino files are not counted in the statistics because they are in the examples directory which is classified as documentation by Linguist. See Linguist overrides to change this default behavior. In particular, you could add a .gitattributes file:
examples/**.ino linguist-documentation=false

That makes sense, thanks for the help @pchaigno.


Is there a setting to round value before formatting it?

Consider the following case:
moment.duration.fn.format.defaults.trim = false;
moment.duration('0:15:45').format('hh:mm');   // "00:15"

The format function is truncating the duration value rather than rounding it. In the case above, it would be more accurate to round it first, and display "00:16". Is there a setting to do that?

I implemented a solution. Basically, put the following code in the format function right before the each loop that calculates the value for each token:
		// round to least significant token
		if (settings.round) {
			var leastToken = momentTypes.slice(-1)[0],
				roundedUnits = parseFloat(remainder.as(leastToken).toFixed(settings.precision));

			remainder = moment.duration(roundedUnits, leastToken);
		}

Will you put that in or accept a pull request? Thanks.

Check out my dev branch. I added this feature in 65bde6d59f17dcf15842e032f9ae97da6b0f2bed and made rounding the default behavior.
I'll try to get a new version of this plugin officially published soon.


serde_json should accept serde versions above 0.9.11

I'd like to pull in serde-rs/serde@f500db6e91d46a9f61a7e9775137deb2ba45fed2 to the copy of serde my project is using directly but serde_json insists on 0.9.11.

The current version of serde_json allows any serde version 0.9.11 <= x < 0.10.0. Does the newest serde not get pulled in when you run cargo update? Also the commit you linked to is included in every serde version since 0.9.8, including 0.9.11.

Hrm, indeed.  Not sure what I was doing wrong before but it works fine for me now.


Update typo on mongodb

Minor, but wouldn't want to confuse a newcomer. Mongo, mongodb, mongod is already confusing enough :)

Awesome! Thanks!

Thanks for the tutorial! It's been useful


kubelet panics on instances without public IP (AWS)

Since node auto-registration was introduced in v0.18.0, the kubelet crashes on AWS if the instance it runs on doesn't have a public IP.
The full error trace is available here: https://gist.github.com/antoineco/8d5a168aae8ab5b94cef

cc/ @roberthbailey

The kubelet asks the cloud provider for node addresses, and the implementation is specific to each provider. It looks like this is a bug in the aws cloud provider: the stack trace points to line 412 of aws.go.

Thanks for the great bug report.  Working on a fix in #9189.


SEAB-6148: Log more diagnostic information

Description
This draft PR contains a rough draft implementation of some code we might use to log more diagnostic information in the webservice.  Keep in mind that this is a proof-of-concept with known defects, no nitpicking, please!  After I get high-level feedback, I'll productize.
Because I was concerned about the possibility of a secret leak, I left some checkstyle offenses in the code so that it won't build.  Please pull the branch, build with -Dcheckstyle.skip, run locally, and see what you think.  I commented out the ps output in the method logProcesses, because it was most likely to expose a secret (in a command's arguments), feel free to add it back locally.  Don't try to fix this PR so it successfully runs on our CI system until we've confirmed it's safe.
Basically, this PR introduces a new DebugHelper class which wires itself into the infrastructure and logs various information.  "Global" info about threads, processes, the database, and memory is logged periodically via a Timer, and request-level info about a handling thread and Hibernate Session is logged at the end of each request.
To be able to review the output, pipe the webservice stdout into tee /tmp/output and view the resulting file.  Search for DebugHelper to find the new log entries.
A big concern is that, since we're logging data pulled out of the guts of our runtime environment, we'll accidentally log a secret, especially via the ps output, which currently includes the arguments to commands.  So, please take a look at the ps output, ponder how our infra passes secrets, and see what you think.  We purposefully do not log environment variables, which are a known vector for secrets and would almost definitely be an issue.
All of the information that is logged - literally the entirety of each log message - passes through censoring code that looks for runs of characters that appear to be hex/base64, does some analysis on the character distributions, and X's them out if they appear to be keys.  The crux here is that paths resemble base64 strings because they tend to contain the same characters, so we need a way to let them through.  The assumption is that a key will be well-encoded and contain a random jumble of characters, whereas a path (or other structured non-key data) will contain longer runs of the same character classes.  The resulting censoring scheme works pretty well, see the comments for more information.  With one more addition (tweaking the pass-censor criteria by including a metric that compares letter pairs to their English frequencies), it would work extremely well.
Another concern is that these changes will introduce instability into the webservice.  Keep an eye out for that type of problem.  We're purposefully doing the periodic logging via a Timer/thread so in case it hangs or throws, the normal functions of the webservice aren't as likely to be impacted.
There is lots of different stuff we can log. In this PR, I included some ideas from the ticket, and some data that'll help us to figure out which endpoints might need optimization.  Ideas for additional stuff welcome.  We can also fiddle with the output format, lots of possibilities there.  The format right now is "ad hoc".
In the final version, we'd probably want to be able to enable/disable this logging via the configuration file, and be able to set the logging period.
Review Instructions
None yet.
Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-6148
Security and Privacy
Many security concerns, see description.
Please make sure that you've checked the following before submitting your pull request. Thanks!

[ ] Check that you pass the basic style checks and unit tests by running mvn clean install
[ ] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[ ] Follow the existing JPA patterns for queries, using named parameters, to avoid SQL injection
[ ] If you are changing dependencies, check the Snyk status check or the dashboard to ensure you are not introducing new high/critical vulnerabilities
[ ] Assume that inputs to the API can be malicious, and sanitize and/or check for Denial of Service type values, e.g., massive sizes
[ ] Do not serve user-uploaded binary images through the Dockstore API
[ ] Ensure that endpoints that only allow privileged access enforce that with the @RolesAllowed annotation
[ ] Do not create cookies, although this may change in the future
[ ] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

Basically, this PR introduces a new DebugHelper class which wires itself into the infrastructure and logs various information. "Global" info about threads, processes, the database, and memory is logged periodically via a Timer, and request-level info about a handling thread and Hibernate Session is logged at the end of each request.

Seems like a lot of data, not having looked at the code yet, wonder if it should be logged to a separate appender/file
https://www.dropwizard.io/en/stable/manual/configuration.html#logging
that could eventually end up in a log group so we can more easily choose what to view and/or have different expiry/deletion rules

I wonder if CloudWatch has a way to "merge" log groups when querying?

Looks like, yes, via the insights queries
https://aws.amazon.com/about-aws/whats-new/2019/07/cloudwatch-logs-insights-adds-cross-log-group-querying/

Conceptually, looks good.
Do you have some sample output, just to get a sense of what it might look like and how large it would be?

Basically, this PR introduces a new DebugHelper class which wires itself into the infrastructure and logs various information. "Global" info about threads, processes, the database, and memory is logged periodically via a Timer, and request-level info about a handling thread and Hibernate Session is logged at the end of each request.

Seems like a lot of data, not having looked at the code yet, wonder if it should be logged to a separate appender/file https://www.dropwizard.io/en/stable/manual/configuration.html#logging that could eventually end up in a log group so we can more easily choose what to view and/or have different expiry/deletion rules

On the one hand, yes it could make the "main" log really noisy and might be worth separating. On the other hand, if it would make easier correlating things if we're researching an issue, e.g., seeing the thread dump right before/after a request is logged would be useful. I wonder if CloudWatch has a way to "merge" log groups when querying?

Some thoughts:

It's relatively difficult to send separate streams of information to different log groups from a container running in ECS.  The typical setup is to use the cloudwatch agent to send stdout/stderr to a group.
We could possibly modify our logging to condense each multi-line log entry to a single expandable entry: https://stackoverflow.com/questions/67396522/cloudwatch-multiline-log-messages-from-containerized-app-runnning-on-ecs-ec2  This would greatly reduce the visual impact of the logging entries that appear in this PR, as well as collapse the giant stack traces that currently appear in our logs.
It is most useful to display the debugging information interleaved temporally with our other log output.  The hard it is to do that, the less useful the debug information is.

Regarding size, there's two groups of information being logged.  The first, thread/request-level info, is pretty small:
INFO  [2024-02-28 20:50:59,095] io.dockstore.webservice.helpers.DebugHelper: debug.started by thread "dw-45 - GET /organizations/9/starredUsers" (45):
GET "organizations/9/starredUsers"
INFO  [2024-02-28 20:50:59,109] io.dockstore.webservice.helpers.DebugHelper: debug.session by thread "dw-45 - GET /organizations/9/starredUsers" (45):
SessionStatistics[entity count=1,collection count=4]
INFO  [2024-02-28 20:50:59,131] io.dockstore.webservice.helpers.DebugHelper: debug.finished by thread "dw-45 - GET /organizations/9/starredUsers" (45):
GET "organizations/9/starredUsers"
INFO  [2024-02-28 20:50:59,131] io.dockstore.webservice.helpers.DebugHelper: debug.thread by thread "dw-45 - GET /organizations/9/starredUsers" (45):
allocated: 0.60 MB
cpu-time: 0.012 sec
user-time: 0.011 sec
elapsed-time: 0.036 sec

The periodic "global" information is larger:
INFO  [2024-02-28 20:51:05,045] io.dockstore.webservice.helpers.DebugHelper: debug.threads by thread "diagnostics" (18):
"Reference Handler" daemon prio=10 Id=2 RUNNABLE
        at java.base@17.0.7/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
        at java.base@17.0.7/java.lang.ref.Reference.processPendingReferences(Reference.java:253)
        at java.base@17.0.7/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:215)
[...]

INFO  [2024-02-28 20:51:05,045] io.dockstore.webservice.helpers.DebugHelper: debug.database by thread "diagnostics" (18):
pool-size: 8
pool-active: 0
pool-idle: 8

INFO  [2024-02-28 20:51:05,046] io.dockstore.webservice.helpers.DebugHelper: debug.memory by thread "diagnostics" (18):
HEAP: init = 268435456(262144K) used = 70545688(68892K) committed = 144703488(141312K) max =<PHONE_NUMBER>(4194304K)
NON-HEAP: init = 7667712(7488K) used = 121830168(118974K) committed = 123928576(121024K) max = -1(-1K)
POOL: CodeHeap 'non-nmethods', Non-heap memory
current: init = 2555904(2496K) used = 1457792(1423K) committed = 2555904(2496K) max = 5840896(5704K)
peak: init = 2555904(2496K) used = 1520384(1484K) committed = 2555904(2496K) max = 5840896(5704K)
collection: null
POOL: Metaspace, Non-heap memory
current: init = 0(0K) used = 84102304(82131K) committed = 84738048(82752K) max = -1(-1K)
peak: init = 0(0K) used = 84102304(82131K) committed = 84738048(82752K) max = -1(-1K)
collection: null
[...]

I've elided most of the thread dump, in total.   On my development box, it's around 10 lines per thread, and 34 threads are listed, totally approximately 25kB.  The memory pool dump is the next biggest entry, about 2.5kB total.
The ps output is not included here.  It's a ton of output on my development box, but is relatively small when running in ECS, a few lines.
My feeling is that, although it's intriguing to ponder logging this stuff to a different group, it might be more trouble than it's worth, if we can format the debug info so it doesn't overwhelm the other log info.

We could possibly modify our logging to condense each multi-line log entry to a single expandable entry: https://stackoverflow.com/questions/67396522/cloudwatch-multiline-log-messages-from-containerized-app-runnning-on-ecs-ec2  This would greatly reduce the visual impact of the logging entries that appear in this PR, as well as collapse the giant stack traces that currently appear in our logs.

I think this could work, in addition to swapping most of these outputs from INFO to TRACE
Presumably the other thing we can do is probably do some kind of filter to produce more than one logstream.
The downside I think is we'll need to consider log expiry, but we probably need a ticket on that either way.

Ok, I made a few changes, the current state is the proposed final version.
Part of my original "move it forward" plan was to remove the custom censoring code and replace it with the AWS Cloudwatch "data protection" feature.  However, upon deeper inspection, I learned that the AWS feature probably wouldn't catch the type of secrets that might leak, either because it's not looking for certain types of secrets (GitHub tokens, for example), or it requires they appear in certain contexts to detect them (for example, an AWS key needs to appear in proximity to the keyword aws_secret_access_key (or similar) for the AWS feature to censor it, which is unlikely to happen in our case).
By far, the most likely place for secrets to leak is the ps output.  So, to totally neutralize that scenario, I removed the ps output from this PR.  Now, the probability of a secret leaking is greatly reduced, much closer to the (low) background probability of leaking a secret in the rest of the logs, and censoring is much less important (either via our own code or the AWS feature).
So, I've removed the original webservice-side censoring code, and since the AWS data protection feature doesn't perform very well in our use case, I recommend that, at this juncture, we don't spend the time to enable it.
I should note that, left to my own devices, I would include the original webservice-side censoring code, but having dropped the ps output, I can merge this PR without it and not feel bad/worried/irresponsible/etc.

ecause it's not looking for certain types of secrets (GitHub tokens, for example),

There is a custom data identifier feature https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL-custom-data-identifiers.html
I think you should be able to add the github tokens since they start with gho, ghr, etc. https://github.blog/2021-04-05-behind-githubs-new-authentication-token-formats/

we don't spend the time to enable it.

I think it should only be a handful of steps https://aws.amazon.com/blogs/aws/protect-sensitive-data-with-amazon-cloudwatch-logs/ but you can create a follow-up ticket


Create a new TaskMonitor each time to avoid flaky tests.

What is the purpose of this PR
This PR is to fix a non-idempotent test org.apache.hadoop.hbase.monitoring.TestTaskMonitor.testDoNotPurgeRPCTask that can pollute itself, if run the test multiple times in the same JVM, it can only pass at the first time.
Reproduce the test failure
Run the test twice in the same JVM.
Expected  result:
The tests should run successfully when multiple tests that use this state are run in the same JVM.
Actual result:
We get the failure:
[ERROR] Failures:  [ERROR] testDoNotPurgeRPCTask:144 RPC Tasks have been purged! expected:<10> but was:<20>
Why test fails
Each time this test runs, the RPCtasks created 10 RPCtasks, and added them to the arraylist rpcTasks, but rpcTasks was not reset (actually all tasks were not reset) when the test ends. So next time the test starts, the remaining RPC tasks number is greater thanRPCTaskNums, which is supposed to be 10 RPC tasks created in this test run.
Fix
Create a new TaskMonitor each time to avoid pollution.

More details:

After inspected the

https://github.com/LALAYANG/hbase/blob/f2e2140b574123fa871599603cbbba8ba145e1b9/hbase-server/src/main/java/org/apache/hadoop/hbase/monitoring/TaskMonitor.java#L140


not parsing IPv6 node addresses correctly

Hi,
I'm using redis cluster in an IPv6 only environment. For now, I have set up my cluster with 3 masters and one master has a slave, as shown here:
2f4deff02f02ce70098275686acb529c08143619 fd01::85:14:243:18:6379 master - 0<PHONE_NUMBER>665 1 connected 0-5460
879fba81ebb152c1ee7264867908fbd6c99b180a fd01::5:104:106:150:6379 myself,slave ab3e6e95138d12d303fcbbd205c31d2068d1e639 0 0 0 connected
5d6fb5ca8276cf7b1ab90cd3115f67e1f3b6bc9c fd01::85:14:243:17:6379 master - 0<PHONE_NUMBER>658 5 connected 10923-16383
ab3e6e95138d12d303fcbbd205c31d2068d1e639 fd01::5:199:142:208:6379 master - 0<PHONE_NUMBER>662 4 connected 5461-10922

My code to read/write to redis:
$conn = array('tcp://<IP_ADDRESS>:6379');
$options = array('cluster' => 'redis');
$c = new Predis\Client($conn, $options);
$c->set($key, $value);

However, I'm getting this error:
Array
(
 [errno] => 2
 [errstr] => stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known
 [errfile] => /usr/share/php/Predis/Connection/StreamConnection.php
 [errline] => 91
 [errcontext] => Array
 (
 [parameters] => Predis\\Connection\\ConnectionParameters Object
 (
 [parameters:Predis\\Connection\\ConnectionParameters:private] => Array
 (
 [host] => fd01
 [port] => 0
 [scheme] => tcp
 [timeout] => 5
 )

 )

 [uri] => tcp://fd01:0/
 [flags] => 4
 [errno] => 0
 [errstr] =>
 )

)

As you can see, the address gets parsed wrongly. Instead of taking the last number as the port and everything before as an IPv6 address, it only takes the first part as hostname/IP.
One might also consider this to be a fault of redis, as the IPv6 address isn't enclosed with brackets to make clear what's the IP and port part, like so: [fd01::85:14:243:18]:6379, but I think we have to live with that ...

This is indeed an issue but I believe the fix proposed in #240 would solve only a part of it as we also have a problem when simply doing $client = new Predis\Client(['host' => '::1', 'port' => 6379]);.

Predis now supports IPv6 through the whole library, the first stable release with these changes will be v1.0.2 in a couple of days at max. When using redis-cluster, -MOVED and -ASK responses containing IPv6 addresses are now properly handled so I can close this issue. Thanks!


FEAT : Add webhook support to bark client

Just like we have .error .info .warn, we can also have a .webhook that will insert a log to the database and also call the webhook url with that log. You can find more information about webhooks here
These can be used when a critical part of your application fails. Instead of just logging to the database, you can also call a webhook to notify you immediately or run an automation.
The function may look something like this:
func (c *Config) Webhook(webhookURL, logMsg string) {
	// ..logic
}

I'm taking a shot at this one. I'll probably have it ready for a draft pr in about 2 days. my fork: https://github.com/npmaile/bark/tree/webhook


Updated Cerb Restake Frequency for Astra.Voyage

I'll merge but just a heads up that running this often will start to overlap as the script takes time. Keep an eye on it


CAS proxy granting ticket for web service URL

Hi,
I am using phpCAS with drupal CAS module.
There is a java application also integrated with CAS provides REST service eg "http://localhost:8080/users". The webservice will be consumed by my Drupal callback function, therefore I want proxy granting ticket for the webservice URL "http://localhost:8080/users".
How can we achieve this with phpCAS module? Please find the below the java snipet equvilent to what we are looking for :
@RequestMapping(value = "/test", method = RequestMethod.GET)
public ResponseWrapper test(final HttpServletRequest httpServletRequest) throws IOException {
final String url = "http://localhost:8080/users";

final CasAuthenticationToken casAuthenticationToken = (CasAuthenticationToken) httpServletRequest.getUserPrincipal();
final Assertion assertion = casAuthenticationToken.getAssertion();
final AttributePrincipal attributePrincipal = assertion.getPrincipal();
final String proxyTicket = attributePrincipal.getProxyTicketFor(url);

final String encodedProxyTicket = URLEncoder.encode(proxyTicket, "UTF-8");
final String serviceUrl = url + "?ticket=" + encodedProxyTicket;

final HttpClient httpClient = HttpClientBuilder.create().build();
final HttpGet httpGet = new HttpGet(serviceUrl);
final HttpClientContext httpClientContext = HttpClientContext.create();
final HttpResponse httpResponse = httpClient.execute(httpGet, httpClientContext);

System.out.println("Response Code : " + httpResponse.getStatusLine().getStatusCode());

final BufferedReader rd = new BufferedReader(new InputStreamReader(httpResponse.getEntity().getContent()));

final StringBuilder result = new StringBuilder();
String line = "";
while ((line = rd.readLine()) != null) {
	result.append(line);
}

return new ResponseWrapper<>(result.toString());

}
Referred from the URL : http://docs.spring.io/spring-security/site/docs/4.0.3.RELEASE/reference/html/cas.html
Can we achive the above functionality with phpCAS ?

Please have a look at our documentation:
https://wiki.jasig.org/display/casc/phpcas
This documentation and our package include various proxy examples and corresponding documentation.
For any more support questions please head over to the cas mailing list since this is a bug/issue tracker.


Feature Request: Add compatibility to Pathfinder system(s)

Would it be possible to add compatibility to PF1e and or PF2e systems at some point? Module is interesting and since PF1e is similar in game mechanics to Dnd5e there also are a lot of "aura" effects that would profit equally as much from automation by your module.

PF2 does not use Active Effects that I know of, and the devs are working on their own system I believe


CRON Error Message

After installing based on instructions (On Ubuntu 20.04.1), the cronjob gives this error every minute:
Traceback (most recent call last):
  File "/usr/local/bin/lotus-exporter-farcaster.py", line 616, in <module>
    main()
  File "/usr/local/bin/lotus-exporter-farcaster.py", line 212, in main
    miner_control0 = daemon_stats["result"]["ControlAddresses"][0]
TypeError: 'NoneType' object is not subscriptable
?

Ok, nice catch, it's because you don't have control0 adress on your miner, let me fix this tonight

Got another cron error. The dashboard stopped updating, and my mail box is full of these:
Traceback (most recent call last):
  File "/usr/local/bin/lotus-exporter-farcaster.py", line 616, in <module>
    main()
  File "/usr/local/bin/lotus-exporter-farcaster.py", line 268, in main
    if base_info["result"]["EligibleForMining"]:
TypeError: 'NoneType' object is not subscriptable

Oh, sorry -- I did a git pull and it seems to have changed.
Now I get this, which is unsettling:
ERROR MinerGetBaseInfo return no result
KNOWN_REASON your miner reports wrong info to the chain and thats pretty bad (not just for the dashboard)
SOLUTION restart your miner and node

The miner seems to be working fine... but i'll admit, the error is worrisome!

yeah, you are not the only one reporting this. to get read of it you have to restart daemon and miner. This is not related to the script. It seems like your miner is not reporting elligibility and power correctly to the Chain

can you try restarting your miner and let me know if the error disappeared from the log ?

I restarted the lotus-miner and the lotus(daemon), the issue persists. Unless you meant restart the entire machine?

whats you  miner id ?

f071624
    # Mining eligibility
    print("# HELP lotus_power_mining_eligibility return miner mining eligibility")
    print("# TYPE lotus_power_mining_eligibility gauge")
    base_info = daemon_get_json("MinerGetBaseInfo", [miner_id, chainhead["result"]["Height"], tipsetkey])

    if base_info["result"] is None:
        print(f'ERROR MinerGetBaseInfo return no result', file=sys.stderr)
        print(f'KNOWN_REASON your miner reports wrong info to the chain and thats pretty bad (not just for the dashboard)', file=sys.stderr)
        print(f'SOLUTION restart your miner and node', file=sys.stderr)
        print('lotus_scrape_execution_succeed { } 0')
        sys.exit(0)

    if base_info["result"]["EligibleForMining"]:
        eligibility = 1
    else:
        eligibility = 0
    print(f'lotus_power_mining_eligibility {{ miner_id="{miner_id}" }} { eligibility }')
    checkpoint("Power")

@shawnp0wers , the call works (see below) are you sure you still have the issue ?
{'jsonrpc': '2.0', 'result': {'MinerPower': '3023656976384', 'NetworkPower': '1398906384122871808', 'Sectors': [{'SealProof': 3, 'SectorNumber': 42, 'SealedCID': {'/': 'bagboea4b5abcbutxfwvzfyj7w4in7r2tyzqwce6k2keyqjkikrjsx56xh24yu6sc'}}], 'WorkerKey': 'f3vewwfwaf2paiygmlf5pfyr6y26ot6h2q3kfnqjtj6mpqhbo4pxdjsral6xnxa4lcob6slnv254vocymreq6a', 'SectorSize':<PHONE_NUMBER>8, 'PrevBeaconEntry': {'Round': 389446, 'Data': 'pDjCRe8fJy63kpHbCqGy+FDHYBojWur0LyyErvY80mzrB8XUsL6vn2nRPzkySq+sFSglm9p1E2dgyK0x8lAofIbQK76yui0+1yfa8z2Q5DCIr+UvsZzDIKJmLjeNShNc'}, 'BeaconEntries': None, 'EligibleForMining': False}, 'id': 3}

I had disabled it -- but I just reenabled, and it's working. What was the issue? I did recompile to the most recent version of lotus this morning...

I did nothing, it was like your node was not reporting information properly, did you mine during that time ?


EAC2 delivery

Align the RMM implementation to the latest version of RMM specification (EAC2) as published here : https://developer.arm.com/documentation/den0137/1-0eac2/?lang=en
This task also depends on similar alignment for KVM and related VMM including the tests,

The patches are in review here : https://review.trustedfirmware.org/q/topic:"eac2"+(status:open OR status:merged)

The EAC2 patches have been merged to a branch for further testing. The branch can be found here : https://git.trustedfirmware.org/TF-RMM/tf-rmm.git/log/?h=topics/rmm-eac2

The EAC2 changes have been merged to the main branch


refactor tests

Codecov Report

Merging #21 (c5aae22) into main (db87d88) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #21   +/-   ##
=======================================
  Coverage   81.48%   81.48%
=======================================
  Files          11       11
  Lines        1199     1199
=======================================
  Hits          977      977
  Misses        160      160
  Partials       62       62

Flag
Coverage Δ

cosmosdb_sql
45.53% <ø> (ø)

dynamodb
60.21% <ø> (ø)

mongo_replicaset
41.70% <ø> (ø)

mongo_standalone
41.70% <ø> (ø)

mssql
44.62% <ø> (ø)

mysql
44.78% <ø> (ø)

pgsql
44.78% <ø> (ø)

sqlite
44.87% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


Update screenshots for showPopup sample

I have made some changes to cleanup the UI for Show Popup sample which requires the screenshots to be updated. To view the new UI layout, please refer to this PR in the toolkit repo: https://github.com/Esri/arcgis-runtime-toolkit-qt/pull/438

Closing this in favor of @tanneryould 's PR