[Bug] Active Directory (Authentication=ActiveDirectoryServicePrincipalCertificate). Cannot parse the PVK, PVK file does not contain the correct header..does it not support encryped keys?

Question
ActiveDirectoryServicePrincipalCertificate Authentication with client certifiicate private key and private key associated with password is not working.
String jdbcUrl = "jdbc:sqlserver://******;" +
                "database=*******;" +
                "encrypt=true;"+
                "trustServerCertificate=true;" +
                "authentication=ActiveDirectoryServicePrincipalCertificate;"+
                "user=*****;"+
                "clientCertificate= ******;"+
                "clientKey=******;"+
                "clientKeyPassword=*****";

I am trying to connect with azuresql db with the above url using (clientcert,private key,password) for authentication
Note(clientcert with private key is working)
client cert with password also working.
only the above combination is giving the below error..I have verified the private key as well it contains valid header
-----BEGIN ENCRYPTED PRIVATE KEY-----
Exception in thread "main" com.microsoft.sqlserver.jdbc.SQLServerException: Failed to authenticate the user xxxxxxxx in Active Directory (Authentication=ActiveDirectoryServicePrincipalCertificate). Cannot parse the PVK, PVK file does not contain the correct header.
	at com.microsoft.sqlserver.jdbc.SQLServerMSAL4JUtils.getCorrectedException(SQLServerMSAL4JUtils.java:488)
	at com.microsoft.sqlserver.jdbc.SQLServerMSAL4JUtils.getSqlFedAuthTokenPrincipalCertificate(SQLServerMSAL4JUtils.java:319)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.getFedAuthToken(SQLServerConnection.java:6089)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.onFedAuthInfo(SQLServerConnection.java:6012)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.processFedAuthInfo(SQLServerConnection.java:5846)
	at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onFedAuthInfo(tdsparser.java:346)
	at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:130)
	at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:42)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:6905)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:5451)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:5383)
	at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7775)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:4408)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:3845)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:3402)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:3211)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1979)
	at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1267)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:251)

tested with latest driver also 12.8.0.jre11
Is it a bug in driver?
use below steps to create certificate with private key and privatekey password

Generate a Private Key (with password):
openssl genpkey -algorithm RSA -aes256 -out private.key -pass pass:<your-password>
Create a Certificate Signing Request (CSR):
openssl req -new -key private.key -out request.csr -passin pass:<your-password>
Generate a Self-Signed Certificate:
openssl x509 -req -days 365 -in request.csr -signkey private.key -out certificate.crt -passin pass:<your-password>

Relevant Issues and Pull Requests

hi @muskaan62
I don't see the code you used to connect but the url you included above doesn't look correct. Please see this doc for an example on how to connect using ActiveDirectoryServicePrincipalCertificate authentication mode.

hi @muskaan62
I don't see the code you used to connect but the url you included above doesn't look correct. Please see this doc for an example on how to connect using ActiveDirectoryServicePrincipalCertificate authentication mode.

@lilgreenbird The code
try (Connection connection = DriverManager.getConnection(jdbcUrl);
             Statement stmt = connection.createStatement();
             ResultSet rs = stmt.executeQuery("SELECT* from TestTable")) {

            if (rs.next()) {
                System.out.println("Id: " + rs.getString(1));
                System.out.println("Name: " + rs.getString(2));
            }
        }

can u please mention whats the wrong in the url also the attach doc is not showing anything its pointing to github repo only.I am kinda block on this.

@lilgreenbird I think the bug is in this method https://github.com/microsoft/mssql-jdbc/blob/main/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerCertificateUtils.java#L397 which use to decrypt the encrypted private key

I'm sorry it looks like there was a c&p issue the link in my prev post was wrong, I've now fixed it. The example uses SQLServerDataSource but it's the same idea in URL form, you can see in the sample what properties is needed for ActiveDirectoryServicePrincipalCertificate auth.
We also have junit test which tests ActiveDirectoryServicePrincipalCertificate fyi.

@lilgreenbird I am using the correct properties in URL form. And the test you provide is only for testing certificate auth without any password.
let me tell you in details
As per this doc https://learn.microsoft.com/en-us/sql/connect/jdbc/connecting-using-azure-active-directory-authentication?view=sql-server-ver16#connect-using-activedirectoryserviceprincipalcertificate-authentication-mode we can authenticate via ActiveDirectoryServicePrincipal certificate in this four ways.

client certificate without password (the test you provide for this scenario) [working]
client certificate with password [working]
client certificate with private key [working]
client certificate with private key and key password  (i.e means encrypted key) [bug]
The above 3 ways are working fine but fourth is not ..so for that i clone the jdbc driver code in my machine and debug and observe the logic use for decrypting the private key for the fourth option is not correct so i replaced with another logic(gave details in prev commet) and try to authenticate and its working ..please check my previous comment. its a bug in the code..if URL has any issues it wouldn't have work for any option and when i replace the logic also it wouldnt have work for fourth option..but its working that means no issue with the URL.

@lilgreenbird I try to raise the PR for this issue but looks like i dont have perms to create PR.
though i have created a patch for the fix below

hi @muskaan62
Thanks, what errors are you getting whehn you tried to create a PR? this is open source so anyone should be able to create a PR and we've had contributions from various users in the past. You should be able to create a PR here

@lilgreenbird facing this error

@lilgreenbird what are the protocols supported for certificate location do we have any documentation for this?

I'm encountering the same issue. Seems currently only encrypted private key in PKCS#1 format is supported by MSSQL JDBC. I tried converting the private key PEM to PKCS#1 format and encrypted it. This worked and might be a workaround for now.
openssl rsa -in key.pem -out key-pkcs1.pem -traditional
openssl rsa -in key-pkcs1.pem -out key-pkcs1-encrypted.pem -aes256 -traditional


how to open url with templater

when the file in url is no, the lumberjack of plugin  can create new file with templater, ,but advance url only creat a new file without templater , i think your plugin is much better than it  maybe I was not be able to find the function, Could you tell how to set it,thanks

How does your tried uri look like? How should a template get inserted? Inserts Templater templates on file creation or is that a feature of lumberjack plugin?

I just found out about this issue by  trying to use templater with this plugin. And the problem is not just templater per se but because of using % character in the uri. I think it is escape character and after getting encoded it causes an invalid uri.
I am trying to modifythis js bookmarklet to customize it. This one is using the base uri command and don't have any issue with it,
my code is here, if you test it yourself you can see only if you select text that contains % in it it fails to work.
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{
    default: Turndown
}, {
    default: Readability
}]) => {

  /* Optional vault name */
  const vault = "vault 01";

  /* Optional folder name such as "Clippings/" */
  const folder = "";
  const fileName = "test";
  const heading = "Done";

  /* Mode? */

  const mode = "append";

  /* Optional tags  */
  const tags = "#clippings";

  function getSelectionHtml() {
    var html = "";
    if (typeof window.getSelection != "undefined") {
        var sel = window.getSelection();
        if (sel.rangeCount) {
            var container = document.createElement("div");
            for (var i = 0, len = sel.rangeCount; i < len; ++i) {
                container.appendChild(sel.getRangeAt(i).cloneContents());
            }
            html = container.innerHTML;
        }
    } else if (typeof document.selection != "undefined") {
        if (document.selection.type == "Text") {
            html = document.selection.createRange().htmlText;
        }
    }
    return html;
  }

  const selection = getSelectionHtml();

  const {
      title,
      byline,
      content
  } = new Readability(document.cloneNode(true)).parse();

// 📝
//  const fileName = getFileName(title);

  if (selection) {
      var markdownify = selection;
  } else {
      var markdownify = content;
  }

  if (vault) {
      var vaultName = '&vault=' + encodeURIComponent(`${vault}`);
  } else {
      var vaultName = '';
  }

  const markdownBody = new Turndown({
      headingStyle: 'atx',
      hr: '---',
      bulletListMarker: '-',
      codeBlockStyle: 'fenced',
      emDelimiter: '*',
  }).turndown(markdownify);

  const fileContent =
      "\n- [x] "
	  + "**link:** [" + title + "](" + document.URL + ")"
	  + "**Body:** " + markdownBody;

  if (vault) {
      var vaultName = '&vault=' + encodeURIComponent(`${vault}`);
  } else {
      var vaultName = '';
  }
 const outputVar =
    "obsidian://advanced-uri?vault=" + vaultName
    + "&filepath=" + encodeURIComponent(folder + fileName)
    + "&heading=" + encodeURIComponent(heading)
    + "&data=" + encodeURIComponent(fileContent)
	+ "&mode=" + mode;

	document.location.href = outputVar;

//	copyToClipboard(outputVar);

})

Thanks

@Archie-2021 What exactly are you trying to do? Do you want to create a file with this as content?

@Archie-2021 What exactly are you trying to do? Do you want to create a file with this as content?

i was trying to use this script in browser to create a file with the content of variable filecontent in this code, the issue is that anything string with certain characters if get encoded and passed to this plugin is not going to work,

Could you try encoding it twice using encoder like https://www.urlencoder.io/ So that % gets to ...&data=%2525...

Could you try encoding it twice using encoder like https://www.urlencoder.io/ So that % gets to ...&data=%2525...

It has been a long time and I forgot the details, but I found out there was also some similar issue with core obsidian uri too (altho I got some issue with this one which core had no issue). I don't think anything getting double encoded in the code above as you can see. For now I am by passing the actual website content/ actual text by sending that via clipboard and just using uri for creating the note and formatting, solving my issue temporarily. But I think there is a lot of more debugging needed both for the core uri and this plugin.
Thank you

Could you try encoding it twice using encoder like https://www.urlencoder.io/ So that % gets to ...&data=%2525...

Ok I had to modify my scripts so I tried it again. There is no way to send <% %> with this plugin, the core obsidian uri can send the same text that doesn't work with this plugin. Whatever happening with encoding % sign should mess with that too. Now I can't use core uri because I have to append to section and it only possible in this plugin...

sorry to repeating myself, but any update on this issue? i kinda need this feature in my workflow. it is a huge  improvment in automation, opens a lot of possibilities. if only this plugin can handle sending %

I have no problems appending <% %> using obsidian://advanced-uri?vault=Test&filepath=Test.md&data=%253C%2525%2520%2525%253E&mode=append as a link on Android.

I have no problems appending <% %> using obsidian://advanced-uri?vault=Test&filepath=Test.md&data=%253C%2525%2520%2525%253E&mode=append as a link on Android.

i am on windows not android. my script is a modified version of this (Obsidian Web Clipper Bookmarklet with full Markdown support for images, headings, and code blocks - Share & showcase - Obsidian Forum) script(which uses Core ObsidianURI). i can send you the script to kindly test it on your end. all the variables are on the top


Clean up view

Use $.post rather than $.ajax
Use .done .fail method with $.post
Console says, mimetype keyword is depricated, so use content_type
content_type of JSON is application/json, not text/javascript
id_url gets focused on load

LGTM


Change CI so that it hopefully caches now

Nice, caching saved 2 minutes for running the CI on the latest commit.

Nice, caching saved 2 minutes for running the CI on the latest commit.

is it worth trying the caching of poetry itself?

Nice, caching saved 2 minutes for running the CI on the latest commit.

is it worth trying the caching of poetry itself?

Hm, installing poetry takes 13seconds. Not sure that's worth it.


cmake: set minimum version to 3.10

set cmake minimum version to 3.10
change afu-test to an interface (header-only) library where client libraries/applications inherit compiler/linker options when linking with afu-test.

Coverage decreased (-0.03%) to 68.359% when pulling 0fffa7f6e1a6b79365c96ef5fe1c6eab5e551c1a on rrojo/cmake-fixes into 3180d6d7d526a43eea6fd6902f2a35604c5f2ca5 on master.

@hundeboll , thanks for the reminder. I did change it in all uses in opae-libs and merged that subtree into this repository prior to changing in this repository.


Avoid infinite recursion between AnimationPlayer and AnimationMixer

In theory AnimationPlayer.current_animation shouldn't be setted directly but in normal cases that don't cause any problem unless the animation key set current_animation to an empty string, in this case will start an infinite recursion between AnimationPlayer calling AnimationMixer::_blend_process and AnimationMixer setting the current animation to a empty string which will never stop until the engine crashes. This fix makes AnimationMixer ignore these animation keys (that would do nothing anyways) and avoid the crash.
Fix: #98076

Indeed the ["stop"] also triggers the issue, updated again and now i think is ready to merge

BTW, is it a problem if stop() is called in a method track?

Nothing happens, no crash but also the animation don't stop.

How about a different approach, such as calling clear_cache() with deferred inside stop()?

I tried that and seems to have no effect to avoid the crash.

Another alternative could be change current_animation from PROPERTY_USAGE_EDITOR to PROPERTY_USAGE_NONE, so that property won't appear in the "Select Property" window


efficientnet similar mnasnet?

Looks like the structure of the model efficientnet is quite similar to mnasnet?

It was mentioned in the paper that they search the base model using the same search space of Mnasnet, so the architecture is similar.

Thanks you!


'Record "Excel Buffer"' does not contain a definition for 'SelectSheetsNameStream'

Hi,
Connectiong to Business Central Sandbox I get this error, no compile error when building the extensions only when publishing to api.businesscentral.dynamics.com
2018-06-07 10:13:07.18] Authenticating...
[2018-06-07 10:13:07.66] Sending request to https://api.businesscentral.dynamics.com/v1.0/sandbox/dev/apps?SchemaUpdateMode=synchronize
[2018-06-07 10:13:20.82] The request for path /v1.0/sandbox/dev/apps?SchemaUpdateMode=synchronize failed with code 422. Reason: Extension compilation failed
Src/report/Rep80400.SCBImportSetupEntryExcel.al(44,51): error AL0132: 'Record "Excel Buffer"' does not contain a definition for 'SelectSheetsNameStream'
Src/report/Rep80400.SCBImportSetupEntryExcel.al(61,51): error AL0132: 'Record "Excel Buffer"' does not contain a definition for 'SelectSheetsNameStream'
I was told that 'SelectSheetsNameStream was availble in business central.
I did the same test on docker image bcinsider.azurecr.io/bcsandbox-master:dk
but newer build which I´m able to publish with no error.
I´m stuck here in my customer extension, so when will the api.businesscentral.dynamics.com be updated.

The SelectSheetsNameStream function was added to main branch of Business Central and is hence available and visible in developer previews. The function is, however, not available in production yet, as the code change wasn't backported to be included in a minor release. For the full picture, please refer to https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/. As things are now, the function will ship with the next major release in the fall. Based on this issue I assume you would like that to happen earlier and I'll hence backport the fix right away. Release will not be before a couple of months though anyway, I'm afraid.


Fixed grammatical errors in chain-middleware-to-create-a-time-server.spanish.md

Fixed some grammatical errors

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #XXXXX

Hi @NachoCoding
As there has been no response from your end for a while, we are closing this PR.
Feel free to request this PR to be reopened or create a new PR, if you still wish to make the changes you originally added plus any additional change requests asked of you.  Also, remember to update your fork, so you have the latest version of master in case it has changed significantly.
Happy Coding!


Error: certificate signature failure

I have been using external-secrets in k8s for a year and it works great. However to night external secrets started failing:

ERROR,"Error: certificate signature failure".

After checking the logs I found:
{"level":50,"message_time":"2023-03-28T03:36:56.391Z","pid":18,"hostname":"kubernetes-external-secrets-6bbd8f97d8-59q85","payload":{"err":{"type":"RequestError","message":"Error: certificate signature failure","stack":"RequestError: Error: certificate signature failure\n    at new RequestError (/app/node_modules/request-promise-core/lib/errors.js:14:15)\n    at Request.plumbing.callback (/app/node_modules/request-promise-core/lib/plumbing.js:87:29)\n    at Request.RP$callback [as _callback] (/app/node_modules/request-promise-core/lib/plumbing.js:46:31)\n    at self.callback (/app/node_modules/request/request.js:185:22)\n    at Request.emit (events.js:400:28)\n    at Request.emit (domain.js:475:12)\n    at Request.onRequestError (/app/node_modules/request/request.js:877:8)\n    at ClientRequest.emit (events.js:400:28)\n    at ClientRequest.emit (domain.js:475:12)\n    at TLSSocket.socketErrorListener (_http_client.js:475:9)","name":"RequestError","cause":{"type":"Error","message":"certificate signature failure","stack":"Error: certificate signature failure\n    at TLSWrap.verifyError (<anonymous>)\n    at TLSSocket.onConnectSecure (_tls_wrap.js:1515:34)\n    at TLSSocket.emit (events.js:400:28)\n    at TLSSocket.emit (domain.js:475:12)\n    at TLSSocket._finishInit (_tls_wrap.js:937:8)\n    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:709:12)","code":"CERT_SIGNATURE_FAILURE"},"error":{"type":"Error","message":"certificate signature failure","stack":"Error: certificate signature failure\n    at TLSWrap.verifyError (<anonymous>)\n    at TLSSocket.onConnectSecure (_tls_wrap.js:1515:34)\n    at TLSSocket.emit (events.js:400:28)\n    at TLSSocket.emit (domain.js:475:12)\n    at TLSSocket._finishInit (_tls_wrap.js:937:8)\n    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:709:12)","code":"CERT_SIGNATURE_FAILURE"},"options":{"json":{"role":"default","jwt":"[Redacted]"},"resolveWithFullResponse":true,"simple":false,"strictSSL":true,"followAllRedirects":true,"method":"POST","path":"/auth/kubernetes/login","headers":"[Redacted]","uri":"https://vault.vault.svc.cluster.local:8200/v1/auth/kubernetes/login","transform2xxOnly":false}}},"msg":"failure while polling the secret jx-staging/keycloak-postgresql"}

restarting the pod fixed the problem.
Is there a way to fix this please ? As far as I can tell the app is not able to talk to the vault due to a certificate issue (certificate expired ? ) but the vault certificate seems fine and works after a restart. Could it be a cache issue of the certificate ?

Hey, you're using kubernetes-external-secrets. That has been deprecated and does not receive any further updates.


TextFormatAlign.JUSTIFY doesn't work on Neko / Windows

TextFormatAlign.JUSTIFY works correctly on Flash, but on Neko and Windows the text is justified to the right.

Should be implemented :smile:


Add some missing TCF-related fields to System model

Is your feature request related to a specific problem?
We need to add these fields to the System model:

cookie_max_age_seconds: Optional[int]
uses_cookies: bool, default=False
cookie_refresh: bool, default=False
uses_non_cookie_access: bool, default=False
legitimate_interest_disclosure_url: Optional[AnyUrl]

Describe the solution you'd like
Update the System model, shouldn't be more complexity than that
Describe alternatives you've considered, if any
n/a
Additional context
broader ticket covering the updates across our stack: https://ethyca.atlassian.net/browse/PROD-1147

moving to done


HC storage group has GREEN status while one Vdisk has RED

I've noticed that after storage node restart could be no group report while vdisk is RED

after some time these groups could changed their status to YELLOW as expected
it means that BSC could send vslot.status().number() == NKikimrBlobStorage::ERROR
and operatingstatus() == NKikimrBlobStorage::TGroupStatus::FULL

@alexvru could you please clarify if it's possible that BSC sends vdisk with status vslot.status().number() == NKikimrBlobStorage::ERROR
and related storage group with operatingstatus() == NKikimrBlobStorage::TGroupStatus::FULL ?
is it expected behavior?
if it`s help, I've noticed that this could happen after storage node restart


Fixed a bug with setting values for repeating types

lodash.set in update.js gives up when running into a string in the path
it's trying to set.  If only there were a way to just make it override
it.. This is a workaround so that I can set dates within a repeating
type.

#99


Add envoy-gateway as a release artifact

          similar to envoyproxy https://github.com/envoyproxy/envoy/releases/tag/v1.32.0 , imo `linux-x86_64` is good enough for now

Originally posted by @arkodg in https://github.com/envoyproxy/gateway/pull/4518#discussion_r1819855443

blocke on https://github.com/envoyproxy/gateway/pull/4580


Some Icons not rendering in iOS after updating react-native-svg from version 15.3.0

Description
After updating react-native-svg from version 15.3.0, some icons stopped working on iOS. The issue does not affect Android—icons continue to render correctly on that platform.
Here is an example of the affected icons:
import Svg, { G, Mask, Path, Rect } from "react-native-svg";

import { IconType } from ".";

export const BidIcon = ({ color = "black", size = 24 }: IconType) => (
    <Svg width={size} height={size} viewBox='0 0 12 13' fill='none'>
        <Mask id='mask0_2261_4842' maskUnits='userSpaceOnUse' x={1} y={3} width={10} height={7}>
            <Path
                d='M10.8686 9.36854C10.9499 9.28734 11 9.17501 11 9.05087L11 8.45077C11 8.32644 10.9493 8.21374 10.8677 8.13216C10.7861 8.05059 10.6733 7.99995 10.5488 7.99995L10.3996 7.99995L10.3996 5.00005L10.5488 5.00005C10.6733 5.00005 10.7861 4.94941 10.8677 4.86784C10.9493 4.78626 11 4.67356 11 4.54923L11 3.94913C11 3.8248 10.9499 3.71266 10.8686 3.63146C10.7874 3.55026 10.675 3.5 10.5505 3.5L7.24641 3.5C7.12199 3.5 7.00957 3.55007 6.92831 3.63146C6.84705 3.71285 6.79694 3.82499 6.79694 3.94932L6.79694 4.54923C6.79694 4.67356 6.84761 4.78626 6.92925 4.86784C7.01088 4.94941 7.12367 5.00005 7.2481 5.00005L7.3973 5.00005L7.3973 7.99995L7.2481 7.99995C7.12367 7.99995 7.01088 8.0504 6.92925 8.13216C6.84761 8.21392 6.79694 8.32644 6.79694 8.45077L6.79694 9.05087C6.79694 9.1752 6.84705 9.28753 6.92831 9.36873C7.00957 9.44993 7.12199 9.5 7.24641 9.5L10.5505 9.5C10.675 9.5 10.7874 9.44974 10.8686 9.36854ZM6.79675 5.9L5.24603 5.9C5.24603 5.73422 5.17885 5.58439 5.07019 5.47581C4.96153 5.36723 4.81139 5.30009 4.64568 5.30009L1.60036 5.30009C1.43446 5.30009 1.28432 5.36723 1.17585 5.47581C1.06719 5.58439 0.999999 5.73441 0.999999 5.9L0.999999 7.1C0.999999 7.26578 1.06719 7.4158 1.17585 7.52438C1.28451 7.63296 1.43464 7.70009 1.60054 7.70009L4.64587 7.70009C4.81177 7.70009 4.9619 7.63296 5.07056 7.52438C5.17922 7.4158 5.24641 7.26578 5.24641 7.10019L6.79713 7.10019L6.79675 5.9Z'
                fill={color}
            />
        </Mask>
        <G mask='url(#mask0_2261_4842)'>
            <Rect x={12} y={0.5} width={12} height={12} transform='rotate(90 12 0.5)' fill='white' />
        </G>
    </Svg>
);

Here’s a screenshot illustrating the issue:

The icon works fine in version 15.3.0, but fails to render in any version up to 15.3.0.
Steps to reproduce

Install react-native-svg with latest version
Use the icon code shown above
The icon is not going to be render in iOS

Snack or a link to a repository
https://snack.expo.dev/@bcabuyerappeu/react-native-svg-issue
SVG version
15.7.1
React Native version
0.75.2
Platforms
iOS
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes

It works from our main branch. That problem was resolved in that PR.

Unfortunately, it would help if you waited until the next release.


feat(eager): ignore_unknown_function_kwargs option

Allow ORTEvaluator to ignore unknown function kwargs so we can handle kwargs we don't care in the exporter.

@gramalingam merging this to unblock the exporter. LMK if there are changes you want me to make and I will follow up with a PR

@justinchuby Should we adapt this into TorchScriptEvaluator?

We have already. The torchscript evaluator always allow unknown args for practicality

It seems that diagnostics relying on accurate kwargs for some reasons:
Traceback (most recent call last):
  File "/home/titaiwang/pytorch/symbolically_gpt.py", line 28, in <module>
    ) = fx_onnx.export_without_parameters_and_buffers(
  File "<@beartype(torch.onnx._internal.fx.exporter.export_without_parameters_and_buffers) at 0x7f9c5c80c280>", line 96, in export_without_parameters_and_buffers
  File "/home/titaiwang/pytorch/torch/onnx/_internal/fx/exporter.py", line 899, in export_without_parameters_and_buffers
    _export(
  File "<@beartype(torch.onnx._internal.fx.exporter._export) at 0x7f9c5c804940>", line 31, in _export
  File "/home/titaiwang/pytorch/torch/onnx/_internal/fx/exporter.py", line 638, in _export
    onnxscript_graph, initializers = _export_fx_to_onnxscript(
  File "/home/titaiwang/pytorch/torch/onnx/_internal/diagnostics/infra/decorator.py", line 124, in wrapper
    return_values = fn(*args, **kwargs)
  File "/home/titaiwang/pytorch/torch/onnx/_internal/fx/exporter.py", line 527, in _export_fx_to_onnxscript
    _export_fx_node_to_onnxscript(
  File "<@beartype(torch.onnx._internal.fx.exporter._export_fx_node_to_onnxscript) at 0x7f9c5c804430>", line 145, in _export_fx_node_to_onnxscript
  File "/home/titaiwang/pytorch/torch/onnx/_internal/diagnostics/infra/decorator.py", line 124, in wrapper
    return_values = fn(*args, **kwargs)
  File "/home/titaiwang/pytorch/torch/onnx/_internal/fx/exporter.py", line 439, in _export_fx_node_to_onnxscript
    ] = symbolic_fn(*onnx_args, **onnx_kwargs)
  File "/home/titaiwang/pytorch/torch/onnx/_internal/diagnostics/infra/decorator.py", line 115, in wrapper
    format_function_signature_in_markdown(
  File "<@beartype(torch.onnx._internal.diagnostics.infra.decorator.format_function_signature_in_markdown) at 0x7f9c5cb9b4c0>", line 84, in format_function_signature_in_markdown
  File "/home/titaiwang/pytorch/torch/onnx/_internal/diagnostics/infra/decorator.py", line 39, in format_function_signature_in_markdown
    state = utils.function_state(fn, args, kwargs)
  File "<@beartype(torch.onnx._internal.diagnostics.infra.utils.function_state) at 0x7f9c5f9b9b80>", line 67, in function_state
  File "/home/titaiwang/pytorch/torch/onnx/_internal/diagnostics/infra/utils.py", line 65, in function_state
    bind = inspect.signature(fn).bind(*args, **kwargs)
  File "/home/titaiwang/anaconda3/envs/pytorch-dev/lib/python3.9/inspect.py", line 3045, in bind
    return self._bind(args, kwargs)
  File "/home/titaiwang/anaconda3/envs/pytorch-dev/lib/python3.9/inspect.py", line 3034, in _bind
    raise TypeError(
TypeError: got an unexpected keyword argument 'layout'

Hmm I feel silently ignoring extra kwargs is prone to error. For example a typo won't be caught. Besides, I feel like there should always be a good reason whenever we ignore a certain kwarg from aten, and it should be made explicit.
If continuing with this PR, @titaiwangms it sounds like a good opportunity to capture a diagnostics when this is hit. You can add logic to mitigate this situation for function_state, log the kwargs being ignored, and alter the diagnostics level to warning.

Hmm I feel silently ignoring extra kwargs is prone to error. For example a typo won't be caught. Besides, I feel like there should always be a good reason whenever we ignore a certain kwarg from aten, and it should be made explicit.
If continuing with this PR, @titaiwangms it sounds like a good opportunity to capture a diagnostics when this is hit. You can add logic to mitigate this situation for function_state, log the kwargs being ignored, and alter the diagnostics level to warning.

I agree. That's currently the best I can think of to account for an unknown set of kwargs. Would love to hear ideas too how we can do this better and more robustly.


Just showing you what I was talking about. :)

Just a couple of the things I was talking about.
I can run through any of the changes with you if you want.
I didn't make this for you to merge.
It's your project. Not mine. :P
I just wanted to quickly show you. :)

Didn't want to come across as a dick... :(


update mamba constraint

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Unfortunately this was on purpose since mamba 1.4.4 has a bug with the topological sorting. Should be fixed with 1.4.5 (released today).
Sorry

Bug is visible here: https://github.com/mamba-org/boa/pull/351 and bug report here: https://github.com/mamba-org/mamba/issues/2609


Alban/systemd fix master

stage1: remove keep-fd patch when built against systemd git master
Because of the last changes in systemd git master, our --keep-fd patch is not needed anymore.
stage1: rebase pid-file patch against systemd-git-master
Because of the last changes in systemd git master, our --pid-file patch conflicts.
I wanted to remove the pid-file patch but there are unresolved questions about it (see #910). Meanwhile, this PR should fix the stage1 compilation against systemd git master.

@iaguis Semaphore is green, PTAL

LGTM


Placing the active block "Feed (timeline) in Dashboard page generates an error

like in the attached screenshot

The issue was already fixed here #2475


Feature/fix internal analyzer

Improve test coverage on the VulnerableSoftwareRepository.class

@mehab Could you please rebase your last commit with main? The PR's change set contains things that already are in main, I think that's because I merged yesterday's with with a squash commit... Sorry for the inconvenience.

did the rebasing.Sorry for the mixup


Support dual stack in network policy controller

Is your feature request related to a problem? Please describe.

Currently we require using --disable-network-policy on dual-stack clusters, because kube-router's network policy controller didn't support dual-stack.
Describe the solution you'd like

Being able to use k3s with dual-stack and network policies.
kube-router network policy controller with dual-stack support

Backporting

[ ] Needs backporting to older releases

Validation using commit id 483eadb59a499fe8173d59714f05045f8a3bc2bf on a dual stack setup
ubuntu@ip-192-168-72-14:~$ cat /etc/rancher/k3s/config.yaml
write-kubeconfig-mode: 644
token: "secret"
node-ip: <ipv4>,<ipv6>:5442
cluster-cidr: <IP_ADDRESS>/16,2001:cafe:43:0::/56
service-cidr: <IP_ADDRESS>/16,2001:cafe:43:1::/112
flannel-ipv6-masq: true
ubuntu@ip-192-168-72-14:~$

ubuntu@ip-192-168-72-14:~$ kubectl get nodes
NAME                STATUS   ROLES                  AGE     VERSION
ip-192-168-70-140   Ready    <none>                 50m     v1.23.5+k3s-483eadb5
ip-192-168-72-14    Ready    control-plane,master   6h30m   v1.23.5+k3s-483eadb5

ubuntu@ip-192-168-72-14:~$ kubectl get pods -A
NAMESPACE     NAME                                      READY   STATUS      RESTARTS   AGE
kube-system   local-path-provisioner-6c79684f77-tlqdd   1/1     Running     0          6h30m
kube-system   coredns-d76bd69b-2ts2m                    1/1     Running     0          6h30m
kube-system   helm-install-traefik-crd-xzh5g            0/1     Completed   0          6h30m
kube-system   metrics-server-7cd5fcb6b7-jzh7s           1/1     Running     0          6h30m
kube-system   helm-install-traefik-9bz7r                0/1     Completed   2          6h30m
kube-system   svclb-traefik-gqrj5                       2/2     Running     0          6h29m
kube-system   traefik-58b759688b-qmspp                  1/1     Running     0          6h29m
kube-system   svclb-traefik-lmw2v                       2/2     Running     0          50m

Verification
$ kubectl get svc
NAME                      TYPE        CLUSTER-IP             EXTERNAL-IP   PORT(S)    AGE
kubernetes                ClusterIP   <IP_ADDRESS>              <none>        443/TCP    18m
my-service-v4             ClusterIP   <IP_ADDRESS>           <none>        8081/TCP   4s
my-service-v6             ClusterIP   2001:cafe:42:1::a6be   <none>        8080/TCP   4s
my-service-require-dual   ClusterIP   <IP_ADDRESS>          <none>        8082/TCP   4s
my-service-prefer-dual    ClusterIP   2001:cafe:42:1::140d   <none>        8083/TCP   4s

Before applying network policy
bash-5.1# curl http://[2001:cafe:42:1::140d]:8083

It works!

bash-5.1# curl http://[2001:cafe:42:1::a6be]:8080

It works!

bash-5.1# curl http://<IP_ADDRESS>:8082

It works!

bash-5.1# curl http://<IP_ADDRESS>:8081

It works!

After applying network policy
bash-5.1# curl http://<IP_ADDRESS>:8081
curl: (7) Failed to connect to <IP_ADDRESS> port 8081 after 0 ms: Connection refused
bash-5.1# curl http://<IP_ADDRESS>:8082
curl: (7) Failed to connect to <IP_ADDRESS> port 8082 after 0 ms: Connection refused
bash-5.1# curl http://[2001:cafe:42:1::a6be]:8080
curl: (7) Failed to connect to 2001:cafe:42:1::a6be port 8080 after 1028 ms: Connection refused
bash-5.1# curl http://[2001:cafe:42:1::140d]:8083
curl: (7) Failed to connect to 2001:cafe:42:1::140d port 8083 after 1027 ms: Connection refused
bash-5.1#

Known issue with traefik https://github.com/traefik/traefik/issues/8406
no load balancer ipv6 ip is populated
ubuntu@ip-192-168-4-100:~$ kubectl get ing
NAME         CLASS    HOSTS        ADDRESS         PORTS   AGE
ds-ingress   <none>   testds.com   <IP_ADDRESS>   80      82s
ubuntu@ip-192-168-4-100:~$ kubectl get svc
NAME         TYPE           CLUSTER-IP      EXTERNAL-IP                                            PORT(S)        AGE
kubernetes   ClusterIP      <IP_ADDRESS>       <none>                                                 443/TCP        2m1s
ds-svc       LoadBalancer   <IP_ADDRESS>   <IP_ADDRESS>,2600:<REDACTED>  81:30336/TCP   85s
ubuntu@ip-192-168-4-100:~$ kubectl get pods
NAME                      READY   STATUS    RESTARTS   AGE
svclb-ds-svc-dktnj        1/1     Running   0          91s
ds-pod-58fc94f49c-526s5   1/1     Running   0          91s
ds-pod-58fc94f49c-ncrc2   1/1     Running   0          91s
ubuntu@ip-192-168-4-100:~$ kubectl get ing ds-ingress -o yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"networking.k8s.io/v1","kind":"Ingress","metadata":{"annotations":{},"name":"ds-ingress","namespace":"default"},"spec":{"rules":[{"host":"testds.com","http":{"paths":[{"backend":{"service":{"name":"ds-svc","port":{"number":81}}},"path":"/","pathType":"ImplementationSpecific"}]}}]}}
  creationTimestamp: "2022-04-19T03:20:38Z"
  generation: 1
  name: ds-ingress
  namespace: default
  resourceVersion: "774"
  uid: 333c5bbd-433d-4b14-a637-36d6cee6407f
spec:
  rules:
  - host: testds.com
    http:
      paths:
      - backend:
          service:
            name: ds-svc
            port:
              number: 81
        path: /
        pathType: ImplementationSpecific
status:
  loadBalancer:
    ingress:
    - ip: <IP_ADDRESS>
ubuntu@ip-192-168-4-100:~$


Add prof and ruby commands.

These are imported from Homebrew/homebrew-dev-tools and are both used by maintainers so may be useful for contributors too.

Thanks for the heads up @scpeters.


NewtonRaphsonRn

Added a class NewtonRaphsonRn to find the zeroes in a system of equations.

Just out of curiosity (I'm not a maintainer of this project), would it be better, and easier to discover, if this was an overload to the existing Newton-Raphson implementation? Since it is actually a completely different implementation (and hard to share code) the actual implementation could be delegated to an internal class that would look just like this one.
Just some thoughts...

Actually the Broyden class already does something similiar.. Closing this.


Transaction Detail page doesn't work

{"code":"TooManyRequests","message":"You have exceeded your request rate of 20 r/s."}

http://localhost:8080/transactions/22E5BB5756FE9EF4C88C31B82B2FC1FA97D21E65E33A5C823513FACAB86F7D8E

Didn't see this issue on 10.0.x network, I believe REST node already increases the request rate.
Reopen it, if have the same issue again.


Add support for universal link with embedded URL so that when the link is is tapped, URL is opened in dapp browser

So:

Tap on the universal link, https://aw.app/openurl?url=<dapp-url-here>
Operating system automatically switch to AlphaWallet app
AlphaWallet switches to browser tab and loads  in the browser

Samples to test:
https://aw.app/openurl?url=http%3A%2F%2Fapp.uniswap.org%3Ftest%3Dvalue1
https://aw.app/openurl?url=https%3A%2F%2Fapp.uniswap.org%3Ftest%3Dvalue1

I think this doesn't work, but can you verify?
https://aw.app/openurl?url=https://app.uniswap.org?test=value1

@oa-s Once you confirm the URL scheme is working correctly, would you help create an issue in the Android repo and assign to James, tag it with High Priority

https://user-images.githubusercontent.com/96283950/149320117-a1199649-5d04-4ae2-aa4c-3e0b01a1988e.MP4
for me it works in the next way

Yeah, that's how it is currently. We want it to do this when the link is in this format: https://aw.app/openurl?url=<dapp-url-here>:

Tap on the universal link, https://aw.app/openurl?url=<dapp-url-here>
Operating system automatically switch to AlphaWallet app
AlphaWallet switches to browser tab and loads in the browser

Similar to how when there's a WalletConnect WCURL at the end for supporting WalletConnect


PMID:31833215

normal number of Rad52 foci during vegetative growth
increased DNA damage at tRNA genes

normal number of Rad52 foci during vegetative growth FYPO:0007328
increased DNA damage at tRNA genes FYPO:0007329
edit file: 496ef81fd5946f222ab562b09d8825a86c8ad488
release: 34fcf9187c219e123254ce5df67ed444f2dffa7d


Container ITs: OpenLiberty and Meecrowave

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

[X] Make sure there is a JIRA issue filed
for the change (usually before you start working on it).  Trivial changes like typos do not
require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[X] Each commit in the pull request should have a meaningful subject line and body.
[X] Format the pull request title like [SHIRO-XXX] - Fixes bug in SessionManager,
where you replace SHIRO-XXX with the appropriate JIRA issue. Best practice
is to use the JIRA issue title in the pull request title and in the first line of the commit message.
[X] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[X] Run mvn clean install apache-rat:check to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[X] If you have a group of commits related to the same change, please squash your commits into one and force push your branch using git rebase -i.

Trivial changes like typos do not require a JIRA issue (javadoc, comments...).
In this case, just format the pull request title like (DOC) - Add javadoc in SessionManager.
If this is your first contribution, you have to read the Contribution Guidelines
If your pull request is about ~20 lines of code you don't need to sign an Individual Contributor License Agreement
if you are unsure please ask on the developers list.
To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

[X] I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004
[X] In any other case, please file an Apache Individual Contributor License Agreement.

Some JDK modules seems to be missing starting Java 16 on CI:
Error:  Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.529 s <<< FAILURE! - in org.apache.shiro.testing.jaxrs.openliberty.OpenLibertyIT
Error:  testGetUsersBasicAuthenticated  Time elapsed: 0.136 s  <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make field private static volatile java.net.Authenticator java.net.Authenticator.theAuthenticator accessible: module java.base does not "opens java.net" to unnamed module @2a79781f

Some JDK modules seems to be missing starting Java 16 on CI:

Probably blocked by this one: https://github.com/OpenLiberty/open-liberty/issues/14096

Some JDK modules seems to be missing starting Java 16 on CI:

Probably blocked by this one: OpenLiberty/open-liberty#14096

Ok, let's wait for the bugfix


wip : update AKS sustainability article to align with WAS sustainability areas

objectif is to align to WAF sustainability areas (each area includes several principles)

Docs Build status updates of commit 29e97a0:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/aks/concepts-sustainable-software-engineering.md
:warning:Warning

Details

articles/aks/concepts-sustainable-software-engineering.md

Line 16, Column 165: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-get-started.md'.
Line 26, Column 39: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-design-principles.md'.
Line 44, Column 39: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-design-principles.md'.
Line 59, Column 39: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-design-principles.md'.
Line 59, Column 115: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-design-principles.md'.
Line 71, Column 39: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-design-principles.md'.
Line 81, Column 39: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-design-principles.md'.
Line 96, Column 39: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-design-principles.md'.
Line 108, Column 39: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-design-principles.md'.
Line 108, Column 119: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-design-principles.md'.
Line 119, Column 39: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-design-principles.md'.
Line 134, Column 39: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-design-principles.md'.
Line 134, Column 115: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-design-principles.md'.
Line 145, Column 39: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-design-principles.md'.
Line 152, Column 89: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-application-design.md'.
Line 163, Column 39: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-design-principles.md'.
Line 175, Column 39: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-design-principles.md'.
Line 186, Column 39: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-design-principles.md'.
Line 186, Column 119: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-design-principles.md'.
Line 195, Column 1: [Warning: multiple-h1s - See documentation] Multiple H1s(H1 'Sustainable software engineering principles in Azure Kubernetes Service (AKS)') are not allowed. You can only have one top-level heading.

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

Docs Build status updates of commit 7e4e4e4:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/aks/concepts-sustainable-software-engineering.md
:warning:Warning

Details

articles/aks/concepts-sustainable-software-engineering.md

Line 36, Column 2: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-application-design.md'.
Line 37, Column 2: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-application-platform.md'.
Line 38, Column 2: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-testing.md'.
Line 39, Column 2: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-operational-procedures.md'.
Line 40, Column 2: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-storage.md'.
Line 41, Column 2: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-networking.md'.
Line 42, Column 2: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-security.md'.

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

Docs Build status updates of commit c2cdc8b:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/aks/concepts-sustainable-software-engineering.md
:warning:Warning

Details

articles/aks/concepts-sustainable-software-engineering.md

Line 40, Column 2: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-storage.md'.

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

Docs Build status updates of commit aef5959:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/aks/concepts-sustainable-software-engineering.md
:warning:Warning

Details

articles/aks/concepts-sustainable-software-engineering.md

Line 40, Column 2: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-storage.md'.

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

Docs Build status updates of commit b6be353:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/aks/concepts-sustainable-software-engineering.md
:warning:Warning

Details

articles/aks/concepts-sustainable-software-engineering.md

Line 40, Column 2: [Warning: file-not-found - See documentation] Invalid file link: 'sustainability-storage.md'.

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

@MGoedtel - for your awareness... this PR is still in draft mode.
@yelghali - I note that it's fairly long and could benefit from tools in the private repo.  Since you have access to the private repo, you should be using that for your prs.

Microsoft authors and contributors need to make content contributions through the private repository so the content can be staged and validated by the current validation rules.
After you make your changes in the private repo, review the articles on staging, and fix any validation issues, you can add the sign-off comment to let PR reviewers know that the updates are ready to be merged.
Read about authors working in the public repo for more information.
If you need help getting set up to work in the private repo, see Set up Git repository locally for documentation.
We'll close this PR. Thank you.


Support Generating CSS-File in Component Directory

Would you consider adding an option to the component sub-generator that would create the style-file (css, scss, less, ...) inside the component directory itself rather than the .src/style directory?
E.g. yo react-webpack:component my/namespaced/components/name --stylesincompdir

This will be the standard in version 4 (testable via the npm beta tag). Older projects will still add to the styles directory for backwards compatibility.

Oh great, I was still looking more into the new template project instead of the new generator as a whole. Thanks for clarifying.


How are the features of arms and legs used?

Hello authors:
Sorry to bother you,
The demo shows a great visual effect, while I have some simple puzzles about it.
It can be seen in the demo, the arms are divided into upper and lower arms, and sometimes their boxes are rotated. So, did u use the features in the tiny rotated arm and leg boxes to complete downstream tasks?
And how can the features in rotated boxes be used?
Thanks.

The rotated arm and leg boxes are only used for the presentation of human pose, and are not used to extract features. Actually we generate ten part boxes(not rotated) following previous work Pairwise Body-Part Attention for Recognizing
Human-Object Interactions, and extract the RoI-Pooling features of the boxes for the downstream tasks. For the details, please refer to the implementation.

I read the file part_box_generation.py. So, the part boxes are generated with the rules in it. Then train the part model with pre marked labels and the features in boxes.

BTW, what do f_parts, s_parts, p_parts mean in the code?

f_parts are the features of part state classification, which perform like the outputs of fc7 in VGG-16.
s_parts and p_parts are the predicted logits and sigmoid scores of part states.

Oh, I see. Thanks for your swift relpy.


GATEWAY[X] definitions are created even when NetworkManager is disabled

On a host where NetworkManager is disabled (by setting nm_controlled to no), the module still tries to append a number to the IPADDR line in /etc/sysconfig/network-scripts/ifcfg-ethX like so:
# Generated by dracut initrd
NAME="eth0"
HWADDR=00:50:56:B8:30:7B
ONBOOT=yes
NETBOOT=yes
UUID="ef24f0a2-b5c7-4a93-970d-6ff5a273a49c"
IPV6INIT=yes
BOOTPROTO=static
TYPE=Ethernet
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
PEERDNS=no
PEERROUTES=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
DEVICE=eth0
NM_CONTROLLED=no
IPADDR0=<IP_ADDRESS>
NETMASK0=<IP_ADDRESS>
GATEWAY0=<IP_ADDRESS>

This is the result of this code:
network_interface { 'eth0':
  ensure        => 'present',
  bootproto     => 'static',
  device        => 'eth0',
  onboot        => 'yes',
  peerdns       => 'no',
  nm_controlled => 'no',
}

ip_allocation { $myip:
  ensure    => 'present',
  gateway   => $::default_gateway,
  interface => 'eth0',
  netmask   => $mynetmask,
}

This effectively breaks networking for non-NetworkManager systems. It appears to break the default route leaving only hosts on the system's subnet accessible.  The only way to fix it, in my experience thus far, is to remove the 0 from the IPADDR line.
So - I'm still testing, but I wonder if we should prevent the module from numbering IPADDR lines when nm_controlled is set to no?  Haven't checked to see how easy (or hard) this would be yet.

Ok - so it looks like IPADDRx may actually be supported even on non-NM systems.  Still testing here.

The problem is that the module is appending a number to the GATEWAY param:
IPADDR0=blah
GATEWAY0=blah

Multiple GATEWAY definitions are not supported, thus breaking the default route for the host.

The way to manually fix this is to remove the 'X' numbers from IPADDR, NETMASK and GATEWAY lines on non-NM managed systems.  The problem is that this module automatically adds the 'X' numbers if a definition does not already exist.
Is there a way we can keep the module from appending the 'X' numbers on non-NM managed systems?

@crayfishx any ideas here?

@joshuabaird This module is mainly designed for NM managed systems - I haven't used it on a non NM (eg: RHEL6) system.  We could easily make it drop the iterator but then how do we handle multiple ip_allocation declarations on the same interface?

So here is the plan (per discussion with @crayfishx):
We'll introduce a new GATEWAY parameter on network_interface which will add GATEWAY=blah to the interface configuration.  This is sufficient for non-NM managed systems which will break if you specify GATEWAYx in the interface configuration files.  For non-NM managed systems, a user can simply omit GATEWAY on ip_allocation.
While this may be a bit confusing for users, it's a way to fix this issue without breaking functionality for existing users of this module.
PR coming soon.

#20 submitted.


Graceful shutdown

Create graceful closing of application avoid:
Exception KeyError: KeyError(140674196921712,) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored

In some instances elasticsearch doesn't stop using sigterm only sigkill.

Use logstash 2.x for deterministic shutdown to avoid data loss.

Fixed in dmon-logstash service. Need to extend to dmon-controller.

Merged with #69

Added gracefull shutdown to dmon-agent and dmon-logstash

Added gracefull shutdown to dmon-controller


rebase stress error: verification error

Verification failed for column family 8 key<PHONE_NUMBER>00E9BF000000000000004A (87754): value_from_db: 5072652D5075742047657420766572696669636174696F6E, value_from_expected: 2F126B652B2A292827262524232221203F3E3D3C3B3A39383736353433323130, msg: /ke+*)('&%$#"! ?>=<;:9876543210: Length
of value read is not equal
Verification failed :(
documented in instance 13.  hash - 3349f797a84d9a4d587c19c5b43eb5b55d993dc1

the error itself happened because of #496  since it was sending the msg_prefix instead of the value to compare which led to verification error. closing as duplicate of #496


Higher-order corrections for Euler's method?

I am using Euler's method to solve uncoupled first-order ordinary homogenous and inhomogeneous differential equations. I used the first-order approximation out of habit and convenience. How can I determine if higher-order corrections are needed?

Excellent question. I would compare the scale of the higher order corrections for the system you're solving and the precision you need. For example if your 2nd order correction is <1% of your first order approximation, there is likely no need for this

thanks


Driver api versioning?

I noticed the signature of RestoreRecycleItem changed because my Nextcloud storage driver stopped working when I rebased on master. After some digging I found this change from 5 days ago.
I know we are still using ad-hoc APIs for the storage, so changes like this are expected to be frequent and that's fine.
But maybe we can document a versioned Reva storage driver API?

Hi @michielbdejong that was one big breaking change.
We usually announce it the gitter channels and in the changelog.
We plan to version the CS3APIS very soon. I don't expect major breaking changes anytime soon.

Cool! I'll keep an eye on https://gitter.im/cs3org/REVA and take extra care to test my build after each rebase on master. Thanks!


feat(types): support inferring attrs

Related

#3452
#5423
#6528
#7546
#7981
#8264
#8508
#8620
#8902

RFC

https://github.com/vuejs/rfcs/pull/477

Updated
Since the slots option is already supported, I think using the attrs option may be more in line with user habits,  instead of using the second parameter as stated in the RFC.
1. Option Component
const Comp = defineComponent({
    slots: Object as SlotsType<{
        foo?: { data: string }
    }>,
    attrs: Object as AttrsType<{
        bar?: string
    }>,
    setup(props, { slots, attrs }) {
        console.log(attrs.bar)
        slots.foo?.({ data: 'a' })
    }
});
<Comp bar={"str"} />;

2. Functional Component
const Comp = defineComponent(
  (props: { foo: string }, ctx) => {
    console.log(ctx.attrs.bar)
    return () => (
      <div>{props.foo}</div>
    )
  },
  {
    slots: Object as SlotsType<{
        baz?:  { data: string }
    }>,
    attrs: Object as AttrsType<{
      bar?: number
    }>
  }
);
<Comp bar={1} foo={"str"} />;

@yyx990803 we need this in oku-ui, for example we need to go back the  element types so that volar can suggest user auto-suggestion with both props and attrs types.
can you review and include this?

Looks great. Could you please rebase your branch to resolve conflicts?
I guess this feature will more be like defineSlots. Without adding runtime code, but adding only TS types.

I would love to see this feature merged as well, and seeing as it's a typing only feature, I would love to see it show up in 2.7 as well. Currently creating a component that thinly wraps another component is pretty tedious, because you have to either redeclare all inner component props on the wrapper component, or you have to sacrifice type safety/intellisense.

Nice call. It will be released in the future. Also, you can use vue-ts-utils for workground. If you have any questions about vue-ts-utils package, please let me know it and fix it.

@rudyxu1102 Thanks for the PR
Managed to test your PR
It works with defineComponent(TS/TSX) way
But in .vue(SFC) useAttrs does not accept any argument/generics
const attrs = useAttrs<{ // Expected 0 type arguments, but got 1.
  bar: string
}>()

Could you please REBASE your branch due the minor branch has been also rebased.

Could you please REBASE your branch due the minor branch has been also rebased.

@sxzz done

This is much needed, thanks!

@edison1105 Is this accidental?

@edison1105 Is this accidental?

It will be reopen soon.


Add hello-world exercise

This commit fixes https://github.com/exercism/todo/issues/47.
Disclaimer, I do not have a "working" knowledge of rust, like it
requires in the reference issue. All feedback is definitely welcome.

Sending an empty string as an argument looks a bit weird.  I was thinking that maybe using an Option might be better in this situation although I can't recall it being used that often as a parameter value.  I will wait for someone else to comment on this, but it looks great!

@EduardoBautista, ah, that looks useful. I agree that it looks weird. I was looking for default function arguments (ala ruby or python). Guess I wasn't looking hard enough!
I'll play around with it; wondering how if-clauses deal with Options. It's entirely possible that people new to rust will go for an if-else solution versus a match one.

Using Option I end up with tests that look like:
assert_eq!("Hello, World!", hello_world::hello(None));
assert_eq!("Hello, Alice!", hello_world::hello(Some("Alice")));

and an implementation that is either:
pub fn hello(name: Option<&str>) -> String {
    match name {
        Some(ref n) => format!("Hello, {}!", n),
        None => "Hello, World!".to_string(),
    }
}

or
pub fn hello(name: Option<&str>) -> String {
    if let Some(n) = name {
        return format!("Hello, {}!", n);
    }

    "Hello, World!".to_string()
}

I'm not sure if this is any better from a rust-readability standpoint and whether it's the right topics for a beginner to learn (Option, if let) for the first exercise. If it is the right approach, I can submit a follow-up  with the changes. Does this project prefer that I squash (and force push) or add on another commit?

@winterchord
pub fn hello(name: Option<&str>) -> String {
    match name {
        Some(ref n) => format!("Hello, {}!", n),
        None => "Hello, World!".to_string(),
    }
}

Is preferred.  Also, squashing plus a force push is preferred.  Thanks!

@EduardoBautista Ok. Squashed and force pushed the suggested changes. Can you or another collab give it a once over, when you have a moment?
Went with the Option implementation with the accompanying test and GETTING_STARTED changes.

@winterchord Looks good!  Thanks!


[BUG]  chromedriver and chromium v121 on Debian is flawed

Before submitting a bug report...

[X] This bug wasn't already reported.
(I have checked every bug report on GitHub)

Title

[X] The title is no longer "[BUG] Title" and I edited it with the right error name.

Describe the bug
Been running the bot on chromium ,on a raspberry pi with hardly any issues in the past
But recently with newer versions of chromium and its web security lately
Running in headless mode I’m seeing the images and cookies blocked on http sites bing ect,
Which i really think is causing issues of the bot hanging
All the time
I’ve tried adding the argument —disable-web-security
To browser.py along with -user-dater-dir=/home/******/temp
But seems to still run with standard security ,as I’m trying to turn it off,tried turning it off in settings as it runs in headless mode but doesn’t alter anything and still http sites cookies and images are blocked
can anyone assist
Tried to downgrade chromium with the matching chromedriver but seems to be impossible on Debian looked everywhere
If anyone can point me on how to get chromium downgraded with a matching chromedriver on raspberry pi if there’s no solution to turning off security on the latest chromium
Thanks
Copy and paste your error
As described
Screenshots
Later
Value of dashboard variable
Na

think its this bot as older version of rewards farmer doesnt have the block images problem when in headless
can you please look into it klept0

2024-02-16 00:51:10,577 [ERROR] TypeError: '<' not supported between instances of 'NoneType' and 'int'
Traceback (most recent call last):
File "C:\Users\ankit\Downloads\MS-Rewards-Farmer-master\MS-Rewards-Farmer-master\main.py", line 47, in main
earned_points = executeBot(currentAccount, notifier, args)
File "C:\Users\ankit\Downloads\MS-Rewards-Farmer-master\MS-Rewards-Farmer-master\main.py", line 221, in executeBot
with Browser(mobile=False, account=currentAccount, args=args) as desktopBrowser:
File "C:\Users\ankit\Downloads\MS-Rewards-Farmer-master\MS-Rewards-Farmer-master\src\browser.py", line 41, in init
self.webdriver = self.browserSetup()
File "C:\Users\ankit\Downloads\MS-Rewards-Farmer-master\MS-Rewards-Farmer-master\src\browser.py", line 86, in browserSetup
driver = webdriver.Chrome(
File "C:\Users\ankit\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\seleniumwire\undetected_chromedriver\webdriver.py", line 61, in init
super().init(*args, **kwargs)
File "C:\Users\ankit\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\undetected_chromedriver_init_.py", line 386, in init
if self.patcher.version_main < 108:
TypeError: '<' not supported between instances of 'NoneType' and 'int'


LDAP Integration

Our Cisco ASA uses ldap as the authentication method. Does the cloud based MFA support that instead of radius?

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

ID: a61a7e9a-44bf-7bdc-f810-87e2fd6792e1
Version Independent ID: 71d11105-b83e-952e-d107-1ff9a7c8d107
Content: Use existing NPS servers to provide Azure MFA capabilities
Content Source: articles/active-directory/authentication/howto-mfa-nps-extension.md
Service: active-directory
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

Yes, the MFA server can act as an LDAP proxy to perform authentications.  Have you visited this document? https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-mfaserver-dir-ldap
Let me know if this helps.

I am closing this issue for now but if this does not answer your question, please leave a comment or open a new issue and we will gladly continue the discussion.


Get this working for Linuxbrew

Twitter request to get this working for Linux

I'm a developer of Linuxbrew. If you also use Linux and would be interested in getting this running on Linux, I'd be happy to help. There are some differences between Homebrew and Linuxbrew, which for example doesn't have Homebrew/cask.

That would be useful. I've just had a brief review of the Linuxbrew documentation so will see how I get on :)

@garethclews let's look at this tomorrow?

@nathaneastwood yep, the cask issue is the only problem - I guess we can find out the distro and try to fall back on the package manager for that kinda thing. I'll have a think about it anyway.
I guess I'll have to work on build.sh as well then, it was just a quick and dirty version for our use. If its going to be used wider then I'll make it safer.

Just submitted a PR but be warned its not tested on linux yet.

Merged PR #5

You can if you like install R and Texlive using Linuxbrew, which works on all distributions of Linux. R is available on macOS as well (but not Texlive).
brew install homebrew/science/r texlive

@sjackman so homebrew/science/r is in the base_brew list - I tried to separate out the CLI to the GUI version and have the GUI one in the package manager bits, I tried check to see whether that was the correct R package for each package manager so that it had the GUI [the equivalent to the R.app from cask].
TeX makes it far more awkward in that the best version for MacOS to me is the mactex distro, if you fancied making a PR and editing the script so that there was a nix_brew that added texlive in to the brew call on that side then that would be welcome. Even just looking at that one it was awkward because all the distros have the schemes labelled differently.
This is where the differences between MacOS bundling in .app and linux spreading things far and wide comes in. I also don't like enforcing e.g. AUR usage on people - I can see why you don't have cask. One thing I actually didn't look at was whether flatpak solved this issue and am too busy right now to test a huge variety of VMs.

What does AUR mean?
For the R GUI, I'd recommend installing RStudio over R.app or the equivalent GUI for Linux.

We do install RStudio, @nathaneastwood puts the default GUI in as well because some people prefer it [and he has to use it for teaching purposes].
AUR is the Arch User Repository and has analogues in other distros: portage overlays, PPAs etc. It is a user contributed package repo.


Fixes #623. LockDiff now ignores hash/solvemeta.

Fixes #623. LockDiff now uses only project dependencies to identify changes, thus ignoring any changes to the SolveMeta iformation. If required changes in the SolveMeta can still be seen using source diffs. Modified and added tests to check new behaviour.
The solution was suggested by @sdboyer in #623. The code change is simple. I am more looking for comments if you can think of any unintended consequences of not comparing hashes any more.

In my mind, the purpose of the lockdiff was to support dry-runs, and giving people fair, accurate warning of what dep was about to do. As a user, if I ran dep ensure -n and dep reported back that it would do nothing, then when I ran it, it rewrote the lock, I would feel that the dry-run can't be trusted. 😀

@carolynvs yeah, i think you're right. this was a bad idea 😞 sorry, @mikijov.
closing.

No problem. Please mark few more issues as help-wanted. :-)

yes! such a wonderful request. 🎉😀
I'm going to do a pass through soon, perhaps especially focusing on existing TODOs in the code.
On July 22, 2017 11:17:44 AM EDT, "Milutin Jovanović"<EMAIL_ADDRESS>wrote:

No problem. Please mark few more issues as help-wanted. :-)
--
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
https://github.com/golang/dep/pull/788#issuecomment-317190311


WIP: Update expandables to use CF version

Working on replacing the cfgov specific expandables with the CF expandables
Additions

Adds latest cf-expandables to package.json

Removals

Removes individual instances of expandables code from the project

Changes

Updated modifications to default expandables where necessary to work with cf-expandables

Testing

Navigate to http://localhost:8000/about-us/the-bureau/bureau-structure/ and use the expandables within the Bureau Structure tree.
Reduce the screen size and use the secondary nav expandable
Navigate to http://localhost:8000/consumer-tools/money-as-you-grow/young-adulthood/, at the small screen sizes the secondary nav should not be visible
Expand the screen size and use the expandables within the content
Navigate to http://localhost:8000/owning-a-home/closing-disclosure/ and use the expandables.
Navigate to http://localhost:8000/ask-cfpb/what-effect-will-shopping-for-an-auto-loan-have-on-my-credit-en-763/ and use the expandable in the answer content
Navigate to http://localhost:8000/consumer-tools/financial-well-being/ and fill in the answers, then submit the form, use the expandable on the following page.
Navigate to http://localhost:8000/about-us/blog/ and open the filter expandable
Apply a filter and the following page should open with the filter expanded by default

Screenshots

Notes

Some instances of expandables should possibly not be expandables (secondary nav) or should use a default expandable pattern(bureau structure), or should have their modifications ported back to CF (read more)

Todos

Update cf-expandables for necessary event emitters and interaction methods

Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows the standards laid out in the development playbook
[ ] Passes all existing automated tests
[ ] Any change in functionality is tested
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged / future todos are captured in comments
[x] Visually tested in supported browsers and devices (see checklist below :point_down:)
[x] Project documentation has been updated
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist
Browsers

[x] Chrome
[x] Firefox
[x] Safari
[x] Internet Explorer 8, 9, 10, and 11
[ ] Edge
[x] iOS Safari
[ ] Chrome for Android

Accessibility

[x] Keyboard friendly
[x] Screen reader friendly

Other

[x] Is useable without CSS
[x] Is useable without JS
[x] Flexible from small to large screens
[x] No linting errors or warnings
[x] JavaScript tests are passing

@jimmynotjim Are you aware of this effect on the trigger icon/text on standard expandables on small screens?
Before

After

@Scotchester Good catch. The small screen usage isn't documented in the Design Manual, but I would assume we want to stick to an icon only with the text visually hidden. I will make an update to cf-expandables to fix that.

May want to get design approval for standardizing the filter box header, too.
Before

After

Phew, down to the wire. Thanks all for the help getting this merged, huge step toward developing directly in CF instead of piecemeal. 💯


WIP: Add banner to pages indicating if latest

Will build all doc versions again from scratch
Adds a banner to old versions and master, that should point to latest
Before merging this delete everything in gh_pages to start fresh

Codecov Report

Merging #286 (1b7c4fc) into master (de9cc2a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #286   +/-   ##
=======================================
  Coverage   97.63%   97.63%
=======================================
  Files          46       46
  Lines        1226     1226
  Branches      167      167
=======================================
  Hits         1197     1197
  Misses         12       12
  Partials       17       17

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 de9cc2a...1b7c4fc. Read the comment docs.


Implement pow for FunctionxD

As discussed in #305, it would be useful to have a __pow__ operator for the function classes, resulting in f1.evaluate(...) ** f2.evaluate(...)

Please submit a pull request against the feature/function branch and I'll merge it.

Fixed by #312


Documentation for using react-cosmos with gatsby

Hi there,
I've been trying to configure react-cosmos to use in a gatsby website, with little success. I've changed the webpack config to gatsby's config, read the compilation section of the docs 10x but I'm still getting nowhere. The reality I picked Gatsby because I don't want to get involved in all the nitty details of webpack building etc. And I'm not even sure if I'm heading in the right direction.
In the docs there are examples of configuring cosmos to work with create-react-app, and next.js. It would be great if there could also be a section detailing using react-cosmos with Gatsby, with some examples.
I've tried several other component viewing libraries and failed to integrate them all (including Storybook) - so making cosmos an easy option for Gatsby users and react-cosmos would be very appealing.
Cheers

Hi @EliotSlevin,
Indeed this would be valuable. I don't have any experience with Gatsby, but it would definitely help if you would share more details. Maybe I see something obvious or someone else will help. Eg. when you changed the webpack config to Gatsby's webpack config, did it make a difference? What does your Cosmos config look like and what do the terminal logs say? Are you getting any errors? Etc. If you can share your project it would be even better.

Here's is the simplest gatsby website example I could think of, attempted to be configured with react-cosmos. Instructions to run in the read-me.  https://github.com/EliotSlevin/cosmos-gatsby-example
Notice I've tried to override the webpack config with gatsby's own webpack config in cosmos.config.js.
If you run cosmos without the config file I get back
$ cosmos
[Cosmos] See you at http://localhost:5000
[Cosmos] Using default webpack config
[Cosmos] Building webpack...
webpack built 548a5ab98bdcb7cb4ff9 in 1459ms
✖ ｢wdm｣: Hash: 548a5ab98bdcb7cb4ff9
Version: webpack 4.43.0
Time: 1459ms
Built at: 28/08/2020 12:13:24 pm
      Asset      Size  Chunks         Chunk Names
    main.js   2.5 MiB    main         main
main.js.map  2.78 MiB    main  [dev]  main
Entrypoint main = main.js main.js.map
[0] multi ./node_modules/react-cosmos/dist/plugins/webpack/client/reactDevtoolsHook.js ./node_modules/@skidding/webpack-hot-middleware/client.js?reload=true&overlay=false ./node_modules/react-cosmos/dist/plugins/webpack/client/index.js 52 bytes {main} [built]
<EMAIL_ADDRESS>2.17 KiB {main} [built]
[./node_modules/@skidding/webpack-hot-middleware/client.js?reload=true&overlay=false] 7.68 KiB {main} [built]
<EMAIL_ADDRESS>4.44 KiB {main} [built]
[./node_modules/core-js/features/array/find.js] 71 bytes {main} [built]
[./node_modules/core-js/features/array/includes.js] 75 bytes {main} [built]
[./node_modules/core-js/features/promise/index.js] 293 bytes {main} [built]
[./node_modules/querystring-es3/index.js] 127 bytes {main} [built]
[./node_modules/react-cosmos/dist/dom/index.js] 1.7 KiB {main} [built]
[./node_modules/react-cosmos/dist/plugins/webpack/client/errorOverlay/index.js] 292 bytes {main} [built]
[./node_modules/react-cosmos/dist/plugins/webpack/client/hmrErrorHandler.js] 317 bytes {main} [built]
[./node_modules/react-cosmos/dist/plugins/webpack/client/index.js] 1.01 KiB {main} [built]
[./node_modules/react-cosmos/dist/plugins/webpack/client/reactDevtoolsHook.js] 884 bytes {main} [built]
[./node_modules/react-cosmos/dist/plugins/webpack/client/userDeps.js] 327 bytes {main} [built]
[./node_modules/regenerator-runtime/runtime.js] 24 KiB {main} [built]
    + 252 hidden modules

ERROR in ./src/components/button/button.fixture.jsx
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /Users/eliot/Desktop/cosmos-gatsby-example/src/components/button/button.fixture.jsx: Support for the experimental syntax 'jsx' isn't currently enabled (5:16):

  3 | import Button from './index.js';
  4 |
> 5 | export default <Button>Hello cosmos!</Button>
    |                ^

Add @babel/preset-react (https://git.io/JfeDR) to the 'presets' section of your Babel config to enable transformation.
If you want to leave it as-is, add @babel/plugin-syntax-jsx (https://git.io/vb4yA) to the 'plugins' section to enable parsing.
    at Parser._raise (/Users/eliot/Desktop/cosmos-gatsby-example/node_modules/@babel/parser/lib/index.js:766:17)
    at Parser.raiseWithData (/Users/eliot/Desktop/cosmos-gatsby-example/node_modules/@babel/parser/lib/index.js:759:17)
    at Parser.expectOnePlugin (/Users/eliot/Desktop/cosmos-gatsby-example/node_modules/@babel/parser/lib/index.js:8981:18)
    at Parser.parseExprAtom (/Users/eliot/Desktop/cosmos-gatsby-example/node_modules/@babel/parser/lib/index.js:10276:22)
    at Parser.parseExprSubscripts (/Users/eliot/Desktop/cosmos-gatsby-example/node_modules/@babel/parser/lib/index.js:9844:23)
    at Parser.parseUpdate (/Users/eliot/Desktop/cosmos-gatsby-example/node_modules/@babel/parser/lib/index.js:9824:21)
    at Parser.parseMaybeUnary (/Users/eliot/Desktop/cosmos-gatsby-example/node_modules/@babel/parser/lib/index.js:9813:17)
    at Parser.parseExprOps (/Users/eliot/Desktop/cosmos-gatsby-example/node_modules/@babel/parser/lib/index.js:9683:23)
    at Parser.parseMaybeConditional (/Users/eliot/Desktop/cosmos-gatsby-example/node_modules/@babel/parser/lib/index.js:9657:23)
    at Parser.parseMaybeAssign (/Users/eliot/Desktop/cosmos-gatsby-example/node_modules/@babel/parser/lib/index.js:9620:21)
 @ ./node_modules/react-cosmos/dist/plugins/webpack/client/userDeps.js 7:46-140
 @ ./node_modules/react-cosmos/dist/plugins/webpack/client/index.js
 @ multi ./node_modules/react-cosmos/dist/plugins/webpack/client/reactDevtoolsHook.js ./node_modules/@skidding/webpack-hot-middleware/client.js?reload=true&overlay=false ./node_modules/react-cosmos/dist/plugins/webpack/client/index.js

If you run cosmos with that config, either as configPath or overridePath I get back
[Cosmos] See you at http://localhost:5000
[Cosmos] Using webpack config found at node_modules/gatsby/dist/utils/webpack.config.js
[Cosmos] Server crashed...

  (╯°□°)╯︵ ┻━┻

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:107:11)
    at Object.resolve (path.js:978:7)
    at Object.findConfig (/Users/eliot/Desktop/cosmos-gatsby-example/node_modules/browserslist/node.js:302:17)
    at getBrowsersList (/Users/eliot/Desktop/cosmos-gatsby-example/node_modules/gatsby/src/utils/browserslist.ts:25:31)
    at createWebpackUtils (/Users/eliot/Desktop/cosmos-gatsby-example/node_modules/gatsby/src/utils/webpack-utils.ts:134:29)
    at module.exports (/Users/eliot/Desktop/cosmos-gatsby-example/node_modules/gatsby/src/utils/webpack.config.js:44:39)
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
error Command failed with exit code 1.

I'm pretty sure I've got that path right so I'm really not sure where I'm going wrong. And even if I didn't use the gatsby webpack config, it's so weird that it's throwing an error that the experimental feature JSX isn't enabled?
I just really don't know enough about babel and webpack to know what I'm doing, if anyone could get that repo working with cosmos I'd love to take a look at how it was done.

Thanks for providing this.
At first glance, it's pretty clear that Gatsby's webpack config isn't a standard webpack config. It requires a few arguments (program, directory, suppliedStage, port, parentSpan) that are specific to Gatsby, so it cannot be used as a regular webpack config, unless you know what to pass in into those arguments.
There are two options:

Figure out what those arguments need to be, and use webpack config override in Cosmos to import the Gatsby webpack config manually and call it with its required arguments.
Figure out if the pre-computed webpack config can be retrieved from Gatsby, after all those arguments were passed in and the webpack config was generated.

For both you need Gatsby knowledge, which I don't have. If you can find someone with the Gatsby knowledge I can continue to offer assistance on the Cosmos side.


merge develop forward to 4.0 branch

merge develop forward to 4.0 branch

lol, I was pruning old branches with a bit of automation that prunes for me... and I failed to mark 4.0 protected in my personal repospace.
PR reopened.

LGTM


Direct support query submitters to Server Fault

When people are about to ask a support question, signpost them using the right URL for Server Fault queries tagged Kubernetes, not the wrong URL for Stack Overflow (which is more about workload / app development help).
/language en

/remove-kind support

This change looks good to me. Thanks
/lgtm

/lgtm
/approve


Disable auto-connect on inicialize dbeaver

Everytime I open dbeaver, it try to reconnect an connection that I didn't close last time I have used it. Is there a way to stop or to override this behavior?

I found a place to do this.
Window > Preferences > Editors > SQL Editor
disabled option: "Connect on editor activation"

The above does not work for me. Anytime I have a table left open for any database when closing DBeaver it tries to reconnect to that database when it is started next time.
I thought that disabling the option "Connect on query execute" would stop this, but as it seems DBeaver is doing just that, querying the table when it reopens.

Is there any way to either stop this behavior and to make DBeaver wait until I explicitly activate that table's tab before it tries to connect and query or alternatively to make DBeaver close all open tables/tabs upon close?

You can disable this by turning "Reopen database editors after restart" option off:

Thank you very much for your super fast and super helpful answer!
Von: Serge Rider<EMAIL_ADDRESS>Gesendet: Montag, 30. Oktober 2017 22:31
An: serge-rider/dbeaver
Cc: Ingmar Gutberlet; Comment
Betreff: Re: [serge-rider/dbeaver] Disable auto-connect on inicialize dbeaver (#1323)
You can disable this by turning "Reopen database editors after restart" option off:
[image]https://user-images.githubusercontent.com/6398845/32196746-b4edb100-bdd2-11e7-8fa5-5ac4c19d2cba.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/serge-rider/dbeaver/issues/1323#issuecomment-340590778, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ab6JqX8SJzcroJyrbIqbjEPlV-0MCD6hks5sxkATgaJpZM4MIngs.

For people searching for this in newer versions, not sure which of those is the essential one though... So I disable both :-)

moron design for this and project functions

Why not unify these "connect on startup" settings?

I love you dBeaver but stop moving this; it was wild following this issue to get the current location of the setting. :)

For anyone else who comes across this and works on Mac (given that it's unified, I'm guessing it's the same on Windows more or less):
Settings – Editors – uncheck Reopen database editors after restart.


Dogs teleport with you into the Nether

Hi!
Love the plugin. I do have one issue to report though - when a player travels to the nether, all of their dogs teleport to them, including ones that are sitting. This can be pretty dangerous for those with lots of dogs.
Is this an intended behaviour or is it a bug?
Thanks!

Hi,
This should be fixed in #19 and can be downloaded on the newest alpha version (version 0.1.1-alpha)! Can you try that one out?
Cheers,
Hero // Fido2603


Update helper.rb

Added escape for ' (single quote) line 25 and 30.

@therahulmali - thank you for submitting your pull request.  We appreciate your effort and look forward to reviewing more of your fixes in the future!
For future reference, a valid submission must be made from your fork master branch directly to the 418sec:master branch!