DatabaseBackup performance bug on large databases

Description of the issue
This looks to have been resolved on 5/22/2019, but has since been reintroduced.  The original bug was #232
Since then, the following code black has been moved back out of the IF @CurrentBackupType = @BackupType block:
IF @CurrentDatabaseState = 'ONLINE' AND EXISTS(SELECT * FROM sys.all_columns WHERE object_id = OBJECT_ID('sys.dm_db_file_space_usage') AND name = 'modified_extent_page_count') AND (@CurrentAvailabilityGroupRole = 'PRIMARY' OR @CurrentAvailabilityGroupRole IS NULL)
    BEGIN
      SET @CurrentCommand = 'SELECT @ParamAllocatedExtentPageCount = SUM(allocated_extent_page_count), @ParamModifiedExtentPageCount = SUM(modified_extent_page_count) FROM sys.dm_db_file_space_usage'

      EXECUTE @CurrentDatabase_sp_executesql @stmt = @CurrentCommand, @params = N'@ParamAllocatedExtentPageCount bigint OUTPUT, @ParamModifiedExtentPageCount bigint OUTPUT', @ParamAllocatedExtentPageCount = @CurrentAllocatedExtentPageCount OUTPUT, @ParamModifiedExtentPageCount = @CurrentModifiedExtentPageCount OUTPUT
    END

This is causing issues with very large databases.  I run 10 minute LOG backups, but this block takes upwards of 30 minutes to run on it's own for two of my databases which are each over 15TB.
SQL Server version and edition
Microsoft SQL Server 2019 (RTM-CU5) (KB4552255) - 15.0.4043.16 (X64)   Jun 10 2020 18:25:25   Copyright (C) 2019 Microsoft Corporation  Enterprise Edition (64-bit) on Windows Server 2016 Datacenter 10.0  (Build 14393: ) (Hypervisor)
Version of the script
Version: 2020-12-31 18:58:56
What command are you executing?
DatabaseBackup
What output are you getting?

I have improved this so that sys.dm_db_file_space_usage is only queried when needed.
https://ola.hallengren.com/versions.html
Please try out the new version.


[master] Travis CI + Buildkite 3.0

Change Description
We have decided to run community builds in Travis CI for EOSIO repositories because Travis provides free CICD infrastructure to open-source projects so, if a community member were to inject malicious code into a pull request, it would compromise Travis instead of Block.one.
This branch is considered stable and is being used to collect metrics, so please treat this like develop and make changes on branches off of trav-poc-master and test them before merging them back in.
Changes:

Travis CI YAML
Buildkite YAML
Scripts for both
Docker files

Tested

Buildkite beta

Build 1732 —  pinned (base case)
Build 1733 — unpinned
Build 1734 — long-running tests

Travis CI build 4200

See Also

Pull request 7815 —  eos:release/1.7.x base
Pull request 7696 —  eos:release/1.8.x base
Pull request 7834 —  eos:master base
Pull request 7700 —  eos:develop base

Consensus Changes

[ ] Consensus Changes
None.

API Changes

[ ] API Changes
None.

Documentation Additions

[ ] Documentation Additions
None.

Remove the submodule changes and the changes to CMakeList.txt caused by the merge from trav-poc to this branch, based off master.


Use light theme for --disable-extensions

Is it possible to use default light+ theme for CLI flag --disable-extensions if the current theme type is light?
I'm running extension tests by launching vscode instance and would like to avoid unnecessary extension activations, but the theme switching (from light to dark and back) is blinking too much.

I think the problem is with the "quick layout" feature or whatever it was called that caches colors from the previously used theme.

Maybe that's different features. I've notices white flashes while switching workspaces, but this is not it.
It's applied to all moments when active color theme "workbench.colorTheme" is not activated and replaced with default one "Default Dark+".
When the active color is light - defaulting to dark theme is a bit unpleasant.

Found a simple fix, sorry for the swirl.


[core.Decorators] Better help messages

Had an idea to make command help messages easier
Add an option to the command decorator to give the command a name. That way it doesn't rely on the method name for that.

I've added my version of help command to my fork.
It prints by plugins showing status of plugin (if plugin is enabled it will also print it's commands)
Discord Example: http://i.imgur.com/dmsHTRc.png

fixed with: 2c5e600290d8af10b1648af5b65a348042335284


de-redundancy in Data Chunk

reduce the redundancy for the columns of demographic information (e.g., gender, age, etc) in data storage.

We cannot run CohortExploration and CohortLoader now.

There is a bug in metachunkWS, the condition of whether the field is a userMetaField is wrong. I fixed it in another pr: fix issue #53.

This update is for the old version of the COOL system (i.e., version < 0.6.X)
we have updated this function in the latest code in the COOL system. Please check PR#91 [https://github.com/COOL-cohort/COOL/pull/91]


Reworked the PowerShell script

I've reworked the PowerShell script so you can use it with the PowerShell pipe.
https://github.com/samurai-ka/PS-Module-O365EndpointService

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

ID: d7ebf92c-e478-0f65-0494-97042e974b46
Version Independent ID: 7e1b9b91-d60d-8665-9a39-2ca77a46b4ce
Content: Office 365 IP Address and URL Web service
Content Source: Enterprise/office-365-ip-web-service.md
Service: o365-administration
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@officedocsbot assign @mypil

@samurai-ka - Thank you for submitting feedback.
I will get this issue over to the Enterprise writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@mypil Hi ! I nave created the PR #378 based on the Issues #321 and #377, for you review to Merge ! Regards ! Orlando !

Hi @mypil , as requested by @nenonix, I created one PR by Issue, in this case the new PR #388 solve only this issue, I add the edit changes recommended by @JohanFreelancer9. I add a paragraph reference the reworked script

@samurai-ka - Thank you for submitting feedback.
The article has been updated to incorporate your feedback. For your reference, kindly check on PR #403.
Thank you for your contribution to make the docs better! Much appreciated!

@mypil Just seen you found a typo error and documented that in your page. I have updated the code now so the function will be named Invoke-EndpointService with d.
You might want to remove the warning about the typo error now.
Thank you for adding my little project to your documentation.

@ojrb - kindly check on the additional feedback from samurai-ka and please create a PR to make the necessary changes. Thank you.

Hi @mypil  I created a new PR #410 to correct the command referenced by @samurai-ka ! Please Review and Merge !

@samurai-ka - We have already coordinated with the doc owner kelleyvice-msft and she will make the updates to the current version of the topic.
We appreciate your contribution to make the docs better.

@officedocsbot close


getStream is not work

const { launch, getStream } = require("puppeteer-stream");
const fs = require("fs");

 const browser = await launch({
    ignoreHTTPSErrors: true,
    executablePath: '/Applications/Google Chrome 2.app/Contents/MacOS/Google Chrome',
    args: [
       "--no-sandbox",
       "--autoplay-policy=no-user-gesture-required",
       "--disable-web-security",
    ],
    defaultViewport: {
        width: 800,
        height: 1280,
    },
  });

  const page = await browser.newPage();

  page.on('console', msg => console.log('PAGE LOG:', msg.text()));

  await page.goto('xxxxx')

  console.log("recording");

  const stream = await getStream(page, { audio: true, video: true });

  console.log("recording2");

"recording2" do not print, because getStream method is block.

Apple M1 Pro

browser  101.0.4951.64

My problem resolved when I deleted all my args and ignoreHTTPSErrors. Can you try that and tell me if it works?

it works, but i need there args.

My problem resolved when I deleted all my args and ignoreHTTPSErrors. Can you try that and tell me if it works?

it works, but i need there args.

My problem resolved when I deleted all my args and ignoreHTTPSErrors. Can you try that and tell me if it works?

Is there anything else you can do?

@Flam3rboy hi, Have you ever met

--disable-web-security when ON doesnt work with that package for some weird reason, any idea @Flam3rboy ?

it seems like an executablePath is required to be able to record directly in webm
const { executablePath } = require('puppeteer'); const browser = await launch({     executablePath: executablePath()   });

Could you try it with the latest puppeteer version, I've refactored a lot to improve performance and reliability.
npm i puppeeteer-stream@latest


Enhancement/ ESMA template ETL pipelines

There is the need to create new ETL pipelines, especially now that ECB templates have phased out (see https://www.ecb.europa.eu/mopo/coll/loanlevel/html/index.en.html).
ESMA templates for all asset classes are available here https://www.esma.europa.eu/esmas-activities/markets-and-infrastructure/securitisation

WIP here https://github.com/Algoritmica-ai/deeploans/tree/main/ETL-Pipelines/ESMA-Loan-level-data-templates


x509: certificate is valid for kubernetes, kubernetes.default, ..., not

Inspection tarball: inspection-report-20210813_015005.tar.gz
I have microk8s running on multi-node raspberry pi cluster, using Ubuntu for OS. Trying to kubectl from external device using my domain name returns the error x509: certificate is valid for kubernetes, kubernetes.default, ..., not <my domain>.
I updated /var/snap/microk8s/current/certs/csr.conf.template to include my domain:
[ alt_names ]
DNS.1 = kubernetes
DNS.2 = kubernetes.default
DNS.3 = kubernetes.default.svc
DNS.4 = kubernetes.default.svc.cluster
DNS.5 = kubernetes.default.svc.cluster.local
DNS.6 = <my domain>

Per the documentation I expected this to generate a new certificate which can be used to connect via my domain name, but this does not seem to change the output of microk8s config.

Hi @milesand. You will need to update the /var/snap/microk8s/current/certs/csr.conf.template on all nodes. Then in the kubeconfig file you get with microk8s config you would want to replace the IP of the API server endpoint with your domain.

Thank you @ktsakalozos, I had updated the template file on only one node; Updating it on all nodes resolvd my issue.


i am confused how to appoint the version of flutter module?

i use flutter as a module in my android app by package the flutter module as aar.
i used flutter version 1.17.5 before and i get the dependence below and it works fine.

recently i want to update my flutter version into 2.5.3 ,everything is fine expect the dependence is not correct.it stilly get dependence as same as flutter version 1.17.5. and i got an error below

so i have to pull the dependence manually and it works.

i know it have to be the exactly the engine version matched.

but i am confused how to configure my flutter module to lead my android app get the correct version of flutter dependence?
hope to get an answer sooner .
thanks.

@zk184174875
Please go through the official documentation and see if it helps to answer your question.

What exactly is the issue you are facing ? Please don't post screenshots. Maybe steps that leads to the behavior you are seeing along with description.

What exactly is the issue you are facing ? Please don't post screenshots. Maybe steps that leads to the behavior you are seeing along with description.

how to configure my flutter module to lead my android app get the correct version of flutter dependence?

@zk184174875
in your android app, if you run ./gradlew sync, it should be able to fetch in / get current / correct version. Can you try that and see if it helps ?


Remove all stop_gradient calls from custom_root.

Resolves #8744 by removing all calls to stop_gradient in jax.lax.control_flow.custom_root.
Context
The custom_root function allows users to create custom root finders, i.e., methods that solve f(x, y) == 0 for x, and then automatically generates the gradient of the found x with respect to y using the implicit function theorem.
Unfortunately, custom_root does not support root-finding methods that require gradients, e.g., Newton's method and related approaches. The main issue was the application of lax.stop_gradient to all arguments of the root-finding method. This approach was needed in the past due to

Implementation of custom_root as a primitive, and
The lack of differentiability of many jax control structures, such as while_loop.

Fortunately, both of these issues are no longer blocking, so we can remove the application of stop_gradient.
Changes

Removes _stop_gradient_fun from lax.control_flow. (Key functional change.)
Adds tests, including an implementation of a simple newton custom_root solver. Extant tests updated to use this solver in addition to binary search.

Went ahead and updated per the comments. We were seeing a failure on an earlier commit in the X64 tests. This was resolved by decreasing the tolerance in newton_raphson. I checked locally by running tests with JAX_ENABLE_X64=1 set.
This should be good to go, unless we need to chase down the rev-mode differentiation issue.

I'm going to take a look into the reverse mode issue, enabling this is one
of the major reasons for custom_root, so it would be really nice if it
worked.
On Fri, Dec 10, 2021 at 2:37 PM Michael B. McCoy @.***>
wrote:

Went ahead and updated per the comments. We were seeing a failure on an
earlier commit in the X64 tests. This was resolved by decreasing the
tolerance in newton_raphson. I checked locally by running tests with
JAX_ENABLE_X64=1 set.
This should be good to go, unless we need to chase down the rev-mode
differentiation issue.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/google/jax/pull/8869#issuecomment-991242777, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJJFVXHTLD7KLYXYJC4PJ3UQJJGJANCNFSM5JVCCUFA
.

@mbmccoy anything I could do to help get this across the finish line?

@shoyer Thanks, just got back from break. I'll take a look at it today and let you know if I'm blocked.

@shoyer Should be good to go now. Note that I also updated a line in an example to refer the reader to lax.custom_root. The prior wording implies that the functionality isn't readily available.

@shoyer I'm now blocked on an "internal CI infrastructure error". Looks like that target was cancelled. Mind taking a look?

I think that particular failure is benign and will resolve itself if we update the PR. However there's another problem, namely the tests now fail on TPU. The two failures are:
LaxControlFlowTest.test_custom_root_scalar_binary_search

Traceback (most recent call last):
...
  File "jax/tests/lax_control_flow_test.py", line 2079, in test_custom_root_scalar
    self.assertAllClose(results, inputs ** 1.5, check_dtypes=False, atol=1e-6, rtol=1e-6)
...

AssertionError:
Not equal to tolerance rtol=1e-06, atol=1e-06

Mismatched elements: 1 / 2 (50%)
Max absolute difference: 0.00037384
Max relative difference: 3.343618e-05
 x: array([ 8.     , 11.18034], dtype=float32)
 y: array([ 8.      , 11.180714], dtype=float32)

and
LaxControlFlowTest.test_custom_root_scalar_newton_raphson

Traceback (most recent call last):
 ...
  File "jax/tests/lax_control_flow_test.py", line 2079, in test_custom_root_scalar
    self.assertAllClose(results, inputs ** 1.5, check_dtypes=False, atol=1e-6, rtol=1e-6)
...
AssertionError:
Not equal to tolerance rtol=1e-06, atol=1e-06

Mismatched elements: 1 / 2 (50%)
Max absolute difference: 0.00037384
Max relative difference: 3.343618e-05
 x: array([ 8.     , 11.18034], dtype=float32)
 y: array([ 8.      , 11.180714], dtype=float32)

I suspect the easiest thing to do is just to relax the test tolerances a little bit?
(Making an update to the PR should also retrigger the CI build that failed.)

Just getting back to this. Relaxed the tolerance for 32-bit floats:
      atol={jnp.float32: 1e-3, jnp.float64: 1e-6},
      rtol={jnp.float32: 1e-3, jnp.float64: 1e-6},

@shoyer @hawkinsp looks like a maintainer still needs to kick off the testing workflow since it's my first contribution.

Thank you @mbmccoy !


Are the logging features decoupled in the library?

It would be a great idea to remove the dependency on logging features: https://github.com/ev3dev-lang-java/openjdk-ev3/issues/5#issuecomment-356647407
I don't remember the exact numbers, but I remember the speedup was quite interesting (60 -> 20 seconds, maybe?).

relates to #441

Tomorrow, I will explain the reasons to use current dependency.
Good point to discuss @JakubVanek
Cheers

Good Morning @JakubVanek, current development for this library requires 2 dependencies:
https://github.com/ev3dev-lang-java/ev3dev-lang-java/blob/develop/build.gradle
dependencies {
    compile("org.slf4j:slf4j-api:1.7.25")
    compile("com.github.ev3dev-lang-java:lejos-commons:0.7.0")

    annotationProcessor("org.projectlombok:lombok:1.16.20")
    testCompile("org.projectlombok:lombok:1.16.20")

    testCompile("ch.qos.logback:logback-classic:1.2.3")

    testCompile("commons-io:commons-io:2.5")

    testCompile("junit:junit:4.12")
    testCompile("org.hamcrest:hamcrest-all:1.3")
}

How to use a concrete logging implementation?
If you observe the template example:
https://github.com/ev3dev-lang-java/template_project_gradle/blob/master/build.gradle
dependencies {
    compile("ch.qos.logback:logback-classic:1.2.3")
    compile("com.github.ev3dev-lang-java:ev3dev-lang-java:0.7.0")
    compile("com.github.ev3dev-lang-java:lejos-navigation:0.2.0")
}

The example add Logback and it is possible to configure the logging settings:
https://github.com/ev3dev-lang-java/template_project_gradle/blob/master/src/main/resources/logback.xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration>

    <jmxConfigurator />

    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
            <Pattern>
                %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n
            </Pattern>
        </encoder>
    </appender>

    <logger name="ch.qos.logback.core" level="OFF" />
    <logger name="ev3dev.hardware" level="DEBUG" />

    <root level="DEBUG">
        <appender-ref ref="STDOUT" />
    </root>

</configuration>

Well, the less classes we load the better.
I'll use an extreme case (impossible to reach on Linux) of how fast things can be.
When I need to write a program for a robot, I go for EV3RT RTOS. The boot process really takes only about five seconds and if you use the dynamic loader, you can restart programs even faster. Yes, you need to know C (or C++) and μITRON and EV3RT APIs, but then you're fine. And it supports logging via Port S1 UART, Bluetooth and LCD (though I quite miss USB debug functionality and an on-brick shell).
The current ev3dev boot is about an order of magnitude slower, but that's OK. It would just be very nice thing if each JVM startup wouldn't take a long time.
Maybe we could even use native code and JNI/JNA to speed things up. Maybe this would make for another project (let's say, ev3dev-lang-jnijava).

Removing just Logback looks promising, that might be sufficient.

Logback is a User Decision.
The library only provides the infrastructure for logging but not force any particular implementation.
Why I like Logback?
https://logback.qos.ch/reasonsToSwitch.html
Some iterations ago, I could integrate Robot's log messages on ELK but I need to publish the whole configuration.
https://www.elastic.co/elk-stack
Analyse Log execution from multiple robots is a nice feature, but not common, I recognise :)
But for general, logging is a good practice for any Java developer and this is one of the Goals of this project. Help people to use Java in General and Robotics with Java in particular.


configure it uses only tags I decide

I only want that "ngx-wig" insert "" when "enter" is clicked its posible that it doesn't add any other tag ?
Thanks in advice
Ernesto

@ErnestoLopez could you please give more details about what you are trying to achieve?

I've tried
            ngx-wig {
                border:1px solid blue; // WORKS
                width: 100%; // WORKS
                margin-bottom: 20px; // WORKS
                .ng-wig {
                    border:1px dashed red!important; // DOESN'T WORKS
                    .nw-toolbar {
                        border:1px solid green!important; // DOESN'T WORKS
                        background-color: pink!important; // DOESN'T WORKS
                        display:none!important; // DOESN'T WORKS
                        visibility: hidden!important; // DOESN'T WORKS
                        border-width: 0!important; // DOESN'T WORKS
                        border: none!important; // DOESN'T WORKS
                        }
                    }

                } //ngx-wig

inside a scss of an ionic page (that should not influence, I think)
thanks
Ernesto

sorry for my english, maybe I have not explained myself well
what I want is for ngx-wig to only enter the tag  when the user hits enter
That no other tag can be used for now, later, if possible, I would add them little by little.
Thanks.

@ErnestoLopez I do not think this is something that you can customize to the editor. However, one possible solution would be to detect the

 sequence and replace it accordingly.


Add 2 more collection endpoints

Hi,
Thanks for the gem! It works great. Unfortunately, I needed two more endpoints: /api/collection/#{collection_id} and /api/collection/#{collection_id}/items. This is what this PR is trying to do.
I have some issues with CI, not sure how I can fix it. Let me know how I can make this ready to go.
Thanks!

I think we can close this PR, #73 looks much better and adds more stuff.


[Model Update]: SingleLevelUsageAsPlanned conformity to Data Chain Template

Update Reason
The Data Chain Template describes how data chains must be build by referencing other digital twins in aspect models. This model, which does exactly that, is currently not conform to that template. With this update, we want to ensure conformity.
MS1 Criteria

[ ] The model that should be updated exists
[ ] The referenced use case exists
[ ] The potential updates are discussed with all stakeholders
[ ] A decision on versioning was made in consensus with the affected parties according to the guidelines.
[ ] The potential update will be either

[ ] backward compatible or
[ ] a (chain of) migration strategy(-ies) from all non-deprecated previous versions to the new model will be developed

[ ] A modeling steward has been assigned

FYI: @johannsvarela @jacewski-bosch @jonbckr


Typo and wrong description of the example call

URL: https://pub.dev/packages/googleapis
"The following command line application lists files in Google Drive by using a service account."
-> It is listing the files inside the Google Storage bucket and not in Google Drive.
"Then create a Dart application to list files in a spececific project. In the example below, files from the dart-on-cloud project are listed."
-> typo: specific instead of spececific

This was fixed at some point...


Add CertificateProperties.X509ThumbprintString

Resolves #35878

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Security.KeyVault.Certificates


🐛 [bug] - PetBattleMongoDBDiskUsage alert is not reported

📝 Description
Following the instructions of the Creating Alerts exercise, the PetBattleMongoDBDiskUsage alert is not reported.
The status of the PVC, after execute the command `` is:

But the alert is not reported.
Also if we forced to consume all the space, the alert is also not reported:
sh-4.2$ dd if=/dev/urandom of=/var/lib/mongodb/data/rando-calrissian bs=10M count=80
dd: error writing '/var/lib/mongodb/data/rando-calrissian': No space left on device
66+0 records in
65+0 records out
688480256 bytes (688 MB) copied, 6.29632 s, 109 MB/s

🚶 Steps to reproduce
Followed the instructions of this exercise.
🧙♀ Suggested solution
... if applicable

@rmarting - i tried this out in my cluster and it seems ok. i dropped the alert to 40% to check
metrics being reported ok

and the firing rule

any chance you could debug a little further ? see what may be going on in your cluster - see if metrics reporting first ?

also .. i have these rules in my project after running thru all exercises (the one above is part of "pb-api-alerts")
$ oc get prometheusrule -n ateam-test
NAME               AGE
blue-pet-battle    134d
green-pet-battle   134d
keycloak           38h
pb-api-alerts      134d
pet-battle         134d
pet-battle-b       134d

and i logged in as a student user .. just to check i can still see alert OK (i was checking as cluster admin above). looks ok

Ahh ! that makes sense @rmarting .. i see what is going on now.
OK, the section in 4.2.4 is wrong - i have fixed this now. PTAL at this commit:
https://github.com/rht-labs/tech-exercise/commit/6437d57fbebbc8a8017860e990d433c3cbf0be11
The history here is this:

at some time in the past we allowed users to update app and chart version separately (helm chart default behaviour)
we changed the pipeline in pet-battle-api to match pet-battle UX where app version was solely controlled by:
VERSION - file for node.js
pox.xml - file for java
this matched what "developers" would do .. i.e. control it from source and not worry too much about yaml files ! and let the pipeline deal with it
the commit for this was here:
https://github.com/rht-labs/tech-exercise/commit/255556e7736234e0ff95e0d69eb40cb55e105f61
however it seems we did not go back and update all the right bits (monitoring) for this change.

I think there is still a question in my mind as to why argocd does not  sync the new chart (same version) .. we may find that this is just the difference in argo between a sync, a refresh and a hard refresh. i.e. hitting the sync button may have solved this as the chart of the same version is timestamped in nexus .. so you will always get the updated chart as we push it there in the pipeline. need to test this and take a look at where it is getting "stale"

Great @eformat !!! Everything makes sense now!
Reviewing the new content I am wondering if the 1.3.1. version is the best one, as technical exercise 2 defines that version. If we are triggering a new version, then the 1.3.2 version fits better, or another different from the current version in the pom.xml file. If you update the content to that version, then LGTM to go ahead and close this issue.
On the other hand, Why does ArgoCD not sync the new chart? It could be something related to the different sync options. However, IMHO if we want to deploy a new chart for an application, it is better to use a new Helm Chart version and not to override in Nexus. I don't like at all the idea to override artifacts versions in Nexus (only for SNAPSHOTS), as you can't control who downloaded or not. As Helm Chart hasn't snapshot versions, the best approach is to trigger a new pipeline with a new version and then deploy it from ArgoCD. (my two cents).

@eformat - if you rememeber, we encountered this issue when writing the book. We were changing values files bt not updating the version and argocd was not seeing the change. I think the way around this we implememented was changing the labels on the resources to contain a value from teh values file or something like that.


Add Atom feed showing a list of regressions

Implement an Atom feed displaying a list of regressions.
Each feed entry contains the magnitude of change and benchmark name in the title. The body contains benchmark values and information when and on what commit the regression occurred, and the new and old benchmark result values. The publication date of an entry is determined by the date when the benchmark was run (if not recorded in old results, falls back to commit date).
Demo (link on upper right): https://pav.iki.fi/tmp/asv-feed/html-numpy/#regressions
https://pav.iki.fi/tmp/asv-feed/html-scipy/#regressions
Discussed in #397

Coverage increased (+0.6%) to 71.493% when pulling a25ab1acef15df0e53c1995c6d5a24753ca1a70f on pv:regressions-feed into e3aa6a68a6beafaa2939d60460cb457fe549feef on spacetelescope:master.

Coverage increased (+0.4%) to 71.289% when pulling 569f0e61f80911a303649d4d3c4db957e9083362 on pv:regressions-feed into e3aa6a68a6beafaa2939d60460cb457fe549feef on spacetelescope:master.

Coverage increased (+0.4%) to 71.322% when pulling 569f0e61f80911a303649d4d3c4db957e9083362 on pv:regressions-feed into e3aa6a68a6beafaa2939d60460cb457fe549feef on spacetelescope:master.

Coverage increased (+0.4%) to 71.327% when pulling a643de940723cf538ff5527d45708bd06bd79eed on pv:regressions-feed into e3aa6a68a6beafaa2939d60460cb457fe549feef on spacetelescope:master.

Coverage increased (+0.4%) to 71.367% when pulling 15c192918d8c910461cb9a3a4adfddf3733537cb on pv:regressions-feed into e3aa6a68a6beafaa2939d60460cb457fe549feef on spacetelescope:master.

Seems to work OK based on dogfooding, and the idea was OK'd in #397, so merging.
Waiting for reported issues to give more feedback if something needs to be improved.


henrhoi/rank-profiles-and-sources-in-configuration-file

…-and-docproc to use com.yahoo.search.config.RankProfilesConfig. Also now adding rankprofiles to the configuration file-response.

@bratseth If everything looks good, feel free to merge


reuse

Is your feature request related to a problem? Please describe.
In a snippet like :
# Download ssl certificate from server
echo | \
openssl s_client -servername <DOMAIN> -connect <DOMAIN>:443 2>/dev/null | \
openssl x509 -text | \
less

I don't want to enter the variable DOMAIN 2 times. I gave it the same name, so I have to type it only once.

No way! how fast was that!!!!!
:clap: @denisidoro


[WIP] React Native

Codecov Report

Merging #124 into master will increase coverage by -0.41%.

@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
- Coverage   89.65%   89.24%   -0.41%
==========================================
  Files          31       31
  Lines        2000     2008       +8
==========================================
- Hits         1793     1792       -1
- Misses        207      216       +9

Impacted Files
Coverage Δ

Sources/Thread.swift
95.34% <ø> (ø)
:white_check_mark:

Sources/Stacktrace.swift
93.1% <ø> (+2.93%)
:white_check_mark:

Sources/Sentry.swift
82.98% <ø> (-3.97%)
:x:

Sources/KSCrashHandler.swift
97.16% <100%> (-0.02%)
:x:

Sources/Exception.swift
98.66% <100%> (ø)
:white_check_mark:

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 91299f7...6e53977. Read the comment docs.

We could investigate later if it makes sense to cleanly separate some of the RN things out. I think it's not necessary for now though.


Add cross-links for Softlayer CPI

/cc @suhlig

Hi @cppforlife, is there an outlook when the docs that contain this commit will be published? We'd like to deliver the associated story ;-)


When something is selected, use indent mode instead of smart mode

Shaun says:

This might be related to Issue #28

This is automatically done by the library:
https://github.com/shaunlebron/parinfer/blob/master/lib/parinfer.js#L1543
The API just needs to know if any text is selected or not, which it receives via the options.selectionStartLine.
The API also uses this option for tab stops, but it just needs to be non-null if any selection is made.


Add more data on BulkResponseItem

In order to know if the bulk request returned 'noop' as the result, this commit added one more parameter to the BulkResponseItem struct.

Thanks for that.
Can you also add the forced_refresh flag (a bool)? It is returned with every DocWriteResponse--which BulkItemResponse uses.

Hey there,
I've just updated the pull request including this new flag :+1:

Thanks. I hope to merge on the weekend. This one is a no brainer. :-)


Extract genes from all C. elegans papers with TFIDF=10 and save the results to pap_gene

process papers after 2009
Use a different evidence

Useful for WB, not critical for ACKnowledge right now


Job run longer time more than 6 hours.

Description
The pull requests created by Snyk have executed our Github Actions for longer than 6 hours.  On observation by the GitHub Support team version of the OS was updated when compared with the successful run.
Virtual environments affected

[ ] Ubuntu 18.04
[X] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 10.15
[ ] macOS 11
[ ] macOS 12
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
https://github.com/ExcentITSolutionspvtltd/URCASH-UK/runs/6315501397
Version: 20220503.1 (Jobs terminated after 6 hours).
https://github.com/ExcentITSolutionspvtltd/URCASH-UK/runs/6302429498
Version: 20220425.1 (Executed without any issues)
Is it regression?
https://github.com/ExcentITSolutionspvtltd/URCASH-UK/runs/6302429498
Expected behavior
The Actions job should run without any issue.
Actual behavior
The operations are canceled due to long-running hours.
Repro steps
When we run the existing Pull requests the issue is repeated once again.
The repository is a private repository.

Hi @Exnadella!
We ca not access your ci logs as links you have provided belong a private repository.

Hello Mikhail,
Please find the attached logs with the issue in the .zip file and without issue in the .txt file.
[Log_Without_Issue.txt](https:/
logs_716.zip
/github.com/actions/virtual-environments/files/8701243/Log_Without_Issue.txt)
Thanks,
Ranganath.

Hello Mikhail,
Please find the .zip file for the logs for the job that ran without issues.
logs_715.zip

@Exnadella we are not sure this issue is introduced by the changes in the image as nothing critical was changed between those image versions
https://github.com/actions/virtual-environments/commit/ad831b8f26dfdbedce8a9a8e4ca9ab86499e5936
I found a new sensor that is presented in the logs with the issue. Could you try to run the same workflow and codebase on the newer image?
2022-05-06T00:09:56.6127549Z [INFO] Sensor javabugs [dbd]
2022-05-06T00:09:56.6130976Z [INFO] Reading IR files from: /home/runner/work/URCASH-UK/URCASH-UK/target/sonar/ir/java
2022-05-06T00:09:56.6428831Z [INFO] Analyzing 646 functions to detect bugs.

Hello Mike,
Thanks for the update, we have found that the issue is faced by several others in the Sonar Community.  There is a posting on the Sonar Community about the same issue and a probable fix.  Please find the screenshot for the same.
I have changed the .yml file and executed the job and it ran successfully, but issued several warnings.

Thanks for the confirmation.
I'm going to close the issue as an external one. Please feel free to contact us if you need any help.
Thank you!


Failed to Start King Phisher Server

Issue Description
I get a stack trace when I...
Reproduction Steps

Start King Phisher
Do something to trigger the crash

Environment Details

Host OS: Ubuntu 15.10 GNOME, Kali 2, etc.
King Phisher Version: x.y.z
Error Details / Stack Trace

If you are opening an issue regarding the client, copy text from the "Error
Details" of the error dialog in the client here. If you are opening an issue
regarding the server copy the relevant lines from the logs here.

I am tryiing to start the King Phisher Server but it is displaying this message. I already change the Postgresql password and restarted the server but it did not fix the issue.

This is the image where it is telling me that King Phisher cannot start because it failed to connect to server socket. Thanks!

You need to fix your postgresql password and then update the server config with the correct value. Please see the FAQ in regards to this.
For the second one it looks like it's having trouble starting the graphical environment. Are you trying to start it from an SSH session?

Already did that but it is not working for me. Any other thing I could do for this?
Yes, I am trying to start it from ssh session

I would suggest you try resetting it again and making sure that the configuration under pg_hba.conf is correct. Don't rerun the install script by the way, that'll update your password again.
Well you can't start the client from an SSH session unless you want to see if you can get X11 forwarding working but that's definitely something we can't provide support for. It might work, it might not.

Where can I find the pg_hba.conf ?
What is X11 forwarding?
Thanks,
Denis

You'll need to find your own pg_hba.conf file, the location varies from distribution to distribution. The installation script should have configured it correctly for you. You should just need to reset the password for the king_phisher postgres user. Set it to whatever you want then put the new value in the server configuration where the database connection string is.
Don't worry about X11 forwarding, just know that you can't start the client over SSH. You need to either have a Linux installation with a GUI that you can use to run the client, or download one of the Windows builds form our Releases Page.

I'm going to close this issue out due to inactivity. If you're still experiencing it, please respond to the preceding message in this thread and we'll re-open it. Thanks.


[4.3] XRNode - fix visibility issue

This is an extract of a fix from #95153 for Godot 4.3

There's two other little changes from #95153, that I'm not sure if we need here as well.
In openxr_hand_tracking_extension.cpp:

The godot_tracker->invalidate_pose("default"); here, and
Moving godot_tracker->invalidate_pose("default"); from here to here

I think those both could potentially have an effect on whether or not the node thinks it has data or not, in a couple of edge cases.

Thanks @dsnopek ,
Made the changes you suggested, indeed will help. I also fixed the issue with the wrong bit being checked.

Thanks!


pFIO does not support writing strings to netCDF

As seen in #642, it looks like pFIO cannot output string variables to netCDF:
https://github.com/GEOS-ESM/MAPL/blob/beba7fc571c9096b9b0897b4966d8ee0d10ba987/pfio/NetCDF4_FileFormatter.F90#L466-L484
Strings seem to fallover into class default and will fail.
I suppose the question is: should it?

I will revisit the string in pFIO. We had problems before. Maybe the new compilers can help us go through this issue

I am not sure if this is related to #530. Thoughts, @tclune ?


Windows Mixed Reality Commander: Suggestion: button to scan subnet

We sometimes use a laptop on a local network with multiple HoloLens devices to install and launch apps when managing a demo or testing session. It is cumbersome to look up the IP address of each HoloLens and register it with HoloLens Commander. It would be nice to have a button that would scan the network to find HoloLens devices. For example, if the IP address of the PC is 123.432.345.10 it could ping all 255 IP addresses beginning with 123.432.345 to see if a HoloLens is present.

Regarding to the documentation  https://docs.microsoft.com/en-us/windows/uwp/debug-test-perf/device-portal#dns-sd.

Device Portal advertises its presence on the local network using DNS-SD. All Device Portal instances, regardless of their device type, advertise under WDP._wdp._tcp.local.

So it shpuld be very easy to discover all device portals in the network. Unfortunately, in our tests it turned out, that it is very unreliable. It would be cool if you could maybe escalate this internally to the HL team or who ever is responsible for the device portal. I couldn't get any answer on forums, direct contacts, MVP channels :(

@smstuebe,
Sorry about the lack of response on the forums (that is on me). I will work with the correct folks on your issue.
Thanks!
David


Add modelingtoolkitize support

I don't know how much work it would be, but it would be really cool to have a modelingtoolkitize overload for ODEProblems of ComponentArrays that takes the property names of the ComponentArray and assigns them to ODESystem and variable names. Just by quick inspection, this doesn't seem too difficult.

I'm not sure if this is what you're referring to or not, but it seems that ComponentArrays is completely incompatible with modelingtoolkitize. For example, if my parameter vector p is a ComponentVector:
p_true = ComponentArray(k=0.42)
jac_proto = Tridiagonal(similar(u0,nknots-1), similar(u0), similar(u0, nknots-1))
prob = ODEProblem(ODEFunction(f,jac_prototype=jac_proto), u0, (0.0,1.0), p_true)

Then modelingtoolkitize fails
sys = modelingtoolkitize(prob)

with type Array has no field k

I can create a separate issue, if appropriate.

Yep, that's what I mean. The snag I ran into is that I haven't found a good way to hook into the internals of the function and let ModelingToolkit know that p_true.k actually means p[1]. It would be an easy problem to solve, I think, if ODESystem was allowed to hold more generic arrays because then I wouldn't need to hook into the function at all. I could just pass a ComponentArray of ModelingToolkit variables through the function and it should just work, I think. I'll have to dig in a little further to see if there is a good reason that the states and parameters of ODESystem have to be plain Vectors or if that can be relaxed.


Does this method support dit base video generation model?

Hi @trouble-maker007 ，
Thanks for your attention to our work. Theoretically, our method is independent of the model architecture, thus may also work for the DiT-based models. We leave this issue to the future work.

@zhuhz22 thanks for response, I will try a try


Improved clock accuracy & cleaned docs

Increased accuracy of displayed time; Now updated when minute value changes instead of fixed 60s intervals. The latter previously added an offset to accuracy of displayed time depending on when the application was started.
Changed all paths to use the new "TextClock" name
Added better explanation to README.md, including screenshots and installation steps.
Removed unnecessary/outdated/redundant notes

Super, thanks a bunch


Single word translations

Hello. I've built a model with around 130,000 parallel lines of data with around 50% additional back translated data.
It's working quite well. But when I try to translate a single word the response is an entire sentence.
Example:
Source: 'hau'
Actual translation: "I"
Modernmt Translation: "i am I myself myself myself myself myself myself myself myself I am taken"
How would I go about tracking down the cause of this or fine tuning it? I'm a bit lost.

@popstick
Surely, the output is wrong.
The most likely reason for the babble is the amount of training data, especially if the vocabulary is large.
Another reason could be a wrong or incomplete training of the system. How may updates were performed?
The lack of quality of the back-translated data can also have had a bad impact.
Just for curiosity.
Which language are you translating from?
What kind of data you used for training?
What kind of data you back-translated?

The pair is Tetun/English
The data is mostly scraped from the web
The back translation is also monolingual data scraped from news sources.
I think the data is quite clean and well aligned. And I believe the vocabulary is quite small for the language. Less than 30,000 words.
The training completes quite quickly in about 4 hours. Would it be worth forcing it to go longer?
Here is the output from the end of the training log. Does this give any clues?
| epoch 038:    600 / 634 loss=3.315, nll_loss=1.525, ppl=2.88, wps=18896, ups=2, wpb=10143.148, bsz=337.398, num_updates=24059, lr=0.000203874, gnorm=0.615, clip=0.0$
| epoch 038 | loss 3.317 | nll_loss 1.527 | ppl 2.88 | wps 18910 | ups 2 | wpb 10137.472 | bsz 337.208 | num_updates 24092 | lr 0.000203734 | gnorm 0.617 | clip 0.000$
| epoch 038 | valid on 'valid' subset | loss 3.891 | nll_loss 2.071 | ppl 4.20 | num_updates 24092 | best_loss 3.87889
| epoch 039:    100 / 634 loss=3.258, nll_loss=1.458, ppl=2.75, wps=19421, ups=2, wpb=10182.356, bsz=341.861, num_updates=24193, lr=0.000203308, gnorm=0.603, clip=0.0$
| epoch 039:    200 / 634 loss=3.273, nll_loss=1.475, ppl=2.78, wps=19409, ups=2, wpb=10184.313, bsz=340.975, num_updates=24293, lr=0.000202889, gnorm=0.611, clip=0.0$
2019-08-01 03:36:09,857 [INFO] - Stop criterion: current_loss = 4.326912, previous_loss = 4.326962
2019-08-01 03:36:09,857 [INFO] - Training interrupted by termination policy: validation loss has reached its plateau
2019-08-01 03:36:09,858 [INFO] - Training step "train_nn" completed in 3h 45m 0s
2019-08-01 03:36:09,858 [INFO] - Training step "avg_checkpoints" started
2019-08-01 03:36:09,858 [INFO] - Averaging checkpoints: ['/opt/mmt/runtime/tdt2en/tmp/training/_temp_train/nn_model/checkpoint_38_24000.pt', '/opt/mmt/runtime/tdt2en/$
2019-08-01 03:36:13,996 [INFO] - Training step "avg_checkpoints" completed in 4s
2019-08-01 03:36:15,821 [INFO] - Training step "train" completed in 3h 45m 6s

@popstick
The training seems end correctly.
So again I reconfirm that the problem is due to the lack of data.
Are you sure that the dictionary of the source and target sides of the parallel corpus contain only 30K words?
Did you try to translate longer sentences?
Did you try to evaluate the performance on few hundreds of sentences?
I very quickly give a look on the web at Tetun language
and I noticed that there are may accents and apostrophes in the vocabulary
ModernMT never tested the quality of the tokenization of text for Tetun,
For Instance , I found this parallel sentence
Tetun: ha’u han ikan
English: I eat fish

where the subject contains an apostrophe.  Is this apostrophe mandatory?  In your example you actually did not use it.
The Tetun tokenized sentence becomes
ha ’ u han ikan

This is maybe another partial source of error.

Longer sentences work quite well, it’s mainly just single words that give weird results. Even translating the other direction.
Perhaps it is just a lack of data as you say.
The accents and apostrophes are used when writing formally but are often dropped in casual writing. Therefor there is a mix of it all in the data. How best to handle that? Would it be better to standardise it all or leave as is and gather more data.
I’ll have to look into how the tokenising works and the effects it’s having on the Tetun language specifically as I can’t quite grasp how it all works.

On 7 Aug 2019, at 3:31 pm, Nicola Bertoldi<EMAIL_ADDRESS>wrote:

@popstick
The training seems end correctly.
So again I reconfirm that the problem is due to the lack of data.
Are you sure that the dictionary of the source and target sides of the parallel corpus contain only 30K words?
Did you try to translate longer sentences?
Did you try to evaluate the performance on few hundreds of sentences?
I very quickly give a look on the web at Tetun language
and I noticed that there are may accents and apostrophes in the vocabulary
ModernMT never tested the quality of the tokenization of text for Tetun,
For Instance , I found this parallel sentence
Tetun: ha’u han ikan
English: I eat fish
where the subject contains an apostrophe. Is this apostrophe mandatory? In your example you actually did not use it.
The Tetun tokenized sentence becomes
ha ’ u han ikan
This is maybe another partial source of error.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@popstick
I would suggest to remove apostrophes internal to words, and re-train your system.


Bug during display dynamic data with static slides

Which OS ?
Both (Android & iOS)
Version
Which versions are you using:

react-native-swiper v1.5.14
react-native v0.60.5

Expected behaviour
All declared slides (static and dynamic) should display per one screen
Actual behaviour
If we declare slides and add dynamic data (with .map()) then all dynamic data are loaded on one slide :(
How to reproduce it>
      <Swiper showsButtons>
        <View style={styles.slide1}>
          <Text style={styles.text}>Look at next!!?!</Text>
        </View>
        {this.state.items.map((item, key) => {
          return (
            <View key={key} style={item.css}>
              <Text style={styles.text}>{item.title}</Text>
            </View>
          )
        })}
        <View style={styles.slide1}>
          <Text style={styles.text}>What happened there?</Text>
        </View>
      </Swiper>

Please look at that demo: https://snack.expo.io/@donwasyl/swipe---slide-bug

I fixed it and push pull request

This fix works. Thanks

Confirming this issue and fix

please merge it


Namespace visii:: missing

ViSII functions are in the global namespace, and they do not follow C naming conventions either (e.g. ViSII_initialize, etc.). This is bad practice in C++ and risks causing clashes with user application code.

First, since ViSII is also a python API, some compromises need to be made to stay roughly compliant with both languages. We do not aim to conform 100% to either language styles, since it’s just not possible to make both camps happy. E.g. Python standard is to require lower_underscores for parameter names, which can be set using kwargs, and are taken directly from the C++ header file names. If I were to use C++ compliant lowerCamelCase, that would have a significantly negative impact on the look of the Python API. (I also have no ability to transform their names from LCC to underscores like I can the function names, at least as of SWIG 4).
That being said, I do intend to add namespaces for all these functions, but it just keeps getting kicked down the road unfortunately. So for example, to initialize, the planned API is visii::initialize(...); which would roughly match the python visii.initialize(...) pattern. (Essentially, python’s package syntax can be made to roughly match C++’s namespace syntax). We would then only have the “visii” namespace (with no nested namespaces, since that would cause languages to unnecessarily deviate)
And just to be clear, there is no plan to support this “ViSII_initialize()” pattern ( the current api is just “initialize()” ). 🙂

Just to be clear, I meant the comment as "either ViSII API functions should be within namespace visii, or they should be with the C naming convention of LibraryName_function, the fact that they're neither is bad practice". I don't have particular opinions on the case issue. Glad to see the namespace is planned.

Ah, sorry, I didn’t realize that was a C convention. I should be able to work on this soon.

Just added this to development. Will hopefully trickle into master soon.


profiling: Fix cpu profiling flag may not reset when meeting errors

What is changed and how it works?

Issue Number: Close https://github.com/tikv/tikv/issues/17234

What's Changed:
Fix cpu profiling flag may not reset when meeting errors

Related changes

[ ] PR to update pingcap/docs/pingcap/docs-cn:
[ ] Need to cherry-pick to the release branch

Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[x] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

Fix the issue that CPU Profiling doesn't work reporting `Already in CPU Profiling`

/merge

/approve

/test


default(now()) on the same table sometimes yield different times

Bug description
If there are two columns in the same table both with @default(now()) they may get slightly different times. We noticed because we have a table that has both a created datetime and an updated datetime field which are both defaulted to now at create time, but we have a constraint that updated_dt >= created_dt just as a sanity check.
I suspect this may be related to or have the same underlying cause as #12572.
How to reproduce
This is a bit tricky to reproduce given that it's a race condition.

Create a table with two DateTime columns with @default(now()) and using the highest level of precision.
Add a constraint that one column must be >= to the other (or some other method of detecting the issue).
Insert a row
Repeat step 3 until you get a failure.

Expected behavior
Any number of @default(now()) columns should all get exactly the same timestamp.
Prisma information
Here's a minimal example sufficient to see the bug
Prisma schema
model foo {
  id         Int       @id @default(autoincrement())
  created_dt DateTime? @default(now()) @db.Timestamp(6)
  updated_dt DateTime? @default(now()) @db.Timestamp(6)
}

And a test that should see the issue occurring
import { PrismaClient } from '@prisma/client';

let prismaClient = new PrismaClient();

const test = async () => {
  const f = await prismaClient.foo.create({
    data: {},
  });
  expect(f.updated_dt).toEqual(f.created_dt);
};

for (let i = 0; i < 100; i++) {
  it(`should insert a foo row: ${i}`, test);
}

On my system I see the issue about 3% or so of the time so 100 repetitions should be enough to see it, but you may need to increase the number of iterations in the loop.
Environment & setup

OS: Ubuntu 20.04 LTS
Database: PostgreSQL 13
Node.js version: 14.17.6

Prisma Version
Environment variables loaded from .env
prisma                  : 3.14.0
@prisma/client          : 3.14.0
Current platform        : debian-openssl-1.1.x
Query Engine (Node-API) : libquery-engine 2b0c12756921c891fec4f68d9444e18c7d5d4a6a (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 2b0c12756921c891fec4f68d9444e18c7d5d4a6a (at<EMAIL_ADDRESS>Introspection Engine    : introspection-core 2b0c12756921c891fec4f68d9444e18c7d5d4a6a (at<EMAIL_ADDRESS>Format Binary           : prisma-fmt 2b0c12756921c891fec4f68d9444e18c7d5d4a6a (at<EMAIL_ADDRESS>Default Engines Hash    : 2b0c12756921c891fec4f68d9444e18c7d5d4a6a
Studio                  : 0.460.0

Hey,
This issue was just fixed and will be available in the next release (4.0).
Thanks for reporting 🙏


[service bus] forward detached errors to user error handler

Summary
When a customer is using a streaming receiver (via receiveMessagehandler) and the receiver encounters a transient issue, the SDK will attempt to reconnect to the service in the background.
If all of the retries are exhausted, or a non-retryable error is encountered, the SDK will stop trying to reconnect the receiver. However, the final error received is not passed to the user-provided error handler if one was registered.
This change updates MessageReceiver.onDetached to forward the last error it receives to the user-provided error handler if it exists.
Tests
I added a test that creates a StreamingReceiver directly, updates _init to throw a non-retryable error and calls onDetached directly. The test then valdiates that the error thrown by _init is caught by the user's error handler.
The formatter adds more white-space changes to the files I touched.

/azp run js - servicebus - tests


OpenBLAS native libraries for a subproject not resolved by sbt 1.3.x and 1.4.x with Coursier disabled

Example project can be found here: https://github.com/kamilkloch/smile-openblas
Adding ThisBuild / useCoursier := false to built.sbt results in RTE:
[error] (run-main-0) java.lang.NoClassDefFoundError: org/bytedeco/openblas/global/openblas
[error] java.lang.NoClassDefFoundError: org/bytedeco/openblas/global/openblas

@kamilkloch Thanks for the report! What do you do to trigger the error? compile?

@eed3si9n No, try to run it.


Create source for fasta parser without biojs-io-parser mixin

I want to use the Fasta parser in the browser but the GenericReader (biojs-io-parser) was giving me some issues.  With this change (which is really just splitting index.coffee into tow files) I can use the fasta parser without loading biojs-io-parser mixins (using import Fasta from 'biojs-io-fasta/lib/fasta'; for example).

With this change (which is really just splitting index.coffee into tow files) I can use the fasta parser without loading biojs-io-parser mixins (using import Fasta from 'biojs-io-fasta/lib/fasta'; for example).

Nice. Thanks for the PR. I like it :)

I want to use the Fasta parser in the browser but the GenericReader (biojs-io-parser) was giving me some issues.

mind to tell? maybe we can fix them?

I don't know!  It works fine with jspm@latest (see here: https://github.com/Hypercubed/Project-Chi/blob/master/dataset/example/app/components/examples/biojs/biojs.js) but the browser complains about<EMAIL_ADDRESS>when using jspm@beta.  In any event I am pretty sure it is an issue with XHR or request in jspm v0.17 and nothing to do with biojs-io-parser itself.

P.S. Thanks for the quick merge and publish.  Makes life easier on my end.   😀

FYI.... could be related.  https://github.com/jspm/jspm-cli/issues/1599


New command: 🔐 spo web roleinheritance break

Usage
m365 spo web roleinheritance break [options]
Description
break inheritance of subsite. Keeping existing permissions is the default behavior.
Options

Option
Description

-u, --webUrl <webUrl>
URL of the site

-c --clearExistingPermissions
Flag if used clears all roles from the web

Examples
break role inheritance on web with keeping existing permissions
m365 spo web roleinheritance break  --webUrl "https://contoso.sharepoint.com/sites/contoso-sales"

break role inheritance on web with clearing existing permissions
m365 spo web roleinheritance break  --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --clearExistingPermissions

Additional Info
I did some research and for this command we may use the POST request
/_api/web/breakroleinheritance(${TrueOrFalseHere})

i want to use this command, how to? the @next version seems don't have it

@quantrpeter thanks for reaching out 👍
This is still an opened issue so it means it was not developed yet and we plan to do so in near future by either one of the maintainers or our awesome contributors 🤩.
Currently CLI supports breaking role inheritance
on list/lib 👉 https://pnp.github.io/cli-microsoft365/cmd/spo/list/list-roleinheritance-break/
and listitem/file/folder/page level 👉https://pnp.github.io/cli-microsoft365/cmd/spo/listitem/listitem-roleinheritance-break/
please feel free to join the discussion abut this command if you see something lacking. When this issue spec is formally expected by some other @pnp/cli-for-microsoft-365-maintainers then this issue will be also opened to be developed 😉

Shall I pickup the dev? My customer need this command. If yes please tell me how to start? any dev guide?

Shall I pickup the dev? My customer need this command. If yes please tell me how to start? any dev guide?

@quantrpeter this one is not yet ready to start development. Let's give it 1-2 days more for any other maintainer to give it a check and lets see if we should correct/add something to the spec or we can start working on this one.
It will be labeled with 'help wanted' label when this one is ready to be developed. 👍
📚 Here is some general guidance on how to contribute to our repo and add a new command
https://github.com/pnp/cli-microsoft365/blob/main/CONTRIBUTING.md
https://github.com/pnp/cli-microsoft365/wiki/Adding-a-command
👩💻 as for the main code for this command I believe it will be like 95% similar to already developed one on the list level (https://github.com/pnp/cli-microsoft365/blob/main/src/m365/spo/commands/list/list-roleinheritance-break.ts)
the only difference is that will have less options and web api endpoint won't target list by id or title but just the web itself 🤔. At least this is what I was aiming 😉

Spec seems solid. Let's do it! 🚀

@quantrpeter this one is ready to be developed. Are you still interested in coding this one? Should I assign it to you?
Let me know if you will need any help to start 👍

yes, please, very interest

yes, please, very interest

done ✔.
let me know if you will need any help to start 👍

sorry is these steps correct?

i fork this repo
create a file call "web-break-inhreitance.ts" in src/m365/spo/commands/web
fire a pull request
done

@quantrpeter close 😉.

yes ✅
not enough. the command file name should be web-roleinheritance-break.ts. And also this is not the only file/change required. Please double check the Adding new command wiki page. Also a couple of days ego I created a very similar PR for the reset command so you may also double check with this one what is required web-roleinheritance-reset PR. We need changes in 5 files. Doc.md file + add it to the list, add a new command to the list, add the command action and the test with 100% test coverage for it 👍.
yes ✅. after your done and you tested it on your end and runed the tests you should open a PR 👍please check the Submitting-a-PR wiki page. If your are interested how the review process will be taken care of please check What-to-expect-during-a-Pull-request-review
if the PR is ok and you have no review comments to resolve then yes. It is done and the merging is on us 😉

let me know if you need any additional info/help 👍

will send pull request this week, thx

will send pull request this week, thx

great news 🤩. no rush 👍.
Let me know if you will need any help 👍

Updated the specs to add an extra option --confirm.
Discussed here: https://github.com/pnp/cli-microsoft365/issues/3593#issuecomment-1234828680

We have updated the code, what we should do? fire a new pull request? thanks

We have updated the code, what we should do? fire a new pull request? thanks

Hey @quantrpeter
Creating a new PR is not needed. All you have to do is push your new code to the same branch you worked on previously. Your old PR will be updated automatically.
If I'm not mistaken, last time you worked on your main branch.
Tip for next time: create a new branch based on your main branch to work on one issue.

sorry for the dumb question, If I switch to a new branch. Will the PR follow? If no, I need to submit a new PR. Thank you very much

As you can see here, your current PR is linked with your main branch.

This means that every change you push to your main branch will be visible in the PR. If you work on another branch, these changes will not show up in this PR. So if you made your changes on a different branch, you should create a new PR like to did last time.
This is the reason why I said that you should make a new branch next time for each issue you are working on. By doing this, you can switch branches quite easy without impacting your other PRs.
If you have any questions, feel free to ask. In the beginning it is always a bit harder that's normal. 😊

thanks @milanholemans

yeah, we finally make it, thanks @milanholemans


:sparkles: Enable dangerous workflow in release test

Signed-off-by: Asra Ali<EMAIL_ADDRESS>
Please check if the PR fulfills these requirements

[ x] Tests for the changes have been added (for bug fixes / features)
[ x] PR title follows the guidelines defined in  https://github.com/ossf/scorecard/blob/main/CONTRIBUTING.md#pr-process

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Enables Dangerous-Workflow in release test

What is the current behavior? (You can also link to an open issue here)
Part of https://github.com/ossf/scorecard/issues/1399

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
no

Other information:

Shoot, I took a second to trace through and I'm confused why it's not in there.

I just found the bug - the env var is misspelled - https://github.com/ossf/scorecard/blob/main/cron/k8s/worker.release.yaml#L42.  Could you please fix that in this PR?


DBZ-2229 Fix test failure - MySqlConnectorRegressionIT#shouldConsumeAllEventsFromDecimalTableInDatabaseUsingBinlogAndNoSnapshot

https://issues.redhat.com/browse/DBZ-2229

Wow, you're on a roll. Great stuff!


Regular Async Cycles > 5s on otherwise not-busy node.

On a standalone AWS node not running proposer, not running snark-worker we are seeing regular long async cycles > 5s.
(they get much worse when we have concurrent snark-workers, but also still happen with nothing else going on.)
Disabled tracing in case file IO was causing.
A way to capture/identify async spans:
tail -n 10000  coda.log | grep async | tail -n 200 | uniq | jq .metadata.span
(uniq needed as logs are currently duped)

"8.219570243s"
"3.248650358s"
"3.240767811s"
"3.246719683s"
"3.260544246s"
"3.248651655s"
"3.248153787s"
"3.247014369s"
"3.246841613s"
"3.249725234s"
"7.226337153s"
"1.852309708s"
"6.654762042s"
"1.84518945s"
"1.856139767s"
"7.907862186s"
"1.850573856s"
"1.856487543s"
"2.045707783s"
"2.034938359s"
"514.284106ms"
"1.84392303s"

The last 50 over 1s:
$ tail -n 10000  coda.log | grep async | tail -n 200 | uniq | jq .metadata.span | grep -v ms | cut -d '"' -f 2 | cut -d 's' -f 1 | tail -n 50 | sort -n
1.461855987
1.462761394
1.462987091
1.468905069
1.469384641
1.470562057
1.476626677
1.47754532
1.496539225
1.84392303
1.84518945
1.850573856
1.852309708
1.856139767
1.856487543
2.034938359
2.045707783
2.096510707
2.102174989
2.103272275
2.104719353
2.121158921
2.127029029
3.240767811
3.241110006
3.246719683
3.246841613
3.247014369
3.248153787
3.248650358
3.248651655
3.249725234
3.25182053
3.252349428
3.260398225
3.260544246
3.264402756
4.192914493
6.42957876
6.654762042
7.084223332
7.226337153
7.504626084
7.743001826
7.85910269
7.898492161
7.907862186
8.219570243
8.809772892
9.102599653

Given our current ledger depth of 11, doing enough hashing for a block full of 32 transactions will take at minimum around 1.8 seconds (11 hashes * 2 lookups * 32 blocks * 2.6ms). We should figure out why we're seeing spikes substantially longer than that.

Closing this issue as it is stale for a long time.


Add Project (Issue #16)

Pull Request for PyVerse 💡
Issue Title: Add Number Guessing Game Project

Info about the related issue (Aim of the project): Adding a number guessing game project to help beginners practice Python programming.
Name: Ahsan Atiq
GitHub ID: AHSANATIQ98
Email ID<EMAIL_ADDRESS>Identify yourself: GSSoC Participant

Closes: #16
Describe the add-ons or changes you've made 📃
Added a new Python project for a number guessing game. This project includes a Python script and a description text file explaining the purpose, usage, and dependencies.
Type of change ☑
What sort of change have you made:

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested? ⚙
The project was tested by running the Python script multiple times to ensure it behaves as expected and provides accurate results. No errors or issues were encountered during testing.
Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

@AHSANATIQ98 have your assigned this project by me or by any mentors?

Can you say me in which directory your project in?

@AHSANATIQ98 I am closing this PR without merging. You need to first raise an issue and if me and any mentor approve it and assign you then only you can work on it.


No command to list frameworks

It'd be useful to have a mesos frameworks command to see a list of registered frameworks.

Possible output (in priority order):

Names of running frameworks
Task counts by state (e.g. RUNNING, STAGING, etc.)
Allocation/usage


feat: update Nx to latest v14

@RamirezAlex it looks like one of the migrations of v14.0.0 did not run so I converted our jest configs to TypeScript in this PR.

@beeman It looks good to me, feel free to merge


timestamps before 1980

ZIP does not support timestamps before 1980. So the case of plenty issues, for instance, it's already happened here https://github.com/mishoo/UglifyJS2/issues/2054
$ ll ./node_modules/osenv

total 32
-rw-r--r--  1 watashi  staff   765B Jan  1  1970 LICENSE
-rw-r--r--  1 watashi  staff   1.4K Jan  1  1970 README.md
-rw-r--r--  1 watashi  staff   1.8K Jan  1  1970 osenv.js
-rw-r--r--  1 watashi  staff   792B Jan  1  1970 package.json

This is happening to me as well, and cannot publish my code

This is affecting our build as well, but believe it is an issue with NPM v5.7.1 and they have an issue filed for it.  Note, this happened with a version of UglifyJS last summer and was noticed by everyone using Webpack, and comments got out of hand.  Keep calm, and support open source projects maintainers.

I have already submitted this issue two weeks ago and got reply.
https://github.com/npm/osenv/issues/16

Thank you for clarifying, and I apologize for assuming and searching only open issues and missing the information in the closed ticket.

Thank you. I didn't saw in closed tickets but should.


OSATE2 crash when AADL diagram is opened

Please provide a brief summary of the bug
I am using OSATE2, when I try to read an AADL diagram file "xxxx.aadl_diagram"  the window crashes and ask me to restart to fix the zoom but the restart keep showing the same error
Please provide steps to reproduce where possible
Open OSATE2 latest version
create an AADL project
create an AADL package
then create a minimal xxx.aadl file that could produce a diagram
generate the diagram
open it
Expected Results
I expect to see the diagram opening like the other files and behaving normally
Actual Results
Crash, the OSATE2 page zoom out and I am asked to restart OSATE2 to fix the issue. as long as the diagram is open the crash continues
What Java Version are you using?
openjdk version "11.0.16" 2022-07-19 OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu120.04) OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)
What is your operating system and platform?
Ubuntu x86_64 GNU/Linux
How did you install Java?
used a binary archive tar.gz
Did it work before?
No

Did you test with other Java versions?
/usr/lib/jvm/oracle-java8-jdk-amd64/jre/bin/java

Relevant log output
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fc4afbe98fe, pid=64282, tid=64283
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.3+7 (17.0.3+7) (build 17.0.3+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.3+7 (17.0.3+7, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libgtk-3.so.0+0x39a8fe]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/xxxx/core.64282)
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  S U M M A R Y ------------

Command Line: -Dosgi.requiredJavaVersion=1.17 -Dosgi.framework.extensions=org.eclipse.fx.osgi -Xms40m -Xmx768m --add-modules=ALL-SYSTEM /home/xxxx/osate2//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher /home/xxxx/osate2/osate -name Osate --launcher.library /home/xxxx/osate2//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.400.v20211117-0650/eclipse_11600.so -startup /home/xxxx/osate2//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar --launcher.overrideVmargs -exitdata 58029 -vm /home/xxxx/osate2//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.stripped.linux.x86_64_17.0.3.v20220515-1416/jre/bin/java -vmargs -Dosgi.requiredJavaVersion=1.17 -Dosgi.framework.extensions=org.eclipse.fx.osgi -Xms40m -Xmx768m --add-modules=ALL-SYSTEM -jar /home/xxxx/osate2//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar

Host: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz, 16 cores, 31G, Ubuntu 20.04.5 LTS
Time: Sun Oct 30 02:38:55 2022 CEST elapsed time: 22.225946 seconds (0d 0h 0m 22s)

/sys/kernel/mm/transparent_hugepage/enabled: always [madvise] never
/sys/kernel/mm/transparent_hugepage/defrag (defrag/compaction efforts parameter): always defer defer+madvise [madvise] never

Process Memory:
Virtual Size: 8995924K (peak: 9005424K)
Resident Set Size: 934964K (peak: 934964K) (anon: 829232K, file: 99920K, shmem: 5812K)
Swapped out: 0K
C-Heap outstanding allocations: 96354K

/proc/sys/kernel/threads-max (system-wide limit on the number of threads): 254165
/proc/sys/vm/max_map_count (maximum number of memory map areas a process may have): 65530
/proc/sys/kernel/pid_max (system-wide limit on number of process identifiers): 4194304

container (cgroup) information:
container_type: cgroupv1
cpu_cpuset_cpus: 0-15
cpu_memory_nodes: 0
active_processor_count: 16
cpu_quota: no quota
cpu_period: 100000
cpu_shares: no shares
memory_limit_in_bytes: unlimited
memory_and_swap_limit_in_bytes: unlimited
memory_soft_limit_in_bytes: unlimited
memory_usage_in_bytes:<PHONE_NUMBER>
memory_max_usage_in_bytes:<PHONE_NUMBER>
maximum number of tasks: unlimited
current number of tasks: 553

Steal ticks since vm start: 0
Steal ticks percentage since vm start:  0,000

CPU: total 16 (initial active 16) (8 cores per cpu, 2 threads per core) family 6 model 141 stepping 1 microcode 0x3e, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, avx512f, avx512dq, avx512cd, avx512bw, avx512vl, sha, fma, vzeroupper, avx512_vpopcntdq, avx512_vpclmulqdq, avx512_vaes, avx512_vnni, clflush, clflushopt, clwb, avx512_vbmi2, avx512_vbmi
CPU Model and flags from /proc/cpuinfo:
model name	: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 invpcid_single cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid movdiri movdir64b fsrm avx512_vp2intersect md_clear flush_l1d arch_capabilities

Online cpus: 0-15
Offline cpus:
BIOS frequency limitation: <Not Available>
Frequency switch latency (ns): 0
Available cpu frequencies: <Not Available>
Current governor: powersave
Core performance/turbo boost: <Not Available>

Memory: 4k page, physical 32599184k(23796252k free), swap 2097148k(2097148k free)
Page Sizes: 4k

vm_info: OpenJDK 64-Bit Server VM (17.0.3+7) for linux-amd64 JRE (17.0.3+7), built on Apr 19 2022 21:30:15 by "" with gcc 10.3.0

END.

Hi @yahammou You stated you're using ubuntu Java 11.0.16, but the crash log is from Temurin 17.0.3, which I suspect is bundled with the app you are using?  You can try to install 17.0.5 from adoptium.net and update the config of your app to use that instead.


[BUG] Polaris will not build with Dockerfile on Windows 11

Is this a possible security vulnerability?

[X] This is NOT a possible security vulnerability

Describe the bug
I'm on windows 11 with Docker Desktop v4.33.1
Running the command docker build -t localhost:5001/polaris:latest . results in an error after the change to the image was done in commit https://github.com/polaris-catalog/polaris/commit/0f2c2a8acde387a8a107d30631a6496cc43abb13
If i revert the Dockerfile to the code before this commit, I can build the image. I've been able to reproduce this error along with a colleague where we are all on windows 11 using docker desktop to build the image.
To Reproduce

Have Windows 11 as your base OS.
Have Docker Desktop installed.
Open Terminal and traverse to the git repo location with the latest commit.
Run the command docker build -t localhost:5001/polaris:latest .

Actual Behavior
Error Message:
 => ERROR [build 5/5] RUN ./gradlew --no-daemon --info clean shadowJar                                                                                0.5s
------
 > [build 5/5] RUN ./gradlew --no-daemon --info clean shadowJar:
0.416 /bin/sh: ./gradlew: /bin/sh^M: bad interpreter: No such file or directory
------

 1 warning found (use docker --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 19)
Dockerfile:29

Expected Behavior
The docker image should build without error.
Additional context
No response
System information
OS Name:                   Microsoft Windows 11
OS Version:                10.0.22631 N/A Build 22631
Docker Desktop Personal v4.33.1 with wsl 2 based engine enabled.

@zielyn This is actually not a bug of the program but rather how diff OS handing line endings. Here is what you can do to be able to build on Windows:

Delete the repo you just cloned
Run git config --global core.autocrlf input
Clone down repo again  git clone https://github.com/polaris-catalog/polaris.git
Build it  docker build -t localhost:5001/polaris -f Dockerfile .

Here is the reasoning: Windows use carriage return and line feed (CRLF) while Unix/Linux use line feed (LF) for line endings. With the git config listed on item 2, it will automatically convert CRLF to LF before pushing the files into docker. By doing so, the container will then read the file as its and the file will be using LF for for line endings which won't raise the issue listed above.


How do you see S3 meta tags

Hi,
Is there a way to see HTTP header, as it would be good to be able to see these within the UI, even if dump out logs section ? or is there a log file I can see from the cmdline ? e.g.
x-amz-content-sha256:
X-Amz-Date:
x-amz-storage-class:
x-amz-id-2:
x-amz-request-id:
reason, I'm asking I'm want the tester to be able to check the storage-class is set correctly and working. or how are others doing this?
Thanks
Mark.

Hello Mark, as I am currently on vacation, without access to a computer, I can only provide some thoughts at this time. If necessary, we can discuss in more detail next week.
I assume we are only talking about the headers sent from your software to S3 Ninja, right?
Obviously, in any case, you could try to sniff the packages, and read the values directly from the network traffic.
S3 Ninja itself stores metadata in files prefixed with a $ character. You could navigate to the folder used by the application (possibly within a Docker container) and read that meta-file. (However, I am not sure whether all your values are retained there at all.)
Within the UI, to my knowledge, there is currently no way to view meta-data. Of course, it would be possible to extend the UI to view the contents of the meta-file mentioned above. (Feel free to provide a pull request! 😉)
So, to sum up, in order to make this all convenient, we probably would need to make sure first that all relevant fields are stored at all, and then provide a new view in the UI.

Hi Jakob,
thanks for the reply and hope you having a good holiday - I found the $ files, but they only seem to have a few of the headers?

#Wed Aug 18 16:47:14 CEST 2021
ETag=80dead6e8229ed7b5a306f005ff5f8c5
Content-Type=application/octet-stream
I suggested UI as thought might be good for testing, but obviously, the $ files are good enough. but maybe a URL link off the UI could be a good compromise and keep the UI clean?

Sounds good. However, in order to access the metafile via the UI, we may also need to provide additional routing, I think. That means, it may be an option to properly integrate it into the UI as well. I'll have a look at the code once I am back. (However, I only have limited time available for working on this project. That is why I often need to ask for pull requests instead.)

I had a look at your code as it seems there are rules on which properties you are interested in ? - as I would go with just anything starts with "x-amz" or was this a problem for others ?
(in S3Dispatcher.java )
private Map<String, String> parseUploadProperties(WebContext webContext) {
    Map<String, String> properties = Maps.newTreeMap();
    for (String name : webContext.getRequest().headers().names()) {
        String nameLower = name.toLowerCase();
        if (nameLower.startsWith("x-amz-meta-") || "content-md5".equals(nameLower) || "content-type".equals(
                nameLower) || "x-amz-acl".equals(nameLower)) {
            properties.put(name, webContext.getHeader(name));
        }
    }
    return properties;
}

Hmm, tracing back via git blame, this seems to have been part of the initial commit many years ago. If you plan to create a pull request, just modify this, and we'll see whether the unit tests still work. I will also ask the original author to have a look in this case. Here and now, I would rather assume that the signature-related x-amz headers were left out to keep the properties file nice and clean 😉


Dragged items in the collection are appearing on the admin page and the profile page.

I created a collection, http://jdarchive.org/en/collection/1952783, which is not published.
The dragged items in my collection box are appearing in my profile page,http://jdarchive.org/en/user/421.
In addition, the dragged items,ID 1952784 ~1952802, are appearing on the admin dash page.
Both phenomina crowd the profile page and the admin dashboard. Unwanted extra items on the admin dashboard slows down the curation job. I would be greatful if the IT team could fix it.  Thank you!

So these items existed on our site before, but when you dragged them to the collection, it duplicated them in our database? Very strange! I will look into this.

Yes your understanding is correct.  Thank you for looking into the problem. The duplicate seeds, which do not need to be exported, also show up on the export page.


Lint

Questions:

Do we want to show lint warnings on VS Error List?

How should we manage FSharpLint option? Are they scoped for the whole Visual Studio or scoped for solutions/projects?

It would be nice to display colored tooltips to distinguish between VFT and VFPT tooltips. The trick is documented at http://winterdom.com/2014/01/pretty-quickinfo-tooltips-and-vs-themes

@duckmatt You advices on integrating FSharpLint are really appreciated.

I don't think we should analyze whole projects and solutions and show hints in Error list. That's what FSharpLint does AFAIK.
I hope we can just add a standard property grid into settings dialog and map FSharpLint settings into it directly.
I'll try to make the tooltips colored :)

Thanks for looking to integrate it, it looks great.
The rules in the configuration are stored in a Map. Via the API you can pass in your own configuration but it's also possible to load a configuration file for a project - this traverses from the root directory of the drive down to the project directory, and for each directory if a config file is found it is applied with the rules in the child directory overwriting any from a parent directory.
The loading of a config for a project follows the same approach as StyleCop. The integration of StyleCop in visual studio provides a ui for the config but writes what you select through the ui out to a config file for the project. This approach works quite well because then the config for projects and solutions can be on the project's source control
Currently there's nothing for writing the config to a file (only reading) but this is something I could look at getting into the API as soon as possible

About distinguishing from VFT, I added bold "Lint:" prefix to each hint:

About coloring, I'm not sure orange would be readable. What do you think?

Would it make sense with a vertical squiggle for the 21 lines warning?
About colour: is there a brush in the theme that can be used?

@vasily-kirichenko We have the bits reading brush keys at https://github.com/fsprojects/VisualFSharpPowerTools/blob/master/src/FSharpVSPowerTools.Logic/VSColors.fs. Perhaps we should reuse that instead of implementing once again.
About tag colors, why don't we use the usual blue warning colors? VS Spell Checker extension uses purple, which is quite easy to spot.
We should add a "Lint settings..." menu to project contexts. It should open a property grid (powered by FsXaml?) to populate FSharpLint options.

@duckmatt We really need a write API for FSharpLint configs.

Does FSharpLint have unique identifiers for rules? Some things like FS0001 error idents in F# to differentiate errors/warnings.
Do FSharpLint configs allow to specify ignored files in an F# project?

I'd like to separate linter warnings from compiler warnings since 1. The latter are really hints, not warnings 2. There will be a lot of them. For the second season I also like the tags color be low contrast, even lighter than Orange. Orange is used for linter hints for Haskell code in Eclipse and Sublime, for example. AFAIK it also used by R# (it uses cut green tags for low priority hints though).
About setting, what is the point in per project setting? Do you have a concrete example where different settings are desirable? I'd like to have solution wide settings (stored in a file).

Linter has quite useful rules:

The names of the rules combined with the names of the analysers can be used to uniquely identify them, similar ids  to FS0001 could be added if that will be needed maybe with a prefix of FL FL0001
There's a section in the config for ignoring files, the default config contains assemblyinfo.*
Solution wide settings are doable as long as the solution file is in a parent directory to all of the projects (would be an odd custom layout for that not to be the case). I can't think of a great example of per project settings in a solution, but perhaps there's a legacy project in a solution that you'd want laxer rules applied to than a new project being added to the same solution. I do think you'd mostly want to be setting the config for the entire solution as you say

We are not going to run linter on entire projects and solutions. It works on the active open file only, so an ignoring file list has no sense.

Yeah, FSharpLint configs for whole solutions would be enough.
Current color looks a bit weird in dark themes. I think the old Orange color is probably better.

It's customizable in Fonts and Colors dialog. I tried lighted Blue, see https://github.com/fsprojects/VisualFSharpPowerTools/pull/1034#issuecomment-118607162

Is a vertical line hard to implement or bad for other reasons?

@JohanLarsson show me what it looks like in other tools (R#, etc) or editors (IDEA, Eclipse, Atom, emacs, vim, sublime).

I'm not I have seen it in any other tool. Thinking something like:

@JohanLarsson As I remember, R# shows hints as a little line, which does not underline all the problem code. I mean it always has fixed length, very small. Could you make a screenshot?

A bunch of screenshots:

Thanks. Yes, I mean then little thing which underlines the very first string.

I think the key point is to use IBufferTagAggregatorFactoryService https://msdn.microsoft.com/en-us/library/microsoft.visualstudio.text.tagging.ibuffertagaggregatorfactoryservice.aspx. Everything should be easy to handle if we have a single aggregator.

Yeeeah. IBufferTagAggregatorFactoryService. Now everything looks perfect and even the buffer changed event is raised, but tagAggregator.GetTags span returns empty seq :(

I limit the tags length to max 2 characters, the result is like R# does, much less disturbing:

@vasily-kirichenko that looks good, looks like it also resolves https://github.com/fsprojects/FSharpLint/issues/102

Found an exactly same code https://github.com/tunnelvisionlabs/LangSvcV2/blob/7b246e1499664e0e795f472a503c15cbb0919fff/Tvl.VisualStudio.Language.Antlr3/AntlrQuickInfoSourceProvider.cs
No idea why my don't work.

@duckmatt I just added Seq.distinctBy (tooltip, range)

It almost works. it's dirty. I've no idea why it works :( Tags are not updated immediately, a dummy buffer change is required to update. Damn.

I tested it locally. It seems to work but it is laggy.
@duckmatt Which lint rules really use type-checked results? I think of using parse results only for linting on file changes. It is currently very slow to lint with type-checked results.

I think it's probably not worthwhile using the type checked results if they're slowing things down, they're used to double check on a few rules, and without the checks the linter will not warn so you may get a couple of warnings not occurring on edge cases e.g. the naming of a literal when the attribute was a type alias of the literalattribute type. A couple of months back I changed the MSBuild task to not do type checking by default

The rules it's specifically used for is:

Check value assigned to binding is not mutable in useless binding rule (will fallback to no warning)
Check if binding a literal in naming convention rules (will fallback to checking the attribute identifier is Literal or LiteralAttribute)
Check if pattern is a union case with no values in naming convention rules (will always issue a warning without type checking)
Check hints involving the equality operator are not matched against constructor property initialisers or named arguments (will fallback to no warning)

It does not update tags after the source was changed:

@dungpa I don't think it's laggy because it uses type check results. Almost all other features use them, so what's difference? Or you like linter to work instantly?

The good thing in this last bug is that if we fix it, the wrong colorization (after buffer changed) will be fixed, too :)

Yeah, it would be great to fix that bug as part of #1036.
If not, we could fall back to use untyped ASTs only. We lint a single file at a time so it would be nice to have quick feedback upon changes.

I've started having a look at UI for the settings, and found they didn't quite match the format of a property grid because the analysers have settings as well as their child rules. I had a look at emulating the settings UI in the StyleCop extension. What do you think?

Looks great for me.

Okay great. I've explored it a bit further and now have it so that the configuration file to change the rules for can be selected (with the default selection being the config file in the first common base directory of all the projects).

I've added a tab so that the config files that have been loaded for the projects in the solution can be viewed

I'll start working on updating the lint configuration API to make this UI functional

Wow, look great.

@vasily-kirichenko Sent you another PR. We can enable using typed ASTs once https://github.com/fsprojects/VisualFSharpPowerTools/issues/1036 is fixed.

Works OK for me, fast and no bugs.
I think we can merge it as is and add @duckmatt 's settings dialog later.

We merge this PR once the minimal support for F# 4.0 is released (see https://github.com/fsprojects/VisualFSharpPowerTools/pull/1047).

After updating all packages AppVeyor fails to build the solution:
1) Building C:\projects\visualfsharppowertools\FSharpVSPowerTools.sln failed with exitcode 1.
  2) : C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\VSSDK\Microsoft.VsSDK.targets(760,5): CreatePkgDef : error : FileNotFoundException: Could not load file or assembly 'FSharp.Core, Version=<IP_ADDRESS>, Culture=neutral
, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
  3) : C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\VSSDK\Microsoft.VsSDK.targets(760,5):    at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntP
tr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
  4) : C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\VSSDK\Microsoft.VsSDK.targets(760,5):    at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantia
tionContext, RuntimeTypeHandle[] methodInstantiationContext)
  5) : C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\VSSDK\Microsoft.VsSDK.targets(760,5):    at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArgu
ments)
  6) : C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\VSSDK\Microsoft.VsSDK.targets(760,5):    at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, As
sembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRunt
imeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
  7) : C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\VSSDK\Microsoft.VsSDK.targets(760,5):    at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int
32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
  8) : C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\VSSDK\Microsoft.VsSDK.targets(760,5):    at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)
  9) : C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\VSSDK\Microsoft.VsSDK.targets(760,5):    at System.RuntimeType.GetCustomAttributes(Boolean inherit)
 10) : C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\VSSDK\Microsoft.VsSDK.targets(760,5):    at Microsoft.VisualStudio.Tools.CreatePkgDef.ProcessAssembly(String fileName, Hive hive, PkgDefContext context, Boolean r
egister, RegistrationMode mode) in f:\dd\vssdk\VSIntegration\Tools\src\CreatePkgDef\CreatePkgDef.cs:line 270
 11) : C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\VSSDK\Microsoft.VsSDK.targets(760,5):    at Microsoft.VisualStudio.Tools.CreatePkgDef.DoCreatePkgDef(InputArguments inputArguments) in f:\dd\vssdk\VSIntegration\T
ools\src\CreatePkgDef\CreatePkgDef.cs:line 164
 12) : C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\VSSDK\Microsoft.VsSDK.targets(760,5):    at Microsoft.VisualStudio.Tools.CreatePkgDef.Main(String[] arguments) in f:\dd\vssdk\VSIntegration\Tools\src\CreatePkgDef
\CreatePkgDef.cs:line 85
 13) : C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\VSSDK\Microsoft.VsSDK.targets(760,5):

I once fixed it at https://github.com/vasily-kirichenko/FSharpVSPowerTools/commit/67a23acbadbc9da18c322fa071bcc8795e14d347.

Thanks!

Please don't touch GeneralOptionsControl anymore until this PR is merged. It's impossible to merge WinForms conflicts.

OK.

Great jobs. This PR can now be merged.


Update from nopt 4.x to nopt 5.0.0

installation of latest<EMAIL_ADDRESS>produces a warning:
npm WARN deprecated<EMAIL_ADDRESS>This package is no longer supported.

This package is only used by nopt to call os.homedir() which has been stable since Node.js 2. It was removed https://github.com/npm/nopt/commit/5c0e45b2f94414c074270b133e90c77ec35f5a4b in nopt 5.0.0.
There are newer versions of nopt available, but those raise the required Node.js engine level. In order to make this safe to land, and easy to release, resolve the warning first by moving to nopt 5.0.0.

@XhmikosR Yes and no.
Yes, when using this e.g. in wikimedia/mediawiki, this is the only package pulling it in.
"node_modules/grunt-cli/node_modules/nopt": {
			"version": "4.0.3",
			…,
			"dependencies": {
				…,
				"osenv": "^0.1.4"
			},
…
"grunt-cli": {
			"version": "1.4.3",
			…,
			"requires": {
				…,
				"nopt": "~4.0.1",
				…
			},
			"dependencies": {
				"nopt": {
					"version": "4.0.3",
					…,
					"requires": {
						…,
						"osenv": "^0.1.4"

I believe this PR would fix the warning for downstream users of Grunt. But, my guess is that there is a dev dependency within the grunt-cli repo that is still pulling it in by other means as well.

OK. It's actually grunt 1.6.1, depending on the even older "nopt": "~3.0.6".

All good, I just noticed it on CI and thought I'd mention it :)


fix: serve --assets in dev + local mode

A quick bugfix to make sure --assets/config.assets gets served correctly in dev --local.

Landing this


Assets/WebXR/Scripts/WebXRCamera.cs(89,26): error CS0117: UnityEngine.XR.InputDevices' does not contain a definition for GetDevicesWithCharacteristics'

Followed these instructions exactly: https://github.com/MozillaReality/unity-webxr-export/blob/master/docs/project-setup.md
Assets/WebXR/Scripts/WebXRCamera.cs(89,26): error CS0117: 'UnityEngine.XR.InputDevices' does not contain a definition for 'GetDevicesWithCharacteristics'
Assets/WebXR/Scripts/WebXRController.cs(278,18): error CS0246: The type or namespace name 'XRInputSubsystem' could not be found. Are you missing 'UnityEngine.Experimental.XR' using directive?
Assets/WebXR/Scripts/WebXRController.cs(279,13): error CS0103: The name 'SubsystemManager' does not exist in the current context
etc...
Freshly imported copy of the project. Can't run or compile due to compiler errors. Using the proper version of Unity the project was made in.

This repo had no update for more than a year.
There are other WebXR exporters.
https://github.com/De-Panther/unity-webxr-export


Partner -> custom exporter terminology change

See here: https://github.com/aws-otel/aws-otel.github.io/issues/140
This is just queuing up changes to see what it might look like and aid any discussion. No expectation to get this merged without some discussion/thoughts around the terminology.

Hi @cartermp these exporters are specifically included since these are exporters supported by AWS partners on AWS Distro for OpenTelemetry. Although technically custom exporters as a term makes sense, in this case these are tested partner exporters for ADOT. So don't see the need to change the terminology.


bump fresco to 2.0.0, supports AndroidX

Summary
Bump Fresco to 2.0.0, which supports AndroidX. We should cherry-pick to 0.60 release, to support brown field apps but also native components.
Changelog
[Android] [Changed] - Bump Fresco to 2.0.0, supports AndroidX
Test Plan
CI is green, and RNTester builds and runs as expected.

@cpojer @kelset I would like to include this change in 0.60 release, as it uses Fresco with AndroidX support.


Fix hardcoded path separators (fixes #28)

make it portable (for windows)
remove some redundant checks
minor update to documentation

Thanks!


Sublime Text comment toggle command is broken in Gruntfile.js syntax

Discovered the same problem in https://github.com/YabataDesign/afterglow-theme/issues/72 and @mknabe put together a solve for it that works and I have tested in this package as well. Will be filing a PR to solve this problem in Materialize.

Solved by this PR. Thanks bmcminn!