fixes querystring updating regression

closes https://github.com/Kong/insomnia/issues/3788
I removed the debounce (as we have been, there's absolutely no need for it here) and that solved the bug.  I fixed the positioning while I was there (the text wasn't centered vertically before) as well as the fact that the copy button wasn't disabled when there was nothing to copy.

Works nice! 👍  Added some space between the button and the text and made the button sticky

Wow great suggestion @gatzjames !  Love it!

Great. Thank you for fixing this. I cannot wait for release.


mynewt: remove version.yml and references

With the merge of https://github.com/apache/mynewt-newt/pull/365 newt does not use version.yml files anymore, so remove the file and references to updating it in the release process.
Testing a MCUBoot release now depends on newt master or > 1.7.0 (to be released).

I'll plan on merging this after the post 1.8.0 mynewt release.

Mynewt 1.8.0 was released on April 9, 2020.


Implements resource permitted-roles command in API

Desired Outcome
This pull request adds an API endpoint for 'resource permitted-roles' for the Conjur CLI - Golang version.
Implemented Changes

Added API endpoint for 'permitted-roles'
Added tests for API endpoint

Definition of Done
At least 1 todo must be completed in the sections below for the PR to be
merged.
Changelog (need a Changelog)

[x] The CHANGELOG has been updated, or
[ ] This PR does not include user-facing changes and doesn't require a
CHANGELOG update

Test coverage

[x] This PR includes new unit and integration tests to go with the code
changes, or
[ ] The changes in this PR do not require tests

Documentation

[ ] Docs (e.g. READMEs) were updated in this PR
[ ] A follow-up issue to update official docs has been filed here: insert issue ID
[x] This PR does not require updating any documentation

Behavior

[ ] This PR changes product behavior and has been reviewed by a PO, or
[x] These changes are part of a larger initiative that will be reviewed later, or
[ ] No behavior was changed with this PR

Security

[ ] Security architect has reviewed the changes in this PR,
[x] These changes are part of a larger initiative with a separate security review, or
[ ] There are no security aspects to these changes

I made very minor edits to other places in the files involved in this PR, e.g., removing extra newlines I caught to maintain formatting consistency


Audio doesn't restart after phone call and doesn't stop when disconnecting audio devices

As the title says, it seems like the audio player ignores system events like disconnecting headphones/CarPlay and keeps playing when it should stop, and if a phone call is received or made while audio is playing, playback doesn't resume after the call is done.
Am i missing something? Is this intended behavior?

This is something that you need to implement according to your application's needs.
You can read how to handle these types of interruptions here https://developer.apple.com/documentation/avfaudio/avaudiosession/responding_to_audio_session_interruptions?changes=__6


.X is lost when setting anndata.filename to None

Please make sure these conditions are met

[x] I have checked that this issue has not already been reported.
[x] I have confirmed this bug exists on the latest version of anndata.
[x] (optional) I have confirmed this bug exists on the master branch of anndata.

Report
When setting the filename of a backed anndata object to None, it's .X gets lost.
Reproducible example of how to_memory() works as expected:
import anndata as ad
adata = ad.AnnData(
    X = np.array([[1, 2], [3, 4]]),
    obs=pd.DataFrame({"cell_type": ["A", "B"]}),
)
adata.write_h5ad("sample_data.h5ad")

adata = ad.read_h5ad("sample_data.h5ad", backed="r")

adata_mem = adata.to_memory()

adata_mem.X

array([[1, 2],
       [3, 4]])

Example of how using the .filename setter looses X:
import anndata as ad
adata = ad.AnnData(
    X = np.array([[1, 2], [3, 4]]),
    obs=pd.DataFrame({"cell_type": ["A", "B"]}),
)
adata.write_h5ad("sample_data.h5ad")

adata = ad.read_h5ad("sample_data.h5ad", backed="r")

# This should just put the anndata object to memory mode I suppose
adata.filename = None

adata.X is None

True

Running this on the main branch.
might become irrelevant in the future, but the fix seems to be a simple bug in _to_memory_mode.
Versions
anndata             0.11.0rc4.dev4+g3260222
awkward             2.6.8
numpy               2.0.0
pandas              2.2.2
scanpy              1.10.0rc2.dev126+g48706caa
session_info        1.0.0

This should just put the anndata object to memory mode I suppose

Given our current rules (https://anndata.readthedocs.io/en/latest/generated/anndata.AnnData.filename.html), I would probably agree.


SSH/ OpenSSH Versioning on Testrun Report

In the 'security.ssh.version' test, the description includes the OpenSSH version, which could be perplexing for the end user when reviewing the report. Please refer to the attached screenshot for clarification.

nmap.log
container.log
nmap-result.json

@travellingmonk Could you run an nmap scan on this device and share the version picked up there?

sure thing!

Closing this as we are not looking to fix this.


Add [Docker] support for loong64 arch

Fixes #10224.

Wow, these tests were pretty stable and were working fine not so long ago (#9934), but we've now got a bunch a failures. Maybe best to take a look in a follow up?

The test failures are unrelated IMO, so I agree and I'd be fine giving this the :+1: to go ahead and fix #10224, and then address the failing tests separately.
Let me know if you'd like me to re-approve or if you change your mind and decide to try to fix the tests here

I've fixed one of the tests to use a better example.
The other ones seems to be getting 401 responses, they're all Docker Cloud examples. Our Docker badges support optional auth:
https://github.com/badges/shields/blob/0360ba3a1b193b25a03454e36b823aa20155d7fc/services/docker/docker-automated.service.js#L19-L25
As far as I can tell, we only ever configured dockerhub_username but not dockerhub_pat in our GitHub actions configuration. I'm wondering whether Docker Cloud started requiring auth, or whether the project we're testing against, pavics/magpie, moved to being a private one. @chris48s you're much more familiar with the service and reworked auth recently, do you have any insights?

So 2 things:

When you run service tests from a fork, we don't pass any secrets so on this PR (submitted from your fork) there are no credentials being used
Even when submit a PR from a local branch on this repo, the vars we pass are: https://github.com/badges/shields/blob/0360ba3a1b193b25a03454e36b823aa20155d7fc/.github/workflows/test-services.yml#L26-L36 dockerhub username (or PAT) isn't one of the things we set.

The docker credentials in the repo secrets (not prefixed with SERVICETESTS_) are used for pushing the images we build to DockerHub.
Looking at it, I think this is not just the service tests. I think the DockerCloud badges are just completely broken - with or without credentials. I think this is due to an upstream change. I'm also happy to punt this to another issue as it is unconnected to this PR, but does want fixing. Related: https://github.com/badges/shields/issues/9563
btw, I've been waiting for this fix to land for a looooong time :trollface:


Build command needs to be run twice to apply config.xml changes to appxmanifest

Bug Report
Problem
What is expected to happen?
Changes to the config.xml should be reflected in the AppxManifest.xml / package.*.appxmanifest file after running the build command.
What does actually happen?
Adding for example this configuration to the main config.xml:
<platform name="windows">
        <config-file parent="/Package/Capabilities" target="package.appxmanifest">
            <Capability Name="allJoyn" />
        </config-file>
    </platform>

And then building the application with cordova build windows -- --archs="x64" will:

Update the platforms\windows\config.xml correctly
Add the according element to the platforms\windows\windows.json file
Will not update the package.*.appxmanifest files

Running the cordova build windows -- --archs="x64" command a second time,

Will finally update the package.*.appxmanifest file

The build command needs to be run two times before the value is actually applied to the appxmanifest file.
Information

Environment, Platform, Device

Windows 10
Version information

Cordova 8.1.2
Cordova-windows 6.0.1 and 7.0.0
Checklist

[x] I searched for existing GitHub issues
[ ] I updated all Cordova tooling to most recent version
[x] I included all the necessary information above

Ugh, that sounds strange. Will try to reproduce.

Hm, I think I can not reproduce this:
I created the project this way:
E:\Projects\throwaway
λ cordova create cordovaWindows336
Creating a new cordova project.

E:\Projects\throwaway
λ cd cordovaWindows336\

E:\Projects\throwaway\cordovaWindows336<EMAIL_ADDRESS>
λ cordova platform add windows
Using cordova-fetch for<EMAIL_ADDRESS>
Adding windows project...
Creating Cordova Windows Project:
        Path: platforms\windows
        Namespace: io.cordova.hellocordova
        Name: HelloCordova
cp: no such file or directory: E:\Projects\throwaway\cordovaWindows336\node_modules\cordova-windows\node_modules\winjs\js\base.js

cp: no such file or directory: E:\Projects\throwaway\cordovaWindows336\node_modules\cordova-windows\node_modules\winjs\js\base.js

Windows project created with<EMAIL_ADDRESS>
Plugin 'cordova-plugin-whitelist' found in config.xml... Migrating it to package.json
Discovered saved plugin "cordova-plugin-whitelist". Adding it to the project
Installing "cordova-plugin-whitelist" for windows
Adding cordova-plugin-whitelist to package.json

Then I built once and commited everything to git:
E:\Projects\throwaway\cordovaWindows336 (master -> origin<EMAIL_ADDRESS>
λ cordova build windows
ENV var MSBUILDDIR is set C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin
Building project: E:\Projects\throwaway\cordovaWindows336\platforms\windows\CordovaApp.Windows10.jsproj
        Configuration : debug
        Platform      : anycpu
        Buildflags    : /p:AppxBundle=Never
        MSBuildTools  : C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin
buildProject spawn: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild [
  'E:\\Projects\\throwaway\\cordovaWindows336\\platforms\\windows\\CordovaApp.Windows10.jsproj',
  '/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal',
  '/nologo',
  '/p:Configuration=debug',
  '/p:Platform=anycpu',
  '/p:AppxBundle=Never'
] { stdio: 'inherit' }
  prebuild.js: Patching platform `10`
  - Injected `base.js` reference to `/www/index.html`
  - Removing /( *)(<script\s+(?:type="text\/javascript"\s+)?src="\/\/Microsoft.WinJS.2.0\/js\/base.js">\s*<\/script>)(\s*)/ from /
  tml
  - Removing /( *)(<script\s+(?:type="text\/javascript"\s+)?src="\/\/Microsoft.Phone.WinJS.2.1\/js\/base.js">\s*<\/script>)(\s*)/
  ndex.html
  CordovaApp.Windows10 -> E:\Projects\throwaway\cordovaWindows336\platforms\windows\AppPackages\CordovaApp.Windows10_<IP_ADDRESS>_anycp
  t\CordovaApp.Windows10_<IP_ADDRESS>_anycpu_debug.appx

Then I added the changes to config.xml you posted above and built again. This lead to the following git diff:
diff --git a/config.xml b/config.xml
index 7434b5e..faddf6e 100644
--- a/config.xml
+++ b/config.xml
@@ -23,4 +23,11 @@
         <allow-intent href="itms:*" />
         <allow-intent href="itms-apps:*" />
     </platform>
+
+    <platform name="windows">
+        <config-file parent="/Package/Capabilities" target="package.appxmanifest">
+            <Capability Name="allJoyn" />
+        </config-file>
+    </platform>
+
 </widget>
diff --git a/platforms/windows/AppPackages/CordovaApp.Windows10_<IP_ADDRESS>_anycpu_debug_Test/CordovaApp.Windows10_<IP_ADDRESS>_anycpu_debug.appx b/platforms/windows/AppPackages/CordovaApp.Windows10_<IP_ADDRESS>_anycpu_debug_Test/CordovaApp.Windows10_<IP_ADDRESS>_anycpu_debug.appx
index 583aea4..d0bcdbc 100644
Binary files a/platforms/windows/AppPackages/CordovaApp.Windows10_<IP_ADDRESS>_anycpu_debug_Test/CordovaApp.Windows10_<IP_ADDRESS>_anycpu_debug.appx and b/platforms/windows/AppPackages/CordovaApp.Windows10_<IP_ADDRESS>_anycpu_debug_Test/CordovaApp.Windows10_<IP_ADDRESS>_anycpu_debug.appx differ
diff --git a/platforms/windows/build/windows/debug/anycpu/win10/AppxManifest.xml b/platforms/windows/build/windows/debug/anycpu/win10/AppxManifest.xml
index 36e605f..dc972a7 100644
--- a/platforms/windows/build/windows/debug/anycpu/win10/AppxManifest.xml
+++ b/platforms/windows/build/windows/debug/anycpu/win10/AppxManifest.xml
@@ -39,6 +39,7 @@
   </Applications>
   <Capabilities>
     <Capability Name="internetClient" />
+    <Capability Name="allJoyn" />
   </Capabilities>
   <build:Metadata>
     <build:Item Name="SharedGUID" Value="9ebdb27f-d75b-4d8c-b53f-7be4a1fe89f9" />
diff --git a/platforms/windows/config.xml b/platforms/windows/config.xml
index e87390b..e32ba6a 100644
--- a/platforms/windows/config.xml
+++ b/platforms/windows/config.xml
@@ -15,4 +15,7 @@
     <allow-intent href="sms:*" />
     <allow-intent href="mailto:*" />
     <allow-intent href="geo:*" />
+    <config-file parent="/Package/Capabilities" target="package.appxmanifest">
+        <Capability Name="allJoyn" />
+    </config-file>
 </widget>
diff --git a/platforms/windows/package.phone.appxmanifest b/platforms/windows/package.phone.appxmanifest
index f63fb9f..42ccab2 100644
--- a/platforms/windows/package.phone.appxmanifest
+++ b/platforms/windows/package.phone.appxmanifest
@@ -35,5 +35,6 @@
     </Applications>
     <Capabilities>
         <Capability Name="internetClientServer" />
+        <Capability Name="allJoyn" />
     </Capabilities>
 </Package>
diff --git a/platforms/windows/package.windows.appxmanifest b/platforms/windows/package.windows.appxmanifest
index f331373..3646983 100644
--- a/platforms/windows/package.windows.appxmanifest
+++ b/platforms/windows/package.windows.appxmanifest
@@ -35,5 +35,6 @@
     </Applications>
     <Capabilities>
         <Capability Name="internetClient" />
+        <Capability Name="allJoyn" />
     </Capabilities>
 </Package>
diff --git a/platforms/windows/package.windows10.appxmanifest b/platforms/windows/package.windows10.appxmanifest
index 3bfe9ba..c265ee8 100644
--- a/platforms/windows/package.windows10.appxmanifest
+++ b/platforms/windows/package.windows10.appxmanifest
@@ -32,5 +32,6 @@
     </Applications>
     <Capabilities>
         <Capability Name="internetClient" />
+        <Capability Name="allJoyn" />
     </Capabilities>
 </Package>
diff --git a/platforms/windows/windows.json b/platforms/windows/windows.json
index 8bd1274..c5a6807 100644
--- a/platforms/windows/windows.json
+++ b/platforms/windows/windows.json
@@ -4,7 +4,41 @@
     "uninstalled": []
   },
   "config_munge": {
-    "files": {}
+    "files": {
+      "package.phone.appxmanifest": {
+        "parents": {
+          "/Package/Capabilities": [
+            {
+              "xml": "<Capability Name=\"allJoyn\" />",
+              "count": 1,
+              "id": "config.xml"
+            }
+          ]
+        }
+      },
+      "package.windows.appxmanifest": {
+        "parents": {
+          "/Package/Capabilities": [
+            {
+              "xml": "<Capability Name=\"allJoyn\" />",
+              "count": 1,
+              "id": "config.xml"
+            }
+          ]
+        }
+      },
+      "package.windows10.appxmanifest": {
+        "parents": {
+          "/Package/Capabilities": [
+            {
+              "xml": "<Capability Name=\"allJoyn\" />",
+              "count": 1,
+              "id": "config.xml"
+            }
+          ]
+        }
+      }
+    }
   },
   "installed_plugins": {
     "cordova-plugin-whitelist": {

That looks correct to me. Am I missing something?
Note that I am using Cordova CLI 9.0.0<EMAIL_ADDRESS>- maybe that makes a difference?

Ping @dominic-simplan

@janpio thank you for taking the time to investige. I can confirm your behaviour with an empty project, but I still get the described issue within my project, even with cordova 9.0.0.
I've setup a new project in order to find out what's causing this issue (https://github.com/dominic-simplan/cordova-windows-config).
While trying to reproduce the issue, I came across a strange behaviour which I don't understand and which might be related.
After running cordova prepare in the linked project, windows.json contains the following (because of the camera plugin):
"package.windows10.appxmanifest": {
  "parents": {
    "/Package/Capabilities": [{
        "xml": "<DeviceCapability Name=\"webcam\" />",
        "count": 1
      }
    ]
  }
}

Now I add this to the config.xml and build the project:
<platform name="windows">
	<config-file parent="/Package/Capabilities" target="package.appxmanifest">
		<Capability Name="allJoyn" />
	</config-file>
</platform>

The windows.json now contains
"package.windows10.appxmanifest": {
  "parents": {
    "/Package/Capabilities": [{
        "xml": "<Capability Name=\"allJoyn\" />",
        "count": 1,
        "id": "config.xml"
      }
    ]
  }
}

Why is the webcam capability gone? <config-file> should append the tag, shouldn't it? Even if I remove the <config-file> from the config.xml again, the according object in the windows.json is now empty:
"package.windows10.appxmanifest": {
  "parents": {
    "/Package/Capabilities": []
  }
}

Before I do any further investigation, I need to understand if this behaviour is correct or not.

Interesting observation! Possible the "merging" of multiple config file changes is broken or behaving undefined. (Unfortunately I am not sure what should happen here - but sure doesn't seem good... I would have expected it to contain both, right?) (Next thing to investigate could be to just install 2 plugins that both write into the same file/path/xpath and see if these also overwrite).

@knight9999 Might this be another case of https://github.com/apache/cordova/issues/95?

We are archiving this repository following Apache Cordova's Deprecation Policy. We will not continue to work on this repository. Therefore all issues and pull requests are being closed. Thanks for your contribution.


Unknown column 'id_paypal_order' in 'field list'

I have this error after updating the module to 5.1.x.
Unknown column 'id_paypal_order' in 'field list'

SELECT id_paypal_order
FROM ps_paypal_order
WHERE (id_order = 7524) LIMIT 1

Steps to reproduce:

Install Pretashop 1.6.x
Install paypal 3.11.x
Upgrade Prestashop to 1.7.6.x
Upgrade paypal to 5.1.2
Enable dev mode
Go to Admin orders and open one.

I'have take a look to the upgrades code from 3.11.0 to 5.1.2 and I did not find were the schema of the table paypal_order is update.
I think there is no schema update for this table, and some new fields are missing.

Hello,
Please pay attention that you can not use the version 3.x of PayPal module on PrestaShop 1.7. The core of the PrestaShop 1.6 and 1.7 is very different. So, PayPal has one version of the module for PS.1.6.x (v3.x) and another one for PS1.7 (v5.x).
It is not possible to use PayPal v3.x on PrestaShop 1.7 (and so it is impossible to update the module from 3.x to 5.x).
You have to uninstall the v3.x before migrating to PS1.7 (the details about previously created orders will be saved)
Once the migration to PS1.7 is done you have to install the v5.x of PayPal module.
Please do not hesitate to contact us if you have any other issues.
Best regards,

@tvorgul what if you already upgraded to 1.7? I have this issue but I can’t just downgrade PrestaShop to remove the module. Is there a way to manually remove the module? Like removing the ps_paypal* tables, etc?

Hello @bfontaine
You can try to download the zip of the PrestaShop 5.x and switch of folder. Upgrades files will be played and PayPal will work.
It's could be better to test in a testing environment.


I can't access the /crumbIssuer

when i create a job , The program runs to
Crumb crumb = getQuietly("/crumbIssuer", Crumb.class);
Will throw out exception :
org.apache.http.client.HttpResponseException: Not Found
What needs to be loaded If I want to be successful access   /crumbIssuer

Can give detailed information about Jenkins version you are using, what you have tried best would be having a code example ...

Unfortunately no feedback.


See only blank page with filters and without filters

NetBox version
v376
Topology Views version
v391
Steps to Reproduce
I set these filters

Expected Behavior
I want to see my topology.
Observed Behavior
Blank page

Can you see if the browser console shows any logs?

Don't think has something to do with it.

Did you actually press search on the topology page?

Sorry my mistake.


Off Topic (sorry!)

Hi, ytfzf support is pretty much dead and we've been trying to get a hold of the contributors.
Would you happen to know which environment variables are needed for ueberzug, kitty, sixel etc to display thumbnails correctly with ytfzf?
Whenever the user is switched with sudo  su - user the thumbnail display stops working entirely.
There must be some environment variables which are unset during the user switch but needed by ytfzf and thumb viewers.
WINDOWID is definitely one of them, but there must be more. Any idea maybe?

The days of caring for terminal image drawing are far behind me. Sorry.


how to backup my private auth key?

would you tell me the directorty the key is in?

make down
make up
make logs
find your key in logs.

Here is some info on how to find the key.
https://github.com/chainpoint/chainpoint-node/wiki/Frequently-Asked-Questions
We'll provide a method to import a backed up key shortly.


Changing Words in a file

In Q:43 you replace the words "tea&coffe" with "cake&toffee" which change in the purchases.txt file aswell. In the following questions with purchasese.txt the expected output still is with the words "coffee&tea". So no matter what you do, you get it wrong.

By default, sed will not change the input file itself. You'll need to use the -i option to write back the changes.
In the screenshot you've shown, -i option is NOT used, so I'm not sure how the input file got changed for you.

Its not a bug, must have been something with my client. Please close the issue, I fixed it with -i and placed it back as it was. Thank you for your answer. Happy Halloween


Support for TLS-only smart hosts.

When configured as a relay docker-smtp doesn't support a TLS-only smart host. TCP connection can be initiated on port 465 but then docker-smtp doesn't even try to initiate the TLS connection.

Hi  @p0xd1,
I am facing the same issue here, did you find any solution to this issue?

@ericqqqqq @p0xd1 any solution for TLS hosts?

@JHBalaji check this out. Try this branch, it worked for my needs.

@ericqqqqq I need 587 and this worked for me, https://hub.docker.com/r/juanluisbaptiste/postfix


Update/dependencies

The main motivation for these changes is due to the fact that crypto-mac = "^0.7" seems to have been yanked from crates.io, which hmac v0.7.0 depended on. Updating hmac to latest resolved the dependency issue. The api did change in this version, however, so fixes implemented. Non Tor tests pass, could not get Tor tests to work with env:
Tor version <IP_ADDRESS>.
Tor is running on Darwin with Libevent 2.1.12-stable, OpenSSL 1.1.1k, Zlib 1.2.11, Liblzma N/A, Libzstd N/A and Unknown N/A as libc.
Tor compiled with clang version 12.0.0

Let me know if there is anything else that should be addressed.

This PR seems to be fine, I'll merge it. Also I am going to get rid of openssl and v2 services and release a new version, which is backwards incompatible.


DropDown goes under next row

material-react-table version
2.13.0
react & react-dom versions
17.0
Describe the bug and the steps to reproduce it

add a group data
one column containing buttons by clicking the button dropdown should open.
The dropdown items are going under the next row

Minimal, Reproducible Example - (Optional, but Recommended)

Render a popper component.
make sure to open the dropdown

Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
None
Terms

[X] I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Use a portal or set the zIndex higher

For Popper Component zindex is not working.
On Mon, 23 Dec 2024, 19:46 Kevin Van Cott, @.***> wrote:

Use a portal or set the zIndex higher
—
Reply to this email directly, view it on GitHub
https://github.com/KevinVandy/material-react-table/issues/1300#issuecomment-2559787361,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BM443GFLOCAGGCLCEARSVA32HALKHAVCNFSM6AAAAABRWN5QH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJZG44DOMZWGE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Artikel

Can I use the if statement also for BIBTEXTYPE?

Please checkout the develop branch (2e6098d1ae27d076b6a59c3c51ae563ddbb342a0) and let me know if it handles your case. I added == to the if statements. So in your case it should work like so:
Artikel

Notice that I've used BIBTEXTYPEKEY and not BIBTEXTYPE which is set internally to defined values. The wiki was missing BIBTEXTYPEKEY updated wiki link. Also, @ARTICLE needs to be capitalized and have an @ symbol in the beginning.

Cool! This works nicely! Many thanks.
This allows me now to have a lable on the publication type per bibtex entry.
As soon as my page is ready, I will share it with you.

I am just wondering if you plan to merge this feature in the master branch?
Furthermore, it seems like the develop branch (2e6098d) an d all latest branches do not display special characters. e.g. {~n} or {'o}.
I would really appreciate if you can generate one version which contains the functionality
Artikel and displays special characters.
Many thanks in advance.

Of course! Just got a little busy. I've merged the == into master (2e6098d1ae27d076b6a59c3c51ae563ddbb342a0).
As for the displaying special characters,

Special characters are entered as {\"a} or {\"{a}} not \"{a}.

So you should escape the special character. This was found in Chapter 2 Helpful Tips
So, it works for me when doing {\~n}
That said, I do believe there are some lingering issues with the special character display. So I'll create a new issue #38 for generating a test for all the special characters that are supported by bibtex. However, this may take some time as I am in the middle of other work.

I'm closing this issue. Please refer to issue #38 if you are still having issues with displaying special characters.


Named pipes aren't supported out of the box

I am using Doppler to handle secrets and I am running doppler run --mount .env --command "while true; do sleep 1; done" which creates .env as a named pipe. dotenvy fails to parse anything from that file so I had to add the following as a workaround:
match File::open(".env") {
    Ok(file) => {
        dotenvy::from_read(file).ok();
    }
    Err(_) => {
        tracing::debug!("No .env file found");
    }
}

I wanted to ask whether you can look into supporting named pipes natively instead.

Can you find an example .env file?

Hi @ChristianIvicevic, is this still an issue?


connect send_slack_notification_sponsor_created to Sponsor.post_save …

…event
Your checklist for this pull request

⚠ 파이콘 한국 Contributing Guide를 꼭 준수해주세요.

[x] PR의 compare branch를 master나 develop로 생성하지 않아야 합니다. :smile:
[x] PR의 base branch는 develop으로 지정해야 합니다.
[x] Commit Message가 적절한지 확인해주세요
[ ] Lint나 Unit Test가 통과했는지 확인해주세요
[ ] 가급적이면 테스트 케이스를 작성해주세요

테스트 커버리지는 90% 이상을 유지해야 합니다.

Description
Sponsor 의 post_save 일때 name 과 level 이 있다면
send_slack_notification_sponsor_created 에서 notify_slack 을 호출한다.
PR에 관한 설명을 상세히 적어주세요
Thank you ❤

Codecov Report

Merging #59 into develop will decrease coverage by 0.25%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop      #59      +/-   ##
===========================================
- Coverage    90.64%   90.39%   -0.26%
===========================================
  Files           71       71
  Lines         1699     1717      +18
===========================================
+ Hits          1540     1552      +12
- Misses         159      165       +6

Impacted Files
Coverage Δ

api/models/sponsor.py
82.6% <100%> (+5.41%)
:arrow_up:

api/models/utils.py
44.44% <0%> (-30.56%)
:arrow_down:

Continue to review full report at Codecov.

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

Codecov Report

Merging #59 into develop will decrease coverage by 0.25%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop      #59      +/-   ##
===========================================
- Coverage    90.64%   90.39%   -0.26%
===========================================
  Files           71       71
  Lines         1699     1717      +18
===========================================
+ Hits          1540     1552      +12
- Misses         159      165       +6

Impacted Files
Coverage Δ

api/models/sponsor.py
82.6% <100%> (+5.41%)
:arrow_up:

api/models/utils.py
44.44% <0%> (-30.56%)
:arrow_down:

Continue to review full report at Codecov.

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


Mysql xtrabackup restore

See Trello: https://trello.com/c/AsknJrSt
What
Initially, to address comments made in Trello card.  Running the script in Integration produced different errors not relating to previous comments made in Trello.
Breakages in script:

Streamed data from gof3r to xbcrypt failed due to wrong data chunk size.  reference: https://github.com/mdkent/percona-xtrabackup/blob/master/src/xbstream_read.c
xbcrypt is incapable of handling multiple chunks of streamed data

How
Streamed data from gof3r must first go through xbstream -x when piping to xbcrypt.  This is due to xbcrypt not handling multiple chunks of data that well.
We changed the process to decrypt the data after it had been saved to disk. We then have xbcrypt iterate over each file.
We now change  directory to perform operations.
We modified the temporary directory structure for clarity.
Added flag --parallel to innobackupex to improve the performance of the process.

Good troubleshooting! I appreciate this isn't exactly the easiest restore script in the world. It all looks like it makes sense and I'm not really surprised by the xbcrypt thing.
The one thing that I am interested in though is the xtrabackup traversing issue. Full paths are provided throughout, so what errors did you see regarding that?
Otherwise great work getting this working! Did the different versions of xtrabackup end up making no difference?

Hey @surminus
Yep, sorry.  The traversing issue was due to xbcrypt not working.  Innobackupex evals the type (not name) of the files it needs and produces a rather confusing error message when the file is not what it expects.  Modified commit message.
Unfortunately, the version disparity was not relevant to the errors.  Worth addressing though!

I think this would be easier to review if the commit messages followed the styleguide to explain what was changing and why. For example for the first commit:
Change restore directories for MySQL Xtrabackup

https://trello.com/c/AsknJrSt

Tools from `percona-xtrabackup` toolset are bad at traversing the file system
and fail to find binary logs necessary for operations.

For the changes I can see here I'd probably structure the commits a bit like this:
Use full paths for running commands

[Not sure about this, was it not working before?]

Change restore directories for MySQL Xtrabackup

Tools from `percona-xtrabackup` toolset are bad at traversing
the file system and fail to find binary logs necessary for operations.

Use parallel flag for innobackupex

Decompressing can take a long time when working on a large dataset.

Refactor MySQL Xtrabackup to make use of newly added features to `govuk_puppet`

Remove conditional that checks for the existence of a lock.
The `govuk_puppet` script now allows for multiple locks to exist.

Call xbcrypt multiple times in MySQL Xtrabackup

`xbcrypt` is incapable of handling multiple chunks of streamed data.

Streamed data from `gof3r` must first go through `xbstream -x` when piping to `xbcrypt`.  This is due to ` xbcrypt ` not handling multiple chunks of data that well.

We changed the process to decrypt the data after it had been saved to disk. We then have `xbcrypt` iterate over each file.

I'm also a bit confused by the change to the mkdir -p. Is there a reason to remove the mkdir -p $dir and put it inside a conditional that checks whether the directory exists? It seems like that change is basically a no-op. Would the same result come from running this?
for dir in "$BASE_DIR" "$INCR_DIR"; do
  rm -rf $dir/*
  mkdir -p $dir
done

Hey @alexmuller,
I'm confused by your confusion?? :-)
What you're doing is removing contents of whatever $dir is and then running a mkdir -p on the directory structure that presumably already exists??
Sorry if it's not clear.

I'm checking whether or not the directory structure exists?
If any of the directories are missing? We create it with the loop.
Otherwise, we empty them.

Alternatively couldn't we just do mkdir -p $dir || rm -rf $dir/*?
Try to create the directory, and if it already exists, remove the contents?

I see your point but the exit status of mkdir -p $dir would be 0.

Oh yeah, my bad.

Ah sorry, just catching up. @alexmuller was suggesting a change that @deanwilson originally suggested and then was reverted for readability. I don't think it's worth blocking this change on a pretty trivial function.
The only other thing I think would be good to echo @alexmuller's comments on style would be to correctly title the commits because otherwise finding a specific commit would be more difficult (currently there are 4 commits called "MySQL Xtrabackup Restore").

The 3rd commit (5e185000e20333bdae77eda030366f4108996127) has a lot of changes to paths which I think makes it harder to see the --parallel change - I'm also not sure if those path changes are required or just nice to have.


The composer command is called require, and it will figure out the right version constraint by itself

You're right - thanks for the pull request!


fix upgrade problem caused by two way merge (#1602)

What problem does this PR solve?
cherry-pick #1602.
Check List
Tests

Unit test

Related changes

Need to be included in the release notes

/run-all-tests tidb=release-3.0 tikv=release-3.0 tidb-test=release-3.0


fix timeout issue with a pause on retry

[x ] I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested
When running embedding models in azure to create vector indexes there is a timeout even with ADA set to 240 TPM. Simply adding a 10s sleep (only on retry attempts) fixes this.
Thank you so much for all your amazing work!
Additional context & links

@mtmahe Any specific reason why it's set to 10 seconds?

@mtmahe – unfortunately this change would add a sleep to all retried requests, not just the ones you are looking to fix, so we cannot accept this change.
cc @kristapratico – sending a retry-after header from the azure API here might be helpful.

Hi @rattrayalex
Thanks for consider my request. Yes, a retry-after should work.


Giving multiple optflags raises unrecognized option error.

Steps to reproduce the behavior
It can be reproduced by executing the following command:
RUBY_CONFIGURE_OPTS='optflags="-O0 -fno-omit-frame-pointer"' ruby-build 3.3.0 ./

Expected vs. actual behavior
Expected
Although I found the same issue in the past, the problem was regarded as fixed then.
So, this command should also be successful.
(If ruby-build doesn't support taking optflags as its argument, please kindly close this issue.)
Actual
It raises the following error:
-> ./configure "--prefix=$HOME/.rbenv/versions/3.3.0" --enable-shared --with-ext=openssl,psych,+ optflags="-O0 -fno-omit-frame-pointer"
configure: error: unrecognized option: `-fno-omit-frame-pointer"'

It succeeds if I attempt to configure manually in the ruby repository.
(I attached the truncated manual build result in this section just in case 🙇 )
Manual Build Success Log(Truncate)
$ ./configure "--prefix=$HOME/.rbenv/versions/3.3.0" --enable-shared --with-ext=openssl,psych,+ optflags="-O0 -fno-omit-frame-pointer"
checking for ruby... /home/ec2-user/.rbenv/shims/ruby

...

---
Configuration summary for ruby version 3.4.0

   * Installation prefix: /home/ec2-user/.rbenv/versions/3.3.0
   * exec prefix:         ${prefix}
   * arch:                x86_64-linux
   * site arch:           ${arch}
   * RUBY_BASE_NAME:      ruby
   * enable shared:       yes
   * ruby lib prefix:     ${libdir}/${RUBY_BASE_NAME}
   * site libraries path: ${rubylibprefix}/${sitearch}
   * vendor path:         ${rubylibprefix}/vendor_ruby
   * target OS:           linux
   * compiler:            gcc
   * with thread:         pthread
   * with coroutine:      amd64
   * enable shared libs:  yes
   * dynamic library ext: so
   * CFLAGS:              ${optflags} ${debugflags} ${warnflags}
   * LDFLAGS:             -L. -fstack-protector-strong -rdynamic \
                          -Wl,-export-dynamic -Wl,--no-as-needed
   * DLDFLAGS:            -Wl,--compress-debug-sections=zlib
   * optflags:            -O0 -fno-omit-frame-pointer -fno-fast-math
   * debugflags:          -ggdb3
   * warnflags:           -Wall -Wextra -Wdeprecated-declarations \
                          -Wdiv-by-zero -Wduplicated-cond \
                          -Wimplicit-function-declaration -Wimplicit-int \
                          -Wpointer-arith -Wwrite-strings \
                          -Wold-style-definition -Wimplicit-fallthrough=0 \
                          -Wmissing-noreturn -Wno-cast-function-type \
                          -Wno-constant-logical-operand -Wno-long-long \
                          -Wno-missing-field-initializers \
                          -Wno-overlength-strings \
                          -Wno-packed-bitfield-compat \
                          -Wno-parentheses-equality -Wno-self-assign \
                          -Wno-tautological-compare -Wno-unused-parameter \
                          -Wno-unused-value -Wsuggest-attribute=format \
                          -Wsuggest-attribute=noreturn -Wunused-variable \
                          -Wmisleading-indentation -Wundef
   * strip command:       strip -S -x
   * install doc:         rdoc
   * YJIT support:        no
   * RJIT support:        yes
   * man page type:       doc
   * BASERUBY -v:         ruby 3.0.0p0 (2020-12-25 revision 95aff21468) \
                          [x86_64-linux]

Logs
Execution Log
$ RUBY_CONFIGURE_OPTS='optflags="-O0 -fno-omit-frame-pointer"' rbenv install 3.3.0
==> Downloading ruby-3.3.0.tar.gz...
-> curl -q -fL -o ruby-3.3.0.tar.gz https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 21.0M  100 21.0M    0     0  99.5M      0 --:--:-- --:--:-- --:--:-- 99.7M
==> Installing ruby-3.3.0...
-> ./configure "--prefix=$HOME/.rbenv/versions/3.3.0" --enable-shared --with-ext=openssl,psych,+ optflags="-O0 -fno-omit-frame-pointer"

BUILD FAILED (Amazon Linux 2 on x86_64 using ruby-build 20231225-2-g3b79c29)

You can inspect the build directory at /tmp/ruby-build.20240105075441.17243.qCq5KW
See the full build log at /tmp/ruby-build.20240105075441.17243.log

Build Log(/tmp/ruby-build.20240105075441.17243.log)
cd /tmp/ruby-build.20240105075441.17243.qCq5KW
==> Downloading ruby-3.3.0.tar.gz...
-> curl -q -fL -o ruby-3.3.0.tar.gz https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0.tar.gz
-> tar xzf ruby-3.3.0.tar.gz
cd /tmp/ruby-build.20240105075441.17243.qCq5KW/ruby-3.3.0
==> Installing ruby-3.3.0...
-> ./configure "--prefix=$HOME/.rbenv/versions/3.3.0" --enable-shared --with-ext=openssl,psych,+ optflags="-O0 -fno-omit-frame-pointer"
configure: error: unrecognized option: `-fno-omit-frame-pointer"'
Try `./configure --help' for more information
external command failed with status 1

I will close this issue as I can solve this is not a bug.
Sorry for disturbing you.

RUBY_CONFIGURE_OPTS is not able to pass configure values that have spaces, even if those values are quoted like in your example.
However, you may pass those values as arguments to ruby-build after a -- argument separator:
ruby-build 3.3.0 ./ -- optflags="-O0 -fno-omit-frame-pointer"

Thank you for your kind explanation! :bow:  :bow:


[Bug] Unable to cast DataGridSelectedItemsCollection to IList

I have an app that uses MVVM and a DataGrid. When I try to get the SelectedItems from the DataGrid when the selection changes, I get the follow error:
System.InvalidCastException: 'Unable to cast object of type 'Avalonia.Controls.DataGridSelectedItemsCollection' to type 'System.Collections.Generic.IList`1[NickvisionTagger.Models.MusicFile]'.'
My XAML is shown below:
<DataGrid Name="ListMusicFiles" AutoGenerateColumns="False" CanUserReorderColumns="False" CanUserSortColumns="False" GridLinesVisibility="Horizontal" IsReadOnly="True" SelectionMode="Extended" Items="{Binding MusicFolder.Files, Mode=TwoWay}">
  <DataGrid.Columns>
	  <DataGridTextColumn Header="Filename" Binding="{Binding Filename}"/>
	  <DataGridTextColumn Header="Title" Binding="{Binding Title}"/>
	  <DataGridTextColumn Header="Artist" Binding="{Binding Artist}"/>
	  <DataGridTextColumn Header="Duration" Binding="{Binding DurationAsString}"/>
	  <DataGridTextColumn Header="Comment" Binding="{Binding Comment}"/>
	  <DataGridTextColumn Header="Path" Binding="{Binding Path}"/>
  </DataGrid.Columns>

  <i:Interaction.Behaviors>
	  <ia:EventTriggerBehavior EventName="SelectionChanged" SourceObject="{Binding #ListMusicFiles}">
		  <ia:InvokeCommandAction Command="{Binding ListMusicFiles_SelectionChangedCommand}" CommandParameter="{Binding ElementName=ListMusicFiles, Path=SelectedItems}"/>
	  </ia:EventTriggerBehavior>
  </i:Interaction.Behaviors>
</DataGrid>

Here is the C# setup in my view model:
public DelegateCommand<IList<MusicFile>> ListMusicFiles_SelectionChangedCommand { get; init; }

public MainWindowViewModel(ServiceCollection serviceCollection)
{
    ...
    ListMusicFiles_SelectionChangedCommand = new DelegateCommand<IList<MusicFile>>(ListMusicFiles_SelectionChanged);
}

private void ListMusicFiles_SelectionChanged(IList<MusicFile> selectedItems)
{

}

I've also tried changing the parameter to IList<object>, in which i get the same error.

I've also tried changing the parameter to IList<object>, in which i get the same error.

Then change it to DataGridSelectedItemsCollection and you don't get an error. Alternatively why don't you subscribe to Datagrid's SelectionChanged event?!

DataGridSelectenItensCollection doesn't exist as a type in my project even with using Avalonia.Controls
And I am subscribing to it just via MVVM

It's IList, but not IList.
For IList you would need to .Cast() it to the specific type.

@maxkatz6 Alrighty but then what can I use for the parameter as DataGridSelectedItemsCollection doesn't exist.

IList?


⚠ SceneTime has degraded performance

In 72da260, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1716 ms

Resolved: SceneTime performance has improved in 601e965 after 6 minutes.


Installing MatBlazor 1.3.0 causes the default app to fail

When using 3.0.0-preview6-27804-01 just installing the Nuget MatBlazor 1.3.0 causes Main to fail.
To reproduce. Create the default Blazor App, install MatBlazor 1.3.0 and try to run the app.
At the line in main "CreateHostBuilder(args).Build().Run();" I get an Unhandled Exception with
System.TypeLoadException: 'Could not load type 'System.Text.Json.JsonValueType' from assembly 'System.Text.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.'

Ok just a note. MatBlazor 1.2.0 works with Preview 6. MatBlazor 1.3.0 requires preview 7. Don't know why Nuget loaded this for Preview 6, it should have been disallowed.
Closing this.


feat(AlgebraicGeometry/EllipticCurve/DivisionPolynomial): define division polynomials

[x] depends on: #10814

Since we need both univariate and bivariate division polynomials, here is my suggestion for the naming:

φ, ω, and ψ will be the bivariate versions defined in the usual sense using normEDS
Ψ₂Sq, Ψ', ΨSq, and Φ will be the univariate versions defined ad-hoc using preNormEDS
Ψ will be bivariate, but defined using the univariate Ψ', which will be congruent to ψ in the coordinate ring
I'll make their definitions as clear as possible in the module docstring.

I only moved the files into a subdirectory in latest commit, while the changes reflecting the suggestions are in the previous commit. Note that there seems to be a weird bug with neg lemmas not recognising the negation in R[X][Y] in lines 429 and 430 without supplying the type.

Don't we need the map lemmas for that? I think I started #13399 pretty much immediately after I realised this. I suggest keeping the PR as it is and continue there.

This is great, thanks!
bors merge


feat: add ability to specify uri origin

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add support for waitForElementNotExist

Port of @aaarichter's work in https://github.com/groupon/testium/pull/146

The docs should be updated to show waitForElementNotExist, but they haven't been ported over yet. Let's just keep a note of it.
:+1:

I'll add this to https://github.com/groupon/testium/pull/171.

v2.1.0


Feature request: Separate Raw Events and Events

I have several different Raw Events [Audit Raw Events] [List Raw Events] etc.
Currently all Raw Events and translated Events are stored under the same path.
I would like to store (any) Raw Events on a slow file system and all Event data on a Fast file system such as SSD.
I.e.
/stroomdata/Raw_Events/Audit_Raw_Events/hostname/etc
/stroomdata/Raw_Events/List_Raw_Events/hostname/etc
/stroomdata/Events/hostname
Where /stroomdata/Raw_Events is mounted to a slow file system and
/stroomdata/Events is mounted to a fast file system
Cheers

To fulfil this request in the most flexible way I believe there should be data storage policies that can be configured to define where streams matching various criteria should be stored, e.g. it should be possible to create policies that allow storage of different stream types in different paths (and maybe even volumes), it should also be possible to get data for specific feeds to write to specific paths.
The reason for preferring policy based decisions is that the concept of feeds as being a special attribute of a stream is being deliberately eroded. Instead the future data store will 'tag' streams with various user configurable attributes where attributes like feed and stream type will exist by default. This approach will allow for retagging streams if needed and provide richer stream selection/finding capability. However it will need to be determined what happens to streams in various paths if the streams tags are changed or the stream storage policies are altered. I suspect a background task should relocate streams where possible in the event of any change.

Sounds like there are a few options available. May I leave it up to the developers for consideration? Cheers


[WIP] Spinner

It logs every step of the process and when something fails it shows the last log on red.

@kamilkisiela , ready to merge?


[Incident] api.nuget.org is failing for some requests

Impact
It's more difficult to complete my work
Describe the bug
While restoring packages from https://api.nuget.org/v3/index.json, you may encounter request timeouts or errors. This is an active incident that the NuGet.org team is investigating.
If you are facing an issue, please post a comment here with your approximate geographic location (country) and the specific error you are encountering.

Issue on own hosted devops build agent (Ubuntu 20.04), location Sweden
"/azp/_work/1/s/src/AzureFunctions/DeviceEventHandler/DeviceEventHandler.csproj" (Restore target) (1) ->        (Restore target) ->           /azp/_work/_tool/dotnet/sdk/6.0.100/NuGet.targets(130,5): error : Failed to download package 'System.Linq.Expressions.4.1.0' from 'https://api.nuget.org/v3-flatcontainer/system.linq.expressions/4.1.0/system.linq.expressions.4.1.0.nupkg'. [/azp/_work/1/s/src/AzureFunctions/DeviceEventHandler/DeviceEventHandler.csproj]        /azp/_work/_tool/dotnet/sdk/6.0.100/NuGet.targets(130,5): error : The SSL connection could not be established, see inner exception. [/azp/_work/1/s/src/AzureFunctions/DeviceEventHandler/DeviceEventHandler.csproj]        /azp/_work/_tool/dotnet/sdk/6.0.100/NuGet.targets(130,5): error :    Received an unexpected EOF or 0 bytes from the transport stream. [/azp/_work/1/s/src/AzureFunctions/DeviceEventHandler/DeviceEventHandler.csproj]          /azp/_work/_tool/dotnet/sdk/6.0.100/NuGet.targets(130,5): error : The feed 'NuGetOrg [https://api.nuget.org/v3/index.json]' lists package 'System.Linq.Expressions.4.1.0' but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again. [/azp/_work/1/s/src/AzureFunctions/DeviceEventHandler/DeviceEventHandler.csproj]        /azp/_work/_tool/dotnet/sdk/6.0.100/NuGet.targets(130,5): error :   Unable to find package 'System.Linq.Expressions.4.1.0'. [/azp/_work/1/s/src/AzureFunctions/DeviceEventHandler/DeviceEventHandler.csproj]

GitHub action is failing at nuget restore step with below error message.
Failed to download package 'Dapper.2.0.123' from 'https://api.nuget.org/v3-flatcontainer/dapper/2.0.123/dapper.2.0.123.nupkg'.
  An error occurred while sending the request.
    Unable to read data from the transport connection: Connection reset by peer.
    Connection reset by peer

@joelverhagen GitHub action is working now. Thanks for the quick resolution. 👍🏼

I'm getting intermittent failures on 7 Sep 2022 15:00 - 17:00 UTC trying to download packages from a Microsoft hosted DevOps agent in the UK South region using the image "windows-latest". e.g.
##[error]C:\hostedtoolcache\windows\dotnet\sdk\6.0.400\NuGet.targets(132,5): Error : Failed to download package 'Microsoft.AspNetCore.Cryptography.Internal.2.2.0' from 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.cryptography.internal/2.2.0/microsoft.aspnetcore.cryptography.internal.2.2.0.nupkg'.
The SSL connection could not be established, see inner exception.
  Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
  An existing connection was forcibly closed by the remote host.
C:\hostedtoolcache\windows\dotnet\sdk\6.0.400\NuGet.targets(132,5): error : Failed to download package 'Microsoft.AspNetCore.Cryptography.Internal.2.2.0' from 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.cryptography.internal/2.2.0/microsoft.aspnetcore.cryptography.internal.2.2.0.nupkg'. [D:\a\1\s\App\<myprojecthere>]
C:\hostedtoolcache\windows\dotnet\sdk\6.0.400\NuGet.targets(132,5): error : The SSL connection could not be established, see inner exception. [D:\a\1\s\App\<myprojecthere>]
C:\hostedtoolcache\windows\dotnet\sdk\6.0.400\NuGet.targets(132,5): error :   Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.. [D:\a\1\s\App\<myprojecthere>]
C:\hostedtoolcache\windows\dotnet\sdk\6.0.400\NuGet.targets(132,5): error :   An existing connection was forcibly closed by the remote host. [D:\a\1\s\App\<myprojecthere>]
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.cryptography.internal/index.json'.
  A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (api.nuget.org:443)
    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.cryptography.internal/index.json'.
  The SSL connection could not be established, see inner exception.
    Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
    An existing connection was forcibly closed by the remote host.
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.cryptography.internal/index.json'.
  A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (api.nuget.org:443)
    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.cryptography.internal/index.json'.
  A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (api.nuget.org:443)
    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
  Retrying 'FindPackagesByIdAsync' for source 'https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.cryptography.internal/index.json'.
  The SSL connection could not be established, see inner exception.
    Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
    An existing connection was forcibly closed by the remote host.

In most cases an attempt is succeeding within the 5 retries it makes and the build still completes, but sometimes as per the log above, it fails all 5 attempts.

This incident has was mitigated as of September 9th. If you are still facing additional problems, please don't hesitate to contact us or by opening a new issue.


why must use the react-redux package，can remove this?I do not want to add these packages into my code for this purpose

Already removed in version 3.1.5

@sunnylqm #40


Add candlestick-chart icon/bar-chart-big variants

Nice icons @danielbayley ! Can you post a design of the barcharts with the smaller bar reduced in size. Maybe it makes it more readable on 100%.

Done…

I think it's better, but maybe we could easily go even shorter?

I think it's better, but maybe we could easily go even shorter?

@karsa-mistmere Ok, so now they proportionally match the https://lucide.dev/icons/?search=align icons…

I think it's better, but maybe we could easily go even shorter?

@karsa-mistmere Ok, so now they proportionally match the https://lucide.dev/icons/?search=align icons…

Ooooh, nice catch on consistency! Yes, it's perfect this way. 😊


SONRISATECHNOLOGIES- position not available in Romania

ENVIRONMENT: production
URL: https://scrapers.peviitor.ro/
Browser: Chrome
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:
1.Open the URL in the browser.
2. Search for "sonrisatechnologies" Company
3. Click on "Run Scraper" button
4. Click on the  "sonrisatechnologies" careers button.
5. Check the job locations.
Expected results
Job locations should be the same on Scrapers-UI as on the company website.
Actual results
Job is displaying location in Romania, however on the careers page location is in Budapest- fully remote and on-site
Attachments:

Fixed can you retest?

After re-testing, API error status is displayed.

Fixed can you retest?

Retested ✅


fix(actions): Allows binding of mappings that use special chars

Allows use of bindings such as  etc.

Hi @prichrd - Nice plugin! I'm just switching from nvim-tree to using netrw, and I'm setting up some custom mappings. I noticed when I map anything with my '' prefix (or anything with special chars in lua) that the dispatch function parses it incorrectly.
I think adding in escape sequences to any special chars should solve this. Then on the side of the dispatch function, simply remove the escapes again in the callback.

Hey @Issafalcon,
Thank you for your contribution! The escaping you are proposing makes loads of sense. The addition of string commands is also very nice. Before merging, I'll fix the formatting to remain consistent with the rest of the codebase, but hey, good job!

Nice one! Thanks. Yeah, I got lazy with the formatting :smile:
Glad you like the addition!


Check index to suppress invalid access

Escecially when calculation error is large, ir get a larget value than il.
So, the method access threshold[ir] before assigining threshold[il]. It causes an error.

LGTM!


Improve visibility of focus state for search box

Prompted by discussions with the NHS Frontend team (https://github.com/nhsuk/nhsuk-frontend/issues/679), improve the visibility of the focus state for the search box by adding a black (#0b0c0c) border between the white text input and the yellow focus outline.
Without this change, the only part of the focus indicator that meets colour contrast is the outermost 1px which change from black to white as the input ‘grows’ – the other 2px of the 3px outline change from white to black.
After this change, the entire 5px comprised of the border and outline meet contrast, as the 2px border changes from white to black (19.58), and the 3px outline causes a change from black to yellow (14.54).

:heavy_check_mark: You can preview this change here:
:hammer: Explore the source changes: b0812c53303f5a177dcd654002008ea8bceddf11
:mag: Inspect the deploy logs: https://app.netlify.com/sites/govuk-design-system-preview/deploys/5ff832fa36cebb0007bda3fe
:sunglasses: Browse the preview: https://deploy-preview-1444--govuk-design-system-preview.netlify.app

:heavy_check_mark: You can preview this change here:
:hammer: Explore the source changes: b0812c53303f5a177dcd654002008ea8bceddf11
:mag: Inspect the deploy logs: https://app.netlify.com/sites/govuk-design-system-preview/deploys/5ff832fa36cebb0007bda3fe
:sunglasses: Browse the preview: https://deploy-preview-1444--govuk-design-system-preview.netlify.app

@christopherthomasdesign something like https://search-focus-state-alt--govuk-design-system-preview.netlify.app/?

@christopherthomasdesign something like https://search-focus-state-alt--govuk-design-system-preview.netlify.app/?


Proxy issue on new connection

On lib/master.js:15. Due to some proxy issue, connection.remoteAddress can be null/undefined. So function hash will lead to fatal error (server throw error and stop)
Please help me on this issue

Hi, @tienlx93 !
If you're behind an additional proxy, chances are, the valid IP is in the X-Forwarded-For header, but master process does not even start reading a socket to get this value, so it's a bit of a problem here. Does that happen all the time or in some rare cases only (like in that SO question)? In the latter case we can add a quick fix: say, give all these strange connections to the first worker. Would it be acceptable for you?

Thanks for your response.
Only in rare cases, the IP is invalid.
So please give a option to choose whether give strange connection to first worker, or return a error HTTP status to user for us for later uses.
Thanks.


Lists aren't updated with new information

It looks like the lists aren't updated with new information. Like list 27 i'm missing the B8 as value.
Will there be any update on this?

Hi,
Sorry I haven't done an issue update for a while. It has been updated the latest issue 55 now.


install local files with wildcards and/or entire folder recursively

I have kept all my custom typings in a folder called typings-custom. I am using typings install xyz/abc=file:app\typings-manual\xyz\abc.d.ts --global -S command to install all typings one by one. Is there a way to specify wildcards or an entire folder and all the typings are installed recursively?
Currently I am using a batch file to simulate this. Is there a better way?

Store them once in typings.json? That's what -S/--save is for. Just use typings install subsequent times.

Yes, I am storing them in typings.json, but I have like 35 files in a folder and I want to use them all at once. Moreover there is one .d.ts which references all these 35 files, but I cannot reference it because typings is eventually going to strip off the ///reference tags. So I am requesting a feature where I can just say /*.d.ts for a folder (either bower. npm or custom file) and typings would go and install all the .d.ts files in that folder.

Sorry, it's not going to be implemented. It just wouldn't work over HTTP or other protocols. Plus, there's no real value, if you have 35 files you're probably writing your definitions incorrectly. What are you trying to type and why are they all global definitions? Should the be external module definitions instead?

You are right, I dont like the design of outputting multiple definition files. They are provided by another team to us. They have created a reusable components, and those components outputs a d.ts file for each sub-component. I would love if they can provide me a combined d.ts file or a tsconfig.json file with all the files listed in the files property.

Do they need to be global files? One thing that might actually work, though I haven't used it before, is the files property in a typings.json file that you use to install globally. That would allow you to install all the definitions files in one install step.


Manage merge request event

When a merge request is received, comment JIRA issue as it has been done for push event.

That'd be really great indeed. The one feature missing to have this getting perfect :)
Thanks for sharing this integration, really

I've reviewed GitLab and BitBucket, and this is the only feature GitLab is really missing compared to BitBucket.
In Jira you can simply add a 'Trigger' on Create Pull Request and Merge Pull Request in your workflow.
So depending on the events the issue will follow the transition.
Do you expect this feature to be implemented any way soon?


Setting cookie while mocking response

Hello,
I'm attempting to create a really simple mock server which sets cookies when I have specific text in my POST body. When I try to create out the response, the cookie isn't being set. Am I wrong in thinking that the cookies will be set on the browser?
Here's my code:
private static ClientAndServer mockServer;
final static Logger logger = LoggerFactory.getLogger(MockAuthServer.class);
public static void main( String[] args )
{
  logger.info("Mock server started");
    mockServer.startClientAndServer(1080);
    createPostExpectation();
}

public static  void createPostExpectation() {
  logger.info("Mock server created expectation at /authenticate");
  new MockServerClient("localhost", 1080)
  .when(
      request()
          .withMethod("POST")
          .withPath("/authenticate")
          .withBody("username:user")
  )
  .respond(
      response()
          .withStatusCode(200)
          .withBody("The POST request contained the sequence user. Setting the cookie")
          .withCookie("login", "mockCookie")
  );
}

I'm using the shade plugin to point the class where this code lives, and then running java -jar from within a Docker container.
When I hit the POST endpoint, I see the response body, but the cookie isn't set.
If the cookie isn't set in the browser this way, is there a recommended way that I could do that for the duration of the session?
Thanks,
Shashank

I can not reproduce you issue.  I can use MockServer to create a cookie in the browser which is show in the screen shot below from Chrome:

I am using the following code, I changed the POST to a GET to make it simple to hit from Chrome but otherwise I code is identical:
package org.mockserver;

import org.mockserver.integration.ClientAndServer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import static java.util.concurrent.TimeUnit.MINUTES;
import static org.mockserver.model.HttpRequest.request;
import static org.mockserver.model.HttpResponse.response;

/**
 * @author jamesdbloom
 */
public class Bug573 {
    private final static ClientAndServer clientAndServer = ClientAndServer.startClientAndServer(1080);
    private final static Logger logger = LoggerFactory.getLogger(Bug573.class);

    public static void main(String[] args) throws InterruptedException {
        createPostExpectation();
        MINUTES.sleep(10);
    }

    private static void createPostExpectation() {
        logger.info("Mock server created expectation at /authenticate");
        clientAndServer
            .when(
                request()
                    .withPath("/authenticate")
            )
            .respond(
                response()
                    .withStatusCode(200)
                    .withBody("The POST request contained the sequence user. Setting the cookie")
                    .withCookie("login", "mockCookie")
            );
    }
}

In addition if I use your exact code with curl I get the following output which shows the correct set-cookie header being added:
$curl -v -k https://localhost:1080/authenticate --data 'username:user'; echo
> POST /authenticate HTTP/1.1
> Host: localhost:1080
> User-Agent: curl/7.61.0
> Accept: */*
> Content-Length: 13
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 13 out of 13 bytes
< HTTP/1.1 200 OK
< connection: keep-alive
< content-length: 64
< set-cookie: login=mockCookie
<
* Connection #0 to host localhost left intact
The POST request contained the sequence user. Setting the cookie

Please provide more information to help me understand what your issue is.

Hi James,
Thank you for the quick reply. I was using the POSTMAN chrome app to check whether the cookie was being set or not, and it wasn't. When I tried with curl, I see the cookie being set, and the see the cookie being set when I use curl.
Maybe it's just a POSTMAN thing, I believe the tool is doing the right thing here.
Thank you for your time, I'll mark this question as answered.
Thanks,
Shashank


Rename CUDAFolds -> FoldsCUDA

I'm curious is this a replacement package for DaggerFolds? That I note is inconsistently named.
And with CUDA dominant, is AMD just not considered much? Or might some CUDA packages, such as this one work for despite the name?

Hi, I just noticed your comment. Yeah, I better rename DaggerFolds as well.
FoldsCUDA is based on CUDA.jl so it's very CUDA-specific. For other GPU vendors like AMD, I think I'll try KernelAbstractions.jl first as a next step and use it as a compatibility layer. This way, I don't need to implement a similar thing for every $(X)GPU.jl package.  I don't know if there are some big performance overheads but I can use FoldsCUDA.jl for a benchmark to get a rough idea of the possible performance losses.


Most GET Auth calls return status "invalid"

Hi,
I have a authentication issue issue with the implementation v1.0.1? (GET Auth)

Very rarely a certificate is created (as secret).
Do you know about any issue?

I found out what the problem was -> staging Environment is currently broken ->
https://community.letsencrypt.org/t/certificates-orders-are-failing-with-500-error/181064/5
On prod it works, but only if I give enough time to the "Ingress propagation". Therefore I would like to create a PR making the propagation time configurable just like the rest of this great solution.

@ptik31 If you're up for it, I suggest exploring if a different solution exists for this. Specifically: I wonder if the nginx ingress controller adds some kind of metadata to the ingress object once it has read and applied the change. If this is the case then the best solution would be:

Create the ingress
Watch the ingress object for changes (and periodically check the ingress object)
Once nginx adds its metadata confirming the change is propagated, continue with the process

If you find such a metadata that can be checked, I'd be happy to help implement it.

In the meanwhile it has been fixed


Add option to reset 'filesToInclude'

Once this extension has search the current file it would be nice to have a option for clearing out 'filesToInclude' field so one can search the whole workspace again.
I see a similar issue has already been made here: https://github.com/shibayu36/vscode-search-in-current-file/issues/3.
Let me know if I can help out with this, or if you can take a look at implementing this.

Sorry for my late response.
Is your usecase the same as https://github.com/shibayu36/vscode-search-in-current-file/issues/3#issuecomment-1425556121 ?  Can this comment solve your request?

That looks like something that would work, but I have not tested it. I ended up switching to editor.action.nextSelectionMatchFindAction and editor.action.previousSelectionMatchFindAction for searching in-files.


Validation of traub model with NMODL

Repository of traub model is :
git checkout https://github.com/pramodk/nrntraub  -b icei

@pramodk This could be closed since the validation was done with the right results if I remember correctly?

This needs to be re-done considering bug fixes we have done. The notes/instructions are bit outdated. (Without trying myself), steps should be:

# install neuron
1. Install NEURON + CoreNEURON + MOD2C with GPU support enabled
2. Install NEURON + CoreNEURON + NMODL with GPU support enabled
3. Install NEURON + CoreNEURON + NMODL with GPU support enabled and sympy solver (optional, ask Ioannis about this)

# prepare mod file directory
mkdir coredat
mkdir modcore
cp mod/*.mod modcore
rm modcore/ri.mod

# for a given installation of NEURON, compile mod files
nrnivmodl -coreneuron modcore

# run from repository

# run neuron first
export HOC_LIBRARY_PATH=`pwd`/hoc
./x86/special -c mytstop=100 run.hoc

# run coreneuron on cpu or gpu
./x86/special -c mytstop=100 -c coreneuron=1 run.hoc

# compare spike output
sh compare.sh out1.dat out0.dat | more

IIRC, run.hoc needs to be updated in order to lunch CoreNEURON. See the implementation here.


Unreadable font in "New Playlist" window (dark theme)

OS: Linux (Ubuntu 16.04)
Issue Descriptions: When using the dark theme, the font in the "New Playlist" window's text fields is (basically) unreadable. The font is a dark grey colour just a few shades lighter than the background. The issue does not exist for the light theme.
I've attached a screenshot to show what I'm seeing.

Steps to Reproduce:
(1) Turn on dark theme
(2) Click the "Create a playlist" plus icon in the playlist menu.
(3) Type some text into the Name and/or Description boxes.

This is fixed in the latest versions, please update.


SUREFIRE-1426 Find all fork errors in the build output

The previous solution was missing "Error occurred in starting fork"
messages.

Integrated, thanks @danberindei


Configuration File

Description
As an admin deploying an instance of the tool, I want all admin-configurable settings to be exposed into a single configuration file, so I can easily change importing configuration settings.
Acceptance Criteria

a configuration file exists and includes settings for:

the root URL for help content
the list of available document markings
the list of content registries

the configuration file is in a machine-readable format
the configuration file format can be expanded as needed to accommodate additional settings as the tool's capabilities grow
the application is able to read and use the registry files

Proposed Solution
Implement a config.json file such that it is available to the back-end modules at startup and can either be:

exposed to the front-end modules; or
served to the front-end modules by the back-end

Additional Notes
No response
Implementation

[ ] I can (or plan to) submit a pull request to implement this
[ ] Implementing this may result in a breaking change

Suggested config.json File Format
{
    "registries" : [
        {
            "title" : "[string]",
            "gui-url" : "[uri]",
            "api" : {
                "url" : "[uri]i",
                "specification" : "[token]",
                "oauth-token" : "[string/auth-token]"
            }
        }
    ],
    "markings" : [
        "1" : "[string]",
        "2" : "[string]"
    ],
    "help" : {
        "root-url" : "[uri]",
        "support-url" : "[uri]",
        "support-email" : "[email-address]
    },
    "custom-help" : {
        "root-url" : "[uri]",
        "support-url" : "[uri]",
        "support-email" : "[email-address]
    }
}

Example
{
    "registries" : [
        {
            "title" : "Registry Name/Title",
            "gui-url" : "https://www.example.com/gui",
            "api" : {
                "url" : "https://api.example.com/",
                "specification" : "open-api/oscal-rest-api",
                "oauth-token" : "[token]"
            }
        },
        {
            "title" : "Registry Name/Title",
            "gui-url" : "https://www.example.com",
            "api" : {
                "url" : "https://api.example.com",
                "specification" : "open-api/oscal-rest-api",
                "oauth-token" : "[token]"
            }
    ],
    "markings" : [
        "1" : "Sensitive but Unclassified (SBU)",
        "2" : "For Official Use Only (FOUO)",
        "3" : "Personally Identifiable Information (PII)"
    ],
    "help" : {
        "root-url" : "https://github.com/EasyDynamics/oscal-react-library/wiki/Help",
        "support-url" : "https://github.com/EasyDynamics/oscal-react-library/wiki/Support",
        "support-email"<EMAIL_ADDRESS>    },
    "custon-help" : {
        "root-url" : "https://my.org/Help",
        "support-url" : "https://my.org/Support",
        "support-email"<EMAIL_ADDRESS>    }
}


Dynamic work-in-progress on console by default

Expected Behavior
The default behavior of the console shall be that it shows only the number of lines necessary for the parallel work-in-progress. That is, if all operations are processed serially, the console only shows 1 line; it adds lines as needed dynamically.
Current Behavior
If --parallel isn't on, we only show 1 item in progress (even though we have test workers and other stuff running already)
Context
ParallelismConfigurationCommandLineConverter and CommandLineActionFactory are the interesting spots for this.

This should be implemented as growing the worker lines as needed until we cap to half the size of the console in height. Care should be taken to minimize the number of time we check the console size.

Closing as delivered!


[$500] iOS - Chat - Screen flickers after second double tap on large PDF file

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.3.92-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation: @
Action Performed:
Pre-requisite: user must be logged in.

Go to any chat.
Send a large PDF file.
Tap on the PDF preview.
Double tap on it to zoom in.
Double tap again.

Expected Result:
With the second double tap, the view should zoom in without any visual issues.
Actual Result:
After the second double tap, the screen flickers.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native
https://github.com/Expensify/App/assets/115492554/e6420fb2-7cad-47f1-be35-dbb4ad4af60e

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01088b41c7fad72c6c
Upwork Job ID:<PHONE_NUMBER>582775296
Last Price Increase: 2023-10-27

@situchan can you please review the proposal above? Thanks!

@alex2bc can you please provide the followings?

test pdf
video before fix
video after fix
method for "empty double tap gesture handler"

@alex2bc thanks for providing details. Have you tried to find any open issue in react-native-pdf?
It's ideal to fix this in upstream. We can try that first before applying patch.

Hey @situchan, can you please follow up? Thanks!

Was expecting ideal fix.
@alex2bc can you please try to raise issue/PR in upstream repo?
We can give that a try first.

Waiting for upstream fix

@situchan @alex2bc, when should we expect to have the new version released? Should I change this issue to weekly?

waiting for version bump on upstream

Not overdue

Let's go with @alex2bc's proposal.
@alex2bc's upstream PR was merged and published. So the remaining work here is to bump react-native-pdf version 6.7.1 > 6.7.2
🎀 👀 🎀 C+ reviewed

@alex2bc I didn't ask you to create PR. Should be approved by engineer.
Btw, android build is failing for me

Assigning @alex2bc to the issue.

@situchan can you please complete the list above? Thanks!

Payments are processed in Upwork.


Single point space

It seems like the one-point space is a counterexample to some otherwise obvious implications (e.g. https://topology.jdabbs.com/theorems/I000088 says that a path connected space is not totally path disconnected, but the one-point space is both) due to vacuous quantification over pairs.
Excluding empty set as a topological space is acceptable for most math, but I don't think we can say the same about the one-point space.
I suggest adding the one-point space to the database, along with the property of having more than one point. I'm not sure whether it is better to assert the properties of the one-point space, or to add theorems deducing various properties from one-pointedness.

Yep, this doesn't surprise me. Our solution was to add the trivial/indiscrete property: https://github.com/pi-base/data/blob/master/properties/P100052.md
You are correct that a one-point space should be added if it's not already in there. It would be the unique space which is both trivial and discrete. Right now https://topology.pi-base.org/ is having server issues so it's hard for me to conveniently look things up but I'll look into this and your PR in August.


fix: scrollable area for iOS

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add SystemContextProvider to context providers so that users can use …

PR Title: Feature: System Context Provider
This PR introduces a new context provider, the SystemContextProvider. This provider is designed to reference the operating system and CPU information.
Impact
With the addition of the SystemContextProvider, users can now reference their operating system and CPU information. This will be particularly useful in scenarios where system-specific information is necessary.

I totally misread this to mean "system message" context provider, as in "let's change the system message for the whole thread, and discard any prior system message updates"
What do you think about renaming this to /os instead?

@rootedbox looks nice! I agree with Paul about naming this "os" to a) avoid slight confusion and b) make it faster to type. Other than that good to merge


Add file for opening PRs upstream

Add a new Actions workflow that will copy PRs to rocm-main labeled with open-upstream and set the copy's base branch to upstream main. The workflow does this by creating an new branch at the PRs head and doing a git rebase --onto, taking whatever changes the author made to rocm-main and rebasing them onto a new branch forked from our main branch.
For now, just point the PR at our main branch. After we've tested this workflow out, point it to upstream main.
Story: https://github.com/ROCm/frameworks-internal/issues/9948

I need to do one more thing on this PR. We should make Actions post a comment in the old, downstream PR that links to the new upstream one.


Add user script to run on failure

Possibly a useful hook to have in any case, but could be used as a temporary fix until https://github.com/payu-org/payu/issues/43 is resolved.
Users can add their own failure user script which can decide to resubmit under certain conditions. This is useful for the ACCESS-OM2-01 model, which is experiencing random frequent segfaults which do not reoccur on resubmission. See https://github.com/COSIMA/access-om2/issues/193.

Copying from https://arccss.slack.com/archives/C9SEH9PDH/p1585693594004900

If possible it would be good to pass the error code and number of retries to the script, so it would attempt resubmission only for appropriate errors and only a finite number of times...

Should be able to do this with environment variables. I'll look into it.

The userscripts hook for an error script is now available on gadi under conda/analysis3-20.01.
There is an example MOM6 config in this repo
https://github.com/aidanheerdegen/mom6_error_test
which shows how graceful resubmission after defined errors can be achieved.
In config.yaml define a script to run on error and a command to remove the resubmit counter file when a run is successful:
https://github.com/aidanheerdegen/mom6_error_test/blob/master/config.yaml#L28-L30
Copy the resub.sh script
https://github.com/aidanheerdegen/mom6_error_test/blob/master/resub.sh
Alter the outfile variable to match your model (access-om2.err in your case)
https://github.com/aidanheerdegen/mom6_error_test/blob/master/resub.sh#L5
Make sure the error messages you want to gracefully recover from and resubmit are set correctly:
https://github.com/aidanheerdegen/mom6_error_test/blob/master/resub.sh#L5
The second of those ("DT found with multiple inconsistent definitions") is just for testing purposes and should be deleted/replaced.
Set the maximum number of resubmissions
https://github.com/aidanheerdegen/mom6_error_test/blob/master/resub.sh#L7

Awesome, thanks @aidanheerdegen, this looks super handy.
Just wondering how that interacts with payu run -n?
e.g. if I do payu run -n 10 and the 3rd run dies, will it do something equivalent to payu sweep; payu run -n 8 to give me 10 runs in total?
I'm probably wrong, but I can't see anywhere in the payu code that decrements PAYU_N_RUNS to account for successful runs, so it looks like this is more like payu sweep; payu run -n 10, giving 12 runs overall...?
https://github.com/aidanheerdegen/mom6_error_test/blob/master/resub.sh#L47-L48

So it resubmits payu with the current number of runs left (PAYU_N_RUNS)
${PAYU_PATH}/payu run -n ${PAYU_N_RUNS} >> ${logfile}

so it should work seamlessly with payu -n nruns

payu does decrement the run counter and repopulate PAYU_N_RUNS, just not directly. IIRC.

excellent, that's perfect :-)

So here it decrements it:
https://github.com/payu-org/payu/blob/11f27d24019332f8317cf62e49825a3955ebb4ae/payu/experiment.py#L694
and here is the resubmit which uses the new value
https://github.com/payu-org/payu/blob/11f27d24019332f8317cf62e49825a3955ebb4ae/payu/experiment.py#L886

aha! thanks, I didn't look very carefully

Anyway, this is tricky to test, so happy for you to take it, try and let me know if you're having any issues. Also happy to hear if it works.
All resubmit info should collect in resubmit.log. So you can check if it has been triggered.

Turns out it wasn't straightforward to use environment variables to save the resubmit state, so that is done in a file resubmit.count.

This looks like a very nice feature; we were just discussing the need for something like this.  Looking forward to it!

Look forward no longer. It is there ... but hand-rolled. Now that I've made that script and thought about it, actually a general approach wouldn't be too difficult. I'll head over to #43 and rough out some ideas. Would be great to have more input. hint hint

I've added this to the ak-dev branch for all IAF configs

@aidanheerdegen It seems the ${error} variable expansion in this line loses the enclosing quotes
https://github.com/aidanheerdegen/mom6_error_test/blob/c4ee9706d50f057c5af785b6395ba4b54fe87728/resub.sh#L19
so all but the first word gets treated as a file argument by grep, giving an output like this
grep: fault:: No such file or directory
grep: address: No such file or directory
grep: not: No such file or directory
grep: mapped: No such file or directory
grep: to: No such file or directory
grep: object,: No such file or directory

"${error}" seems to work as a grep argument (line 19), so long as the trailing comma is removed from line 12
https://github.com/aidanheerdegen/mom6_error_test/blob/c4ee9706d50f057c5af785b6395ba4b54fe87728/resub.sh#L12

Thanks for pointing that out @aekiss. I have fixed in my repo also.
As an aside, I'm not sure the resubmit stuff is necessary at 1 deg as it doesn't seem to run into the same problems.

yeah but I thought it was harmless and would be there if ever needed...


Missing name for named argument _data in generated file. v 2.0.0-beta1

There is a named parameter error in the generated file example.g.dart.
I noticed this separately in code that I am working on, whilst migrating an app to null safety.

Flutter details from flutter doctor -v
[✓] Flutter (Channel stable, 2.0.2, on Mac OS X 10.15.7 19H524 darwin-x64, locale en-GB)
• Flutter version 2.0.2 at /Users/.../Projects/Flutter/flutter
• Framework revision 8962f6dc68 (9 days ago), 2021-03-11 13:22:20 -0800
• Engine revision 5d8bf811b3
• Dart version 2.12.1
Steps to reproduce the behaviour:

Set up a new project with the a pubspec.yaml

name: retrofit_generator_test
description: A new Flutter application.
publish_to: 'none'
version: 1.0.0+1environment:
sdk: ">=2.12.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
retrofit: ^2.0.0-beta1
json_annotation: ^4.0.0
logger: ^1.0.0-nullsafety.0
dio: ^4.0.0-beta7
dev_dependencies:
test: 1.16.5
retrofit_generator: ^2.0.0-beta1
build_runner: ^1.11.5
json_serializable: ^4.0.2
flutter:

Fix any null safety issues in main,dart
Copy example.dart from retrofit repo
Run flutter pub run build_runner build --delete-conflicting-outputs

Expected behaviour
The generated file should name any parameters that RequestOptions.compose(...) in Dio expects.
Manually editing the generated file to add the name of the parameter removes the error.

Thanks for all your time and effort maintaining this library.

this also updated on version 2.0.0-beta3, pls upgrade your pubspec to using retrofit_generator 2.0.0-beta3

Is there any reason that beta-3 is not yet on pub.dev? And if so, can I do anything to help it become a reality :-)

Never mind, its already there, I tried updating both retrofit and retrofit_generator 🤦  Just updating the generator worked like a charm.


volto-heading-block doesn't create anchors to link to headings

Unlike Volot core headings, volto-heading-block headings do not include anchors for linking, eg from the Volto table-of-contents block (see #11). This drastically reduces the usefulness of volto-heading-block.

I really appreciate the quick response, and recognize the low priority. In fact, having discovered that mouse-pasting rendered headers of any level endows them with the full functionality (recognized by ToC and anchors automatically created – I guess that's thanks to https://github.com/plone/volto/pull/3540?), I see that I'm better off creating a heading of the level I want with HTML block, rendering that so I can copy it and paste it instead of the HTML block version, and then I have what I want.
This all suggests that volto-heading-block is the wrong direction to head.
I think all further effort invested should be to provide for easy expression of any level heading. I'm ok with the apparent reluctance to physically and conceptually crowd the selected-text options with more than "H" and "h". But there are plenty of very undisruptive ways to make it easy to use the standard facilities to add h4, h5, and h6:

Markdown '#' and '##' recognition could be extended to work for '###', '####', and '#####'!
The Heading edit 'Block' sidebar "Advanced" menu could include something to set the heading level to any valid ones. (The Advanced knob already includes something to change how the header looks in the ToC. Options to actually change the heading to the other heading levels seems at least as important!)

I would appreciate a reply but don't require it for you to close this issue. Thanks again for your attention!


Missing texture assets via creative mode.

When having creative mode enabled, Viewing the second page of creative items reveals missing assets (Ahem CS:S missing reference not intended) of misc. items and others.

I am unaware if there is a similar issue related to this but i just can't really confirm myself.

Several textures are still needing to be completed.


:EnType does not display input/output type of function

println("Hello World!")
Cursour around the letter 'p' displays nothing.
Cursor around the letter 'n' displays scala.Unit.
I would hope for something like I see in the doc uri, println(x:Any):Unit.

My last PR (https://github.com/ensime/ensime-vim/pull/147) fixes this. Wait some days until it's merged!


More tests

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.2%) to 89.776%

Totals

Change from base Build<PHONE_NUMBER>:
2.2%

Covered Lines:
186

Relevant Lines:
195

💛  - Coveralls


Support for goto def on new Import/Export syntax

Also adding support for goto def on  the alias (e.g:  A and B in import {A, B} from "mod";)

:+1:


TST: add Azure cov results

Azure has built-in support for reporting code coverage results.
I tried it on my branch/ fork & it seems to fuse all Azure CI runs together into one html report that can be accessed directly from the Azure CI interface in a new "code coverage" tab, once all the matrix entries run. The summaries are detailed / quite nicely displayed graphically per folder and file. An artifact is also generated for download for i.e., offline perusal if desired.
The basic motivations for enabling this:

codecov is "broken" for us now because we have too much data for them & they didn't respond to a polite support inquiry about this a few months ago
Azure team has been very responsive
it has been time consuming to build PR branches locally + run test suite to take a look at cov results for reviews

Current limitations:

I haven't turned on anything other than pure Python module testing, for now
I see a warning on the code coverage publishing job on my fork, which will probably show up here too--doesn't seem too serious though; can presumably fix without too much effort

This is nice, thanks Tyler.
So this is what I see now. On the first page you get to:
Code coverage

    24733 of 30607 branches covered (80.81 %)
    112187 of 122442 lines covered (91.62 %)

Then this:

And I can downloaded the detailed results (~96 MB).

into one html report that can be accessed directly from the Azure CI interface in a new "code coverage" tab

I can't find this. Perhaps must be enabled on our account, or am I just overlooking it?

Also, the coverage results are picking up the build directory, so everything is duplicated - would be good to exclude that if possible.

This will be great. Thanks!

@rgommers That image is just the original test summary without coverage. The new coverage tab is showing up for me--can others (at least core devs?) not see this by clicking through to our Azure panel?

I don't think I see duplication in the results listed there--maybe you're referring to something you see in the logs or the warning that is produced? If you can direct me to the source of the duplication I'll take a look.

I can't. There isn't a Code Coverage tab for me. I see that Azure is not an OAuth authorized app in my GitHub account (like AppVeyor, Travis CI, and CircleCi are), but I can't see how to make it so.

When I do:

https://github.com/scipy/scipy/runs/114558559, then
https://dev.azure.com/scipy-org/SciPy/_build/results?buildId=1253

I also only see Logs/Summary/Tests. And I think I'm part of the SciPy Azure org, so I thought I'd be able to see everything. But I tried going to our settings page and got a message that I wasn't authorized, so maybe I'm in the org without sufficient privileges? Or not in the org at all?

@rgommers You're the only admin--when you get a chance can you try turning on boards from the settings button in bottom left (see below). There's reasonable discussion suggesting that this is needed for others to view the tab.

It looks like that's a bug, possibly browser-dependent, but probably needs boards on for now until Microsoft patches it; cc @ericsciple

@rgommers You're the only admin

that's not good. I see it's a 2-step process. First you add people to "SciPy Team" (which you were in) and then you go to another tab to "promote" team members to admin. I've made you an admin now @tylerjereddy. And @larsoner as well - Eric, you weren't in the team yet but I think your gmail was connected to a Microsoft account, you should have gotten an invite.

when you get a chance can you try turning on boards from the settings button in bottom left

done.

Great, seeing the coverage now also when I'm signed out - looks nice.

Eric, you weren't in the team yet but I think your gmail was connected to a Microsoft account, you should have gotten an invite.

Yep, I'm in now. No invite, it just added me, but that's fine here.

Great, seeing the coverage now also when I'm signed out - looks nice.

Agreed, can access https://dev.azure.com/scipy-org/SciPy/_build/results?buildId=1253&view=codecoverage-tab without being signed in to GitHub or Azure.
I also see a code coverage summary on the GitHub Azure summary page.
One clarification if you know offhand, Azure docs mention passing the HTML output is optional so it can be viewed as an artifact. Where does this end up being viewable?
I didn't immediately see a way to sort by coverage percentage or anything on the Azure site. It would be nice if we could consistently get a CI report on GitHub for lines-added-by-PR-but-not-covered (i.e., what codecov and coveralls were meant to do but were not reliable enough for), but that can be a follow-up someday when Azure supports it and/or we figure out how to enable it. So +1 for merge from me already.

@tylerjereddy I've emailed a couple folks about the tab visibility issue. If no one gets back to you, tag me again or email ersciple (at microsoft com).

@ericsciple Thanks for that!

Thanks @tylerjereddy, for opting into the code coverage experience !
Wanted to acknowledge that Eric has routed the tab visibility issue to my team and we are looking into it.
In the meantime, I would love to chat with the folks on this thread about the upcoming improvements in the code coverage reporting area. Your feedback would be valuable in guiding the product roadmap.
@tylerjereddy, @larsoner, @rgommers - please drop me a mail on pbora AT microsoft DOT com if you would be willing to spare some of your precious time for this discussion.

This all looks good now, merging.

thanks @PBoraMSFT, will do!


chore: group meta info for APISIX resources to Metadata structure

Codecov Report

Merging #225 (6818ff3) into master (e1a85f1) will increase coverage by 0.10%.
The diff coverage is 45.09%.

@@            Coverage Diff             @@
##           master     #225      +/-   ##
==========================================
+ Coverage   44.80%   44.90%   +0.10%
==========================================
  Files          34       33       -1
  Lines        2029     2040      +11
==========================================
+ Hits          909      916       +7
- Misses        981      985       +4
  Partials      139      139

Impacted Files
Coverage Δ

pkg/ingress/apisix/route.go
0.00% <0.00%> (ø)

pkg/ingress/apisix/service.go
0.00% <0.00%> (ø)

pkg/apisix/resource.go
81.31% <100.00%> (+0.85%)
:arrow_up:

pkg/ingress/apisix/upstream.go
88.37% <100.00%> (+0.56%)
:arrow_up:

test/e2e/e2e.go

pkg/seven/state/solver.go
3.96% <0.00%> (+1.98%)
:arrow_up:

Continue to review full report at Codecov.

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


Add platform backend uri from static file.

Co-authored-by: Arfima Dev<EMAIL_ADDRESS>Signed-off-by: Xavier Barrachina Civera<EMAIL_ADDRESS>

The approach here is different than in the API,
The env variables configuration would be useful during the build, but (imho) you want to be able to use the same docker image regardless of where do you deploy.
By default the deployment has a BaseUris.js file in /app
In our deployment we use docker compose, the service is:
services:
  phyrkfront:
    <<: *common-net

    image: our.registry/clima/physrisk-ui:${phyrkfront_tag}
    restart: always

    secrets:
      - source: baseuris
        target: /app/BaseUris.js
secrets:
  baseuris:
    file: ./BaseUris.js

The contents of BaseUris,js is
window.BASE_API = 'https://our.example.com/api_prefix';

We could in that file add both the base_api and the options for Settings.js
I have not done that yet here in case you don't like my approach.
Also, I am sorry, but I have no clue about openshift.
@joemoorhouse @redmikhail

@xbarra I was wondering if it can be passed as environment variable . If it is not we can try to mount this particular file to the pod (container)

LGTM


Changes need in HTML and CSS @kroy96

Progress Bar values and padding in sections

@thaditi there are some hints in CSS find them and for the progress bar you can find that section in HTML file and resolve the values according to the label values. Good Luck

I have done the required changes also made the pull request @rexyagami

@thaditi okay Good Work :)