fix test: add TiFlash replica AVAILABLE check

add TiFlash replica AVAILABLE check

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

/run-all-tests tikv=v4.0.1 tidb=v4.0.1 pd=v4.0.1

/run-all-tests tikv=v4.0.1 tidb=v4.0.1 pd=v4.0.1

/run-all-tests tikv=v4.0.1 tidb=v4.0.1 pd=v4.0.1


Importance/Priority

please add option in compose Mail / send Mail to set Importance/Priority like "Read receipt":
*** Read receipt (already implemented in K9 Mail) ***
X-Confirm-Reading-To: (own Mail adress)
Return-Receipt-To: (own Mail adress)
*** Importance/Priority (ToDo) ***
Importance: high
X-Priority: 1
Importance: low
X-Priority: 5
Thanks
For Example:

Duplicate of #2329


Check the breakpoint CSS for the cards - smaller view there is some overlapping

Hey, @pkbullock ,
i just looked as of curiosity to this one, i have to say i was not able to overlap like you did on any size. Was using Chrome to test.
Are you sure it is an issue?

i was wrong, on 1076 width it was overlapping.

Closing as new update on issue in issue #510 seems the issue has resurfaced.


2.5.x Add a test case for ReactiveKafkaConsumerTemplate.receiveExactlyOnce

#1184
Add a test case for ReactiveKafkaConsumerTemplate.receiveExactlyOnce
Added two unit tests for this issue:

shouldSendOneRecordTransactionallyViaTemplateAsSenderRecordAndReceiveItExactlyOnce ::: this method tests that consumption of message A and produces message B such that B = F(A) and A is considered consumed if and only if B is successfully produced.
shouldSendOneRecordTransactionallyViaTemplateAsSenderRecordAndReceiveItExactlyOnceWithException ::: this method tests that if publishing of message B fails, then the transaction is aborted and the message is able to be consumed again.

Thanks!
Merged as fb975dd45ccacb12f35d10f16d1cd43fa5dcd46e and cherry-picked to master.


FuzzyMatcher is friendly to custom classes subclassed from Array

The semantics of FuzzyMatcher's comparison algorithm are problematic for custom classes which subclass from Array. This commit adjusts FuzzyMatcher to make its behavior on subclasses of Array more intuitive.
This is the commit log message:
When comparing subclasses of Array, FuzzyMatcher would call #to_a on one object
but not both, which could cause the comparison to fail if #to_a was overridden.
Additionally, some subclasses of Array may define their own idea of 'equality',
which should be respected by FuzzyMatcher.
On the other hand, if the 'expected' value is an Array, it is reasonable to
coerce the subclass of Array to an actual Array. Since Enumerable does not
define #to_ary, but only #to_a, use #to_a for this purpose.

Closing due to lack of activity.


[Pods] Containers configuration

⚠  Depends on #1118
Compare view: https://github.com/dcos/dcos-ui/compare/dr/feat/pod-configuration-basic...dr/feat/pods-configuration-containers

This PR add containers to the configuration tab. Visual improvements (icons and color border) will go as a separate PR
Part of the ticket: https://mesosphere.atlassian.net/browse/DCOS-9823

A few small changes left, let me know when it is ready for another round

@mesosphere-ci retest this please

I realised that containers view was only partially done in the initial commit. So I added all the missing things. I will rebase it after #1118 is merged and let you know that it's ready.

@mlunoe dependency has been merged, please have another look 🙇

Flicts

I tried rebasing for you, but ran into conflicts, so I'd rather let you do it.


Illegal equivalencies in WBPhenotype

@chris-grove This will be your initiation to the next level of real ontology engineering. Our ontologies should not have logical equivalences between names (WPO1=WPO2), causing weird cycles downstream. Here is the error message:
lets see what you can do :D
2019-07-22 09:46:01,254 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: <http://purl.obolibrary.org/obo/WBPhenotype_0000769> == <http://purl.obolibrary.org/obo/WBPhenotype_0001081>
2019-07-22 09:46:01,254 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: <http://purl.obolibrary.org/obo/WBPhenotype_0001034> == <http://purl.obolibrary.org/obo/WBPhenotype_0001159>
2019-07-22 09:46:01,254 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: <http://purl.obolibrary.org/obo/WBPhenotype_0000020> == <http://purl.obolibrary.org/obo/WBPhenotype_0001006>
2019-07-22 09:46:01,254 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: <http://purl.obolibrary.org/obo/WBPhenotype_0001106> == <http://purl.obolibrary.org/obo/WBPhenotype_0001681>
2019-07-22 09:46:01,254 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: <http://purl.obolibrary.org/obo/WBPhenotype_0001527> == <http://purl.obolibrary.org/obo/WBPhenotype_0000256>
2019-07-22 09:46:01,254 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: <http://purl.obolibrary.org/obo/WBPhenotype_0000775> == <http://purl.obolibrary.org/obo/WBPhenotype_0001041>
2019-07-22 09:46:01,254 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: <http://purl.obolibrary.org/obo/WBPhenotype_0001040> == <http://purl.obolibrary.org/obo/WBPhenotype_0001049>

This test should tell you whether you are doing the right thing:
cd src/ontology
sh run.sh robot reason -i wbphenotype-edit.owl --equivalent-classes-allowed asserted-only -o test.owl

@matentzn
I think these are now all resolved as of
https://github.com/obophenotype/c-elegans-phenotype-ontology/pull/111
and
https://github.com/obophenotype/c-elegans-phenotype-ontology/pull/112
Closing. Please reopen if necessary.

Awesome, yes all good!


ssvm: apply MTU value on storage/management nic if available

If mtu= value is defined in the parameters received by the SSVM agent
per the secstorage.vm.mtu.size setting, it applies the MTU setting on
eth1 which is the storage/management nic.
Fixes #3369
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2830

@blueorangutan test

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-3638)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 26813 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3370-t3638-kvm-centos7.zip
Smoke tests completed. 68 look OK, 0 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File


Add Digest and Mac wrappers for JVM

For Digest and Mac jvm source sets, add a static function that will allow people to easily "wrap" what could be retrieved from getInstance
// org.kotlincrypto.core.Mac [JVM]
public actual abstract class Mac protected constructor(
    // ...
) : // ... {

    // ...

    public companion object {
        @JvmStatic
        @Throws(IllegalArgumentException::class, NoSuchAlgorithmException::class)
        fun from(algorithm: String, key: Key): org.kotlincrypto.core.Mac {
            return MacJvmWrapper(getInstance(algorithm), key)
        }

        @JvmStatic
        @Throws(IllegalArgumentException::class)
        fun from(mac: javax.crypto.Mac): org.kotlincrypto.core.Mac {
            if (mac is org.kotlincrypto.core.Mac) return mac

            // MacJvmWrapper MUST check if the javax.crypto.Mac is initialized or not
            // and throw an illegal argument exception if unable to do so
            return MacJvmWrapper(mac, null)
        }
    }
}

// org.kotlincrypto.core.Digest [JVM]
public actual abstract class Digest protected constructor(
    // ...
): // ... {

    // ...

    public companion object {
        @JvmStatic
        @Throws(NoSuchAlgorithmException::class)
        fun from(algorithm: String): org.kotlincrypto.core.Digest {
            return DigestJvmWrapper(getinstance(algorithm))
        }

        @JvmStatic
        fun from(digest: MessageDigest): org.kotlincrypto.core.Digest {
            if (digest is org.kotlincrypto.core.Digest) return digest

            return DigestJvmWrapper(digest)
        }
    }
}

This is already being done in hash and MACs libs for multiplatform implementations in order to test against Java.

Couple issues with this:

If the java Mac or MessageDigest is not Cloneable, Digest.copy will fail

Need to figure this out b/c calling Digest.copy should not throw any exceptions

Digest.blockSize isn't known from MessageDigest. The only thing available is MessageDigest.digestLength, so will need to figure out how one might calculate that :cry: ...


Comparing report's dataset result with query based result set

Is it possible to compare a report's dataset result with result set of a query fired on a database.
If yes, I'm getting an error where it says "Result set was empty" while the same query is giving records when executed in SSMS. Take a look at the screenshot for more insight:

Screen grab of XML Code for the test cases is placed below:

You're not getting any error, just a failure message. Your test is not successful.
The query in the assertion returns 1 row and the query from the report 0. No surprise that your test is failing.

When I'm executing the query from report/dataset in SSMS, it's executing fine and providing me a valid result set. Can't seem to find any error here. Kindly advise.

Did you try the following steps?

Download the exact report to your local computer
copy and paste the query from the downloaded report to SSMS
declare the parameter in SQL and set it to the parameter you use (DANNYVO, I believe)
check if the result is still the same as in the assert query.

If it isn't the same, could you please try it with a different report and check if the result there is always 0 rows, too?

Without any additional comment before EOW, I'll consider this case as solved.


🚀 Feature: Allow LDAP fields to be configured for use in outgoing email

🔖 Feature description
hello @WolverinDEV and @stonith404, now that LDAP has been enabled would it be possible to map LDAP fields for email use?
Seeing as the "username" gets pulled and mapped to the {creator} variable it would be nice to be able to specify another attribute to pull in as well for the users real name. in our environment it would be the "cn" or "name" and map that to a new variable {name}
Secondly being able to add an {email} variable as we are using a generic email<EMAIL_ADDRESS>to send out the emails. it would be nice to add the users email to the message who created the link to the bottom of the email.
🎤 Pitch
When we use the email option we are only able to use the {creator} variable which in our case is a unique set of letters and numbers. this means the email looks like:
"Hey!
sp003422 shared some files with you"
It would look much cleaner/less confusing to see something like this:
"Hey!
john smith shared some files with you"

@WolverinDEV hate to bug you on this, but any chance this is something that can be done?

Hey ho,
sorry I must've missed the notification last time.
I fully support the idea behind this feature request, but I think it might not be an easy implementation. Since the LDAP user entry is only processed at login, these variables would need to be stored along with the general user data within Pingvin Share.
A few things that come to mind:

What would these variables look like if the user isn’t connected to an LDAP account?
Sending from different "from" addresses might require authentication for each address on the SMTP server.

i would think it could be something the user could modify in their profile, but I'm not a programmer so who knows

we don't need to send with a different email address i was hoping to be able to add a line such as:

"This came from a non monitored email account, please send questions to [share creator email address variable]"
which would look like this to the user:
"This came from a non monitored email account, please send questions to<EMAIL_ADDRESS>

@WolverinDEV I hate to be a thorn, but any thoughts on this? Its the only thing we need added to make this fully functional.

email address is already stored in the user profile

Well, that's right and is already done as I just noticed https://github.com/stonith404/pingvin-share/blob/main/backend/src/user/user.service.ts#L192 😆

I was hoping to be able to add a line such as:

As I understood now, adding the email as a message variable is way different then using it as a from address. Variable support seems beneficial and way more convenient to me.
This can be easily done by adding a corresponding line here and here.
This should be fairly easy to implement: @stonith404 may can add them on the fly as I'm quite busy rn :)

I've added the "creatorEmail" in v1.4.0.


Connection remains active and active connection count gradually increasing till the maxConnection

Recently I made decision to move to HikariCP.  I have done the following set configuration for the pooling.
	HikariConfig config = new HikariConfig();
	Properties properties = new Properties();
	properties.put("MYConnectionMetaData", connectionProperties);
	config.setDataSourceProperties(properties);

	if(Integer.parseInt(name) == 0 || Integer.parseInt(name) == -1){
		config.setConnectionTestQuery(getTestQuery()+name);
	}

	config.setPoolName(name);

	config.setDataSourceClassName(MyDataSource.class.getName());
	config.setAutoCommit(false);
	config.setMinimumIdle(1);
	config.setMaximumPoolSize(100);
	config.setInitializationFailFast(true);
	config.setConnectionTimeout(0);//client request
	config.setMaxLifetime(9000);//timeout connection evicted

	config.setIdleTimeout(9000);// idle time`
	config.setRegisterMbeans(true);
	config.setReadOnly(false);
	config.setValidationTimeout(1200000);
	config.setDataSourceClassName(MyDataSource.class.getName());

	setMXBeanContext(config);

	helthCheckRegistry(config);

	config.validate();
	return new HikariDataSource(config);

After start connection pooling I do nothing with the connection still active connection count gradually increasing till the maxConnection. And the every thing get stuck in between.
Health[Connection Pool= 1,  Healthy Pool, Idle Connection = 4, Active Connection = 0, Total Connection = 4]
Health[Connection Pool= 0,  Healthy Pool, Idle Connection = 1, Active Connection = 56, Total Connection = 57]
....
Health[Connection Pool= -1,  Healthy Pool, Idle Connection = 1, Active Connection = 0, Total Connection = 1]
Health[Connection Pool= 1,  Healthy Pool, Idle Connection = 4, Active Connection = 0, Total Connection = 4]
Health[Connection Pool= 0,  Healthy Pool, Idle Connection = 1, Active Connection = 60, Total Connection = 61]
....
Health[Connection Pool= -1,  Healthy Pool, Idle Connection = 1, Active Connection = 0, Total Connection = 1]
Health[Connection Pool = 1,  Healthy Pool, Idle Connection = 4, Active Connection = 0, Total Connection = 4]
Health[Connection Pool= 0,  Healthy Pool, Idle Connection = 1, Active Connection = 100, Total Connection = 100]
See the connection ConnectionPool 0.

This look like a connection leak.  Can you enable the leakDetectionThreshold?
Plus, this looks weird:
setMaxLifetime(9000);//timeout connection evicted

This is not "timeout connection evicted", this is the maximum lifetime of a connection in the pool -- which you have set to 9 seconds.  That is an extraordinarily short lifetime.


⚠ Jenkins Plugins Artifactory has degraded performance

In 7dc2450, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1240 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 5932221 after 1 hour, 34 minutes.


Show "Add Question" button option in "Edit Notes" Screen

In this screen show "Add Question" option to let user add question in "Edit Notes" screen.

Fixed. Button added. It's working.

Fixed. Button added and is working.


Delete more obsolete factories

While some of these factories may work, none of them are used anywhere, so down they go :toilet:
@miq-bot add-label test, technical debt
@miq-bot assign @jrafanie

Wow, we don't use any of these?  😕   😨

@lfu do we need the event stream / ems event one?

@jrafanie LGTM 👍

@imtayadeway just be careful once we extract more providers, vm_perf_amazon was used in the amazon provider. So it should have been moved there.
But no worries, these are the bleeding itches of tight coupling


[0.4.0] Don't display "0s" for timeouts

In event history view (when clicking on a particular event and viewing the table with its properties) in 0.4.0 events that are not set for example heartbeatTimeout are shown as "0s". It would be better not show this and leave them blank as its done in v1, for example:

@canvanooo Do you want blank values or just to hide them?


Fix global directive newlines error

Fixes the global define directive issue described in #24. I'm not familiar with lalrpop, if there's a better way if fixing this I'm happy to make changes.

thank you! could you modify or add a test to ensure this works?

Added to the pio_file! test to ensure the global public define was present in both test and test2 from the test.pio file.


Release sigstore-java 0.3.0

[x] tag and build 0.3.0

https://github.com/sigstore/sigstore-java/actions/runs/4107271348
https://github.com/sigstore/sigstore-java/releases/tag/v0.3.0

[ ] release to maven central

FYI @patflynn @vlsi, tagging off of main@ 4ffe2674e1e9e268c00a4f4afa5264fdd399d453

This is a less than ideal publishing system, but ok to release (@patflynn, @vlsi)?

The more releases the better


⚠ ClamAV has degraded performance

In f4f4f38, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 50 ms

Resolved: ClamAV performance has improved in 2e09063.


MergeWindowsAppSDKManifests target fails when username contains a space

Describe the bug
The MergeWindowsAppSDKManifests target at line 19 in .nuget\packages\microsoft.windowsappsdk\1.0.0\build\Microsoft.WindowsAppSDK.SelfContained.targets doesn't handle paths containing a space. The Exec command looks like this:
<Exec Command=""$(ManifestTool)" -nologo -manifest $(ApplicationManifest) @(Manifest, ' ') -out:Microsoft.WindowsAppSdk.manifest"/>

But should look like this:
<Exec Command=""$(ManifestTool)" -nologo -manifest $(ApplicationManifest) @(Manifest->'"%(FullPath)"', ' ') -out:Microsoft.WindowsAppSdk.manifest"/>

The result is when you compile an app that has the property WindowsAppSDKSelfContained set to true you get the following error:
1>Target MergeWindowsAppSDKManifests:
1>  Building target "MergeWindowsAppSDKManifests" completely.
1>  No input files were specified.
1>  Using "Exec" task from assembly "Microsoft.Build.Tasks.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
1>  Task "Exec"
1>    "C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x86\mt.exe" -nologo -manifest app.manifest app.manifest C:\Users\Joe Bloggs\.nuget\packages\microsoft.windowsappsdk\1.0.0\manifests\Microsoft.InteractiveExperiences.manifest C:\Users\Joe Bloggs\.nuget\packages\microsoft.windowsappsdk\1.0.0\manifests\Microsoft.WindowsAppSdk.Foundation.manifest C:\Users\Joe Bloggs\.nuget\packages\microsoft.windowsappsdk\1.0.0\manifests\Microsoft.WindowsAppSdk.WinUI.manifest -out:Microsoft.WindowsAppSdk.manifest
1>
1>    C:\Users\Joe : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.
1>
1>    C:\Users\Joe Bloggs\.nuget\packages\microsoft.windowsappsdk\1.0.0\build\Microsoft.WindowsAppSDK.SelfContained.targets(19,5): error MSB3073: The command ""C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x86\mt.exe" -nologo -manifest app.manifest app.manifest C:\Users\Joe Bloggs\.nuget\packages\microsoft.windowsappsdk\1.0.0\manifests\Microsoft.InteractiveExperiences.manifest C:\Users\Joe Bloggs\.nuget\packages\microsoft.windowsappsdk\1.0.0\manifests\Microsoft.WindowsAppSdk.Foundation.manifest C:\Users\Joe Bloggs\.nuget\packages\microsoft.windowsappsdk\1.0.0\manifests\Microsoft.WindowsAppSdk.WinUI.manifest -out:Microsoft.WindowsAppSdk.manifest" exited with code 31.
1>  Done executing task "Exec" -- FAILED.
1>Done building target "MergeWindowsAppSDKManifests" in project "App1.csproj" -- FAILED.

A workaround for this error is to put the following at the bottom of your project file:
  <!-- There's a bug in .nuget\packages\microsoft.windowsappsdk\1.0.0\build\Microsoft.WindowsAppSDK.SelfContained.targets this fixes that -->

  <Target Name="MergeWindowsAppSDKManifestsBefore"
   Condition="'$(WindowsAppSDKFrameworkPackage)'=='false' and '$(MSBuildProjectExtension)' == '.csproj'"
   BeforeTargets="_SetEmbeddedWin32ManifestProperties;MergeWindowsAppSDKManifests"
   Outputs="Microsoft.WindowsAppSdk.manifest">
    <Exec Command=""$(ManifestTool)" -nologo -manifest $(ApplicationManifest) @(Manifest->'"%(FullPath)"', ' ') -out:Microsoft.WindowsAppSdk.manifest"/>
    <PropertyGroup>
      <ApplicationManifest>Microsoft.WindowsAppSdk.manifest</ApplicationManifest>
      <WindowsAppSDKFrameworkPackage>true</WindowsAppSDKFrameworkPackage>
    </PropertyGroup>
  </Target>

  <Target Name="MergeWindowsAppSDKManifestsAfter" AfterTargets="MergeWindowsAppSDKManifests">
    <PropertyGroup>
      <WindowsAppSDKFrameworkPackage>false</WindowsAppSDKFrameworkPackage>
    </PropertyGroup>
  </Target>

Steps to reproduce the bug

Log into a user profile that has a space in the profile name
In Visual Studio 2019 create a new project of type "Blank App, Packaged (WinUI 3 in Desktop)"
Remove the Package.appxmanifest file
Add the following properties to the top PropertyGroup element:

<WindowsPackageType>None</WindowsPackageType>
<SelfContained>true</SelfContained>
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>

Build the application
See the error message

Expected behavior
The application should compile
Screenshots
No response
NuGet package version
1.0.0
Packaging type
Unpackaged
Windows version
May 2021 Update (19043)
IDE
Visual Studio 2019
Additional context
No response

@BenJKuhn tag

Fixed in Windows App SDK 1.3.
A workaround that allows the user folder to retain the space:

mklink /d NUGET_PACKAGES  %userprofile%.nuget\packages
set NUGET_PACKAGES=c:\NUGET_PACKAGES

A persistent definition of the NUGET_PACKAGES env var will override the userprofile default.


RDK-38254 : Added Unit Tests for uploadReport call.

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/3478/rdkcentral/rdkservices

Commit: 0baee5d09b8f1bb136669b4b54d18feadd619a40

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/3478/rdkcentral/rdkservices

Commit: 0baee5d09b8f1bb136669b4b54d18feadd619a40

Report detail: gist

WARNING: A Blackduck scan failure has been waived
A prior failure has been upvoted

Upvote reason: Spuriious - just standard API names matching

Commit: 0baee5d09b8f1bb136669b4b54d18feadd619a40


MQTT & REST support

Are you planning to add MQTT and REST support to your awesome library?
This would be enormous for IoT projects.
I do not want to run the ESP8266 as standalone - because of some other reasons.
But there is no solution out there to have a ESP8266 connected to Arduino or Teensy
and use MQTT library directly on your Arduino / Teensy.

We will consider it, thank you for your attention!

I would really appreciate to see that coming, too!


setup_requires="string" not handled by PEP 517 backend

Does this need to be fixed in setuptools rather since the PEP says the return value needs to be a list of strings? https://www.python.org/dev/peps/pep-0517/#get-requires-for-build-wheel
It looks like here is the setuptools code: https://github.com/pypa/setuptools/blob/cdb5eeae678d8ccc90bf7d4348013a294f11be75/setuptools/build_meta.py#L138
Originally posted by @cjerdonek in https://github.com/pypa/pip/issues/6255#issuecomment-462468517

So my instinct here is to say that setup_requires is deprecated, because generally speaking the stuff you put in there is what needs to be installed before setup.py is invoked (and setup.py is where you get setup_requires from). It should be replaced by the build-system.requires key in pyproject.toml.
The biggest downside I see to doing this is that it would make setup_requires the most convenient place to "single source" your setup requirements, since builds that want to do "best effort" support for pre-PEP 518 build systems may want to specify setup_requires. Right now they have to duplicate the information, but if we add support in setup_requires in the PEP 517 backend, they would be able to omit the information from pyproject.toml in the interest of having a single canonical source for the build information - the opposite of what we want happening.
The biggest upside is that if we do this, PEP 517 builds are much more likely to "just work" out of the box, and I believe it means that for PEP 517 builds we will have eliminated the easy_install code path, which is very attractive. In this case, it might make sense to use this only for the setuptools.build_meta:__legacy__ backend, since it's actually a compatibility mode enhancement. I'm mildly reluctant to do it that way, though, because I don't want to give people more reasons to explicitly use setuptools.build_meta:__legacy__.

Hm, I guess I misunderstood this issue, I didn't realize that we're already translating setup_requires requirements into build requirements in the build requirements hooks.
That's mildly embarassing. I am going to hide my previous post as irrelevant, feel free to read it if you want to know how I would have responded if I had been around when we first added this feature.
To respond to the actual issue, yes, this seems to be supported in the old system and I see no good reason to drop support for it now.

I think this is decently simple to fix, I think the one thing I'd like to avoid is duplication of the logic that handles setup_requires strings, so whoever fixes it please try and make it so that the setuptools.build_meta code receives the list of missing requirements in a consistent format.
Minimum cases to handle:

setup_requires=["foo"]
setup_requires="foo"
`setup_requires="foo\nbar"

Please add tests to setuptools/tests/test_build_meta.py, and if you are feeling ambitious, I think there are also no tests for this "newline-delimited requirements string" format in the general test suite.


vite 开发的server在请求ogv小视频文件(几百KB)时会导致资源加载失败，报错HTTP为416

Describe the bug
vite 开发的server在请求ogv小视频文件(几百KB)时会导致资源加载失败，报错HTTP为416，而build后放到服务器上请求正常，在上传几兆的大文件视频也会正常，不会出现416问题
Reproduction
https://github.com/woleicom/vite-bug-demo
System Info
Uncaught (in promise) Error: HTTP error 416
    at XMLHttpRequest.checkOpen (ogv.js:2:91243)

Used Package Manager
yarn
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Closing as this is a upstream issue. https://github.com/lukeed/sirv/issues/140


CSS file arrangement

In CSS many class are not use please comment it.
give correct markdown of all code

ill do that in my pr #34


Add native lib src files and android binaries

Task/Issue URL: https://app.asana.com/0/0/1204068537088006/f
Description
Adds native library src code to repository.
Include android libsodium builds.
Structure will be:

root
root/native_lib/<sync_crypto_src>
root/native_lib/third-party/

Steps to test this PR
Feature 1

[ ]
[ ]

@ayoy just removed the unuse method. good catch


Specify Nexmo callback dynamically to POST-JSON (for v1.3.0)

Nexmo callback requires the operator to specify POST-JSON in the Nexmo admin portal. See if it's possible to automatically specify this callback type when we initially setup the callback in the Attestation Service.

@eelanagaraj do you know if this is still relevant?


Error: command 'hdinsgiht.jupyter.execRangeInKernel' already exists

I have setup the extension as described online. When I try to run some code in the Interactive Window, I get the following error:
[2019-9-25:15:1:18] [Error] PySpark Interactive Error: Error: command 'hdinsgiht.jupyter.execRangeInKernel' already exists
The Livy cluster is running as I can see from the List Cluster command:
[2019-9-25:15:7:29] [Info] List Azure BD cluster:
Subscription/Type                       	ClusterName                   	ClusterType              Status
Generic Livy                            	JupyterHub: http://<IP_ADDRESS>:8	Spark(Version: unknown)  Running
888 (NONE)
[2019-9-25:15:7:29] [Info] list cluster(s) successfully!
So apart from the typo 'hdinsgiht.' how and where can I fix this issue? My code doesn't get executed now.
I'm using the 1.1.6 version of this plugin.

me too , have erro log:

I got this issue,too.Did you fix that?

It has been fixed. Please try the latest version. Thanks for filing the issue


Lemonade forward

What's this PR do?
Organizes the JS for this "takeover" a little better, cleans it up and generalizes it so that it can be put anywhere.
Starts to add some fun interaction stuff:

Code is still a little rough and the animation isn't exactly where I want it, but lets merge this in so we can continue to work.
Relevant tickets
Addresses #6426

🎉  👍

Love that GIF. 🍋

@DFurnes i love making gifs.


Automatic testing on push

Resolves #23

Test will hang and then fail due to issue in test module, but not an issue for this merge, it proves it's working haha


Fixed #25165 -- Fixed JSON serialization for add/edit using popup in …

…the admin

@timgraham do we want to add more tests for the fix, in addition to tests from PR #5902?

It seems like the tests from #5902 should be sufficient to cover this. Let's wait until that PR is merged before adding them here.

Merged in ade54ffa34ddc6c19b26c6ea72b46f73af7b682b and 822a03b3e41c7c26b7b623c782fbcf9e6eea863f, thanks!


Request interception problem

I wanted to use puppeteer-real-browser instead of puppeteer-core for my code but can't get request interception work the same way it does with standard puppeteer. I'm doing a basic injection of console.log statement in page javascript:
await page.setRequestInterception(true);
page.on('request', request => {
  request.respond({
    status: 200,
    body: oldbody + ';console.log("X: Some text");',
  });
});
....
return new Promise(async (resolve) => {
   page
      .on('console', async (message) => {
        let t = message.text();
        if (t.startsWith("X:")) {
            console.log(t);

This works fine in standard puppeteer but with real-browser it seems the modified body is passed to the response and the text is not logged to console.
Thanks,
Jx-

The console will not be accessible because the runtime is disabled. The puppeteer-core library was patched with rebrowser because the runtime caused too many leaks. Therefore the library does not support it. You can try to work with the Chrome plugin.


[BUG] Changes of dependencies are propagated to wrong class and computed property is never teardowned

Changes of dependencies are propagated to wrong class in case one class was switch to another one under the same property name.

Can you add an example in the PR description and a test case that fails without this change?

@marcoow I will try to add test cases in free time. I've attached one more change to PR which should also solved issues mentioned on https://github.com/simplabs/ember-classy-computed/issues/28

I'm not sure your example should be supported at all though. The intention was really that
ClassBasedComputedProperty.property(DynamicFilterByComputed)

Was required to be used for all class based CPs. We could probably add something to the code that enforces that.
In your case you could simply create 2 computed properties queryA and queryB and either return the one or the other from the query CP instead of redefining that on ththe fly when some toggle value changes.

@marcoow Unfortunately this is not going to work. I have expensive ajax operation inside computed property. In case of simply switching the one used in view I have no way to cancel the asynchronous operation. It will continue to execute in the background which is obvious memory leak.

That sounds like what you have is not/should not be a CP at all tbh.

@marcoow Why do you think so? Could you elaborate on your point of view?
Initially, I was just about to use ember-concurrency for ajax requests but I found out that everything which this library provides can be actually built using pure ember api instead of including yet another heavy library (http://blog.deveo.com/promiseproxymixin-pure-ember-alternative-to-ember-concurrency/?utm_content=bufferad9c0&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer).
It seems that the pattern is quite common.

You can use promise proxies to work with promises in computed properties but it's generally a pain you'll want to avoid if possible. When you have any kind of operation going on and worry about the state of the operation (e.g. cancel if it's running and you need to start the other one) you'll want to use ember-concurrency.


Swap Google official libphonenumber for Android or KMM ports

https://github.com/luca992/libphonenumber-kotlin
https://github.com/MichaelRocks/libphonenumber-android

Closed by https://github.com/jump-sdk/jetpack_compose_country_code_picker_emoji/pull/21


Please invite me to the community

Name
Ryosuke Yamada
Additional Context
I would like to be a member of this Github Org...

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is an open source solution for serverless platforms, it is designed for developing solutions and enhancing creators to create their infrastructure 💻 Great to have you in our community ✨ Looking forward to your valuable contributions! 🤓 You can also check our community ✨ Github ✨ LinkedIn 💜 You can also share our community with other folks who want to learn about development, DevOps, tech, and contribute together and with us 👉💜👈


DTY-27 Added portals

Coverage decreased (-2.7%) to 30.665% when pulling 56d6a10a0399683eb66023e8d71a7b029488baba on DTY-27-navdrawer-moremenu-portals into 0b13110ede16d17ba7ce57156592c5c7e459ffc9 on master.

Tests are failing because the dependencies are not correct. They are not deployed yet.


Fix multiple file writes on tab close with NSData.write

Description
Currently, when closing a tab, CodeEdit performs an automatic save action in order to preserve changes on the file (text documents only), this was previously achieved by doing file.save, however, something that I noticed is that the file was being written more than two times – some times it would be 3, other times 4, even 5 or 6 writes, randomly (see attached videos).
This PR replaces file.save with the NSData.write method, with atomically set to true, which gets reflected on the file consistently being altered 2 times (the expected behavior when doing atomic writing), solving the issue of the multiple and/or random writes to the file.
Checklist

[x] I read and understood the contributing guide as well as the code of conduct
[x] My changes generate no new warnings
[x] My code builds and runs on my machine
[x] I documented my code
[ ] Review requested

Screenshots
Before (using file.save):
https://user-images.githubusercontent.com/43397475/180612554-49c9e94a-083b-4106-a736-f1746c4fedf3.mov
After (using NSData.write):
https://user-images.githubusercontent.com/43397475/180612710-3c29e238-da67-475e-a3df-8e1a99dcdb47.mov

@allcontributors add @gantoreno for bug.


Fix code scanning alert no. 2: DOM text reinterpreted as HTML

Fixes https://github.com/ConnorMolz/todo_app_v2/security/code-scanning/2
To fix the problem, we need to ensure that the uploaded file is safe and does not contain any malicious content. One way to achieve this is by using a library that can sanitize and validate image files more thoroughly. Additionally, we should ensure that the URL.createObjectURL function is used safely.

Use a library like DOMPurify to sanitize the file content before creating an object URL.
Update the validateFile function to include additional checks if necessary.
Ensure that the img element's src attribute is set safely.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

I reviewing the Issue ASAP


[CWS] fix rule_actions field type

What does this PR do?
This PR reverts some of the changes introduced in #22687 affecting the type of the rule_actions field.
This field is expected to be an array rather than a key-value map.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Realm notifications don't automatically sorted with new added object

I have a table view and results get from Realm query with a sorted criteria as "createdAt" ascending. I integrate the results array with Notification so that it automatically update the tableView.
The problem here is when I add new object with the "createdAt" property as Date() (it means today time) to Realm, the notification get fired but it update the new object to the last row of tableView (although I sort the results with: realm.objects().sorted(byKeyPath: "createdAt) ).
I want it to the first row (first index) of tableView.
Maybe I don't know exactly how Realm notifications work, anyone can help me clear this case?
P/s: Because I'm on board now to go home, so I'm sorry that I cannot provide the code I used on tableView. I will provide it when I come home, thanks all.

If createdAt behaves as expected, then I would assume the newly created object will have the largest createdAt value (because it was created last). This means that an ascending (smallest to largest) ordering will correctly put it as the last object in the collection. Perhaps you meant to order them in descending order?

@nirinchev thanks for your help.
When I put the order in realm.objects().sorted(byKeyPath: "created_at", ascending: true) ( this is ascending order, right?). The collection is in the right order (from nearest time to furthest time as below picture). But when the new notification come in (I add new object to Realm), it is put at the bottom of the collection.

Vice versa, when I put realm.objects().sorted(byKeyPath: "created_at", ascending: false) (descending), the collection is reversed by time as below second picture (i don't want it show from farthest to nearest time). But when the new notification come, it is put at the first row (I want it).

So could you tell me what was wrong here, I want the collection show from nearest time to furthest time, and the new object put at the first order. Thanks.

It's not immediately obvious from your screenshots if the values are in the past or in the future (e.g. 2 months ago or 2 months from now). I would assume in the past, but then the ordering doesn't make sense - for example if I have 3 dates:

June 5, 2017
June 15, 2017
Today - June 26, 2017

An ascending ordering would arrange them like:
1, 2, 3 - the oldest date will be first, effectively rendering a UITableView that should look like:
3 weeks
2 weeks
today

But that is the opposite of what you report :/
Are you by any chance reversing the collection or the UITableView or am I misunderstanding the meaning of created_at?

@nirinchev thanks very much, I think I've cleared out what was wrong here.
The NotificationModel which is subclassed of Object (Realm) has a property created_at of Date (swift 3). After received results from APIs I mapped it with ObjectMapper (uses DateTransform()). Because of the transform, the date of new object (we add on the client, not server) is not the same type as the results from server (which are transformed).
I've changed the sorted keypath to object_id (descending) and everything worked fine. But I assume that if I could use the date sorting in the future. If there is anyway to map the Date property from JSON with no transformation?
Thanks for you help again.


Python solution - chapter 01 - ex 07

import numpy as np           <----- import numpy
import math
def rotate_matrix(matrix):
# assume clockwise rotation
matrix = np.array(matrix)
N, M = matrix.shape                                  <------ doesn't work without numpy
assert(N == M)  # must be NxN matrix
for l in range (int(math.floor(N/2))):         <------- need to cast int
for i in range(l, N - 1 - l):
# from top row to right colum
.
.
.

Thanks for this message. If you want to contribute changes to the repo, please provide a pull request. Issues is not the right mechanism.
Furthermore, I'm not convinced these changes are necessary because the tests do not fail. Please contribute a test to tests.py that would fail with the code as is to illustrate why the changes are necessary.


Fix infinte loop for set & delete context state(STL-1105)

Validator was getting into infinite loop when trying to set & delete context state in one go. Set items were being handled before the deletion which was causing some expected data to be deleted. This threw an error which kept the batch from being cleaned up. This further caused the scheduler to pick up the same batch again and again after the schedule interval(infinte loop).
Now carrying out the iteration over set_items post iteration over delete_items.

Please add sign-off to your commit message.

Rebase one more time - we had to remove a linting step.

Thanks for pointing it out. Rebased once again.

Can this please be backported to 1.0 also?

The underlying implementation has changed in master, so this PR should be closed and reopened against 1-0-staging-01 as a backport PR.   I have added a similar test to #1609 to demonstrate that the new implementation does not demonstrate the bug.


PHP 8 compatibility

Is there any plan to make this project compatible with PHP 8? Is it correct, that adding it to the Travis configuration should be a good first step?

I'm on it. Give it some more time. 😏

Ah I forgot, version 3.4.0 is out. 😄


reflection warnings

With version 0.9.0, the following code gets a reflection warning:
(with-open [conn (jdbc/connection my-connection-pool)]
   (do-anything conn))

I'm able to remove the reflection warnings by changing that to:
(with-open [^java.io.Closeable conn (jdbc/connection my-connection-pool)]
   (do-anything conn))

But I'm unsure whether there's a more specific type I should be hinting. If that's the right hint, would you take a PR adding the type hint to the implementation of jdbc/connection?

Hmm, seems like this should be hinted on the user side, we can't type hint the connection function with Closeable. However your code is correct, in this concrete situation the connection behaves as closable so the hint is correct.


python3Packages.py-multihash: mark not broken

Motivation for this change
This was marked broken in https://github.com/NixOS/nixpkgs/pull/101636, which was merged into the staging branch. Later, the package was updated and fixed in https://github.com/NixOS/nixpkgs/pull/101801. When the staging branch was then merged into master, the package was marked as broken while actually being fixed.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 112410 run on x86_64-linux 1

2.0.1 seems to be the latest release. Might be worth to update it as 1.0.0 is almost three years old.

I'll make a separate PR to update it soon.

As I mentioned above, it's not actually broken, just marked as broken


Release MicroProfile 6.0

MicroProfile 6.0 targets to be released on 5th Dec 2022.

[x]  Update MicroProfile presentation and save it in the right folder (technical person) example here
[x] Import the presentation to the landing page and resources page of the website
[x] Draft a release announcement blog post using template (technical person) example here
[x] Create release announcement design card See example here
[ ] Update MicroProfile homepage with release announcement design card
[ ] Edit/Publish release announcement blog post on the MicroProfile Blog
[ ] Announce release on social media using Hootsuite (Twitter, Linkedin, Facebook) example here
[ ] Write an update to the MP Community Forum about the release
[ ] Update the MP Calendar with the Release Date (committer)
[ ] Add translations in Other languages (German, Russian, Spanish, etc) for the release blog

@Emily-Jiang when will this go out and when should I start to make udates?

@Emily-Jiang when will this go out and when should I start to make udates?

Please see the top of the issue. It will go out on 5th Dec. All changes need to be made prior to that date. We can start working on in Nov.

Please add translation tasks to the worksite above.

Please add translation tasks to the worksite above.

Add translations in Other languages (German, Russian, Spanish, etc) for the release blog

[ ] German  #737
[ ] Russian  #736
[ ] Spanish #738

Release blog for 6.0 is ready for review so that we can have it published by @rstjames next week. The MP 6.0 presentation is here. Please review them asap. @aeiras @jclingan @edbratt

@Emily-Jiang and @rstjames met last week to discuss what is needed to get done to release 6.0.
Designs, SM and website update list.

Done my suggested changes, @rstjames. /cc @Emily-Jiang, @edbratt

Proposed tweet message:
MP 6.0 Released and adopts the Jakarta EE 10 Core Profile! 📢🚀 It contains the new spec MP Telemetry 1.0 ( replacing MP OpenTracing) + MP Metrics 5.0 (major release) and other minor updates. Learn more about the release and how to become fully compatible https://microprofile.io/
@rstjames @aeiras feel free to update the above text

@rstjames the blog post has been updated with the suggestions from @edbratt and @m-reza-rahman ! It is ready to go! Let's get them out on Tuesday!

@rstjames you can add compatible page with the list of Open Liberty <IP_ADDRESS>-beta,
Certification Result
Download
Java 11 and 17

beautiful work!!!
Let's keep this issue open as it is connected to the translation of the blog. :)
@Emily-Jiang,
We need to update the PR with an extra step, create a compatible page is a requirement. Do pull me in for review and merge if you have the bandwidth. If you cannot. I will automatically adjust the checklist and be done with it. Either work. :) Cheers.


Crash when building turbine next to reactor

Issue description:
The game crashes if you build a turbine next to a reactor, with ports touching. Once it happens, you can't open the world anymore, since it crashes as soon as it loads.
Steps to reproduce:

Build and activate a fusion reactor.
Build a turbine with ports that are directly adjacent to the fusion reactor's ports.

Version (make sure you are on the latest version before reporting):
Forge: <IP_ADDRESS>9
Mekanism: <IP_ADDRESS>8
If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)
https://gist.github.com/josephcsible/c73df1a7816b4e0252ed738e92f15df8
Here's the important part for convenience:
java.lang.NoSuchMethodError: mekanism.common.base.IEnergyWrapper.receiveEnergy(Lnet/minecraft/util/EnumFacing;IZ)I
	at mekanism.common.integration.forgeenergy.ForgeEnergyIntegration.receiveEnergy(ForgeEnergyIntegration.java:23)
	at mekanism.common.util.CableUtils.emit_do_do(CableUtils.java:272)
	at mekanism.common.util.CableUtils.emit_do(CableUtils.java:240)
	at mekanism.common.util.CableUtils.emit(CableUtils.java:212)
	at mekanism.generators.common.tile.reactor.TileEntityReactorPort.onUpdate(TileEntityReactorPort.java:95)
	at mekanism.common.tile.prefab.TileEntityBasicBlock.func_73660_a(TileEntityBasicBlock.java:79)
	at net.minecraft.world.World.func_72939_s(World.java:1812)
	at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:614)
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:765)
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:666)
	at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524)
	at java.lang.Thread.run(Thread.java:748)

It looks like some RF methods are getting stripped when they have no need to, and this particular one is shared between RF and FE.
In the meantime, you should be able to load if you add the RedstoneFlux mod


build file for gcm-demo-appengine wrong

What steps will reproduce the problem?
1. do ant compile or ant war
2. do ant clean or ant full-clean
3. look for compiled classes

What is the expected output? What do you see instead?
classes directory should have been removed, classes are still there.

What version of the product are you using? On what operating system?
this ant build file has no version number data, perhaps you should put one in?
running under OS X - Darwin Kernel Version 11.4.0

Please provide any additional information below.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 18 Jul 2012 at 8:31

Closing this bug for inactivity.


Fix tablegen definitions of ops base structs

Prior to this the build failed with erros like:
[build] [..] lhlo_gpu_ops_structs.td:35:18: error: Value 'summary' unknown!
[build]    let summary = "GPU Convolution backend configuration";

Tested against an outdated LLVM commit, so this is obsolete.

Tested against an outdated LLVM commit, so this is obsolete.


[BeiT-3] Question about pre-training

Describe
Model I am using BeiT-3:
Hello, I found that BeiT-3 is pre-trained mainly on English data. I wish to pretrain BeiT3 on Chinese data. Will you release the pre-training code?

check this issue. https://github.com/microsoft/unilm/issues/1268


Introduce framwork of RuntimeManager and cri-proxy

Signed-off-by: pengyang.hpy<EMAIL_ADDRESS>Ⅰ. Describe what this PR does
Introduce framwork of RuntimeManager and cri-proxy

framework of runtimemanager, including:
server: intercept request from kubelet, and forward request to backend containerd/dockerd
resource-executor: parse intercepted request, genereate request to hook server and do checkpoint
dispatcher: mange hook server client and dispatch hook request to hook server

cri-proxy
part of 'server', intercept request from kubelet under containerd scenario

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews

Codecov Report

Merging #105 (a6eec1f) into main (1df5a76) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #105   +/-   ##
=======================================
  Coverage   44.19%   44.19%
=======================================
  Files          73       73
  Lines        5965     5965
=======================================
  Hits         2636     2636
  Misses       3036     3036
  Partials      293      293

Flag
Coverage Δ

unittests
44.19% <ø> (ø)

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

Continue to review full report at Codecov.

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

/lgtm

/approve


GNOME Shell browser integration needs native host connector

Issue description
I want to use https://extensions.gnome.org/ to install gnome-shell extensions in my GNOME 3 desktop environment, but the site currently reports that "Although GNOME Shell integration extension is running, native host connector is not detected."
Steps to reproduce
I set these options in /etc/nixos/configuration.nix:
  services.xserver.displayManager.gdm.enable = true;
  services.xserver.desktopManager.gnome3.enable = true;

and installed firefox-54.0 using nix-env.
Visiting https://extensions.gnome.org/ then told me to install the Firefox "GNOME Shell integration" add-on, which I did using the in-browser "Add to Firefox" button.
Visiting the GNOME Shell extensions site again, it now says, "Although GNOME Shell integration extension is running, native host connector is not detected."
Technical details

System: NixOS 17.03.1447.9e5a13f6f1 (Gorilla)
Nix version: 1.11.11
Nixpkgs version: 17.03.1447.9e5a13f6f1
Sandboxing enabled: false

I spent a little while trying to figure out how to write a nix expression to build the native host connector, modeling it after the documented instructions for building chrome-gnome-shell from source, but I don't understand D-Bus services and such well enough. Also, this is my first nix packaging experiment...
Still, in case it might help, here's as far as I got:
with import <nixpkgs> {};

let
  name = "chrome-gnome-shell";
  version = "9";
  src = fetchurl {
    url = "https://git.gnome.org/browse/chrome-gnome-shell/snapshot/${name}-${version}.tar.xz";
    sha256 = "0j6lzlp3jvkpnkk8s99y3m14xiq94rjwjzy2pbfqgv084ahzmz8i";
  };

  python = pkgs.pythonPackages;
in
python.buildPythonApplication {
  inherit name version src;
  sourceRoot = "${name}-${version}/connector";

  propagatedBuildInputs = [ python.pygobject3 python.requests2 ];

  postInstall = ''
    sed 's!\''${CMAKE_INSTALL_FULL_BINDIR}!'"$out/bin!" org.gnome.ChromeGnomeShell.service.in > $out/bin/org.gnome.ChromeGnomeShell.service
  '';
}

I was wondering about this, and it seems @dyrnade has already packaged it; I guess you need to be on unstable to use it now though.

Awesome, closing in favor of #24283 then. Thanks for pointing that out!


Adding a listing to see sessions or 3 last used files?

Also recent used sessions or seeing 3 final files that has being used could be cool.
Is this possible with alpha?
Like
g.startify_custom_indices = {'a', 's', 'd', 'f', 'g', 'h', 'i'}
g.startify_bookmarks
g.startify_session_dir = '~/.config/nvim/session'
I've actually gotten attached to use dashboard view, but some tools from startify has being itching to get.

yeah, the startify theme actually exports the 'mru' buttons that you're describing
https://github.com/goolord/alpha-nvim/blob/main/lua/alpha/themes/startify.lua#L241
you might have to write a little code to make it look how you want
sessions support is a WIP

At least it would be better to have a list showing all sessions and load a session when select it.


ALE Plugin only works if I run :PlugInstall in the current vim session

Hi, I've installed several plugins, including the ALE linter on my normal machine. Thats all working fine and I really love vim-plug, but after porting all my setup to a new machine, I've encountered a strange error with vim-plug + ALE linter:
When I open a python file the linter doesn't run. Nevertheless if I run :PlugInstall while on that file, and then close the installer dashboard that pops up telling me everything is already installed, the linter magically starts working in the already open python file
Also, just noticed fugitive doesn't seem to work at all. Though FZF is working fine.

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Mar 30 2017 19:49:08)
Included patches: 1-313, 315-525
Modified by<EMAIL_ADDRESS>Compiled by<EMAIL_ADDRESS>Huge version without GUI.  Features included (+) or not (-):
+acl             +cmdline_hist    -ebcdic          +gettext         +listcmds        +mouse_sgr       +persistent_undo +smartindent     +textobjects     +wildmenu
+arabic          +cmdline_info    +emacs_tags      -hangul_input    +localmap        -mouse_sysmouse  +postscript      +startuptime     +timers          +windows
+autocmd         +comments        +eval            +iconv           -lua             +mouse_urxvt     +printer         +statusline      +title           +writebackup
-balloon_eval    +conceal         +ex_extra        +insert_expand   +menu            +mouse_xterm     +profile         -sun_workshop    -toolbar         -X11
-browse          +cryptv          +extra_search    +job             +mksession       +multi_byte      -python          +syntax          +user_commands   -xfontset
++builtin_terms  +cscope          +farsi           +jumplist        +modify_fname    +multi_lang      -python3         +tag_binary      +vertsplit       -xim
+byte_offset     +cursorbind      +file_in_path    +keymap          +mouse           -mzscheme        +quickfix        +tag_old_static  +virtualedit     -xpm
+channel         +cursorshape     +find_in_path    +lambda          -mouseshape      +netbeans_intg   +reltime         -tag_any_white   +visual          -xsmp
+cindent         +dialog_con      +float           +langmap         +mouse_dec       +num64           +rightleft       -tcl             +visualextra     -xterm_clipboard
-clientserver    +diff            +folding         +libcall         +mouse_gpm       +packages        -ruby            +termguicolors   +viminfo         -xterm_save
-clipboard       +digraphs        -footer          +linebreak       -mouse_jsbterm   +path_extra      +scrollbind      +terminfo        +vreplace
+cmdline_compl   -dnd             +fork()          +lispindent      +mouse_netterm   -perl            +signs           +termresponse    +wildignore
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim        -lm -ltinfo -lnsl  -lselinux -lacl -lattr -lgpm -ldl

Type:

[X] Bug
[ ] Enhancement
[ ] Feature Request
[ ] Question

OS:

[ ] All/Other
[X] Linux
[ ] OS X
[ ] Windows

Vim:

[X] Terminal Vim
[ ] GVim
[ ] Neovim

Please post your Vim configuration file.

I got the same problem in GVim, tough the problem might be solved using :so % if Gvim launched by opening a file. It must be :PlugInstall for when I launch GVim blank.
set nocompatible

set laststatus=2

" ------------------------------
" gui and fonts
" ------------------------------
set guioptions-=T
set lines=40
set columns=100
set guifont=MesloLGM\ Nerd\ Font

" ------------------------------
" set tabs to space
" ------------------------------
set expandtab
set tabstop=4
set softtabstop=0
set shiftwidth=4

" -----------------------------
" set linespace
" -----------------------------
set linespace=0

" -----------------------------
" set splitting settings
" -----------------------------
set splitbelow
set splitright

" =============================
"         VimPlug-Bundles
" =============================
call plug#begin('~/.vim/plugged')

" Plug 'Valloric/YouCompleteMe'
" Plug 'sirver/ultisnips'
Plug 'sjl/Gundo.vim'

Plug 'vim-airline/vim-airline'
Plug 'morhetz/gruvbox'
Plug 'mhinz/vim-janah'
Plug 'mhinz/vim-startify'
Plug 'mhinz/vim-signify'
Plug 'myusuf3/numbers.vim'

Plug 'scrooloose/syntastic'
Plug 'honza/vim-snippets'
Plug 'tpope/vim-surround'
Plug 'scrooloose/nerdcommenter'
Plug 'lilydjwg/colorizer'
Plug 'Townk/vim-autoclose'
Plug 'vim-scripts/closetag.vim'

Plug 'wakatime/vim-wakatime'

Plug 'tpope/vim-fugitive'
Plug 'scrooloose/nerdtree'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'airblade/vim-gitgutter'
Plug 'Xuyuanp/nerdtree-git-plugin'

Plug 'reedes/vim-pencil'

Plug 'ryanoasis/vim-devicons'

call plug#end()

" ----------------------------
" Syntax highlighting
" ----------------------------
set background=dark
colorscheme gruvbox
set encoding=utf-8 nobomb

" --- performance / buffer ---
set hidden
set lazyredraw
set ttyfast

" --- history / file handling ---
set history=999
set undolevels=999
set autoread

" -- backup and swap files ---
set nobackup
set nowritebackup
set noswapfile

" --- search ---
set hlsearch
set incsearch

" ============================
" Plugin Settings
" ============================

" ----------------------------
"           Airline
" ----------------------------
let g:airline_powerline_fonts=1
let g:airline#extensions#tabline#enabled=1
let g:airline#extensions#ctrlp#show_adjacent_modes=1
let g:airline#extensions#wordcount#enabled=1
let g:airline#extensions#syntastic#enabled=1
let g:airline#extensons#branch#format=1
let g:airline#extensions#tabline#buffer_idx_mode=1

" ----------------------------
"           number
" ----------------------------
let g:numbers_exclude=['tagbar', 'gundo', 'minibufexpl', 'nerdtree']
set number

" ----------------------------
"       nerd-commenter
" ----------------------------
let g:NERDSpaceDelims=1
let g:NERDCommentEmptyLines=1
let g:NERDTrimTrailingWhitespace=1

" ----------------------------
"        indent guides
" ----------------------------
let g:indent_guides_start_level=2

" ----------------------------
"        ultisnips
" ----------------------------
let g:UltiSnipsExpandTrigger="<C-Enter>"
let g:UltiSnipsJumpForwardTrigger="<C-b>"
let g:UltiSnipsJumpBackwardTrigger="<C-l>"
let g:UltiSnipsUsePythonVersion=3
let g:UltiSnipsRemoveSelectModeMappings=0

" ----------------------------
"        NerdTree
" ----------------------------
map <C-e> :NERDTreeToggle<CR>

" ----------------------------
"          Tagbar
" ----------------------------
nmap <F7> :TagbarToggle<CR>

" ----------------------------
"          Gundo
" ----------------------------
nmap <F8> :GundoToggle<CR>

" ----------------------------
"         Vim Pencil
" ----------------------------
let g:pencil#WrapModeDefault='soft'
nmap <leader>sp :SoftPencil<CR>
nmap <leader>hp :HardPencil<CR>

" ----------------------------
"          ctrlp
" ----------------------------
if isdirectory(expand("~/.vim/bundle/ctrlp.vim"))
    let g:ctrlp_working_path_mode='ra'
endif

" ----------------------------
"        Translate
" ----------------------------
map <leader>tr :!trans -t id

Hey @junegunn thanks for replying, really big fan of your plugins. Did some more digging today and it turns out that your FZF plug also doesn't work until I run :PlugInstall, so it looks like the problem is more generalized than I initially though. Here goes my vimrc:
`"  ========================= VIM-PLUG =============================
call plug#begin('~/.vim/plugged')
Plug 'https://github.com/jeetsukumaran/vim-indentwise.git'
Plug 'https://github.com/tpope/vim-fugitive.git'
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
Plug 'https://github.com/w0rp/ale.git'
let g:ale_statusline_format = ['☀ %d', '🕯 %d', '']
nmap   (ale_previous_wrap)
nmap   (ale_next_wrap)
" let g:ale_sign_error = '❌'
" let g:ale_sign_warning = '⭕'
Plug 'https://github.com/JamshedVesuna/vim-markdown-preview.git'
let vim_markdown_preview_github=1
let vim_markdown_preview_toggle=1
let vim_markdown_preview_hotkey=''
let vim_markdown_preview_temp_file=1  " <- This may cause crashing on slow browsers
call plug#end()
" Run google/yapf (not really a plugin but whatever)
autocmd FileType python nnoremap = :0,$!yapf
" Ale options
let g:ale_lint_on_save = 0
let g:ale_lint_on_text_changed = 1
let g:ale_sign_column_always = 1
" =================================================================
colorscheme molokai
runtime! debian.vim
set splitbelow "donde aparecen los nuevos splits
set splitright "donde aparecen los nuevos splits
"filetype indent plugin on
" Enable folding
set foldmethod=indent
set foldlevel=99
" Makes buffers behave more like tabs, not having to save when switching
" buffers and keeping undo history when switching buffers.
set hidden
" Modify statusline
set statusline +=%f\  " relative path
set statusline +=%m\  " modified flag
set statusline +=\ %{ALEGetStatusLine()}\ \
set statusline +=%=%c\  " line length, right aligned
" Prevent vim from looking in included files when using ctrl+n.
" Dont know why it started doing that. Maybe fzf related?
set complete-=i
" Add recursive folders to path ()
set path=.,/usr/include,,
" Enable mouse
set mouse=a
if !has('nvim')
set ttymouse=xterm2
endif
syntax on
au FileType python setlocal
\ tabstop=8
\ softtabstop=4
\ shiftwidth=4
\ expandtab
\ autoindent
\ fileformat=unix
au BufNewFile,BufRead *.py
\ match ErrorMsg '%>100v.+'
au BufNewFile,BufRead .js,.html,*.css
\ set tabstop=2 |
\ set softtabstop=2 |
\ set shiftwidth=2 |
"set textwidth=100
"set wildmenu
set showmatch
set number
set relativenumber
set incsearch
set tabpagemax=400
set ignorecase
map Y y$
set ruler
"" Dont store swap files
set noswapfile
" " For ALE linter plugin
" highlight clear ALEErrorSign
" highlight clear ALEWarningSign
highlight clear SignColumn
" Show filename, always
set ls=2
set lazyredraw  " Don't redraw while executing macros (good performance config)
set ttyfast     " should make scrolling faster
" Remap common typos
command WQ wq
command W w
command Wq wq
command Q q
command Wa wa
" Remap vertical find to more logical command: vsf = vert sf
cnoreabbrev  vsf getcmdtype() == ":" && getcmdline() == 'vsf' ? 'vert sf' : 'vsf'
" Share clipboard with OS, it can destroy your normal yank, wtf!
set clipboard=unnamed
" Git commits format:
autocmd Filetype gitcommit setlocal spell textwidth=72
" Remap H and L (top, bottom of screen to left and right end of line)
nnoremap H ^
nnoremap L $
vnoremap H ^
vnoremap L g_
" Quick replay q macro
nnoremap Q @q
" Always show at least X lines above/below cursor
set scrolloff=2
" Same when moving up and down
nnoremap  zz
nnoremap  zz
nnoremap  zz
nnoremap  zz
vnoremap  zz
vnoremap  zz
vnoremap  zz
vnoremap  zz
" Highlight current line, leader+l to highlight, :match to unhighlight
nnoremap  l ml:execute 'match Search /%'.line('.').'l/'
" Error times, from tim pope
set ttimeout
set ttimeoutlen=100
" Fix backspace
set backspace=indent,eol,start
"set backspace=2 " make backspace work like most other apps
" This enables "visual" wrapping
set nowrap
" Uncomment the following to have Vim jump to the last position when reopening a file
if has("autocmd")
au BufReadPost * if line("'"") > 1 && line("'"") <= line("$") | exe "normal! g'"" | endif
endif
" FZF
nnoremap  :Buffers
nnoremap g :Ag
nnoremap c :Commands
nnoremap h :History  "Not sure which one to use
nnoremap  :History   "Not sure which one to use
nnoremap l :BLines
nnoremap  :Files
" Emoji stuff I havent actually tested lol
if !has('nvim')     " does not work on neovim
set emoji         " treat emojis 😄  as full width characters
set termguicolors " enable true colors - uses gui colors - disable set -g default-terminal "screen-256color" from .tmux.conf!
let &t_8f = "<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "<Esc>[48;2;%lu;%lu;%lum"
end
" This fixes problem with background being bright on lines with text and black
" on lines without text, when using vim inside tmux, and with true color
set t_ut=
" https://github.com/mhartington/oceanic-next/issues/40
" https://github.com/vim/vim/issues/804
" http://stackoverflow.com/questions/6427650/vim-in-tmux-background-color-changes-when-paging/15095377#15095377
" :w!!
" write the file when you accidentally opened it without the right (root) privileges
cmap w!! w !sudo tee % > /dev/null`

@bencern You have to put plug block in .vimrc not .gvimrc, see https://github.com/junegunn/vim-plug/issues/540#issuecomment-254580340

@joaqo A common mistake is not having plug#end() in the right place, but your configuration looks fine. I actually copy-pasted a few relevant lines from your configuration and everything works as expected.
call plug#begin('~/.vim/plugged2')
Plug 'https://github.com/jeetsukumaran/vim-indentwise.git'
Plug 'https://github.com/tpope/vim-fugitive.git'

Plug 'https://github.com/w0rp/ale.git'
let g:ale_statusline_format = ['☀ %d', '🕯 %d', '']
nmap <silent> <C-k> <Plug>(ale_previous_wrap)
nmap <silent> <C-j> <Plug>(ale_next_wrap)
" let g:ale_sign_error = '❌'
" let g:ale_sign_warning = '⭕'

Plug 'https://github.com/JamshedVesuna/vim-markdown-preview.git'
let vim_markdown_preview_github=1
let vim_markdown_preview_toggle=1
let vim_markdown_preview_hotkey='<C-m>'
let vim_markdown_preview_temp_file=1  " <- This may cause crashing on slow browsers

call plug#end()

So I believe the problem's caused by some other configuration you have below (runtime! debian.vim seems suspicious). You can add finish just after call plug#end() line, and see if the problem still persists

Thanks @junegunn , everything work fine after moving those settings into .vimrc

@junegunn hey you were absolutely right, removing that debian runtime line fixed the problem. Thanks a lot!


websocket client doesn't throw on failed connection

Overview
If the websocket fails to connect - it never actually resolves/rejects the promise. Accordingly, the client consuming the websocket (web) isn't actually able to try/catch as the promise never resolves.
References and additional details
See here for potential fix https://github.com/shapeshift/unchained/commit/5234dc985cf85afd3acb1c13b0d1925a4595b779
Acceptance Criteria
If the websocket fails to connect - it should reject the promise so the consumer is able to gracefully handle errors and not hang.
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

Related issue: https://github.com/shapeshift/unchained/issues/136


Ionide 3.9.0: failed to start language services

With the new Ionide version: 3.9.0
I am having this error when starting VSCode.

Failed to start language services. Please check if Microsoft Build Tools 2013 are installed

In the F# Language Service output I got this message:

[10:29:03 ERROR] Failed to start language services. spawn C:\Users\mange.vscode\extensions\Ionide.ionide-fsharp-3.9.0/bin/fsautocomplete.exe ENOENT

In F# Language Service (Server) ouput:

Running: C:\Users\mange.vscode\extensions\Ionide.ionide-fsharp-3.9.0/bin/fsautocomplete.exe --mode http --port 8312 --hostPID=15328
spawn C:\Users\mange.vscode\extensions\Ionide.ionide-fsharp-3.9.0/bin/fsautocomplete.exe ENOENT

In Forge output:

forge refresh --no-prompt
{"code":"ENOENT","errno":"ENOENT","syscall":"spawn C:\Users\mange\.vscode\extensions\Ionide.ionide-fsharp-3.9.0\bin_forge\Forge.exe","path":"C:\Users\mange\.vscode\extensions\Ionide.ionide-fsharp-3.9.0\bin_forge\Forge.exe","spawnargs":["refresh","--no-prompt"]}

I installed: https://www.microsoft.com/en-US/download/details.aspx?id=40760 and even with this I got the same error.
I am using: Windows 10

Please check if FSAC and Forge exes exist.

Ah...
You are right they were missing. Removing and installing again the plugin fixed it.
Thank you :)
At least I know, I prefer Ionide to Rider. :)


Two time series with both Y axes using identical min-max range

I'm plotting two time series into a single graph.
The YAxis range for the first series is distintict than the YAxis range for the secondary series.
I want to plot both series forcing the same YAxis range.
That is, the lowest value for the YAxis should be the lowest y value for both series, and the highest value for YAxis should be taken from the highest y value for both series.
Can this be accomplished easily?

Yes, if I understand you correctly, look at the twoaxis example code ... and pass a Range{Min: x, Max: y} to both y axis (with the same values).


[Feat] Adding reverse DNS info to DNS name in NetBox

Hi,
thank you for the neat script.
Do you think that's possible to add the reverse DNS info discovered by the nmap scan as DNS Name in the host information passed to NetBox?
I'm new with Python and NetBox, so I've not yet tried to do it myself.
And before starting the endeavor, know if at least it's possible could be useful ;-)
Thanks again, regards

Manuel B.

As you may notice, I'm quite busy in another projects and netbox-scanner got out from my priorities. That's why I'm away and the issues are growing here.
Well, I really think that the best way to improve netbox-scanner is to create modules that can retrieve IP and descriptions from trusted sources, like DNS, NetXMS, PRTG, or Cisco Prime. Nmap should be the last option.
This would drive to a 2.0 version of this script, since the code should be changed from its core to the CLI. Of course it'll require time to develop and test, which I don't have now.
José Lopes

Create issue #18 with other improvements for new version.


Running a main() function in IntelliJ fails when the configuration cache is enabled

Running a main() function in IntelliJ with the configuration cache produces cache failures and fails the build.
Expected Behavior
Executing a main() function in IntelliJ works with the configuration cache.
Current Behavior
Running a main() function in IntelliJ produces the following configuration cache report:
1 problem was found storing the configuration cache.
- Task `:target.main()` of type `org.gradle.api.tasks.JavaExec`: cannot serialize object of type 'java.io.PipedInputStream', a subtype of 'java.io.InputStream', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.4.2/userguide/configuration_cache.html#config_cache:requirements:disallowed_types

See the complete report at file:///.build/reports/configuration-cache/6q4zhvy8wowwbm62im0lvi12j/fy3ilu2vj9kv4y29vk3oepz3/configuration-cache-report.html

Context
We enabled the configuration cache, but now it breaks when we attempt to run a main() method in IntelliJ.
Steps to Reproduce

Enable the configuration cache in your Gradle project
Define a class which has a main() method
Open IntelliJ and open the class
Run the main() class, either by clicking the play button in the bar on the left, or by right-clicking and click "Run main()" in the context menu
Your build will now fail with the configuration cache problem.

Your Environment
I wanted to attach the configuration cache report, but since it is a .html file I am unable to. This is the full stacktrace in the report:
⌄⚠cannot serialize object of type java.io.PipedInputStream📋, a subtype of java.io.InputStream📋, as these are not supported with the configuration cache.[ ?](https://docs.gradle.org/7.4.2/userguide/configuration_cache.html#config_cache:requirements:disallowed_types)
⌄fieldstandardInput📋 of org.gradle.process.internal.ProcessStreamsSpec📋
⌄bean of type org.gradle.process.internal.ProcessStreamsSpec📋
⌄fieldstreamsSpec📋 of org.gradle.process.internal.DefaultJavaExecSpec📋
⌄bean of type org.gradle.process.internal.DefaultJavaExecSpec📋
⌄fieldjavaExecSpec📋 of org.gradle.api.tasks.JavaExec📋
■task:target.main()📋 of type org.gradle.api.tasks.JavaExec📋

Sorry that you're having trouble with Gradle!
Your issue lacks information about how to reproduce the problem you're having. A reproducer project can really help us track down and fix your problem quicker.  We may also be able to suggest workarounds or ways to avoid the problem if we can reproduce it.
You can use the following as a base for your reproducer: https://github.com/gradle/gradle-issue-reproducer
This issue will be closed after 7 days, unless you can provide more information.

Your issue lacks information about how to reproduce the problem you're having

Unfortunately it's not straightforward for me (legal and stuff) to provide a standalone reproducer project, if the steps are unclear. Please let me know if the steps are sufficient and I can try to get that sorted.

@bamboo Can confirm the workaround fixes it for now, thanks for the suggestion 👍

This seems to no longer be an issue, at least with Gradle 8.7 and IntelliJ 2024.1. Perhaps it was addressed by https://docs.gradle.org/8.7/release-notes.html#supporting-standard-streams-as-task-property-values.

Thanks, @ianbrandt! I can confirm that this was indeed fixed in Gradle 8.7.

Indeed, IJ's standard init script for main() is setting up System.in.
standardInput = System.in

I was confused by the PipedInputStream thing, but it comes from Gradle setting up custom System.in implementation.


Toolchain discussions

Are there any tools that have been used in cas-registration that we want to discuss before establishing them with cas-reporting? Now while we're starting to spin up is the best time to make changes.
Frontend

[ ] Next.js 13 + NextAuth
[ ] MUI + TailwindCSS
[ ] RJSF
[ ] Typescript 5.2
[ ] Jest + Playwright
[ ] Yarn

Backend

[ ] ❓Django + Ninja

Are we happy with how it works?
We had growing pains, are those resolved? Are the learnings that we've had been enough to keep moving forward with it?

[ ] Postgres
[ ] Pytest

Infra + DevOps

[ ] ShipIt
[ ] Terraform
[ ] SonarCloud
[ ] CodeQL
[ ] Trivy Codescan
[ ] zap-owasp
[ ] Github Actions

Acceptance Criteria

[x] Discuss and decide which tooling will stay
[x] Create tickets for exploration of tooling that there is a desire to change

Discussions occured and are documented in the Dev Team Agreements Miro. Summary is "We'll continue using what we've used in Cas-Reg".
Tickets were created under the Initialize Development Platforms and Environments epic


"How to use" example code incorrect?

I had to change the last line to of the code to the following, otherwise the new settings created with AmmoniaBuilder are not used.
cleaner.clean("foo
bar
");

Seems to be a miss by the author, caught the same thing.


Please remove all TZWorks from SIFT3 to avoid version conflicts.  License is expired

David is not sure he is allowed to do demo licenses any longer due to USG challenges.

@SANS-SIFT removed from the sift-files repo. Do I need to create an uninstall script?

This is completed.


[docs] Repurpose page edit button as Chinese l10n call-to-action

@earvinLi @medz @xiaoyu-tamu please could one of you verify the Chinese text for the button and notification? Thanks!

@mbrookes  I think this would be better. 帮助 Material-UI 将文档翻译成中文

@xiaoyu-tamu :+1:
The original intention was "Help to translate the Material-UI documentation into Chinese", but that works too.


Allow disabling of browser autocomplete

It would be great if the input could disable browser autocomplete. Right now this often results in a double dropdown. One facilitated by the browser, through browser autocomplete, and one by the directive.
Could you either always set the autocomplete attribute of the input field to "off", or allow passing it as an optional attribute for the directive so a dev can determine whether or not they want it to be applied?

My preference would be to disable this by default, I don't see any advantage in having an autocomplete on the filter input field. I'll have to look around a bit for a cross-browser solution for this.

Great!


chore: doc routeAfterTransition on README

I think this is too much detail for the README. Also if we document this in the README we'd have to document all the other properties as well while it's all in the API docs anyway.


asyncronous channel apis

Hey @egimaben @pivovarit - we should definitely try a squash and merge here.

@eugenp I am always doing this :)


Unable to use hotbar skills, spells, and items when Toybox is installed.

Description of the bug
With multiple characters in the party (available as soon as Seelah is recruited), characters will "retain" another character's spells, abilities, and items despite having a completely different list and be unable to use their own.
Steps To Reproduce
Start game. Play until Seelah is recruited. Seelah will then have a spellbook button (despite not having any spells normally) that shows the spells of the player character. Selecting her ability button will show the player character's abilities instead of her own as well, all grayed out; the same happens with items.

Player log displays the following error when attempting to use one of the abilities:
NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Kingmaker.UnitLogic.Abilities.AbilityData.get_CanBeCastByCaster_Patch1(Kingmaker.UnitLogic.Abilities.AbilityData)
at Kingmaker.UnitLogic.Abilities.AbilityData.get_IsAvailableForCast () [0x00037] in <877554ad6dc44987a746e2a9e03806d5>:0
at Kingmaker.UnitLogic.Abilities.AbilityData.get_IsAvailable () [0x00008] in <877554ad6dc44987a746e2a9e03806d5>:0
at Kingmaker.UI.UnitSettings.MechanicActionBarSlotItem.get_IsNotAvailable () [0x0001c] in <877554ad6dc44987a746e2a9e03806d5>:0
at Kingmaker.UI.UnitSettings.MechanicActionBarSlot.IsPossibleActive (System.Nullable1[T] resource) [0x00016] in <877554ad6dc44987a746e2a9e03806d5>:0    at Kingmaker.UI.MVVM._VM.ActionBar.ActionBarSlotVM.SetMechanicSlot (Kingmaker.UI.UnitSettings.MechanicActionBarSlot abs) [0x00127] in <877554ad6dc44987a746e2a9e03806d5>:0    at Kingmaker.UI.MVVM._VM.ActionBar.ActionBarSlotVM..ctor (Kingmaker.UI.UnitSettings.MechanicActionBarSlot abs, System.Int32 index, System.Int32 spellLevel) [0x00008] in <877554ad6dc44987a746e2a9e03806d5>:0    at Kingmaker.UI.MVVM._VM.ActionBar.ActionBarVM.CollectItems (Kingmaker.EntitySystem.Entities.UnitEntityData unit) [0x0003a] in <877554ad6dc44987a746e2a9e03806d5>:0    at Kingmaker.UI.MVVM._VM.ActionBar.ActionBarVM.OnUnitChanged (Kingmaker.EntitySystem.Entities.UnitEntityData unit) [0x000bd] in <877554ad6dc44987a746e2a9e03806d5>:0    at UniRx.Observer+Subscribe1[T].OnNextInternal (T value) [0x00008] in <8278608da1374666822143d4d0b4e36e>:0
at UniRx.Observer+BaseObserver1[T].OnNext (T value) [0x00000] in <8278608da1374666822143d4d0b4e36e>:0    at UniRx.ObserverNode1[T].OnNext (T value) [0x00000] in <8278608da1374666822143d4d0b4e36e>:0
at UniRx.ReactiveProperty1[T].RaiseOnNext (T& value) [0x00009] in <8278608da1374666822143d4d0b4e36e>:0    at UniRx.ReactiveProperty1[T].set_Value (T value) [0x00024] in <8278608da1374666822143d4d0b4e36e>:0
at Kingmaker.UI.MVVM._VM.ActionBar.ActionBarVM.UpdateSelection () [0x00032] in <877554ad6dc44987a746e2a9e03806d5>:0
at Kingmaker.UI.MVVM._VM.ActionBar.ActionBarVM.OnUpdateHandler () [0x00025] in <877554ad6dc44987a746e2a9e03806d5>:0
at Kingmaker.UI.MVVM._VM.ActionBar.ActionBarVM.<.ctor>b__41_0 (UniRx.Unit _) [0x00000] in <877554ad6dc44987a746e2a9e03806d5>:0
at UniRx.Observer+Subscribe1[T].OnNextInternal (T value) [0x00008] in <8278608da1374666822143d4d0b4e36e>:0    at UniRx.Observer+BaseObserver1[T].OnNext (T value) [0x00000] in <8278608da1374666822143d4d0b4e36e>:0
at UniRx.InternalUtil.ListObserver1[T].OnNext (T value) [0x00010] in <8278608da1374666822143d4d0b4e36e>:0    at UniRx.Subject1[T].OnNext (T value) [0x00000] in <8278608da1374666822143d4d0b4e36e>:0
at UniRx.MainThreadDispatcher.Update () [0x00013] in <8278608da1374666822143d4d0b4e36e>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UniRx.<>c:<.ctor>b__66_0(Exception)
UniRx.MainThreadDispatcher:Update()
Expected Behavior
Normally Seelah would not have a spellbook button, period. Her abilities would be listed under her abilities button instead of the player character's, and her items would be her own instead of the player character's.
Log Files
Player.log
GameLogFull.txt
Save File
Manual_106_Underground_Caves_of_Kenabres__15_Arodus__VIII__4715__12_18_03.zip
Screenshots
No response
Settings
No response
Toybox Version
1.5.24
Operating System
Windows 10
What game are you using Toybox on?
Pathfinder Wrath of the Righteous
Game Version
2.3.3k
Anything else?
Using Modfinder to install / disable mods, issue occurs with only Toybox enabled.

I'm unable to replicate this, including with your save. Asked a few random people to test in Discord, they also couldn't replicate.
Looking at the code in question, I'm unsure of where it could be even NulRef-ing. My best guess right now would be that either Toybox or one of your game's files are corrupted somehow. On Modfinder, click the Uninstall button for Toybox, and then the Clear Cache button  under the Cogwheel, and then use Modfinder to install Toybox again. If that doesn't help, on Steam, go to Properties under WotR, and click the Verify Files button.

Alternatively, try turning off the Ignore Ability Restrictions toggle, as that's the patch that appears to be breaking things (though it doesn't on my end)

Since no response and we can't reproduce I closed


Youtube 'page' change scrobble error

When the playing Youtube video changes, or navigation occurs, the extension sometimes hangs up in the backend. I imagine this has something to do with capturing the HTML5 history state of the page, but it means that often a silent error prevents scrobbling, fixable only by a page refresh (that the user probably wouldn't expect to have to do.)
2015-09-04 13:38:43.323 main.js:97
   Missing controller for tab 476 (should only happen for legacy connector)

2015-09-04 13:38:43.324 @ extensions::uncaught_exception_handler:8
   Error in event handler for runtime.onMessage: TypeError: Cannot read property 'onStateChanged' of undefined
       at chrome-extension://achhfabcnpilepjnpedafpakffnfpple/core/background/main.js:145:9handler

I am getting a lot of these too. Using Chrome beta, currently 45. How about you?

Also noticed the page action icon disappears and the connector doesn't stay in place.
Youtube probably hacks the history api even better than we do :-P

Believe I'm just using standard Chrome distro, Version 45.0.2454.85 (64-bit)

I believe I have found a reproducible way of crashing the controller:

Play youtube video
Search something


Refactor the attachment code

Inspired by #5673. This PR follows the same steps as that PR. A few test PDFs:

http://www.jasnapaka.com/bugs/aaa.pdf (single attachment)
http://www.tcpdf.org/examples/example_015.pdf (multiple attachments)

/botio-linux preview

/botio-linux preview

Great work, thank you!


Backport the split client conn modules

In 1.0, we've split hyper::client::conn::Connection into per-version types. To ease upgrading (see #3052), we can backport the addition of the two modules, hyper::client::conn::{http1, http2}. With them in place, we could then add a deprecation to hyper::client::conn::Connection.
I don't think this will be actually be E-medium in complexity, as it's not adding something that needs many internal changes. But it's not quite easy, since once the files are copied, there might be some confusing errors over internal types that have been renamed.

I've started looking at this, and I'm not quite sure how to go ahead with this backport: the two versions of the conn module both publicly reexport the Body trait from http_body crate, but the 0.14.x code depends on http_body-0.4.5 and the master code depends on http_body-1.0.0-rc1, which is not backwards compatible.
The only way I can see right now is to have both versions of http_body as a dependency, with http_body-1.0.0-rc1 renamed as http_body_backport. Is this something we want to do?

Yes, thank you for your quick reply!
I'm preparing a POC PR. One thing of note is that I've removed the timer method of hyper::client::conn::http2::Builder. As far as I can tell this is a 1.0 feature, so no existing code relies on it.
I've created some smoke tests for the backported API, but I'm not quite familiar with the tests in hyper, I'm open for suggestions of further tests.

On a second thought, I might have gotten overly eager with the deprecation in this PR, that patch might be better off in another issue that tackles the deprecations relevant to the 1.0 upgrade in a systematic way.

I settled for 1_0-backports for the feature name, as . is not allowed in feature names.

Completed in #3155. (Deprecation was in #3156.)


Add -qenum=int as a default compiler option

This fixes the following issue with gawk: https://github.com/ZOSOpenTools/gawkport/issues/10
In addition, this matches the Linux default behaviour:

The default is -fno-short-enums. That is, the size of an enumeration type is at least 32 bits regardless of the size of the enumerator values.

This solved a problem that I was having with the OpenSSL port.

Great, I will merge it in


pcm-sensor-server generated grafana dashboard uses unsupported grafana plugins

grafana dashboard returned by pcm-sensor-server contains elements which are deprecated by latest grafana.
Need to useTimeSeries instead of  Graph which is older way

thanks for opening the issue. Let us know if you able to submit a pull request. If not we will address it asap

If you edit the panel it will propose a conversion. Accept the conversion, look at the difference in the Grafana xml, then modify the Grafana generator to use the converted code. Should not be too hard if you know a little scripting.

it turned out to be easier than I thought:
diff --git a/src/dashboard.cpp b/src/dashboard.cpp
index 97a827f..62c7d2e 100644
--- a/src/dashboard.cpp
+++ b/src/dashboard.cpp
@@ -325,7 +325,7 @@ public:
         "sort": 0,
         "value_type": "individual"
       },
-      "type": "graph",
+      "type": "timeseries",
       "xaxis": {
         "buckets": null,
         "mode": "time",

i also thought of the same changes, + perhaps change class name from GraphPanel to TimeSeriesPanel ?
I can submit a PR.

i also thought of the same changes, + perhaps change class name from GraphPanel to TimeSeriesPanel ? I can submit a PR.

that would be awesome

PR for fix: https://github.com/intel/pcm/pull/732


(maint) bump shell-quote from 1.7.2 to 1.7.3

Bumps shell-quote from 1.7.2 to 1.7.3.

Release notes
Changelog
Commits

updated-dependencies:

dependency-name: shell-quote
dependency-type: indirect
...

Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Content bug: Email address contains extra @ for grant recipients of the Contact Us page

see screenshot

Fixed. Thanks!


refactor(bundler): finish initial documentation, reorganize modules

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] New Binding Issue #___
[ ] Code style update
[x] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes. Issue #___
[ ] No

The PR fulfills these requirements:

[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix: #xxx[,#xxx], where "xxx" is the issue number)
[x] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

wow - this is

Yeah, we need this because we're getting some attention with the bundler as a library :)


Some way to ignore files on Rails 5...

While working with rails version 5, and ember-cli-rails, I end up waiting minutes for the rails console to come up, because spring-watcher-listen is observing changes on folders such as bower_components and node_modules, which tend to be huge trees.
I had to come by with a nasty workaround - see related issue on thoughtbot/ember-cli-rails - on the config/spring.rb file:
Spring::Watcher::Listen.class_eval do
  def base_directories
    %w(app config lib spec vendor)
      .uniq.map { |path| Pathname.new(File.join(root, path)) }
  end
end

%w(
  .ruby-version
  .rbenv-vars
  tmp/restart.txt
  tmp/caching-dev.txt
).each { |path| Spring.watch(path) }

Is there something to be done to configure this?

Things like 'bower_components' and 'node_modules' should be ignored by Listen default. (I would've done that a long time ago, except I was worried about SemVer - I was probably too careful).
Listen has a default list of files/directories to ignore. I think both should be added there. I doubt anyone would get hurt if I just do a minor version bump.
Personally, I think the idea of having huge directories like that inside a project dir to be detrimental. Oh well...
Listen should ignore symlinks - so that could be another workaround. (Although symlink handling is another can of worms).

Personally, I think the idea of having huge directories like that inside a project dir to be detrimental.

It IS detrimental... I'd say it's MENTAL... BAD NODEJS, BAD!
But aside from this, I think it would be a good idea to be able to configure this somehow, don't you?

I'm guessing you can do something like:
Spring.watcher.ignore(/^node_modules$/) if Spring.watcher.respond_to?(:ignore)

@e2 You can, although AFAICT Listen still ends up tracking those files via listen/kqueue, it just doesn't report them to Spring.
This can be pretty slow: if I use @vovimayhem's base_directories hack to only watch subdirectories, then I can cold-boot spring + my app in 4.5 seconds.  If I don't use the hack, and Listen ends up tracking my node_modules files (amongst others), it takes 12 seconds.

That said, the tradeoff is that you can't watch anything that isn't in those directories.  So in @vovimayhem's example -
Spring::Watcher::Listen.class_eval do
  def base_directories
    %w(app config lib spec vendor)
      .uniq.map { |path| Pathname.new(File.join(root, path)) }
  end
end

%w(
  .ruby-version
  .rbenv-vars
  tmp/restart.txt
  tmp/caching-dev.txt
).each { |path| Spring.watch(path) }

AFAICT, none of those paths being passed to Spring.watch are actually having any effect, since tmp and the rails root directory aren't included in base_directories.

Alternatively you can create file ~/.spring.rb and add code here:
require 'spring/watcher/listen'

Spring::Watcher::Listen.class_eval do
  def base_directories
    %w(app config lib spec vendor)
      .uniq.map { |path| Pathname.new(File.join(root, path)) }
  end
end

Actually more correct way is to use "native" listen's ignore: option see here or some other "native" options, e.g.:
# e.g. in config/spring.rb
module SpringWatcherListenIgnorer
  def start
    super
    listener.ignore(/^client|^node_modules|^storage/)
  end
end
Spring::Watcher::Listen.prepend SpringWatcherListenIgnorer

as a bonus - no class_eval, correct behaviour for other possible non-ignored folders & files, ability to use more precise configs from listen.

@dzirtusss  I'm not so sure about that - from the docs:

Note: Ignoring paths does not improve performance, except when Polling (#274)

With your config, Listen is observing changes (via kqueue or whatever) to every single file in the rails-root directory & subdirectories, then filtering them out on the ruby side with that regexp.  That's a lot of unnecessary work, especially with giant directory trees like node_modules.

@jdelStrother I'm not so sure about that....

Really sorry, but because patch works, this ^^^ means only lack of understanding why this is happening. Without patch, spring threads are on ~100% cpu per thread, with this patch on 0% cpu per thread. Same way as with base_directories patch above.
IMO, this patch only proves that issue is after ignore regex part - more deeper in listener or in spring 🤷♂
Some observations - when it goes into cpu throttling, it goes there in a never-ending way (at least I never noticed it stopped). This is very strange because if this was a qty of changed files issue it should stop eventually, but it keeps rolling cpu for hours. Plus node_modules folders don't change 😄
My best guess - this is qty of files (not qty of changes to files) and some non-optimised looping over it somewhere. Because node_modules type of folders are mostly static folders, some place it just can't handle such qty. I mean I don't say it is that simple, but if I'd need to debug this, I would go this road.

Thank you @dzirtusss! My CPU is idling again! In the end my config/spring.rb file looks like this:
Spring.watch(
  ".ruby-version",
  ".rbenv-vars",
  "tmp/restart.txt",
  "tmp/caching-dev.txt"
)

module SpringWatcherListenIgnorer
  def start
    super
    listener.ignore(/^data/)
  end
end

Spring::Watcher::Listen.prepend SpringWatcherListenIgnorer

It was important to add your code after the Spring.watch call.

Ultra low-level solution to block inotify from listening to some folders.
I have a pgdata folder with a docker volume containing the postgresql databnase, which is not accessible to the current user. inotify was failing with permission error.

INOTIFY_BLACKLIST = %w[
  .git
  node_modules
  pgdata-*
  tmp
  logs
].map { |dir| Pathname(Spring.watcher.root).glob(dir) }.flatten.map(&:to_s)

require 'rb-inotify'
module INotifyNotifierIgnorer
  def watch(path, *flags, &callback)
    return if INOTIFY_BLACKLIST.include?(path)
    # warn path # to see all the paths listened to
    super(path, *flags, &callback)
  end
end
INotify::Notifier.prepend INotifyNotifierIgnorer

(in config/spring.rb before the Spring.watch(...))
This will block any other attempt to listen to those directories even from outside of Spring, but unless you are doing something very special, this should not be a problem.

@mildred Thanks! This was the only solution that worked for me.
I went from having more than 200K observers to just about 200.