Fetching during SSR (using Next) should include cookies

Cookies are included in the Express routing when the fetch code runs on the browser, but when run during SSR with Next, the cookies are not available. I'd expect them to be.
Adding credentials: 'same-origin' or credentials: 'include' to the fetch options did not make a difference.

Are you sure?  This is a very common use case.  I believe credentials really should work…

@matthew-andrews in discussions with the Next people, one said "I have the same problem with isomorphic-fetch", and another said "You'll have to manually pass the cookies off (reading from req) and pass them to axios / isomorphic-fetch"
Any idea how I "pass the cookies" to isomorphic-fetch?
credentials only works when the fetch happens on the browser client. when the fetch happens during SSR, credentials does not work.

Oh right, on the server, I see……  I think you'd need to add the cookie header manually in that environment.  Something like this…
fetch(url, {
  headers: { Cookie: 'name=value' }
});

on the server, isomorphic-fetch just proxies node-fetch underneath, which as you say does not implement credentials:- https://github.com/bitinn/node-fetch#class-request


Update minimum deployment target to iOS 9.0 and minor version bump

Expands upon #608 by making sure the Cocoapods system recognizes the minimum target.
Xcode 12 no longer supports iOS 8 and throws warnings if any frameworks use a lower minimum deployment target. This PR updates the deployment target in the podspec. I didn't see any other places it needs to be updated but am happy to update other locations if they exist.
I've included a minor version bump in the podspec since this is a semi-breaking change as it will no longer support anyone who is developing for iOS 8 - although since Apple doesn't support that type of development anyway it seems unlikely and therefore not worthy of a major bump.

@matej This repo won't allow me to add you as a reviewer. Just wanted to check and see if there's a process I should go through to get PRs reviewed. I think this PR is necessary to fully accomplish the changes intended in #608.
Please let me know if there's any way I can help.

Updating the build number is a separate step that should be done just before the release as part of that process. Otherwise LGTM. Thank you for the contribution.

@matej Sounds good, I've reverted the version bump portion of the PR.
Would love to see this merged and included in a release whenever possible as it is currently blocking our adoption of Xcode 12 🙏. Thank you!

You can just point to a commit in the meantime.


Question about C&S hyperparameter alpha

I'm wondering how do you get C&S hyperparam alpha  in ogbn-product as
--correction-alpha 0.4553513529697225 \ --smoothing-alpha 0.7153479868942039 \
Did you tune it on valid-set or test-set? what's your strategy to find alpha
Thank's for your reply

We searched hyperparameters with 300 loops using Optuna. The target metric is set as the test accuracy.
Thank you for reminding us that we should tune on valid set. We also note that scale should be 20, the same value in the search script. We searched hyperparameters again using valid accuracy with the same other settings.  We will do more research about hyperparamter searching for C&S.
Thanks again for your question!


Upgrade Kubernetes version to support 1.13

Currently requires Kubebuilder to support Kubernetes 1.12.   https://github.com/kubernetes-sigs/cluster-api/issues/522
When trying to update to Kubernetes 1.12, we get the following error:
Solving failure: No versions of sigs.k8s.io/controller-runtime met constraints:
    v0.1.7: Could not introduce<EMAIL_ADDRESS>as it has a dependency on k8s.io/client-go with constraint kubernetes-1.11.2, which has no overlap with existing constraint ^9.0.0 from (root)
    v0.1.6: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^0.1.7 from project github.com/kubernetes-sigs/kubebuilder-maestro.
    v0.1.5: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^0.1.7 from project github.com/kubernetes-sigs/kubebuilder-maestro.
    v0.1.4: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^0.1.7 from project github.com/kubernetes-sigs/kubebuilder-maestro.
    v0.1.3: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^0.1.7 from project github.com/kubernetes-sigs/kubebuilder-maestro.
    v0.1.2: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^0.1.7 from project github.com/kubernetes-sigs/kubebuilder-maestro.
    v0.1.1: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^0.1.7 from project github.com/kubernetes-sigs/kubebuilder-maestro.
    master: Could not introduce sigs.k8s.io/controller-runtime@master, as it is not allowed by constraint ^0.1.7 from project github.com/kubernetes-sigs/kubebuilder-maestro.
    admissionwebhook: Could not introduce sigs.k8s.io/controller-runtime@admissionwebhook, as it is not allowed by constraint ^0.1.7 from project github.com/kubernetes-sigs/kubebuilder-maestro.
    admissionwebhook-1.11: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^0.1.7 from project github.com/kubernetes-sigs/kubebuilder-maestro.
    bulk_deposit: Could not introduce sigs.k8s.io/controller-runtime@bulk_deposit, as it is not allowed by constraint ^0.1.7 from project github.com/kubernetes-sigs/kubebuilder-maestro.
    release-0.1: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^0.1.7 from project github.com/kubernetes-sigs/kubebuilder-maestro.
    review: Could not introduce sigs.k8s.io/controller-runtime@review, as it is not allowed by constraint ^0.1.7 from project github.com/kubernetes-sigs/kubebuilder-maestro.

Once complete, re-running dep ensure should update the client-go library.

kubebuilder now support 1.13, so we should upgrade to that instead.

I'm guessing this is OK to close @runyontr ?


Change protection level of variables ShipToAddr and  CompanyInfo in Report 1309 "Standard Sales - Return Rcpt.", Report 6636 "Purchase - Return Shipment", Report 407 "Purchase - Credit Memo", Report 408 "Purchase - Receipt"

Describe the request
Hello, please, change these var to protected var:
1.Report 1309 "Standard Sales - Return Rcpt."
Current:
var
ShipToAddr: array[8] of Text[100];
Should be:
protected var
ShipToAddr: array[8] of Text[100];
2.Report 6636 "Purchase - Return Shipment"
Current:
var
ShipToAddr: array[8] of Text[100];
CompanyInfo: Record "Company Information";
Should be:
protected var
ShipToAddr: array[8] of Text[100];
CompanyInfo: Record "Company Information";
3.Report 407 "Purchase - Credit Memo"
Current:
var
ShipToAddr: array[8] of Text[100];
CompanyInfo: Record "Company Information";
Should be:
protected var
ShipToAddr: array[8] of Text[100];
CompanyInfo: Record "Company Information";
4.Report 408 "Purchase - Receipt"
Current:
var
ShipToAddr: array[8] of Text[100];
CompanyInfo: Record "Company Information";
Should be:
protected var
ShipToAddr: array[8] of Text[100];
CompanyInfo: Record "Company Information";
Additional context
This is necessary to enable the ability to set parameters in procedure
GetCompanyAddr(... var CompanyInfo: Record "Company Information", var CompanyAddr: array[8] of Text[100]) to improve the functionality required to perform tasks.
Internal work item: AB#507529

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 18615.


Dependabot alerts in Github

https://github.com/wet-boew/cdts-sgdc/network/alerts
This one should be prioritized:
https://github.com/wet-boew/cdts-sgdc/network/alert/package-lock.json/websocket-extensions/open

Project has been restructured and this is addressed in the new code.

This isn't addressed by the project restructure, but would be by https://github.com/wet-boew/cdts-sgdc/pull/250

Sorry, that particular might have been addressed, but not the ongoing Dependabot setup


Icon loading with custom icons

From @cjorasch on March 29, 2018 22:57
Stencil version:
<EMAIL_ADDRESS>
I'm submitting a:
[x] feature request
Icon loading:
The current icon loading approach uses async script requests based on icon names but does not allow the developer to add additional icons.
A potential alternate approach would be to have the <ion-icon> element use a property that specifies the svg content of the icon instead of using a name to specify a path to the icon.  This would also carry over to other components that generate icons from names (e.g. <ion-tab>).
For example:
// Imported icon
import {checkbox} from '.../svg/ios-checkbox';

// Inline SVG icon
const myIcon = '<svg ... />';

// Render usage
<ion-icon svg={checkbox} />
<ion-icon svg={myIcon} />

Benefits

Additional icons can be used beyond the ones that are built by ionic.  For example, it might be desirable to have a tab component that uses an icon that is not part of the base set of ionicons.  Users could leverage third party icon libraries.
Smaller app size.  Most applications use a small number of the icons that are available in ionicons.  Currently all icons are loaded into the service worker cache which consumes storage space and bandwidth.
Reduced network round trips.  Chunk files contain icons as they are needed and bundled by usage.
Leverage existing bundling of imports into chunks.
Faster rendering with synchronous icons instead of async loading.
Solves potential asset versioning issues by leveraging chunk versioning.  Currently it is not possible to update an icon without invalidating all cache layers or changing the name of the icon.

Potential Issues

Mode based rendering where different icon is used depending on platform.
aria-label based on name.

A hybrid approach could be used where either name or svg could be specified.  This would enable extensions to the set of icons but would not solve some the issues related to total size of icons.
Copied from original issue: ionic-team/stencil#682

Hey! Thanks for opening an issue with us. Since this is a feature request for the ion-icon element I am going to move this issue to the ionic repo.

Thanks for the issue! This is now possible with the latest ionicons: https://ionicons.com/usage/


TestCafe performance issues - Slow page loads, High CPU usage, Browser disconnect issues etc.

What is your Test Scenario?

Download the provided test repo and execute the tests. The test scripts basically checks the functionality of the given website.
I'm currently in the process of migrating our projects Selenium tests into TestCafe and I'm halfway through the process. When I tried to execute the migrated tests in different browsers (both on Mac & Win), I noticed several issues as mentioned below.
What is the Current behavior?

Multiple Issues:
1 - The page is very slow to load when run via TestCafe. If I manually load the page in the browser (with cache & cookie cleared), the page loads reasonably fast. So I'm not sure what's causing the page to load slow inside the TestCafe server. Try to run the tests in Firefox (on Mac or Win) and you can easily observe this issue. We have longer test execution time because of this issue.
2 - The CPU usage also goes 100% ('Google Chrome Helper' & 'FirefoxCP Web Content' processes) when executing the test suite in Chrome & Firefox on Mac. You can hear loud fan noice  when this happens. (see screenshot below)
3 - Test scripts keep failing in Firefox (on Mac & Win) & Edge on Win. I'm unable to execute the test suite. I keep getting the browser disconnected error. (see screenshot below)
4 - Also test execution fails in Chrome on Windows. Getting 'write ECONNABORTED' in console (see screenshot below)
What is the Expected behavior?

None of the above issues should happen.
What is your web application and your TestCafe test code?

Download this repo - https://github.com/sijosyn/testcafe-syntests and run the test suite.

Your complete test code (or attach your test files):

Above provided repo contains all the test code.

Your complete test report:

Screenshots:

Firefox browser disconnect error:

Chrome disconnect error (on Win):

Edge browser disconnect error

Steps to Reproduce:

Please read the README provided in the repo - https://github.com/sijosyn/testcafe-syntests
Your Environment details:

testcafe version:   0.23.0
node.js version:  8.9.4
command-line arguments:  testcafe firefox desktop -e
browser name and version:  Firefox 63, Safari 12, Chrome 70, Edge 17
platform and version:    macOS 10.13, Win 10
other:

The page is very slow to load when run via TestCafe.

We will investigate it more deeply. I will notify you of our results later.

The CPU usage also goes 100%

I cannot reproduce this behavior. On my machine I have CPU usage about 60 %. Google Chrome takes about 20%. It's a normal behavior because TestCafe emulates user actions very fast.

Test scripts keep failing in Firefox (on Mac & Win) & Edge on Win

I cannot reproduce it.

Also test execution fails in Chrome on Windows. Getting 'write ECONNABORTED' in a console (see screenshot below)

There is a separate issue for this - https://github.com/DevExpress/testcafe-hammerhead/issues/1744.
We will fix it during the current development sprint.

@miherlosev Thanks for your prompt response and investigating this issue.

I cannot reproduce this behavior. On my machine I have CPU usage about 60 %. Google Chrome takes about 20%. It's a normal behavior because TestCafe emulates user actions very fast.

I've observed the CPU usage goes up while its waiting to finish loading the page and before it starts to interact on the page. This issue happens on Mac for me. Could you please check this issue on Mac if possible?. My system info is provided below.

Test scripts keep failing in Firefox (on Mac & Win) & Edge on Win

If possible, could you please try to run the test suite in following browser & OS combination and see if you can reproduce the browser disconnect issue:
Firefox 63.0.0 / Mac OS X 10.13.0
Firefox 63.0.0 / Win 10.0.0
Edge 16.16299 / Win 10.0.0
I would like to see the 'Browser disconnect' issue resolved as its one of the top annoying issue for me. Its been around for a while for now and haven't been addressed yet. I understand its hard to reproduce the browser disconnect issue but please see if the team can find the root cause of this issue and fix it.

Did some more testing: I only observe this when testing on localhost where I used webpack dev server to serve my page. Remote pages seem to be fast.

I started having this problem starting from version 0.22.0 (now using 0.23.1). Before it used to hang the build for hours but with a fix introduced on the 0.22.0 now, it just disconnects the browser(s). This may be strongly linked to running tests on multi-browsers (chrome & firefox).
I am using TeamCity to run the builds with the following configuration:

UserAgents: Chrome 70.0.3538 / Windows 10.0.0,Firefox 61.0.0 / Windows 10.0.0
Testcafe version: 0.23.1
Node version: 8.11.3

There is the error message I get on my CI output:
[12:16:00][Step 4/6] Error: Unable to establish one or more of the specified browser connections. This can be caused by network issues or remote device failure. [12:16:00][Step 4/6]     at C:\BuildAgent\work\4a74606c58d6f60f\node_modules\testcafe\src\runner\browser-set.js:84:30 [12:16:00][Step 4/6]     at next (native) [12:16:00][Step 4/6]     at step (C:\BuildAgent\work\4a74606c58d6f60f\node_modules\babel-runtime\helpers\asyncToGenerator.js:17:30) [12:16:00][Step 4/6]     at C:\BuildAgent\work\4a74606c58d6f60f\node_modules\babel-runtime\helpers\asyncToGenerator.js:35:14 [12:16:00][Step 4/6]     at Promise.F (C:\BuildAgent\work\4a74606c58d6f60f\node_modules\core-js\library\modules\_export.js:36:28) [12:16:00][Step 4/6]     at C:\BuildAgent\work\4a74606c58d6f60f\node_modules\babel-runtime\helpers\asyncToGenerator.js:14:12 [12:16:00][Step 4/6]     at BrowserSet._waitConnectionsOpened (C:\BuildAgent\work\4a74606c58d6f60f\node_modules\testcafe\src\runner\browser-set.js:77:37) [12:16:00][Step 4/6]     at _waitConnectionsOpened (C:\BuildAgent\work\4a74606c58d6f60f\node_modules\testcafe\src\runner\browser-set.js:107:35) [12:16:00][Step 4/6]     at invokeCallback (C:\BuildAgent\work\4a74606c58d6f60f\node_modules\pinkie\index.js:60:12) [12:16:00][Step 4/6]     at Array.forEach (native)
I am also using this on my runner:
.then(failedCount => { 		console.log('Tests failed: ' + failedCount); 		testcafe.close(); 		process.exit(failedCount ? 1 : 0); 	}

@sijosyn

Also test execution fails in Chrome on Windows. Getting 'write ECONNABORTED' in a console (see screenshot below)

We've fixed this problem in<EMAIL_ADDRESS>Try to run your tests with this version and let us know if the other issues from your list above are reproduced.
@lukastaegert

A simple hello world test took 1m 19s where most of this time was spent navigating to the initial page.

It's a very strange. Could you please provide a simple example so that we will reproduce it on our side?

Admittedly only the test was "Hello World", the application under test was not. So I tried to create another repo using generic code but was not able to. In my original project I managed to track it down to my usage of @material-ui/icons. Once I removed the single used icon, Safari was immediately fast. So I set up a new project just using this icon but this was fast as well.
One difference was, though, that the new project was a create-react-app JavaScript project while the original one was a TypeScript project. Not sure how long I will try to find a simple reproduction. As for me, as I can live without those icons I am fine, so you may just take this as a hint that there may be something fishy going on. Especially considering that the slowness was 100% reproducible and 100% linked to the import (but usage! The component in question was never displayed in the initial view) of these icons at least in a TS setup and that it only occurred on Safari.

@miherlosev

We've fixed this problem in<EMAIL_ADDRESS>Try to run your tests with this version and let us know if the other issues from your list above are reproduced.

The 'write ECONNABORTED' issue is resolved in<EMAIL_ADDRESS>However, the other performance issues I reported (Slow page loads, High CPU usage, Browser disconnect issues) still exists in<EMAIL_ADDRESS>

Issue is too old now and can't reproduce. Closing.


Support AzureOAI embedding model

Fix issue #239, make EMBEDDINGS_BATCH_SIZE configurable so that the plug can be work with AzureOAI embedding model.

Could you please review this RP? @isafulf @tylerhutcherson


Fix AsExtStr to return CStrings

As described in #117, the AsExtStr trait is defined to return a raw *const libc::c_char. Its impl for OsStr simply borrowed the byte slice from its OsStr argument and cast it to a *const libc::c_char, which does not construct a proper null-terminated C string.
This changes the AsExtStr trait to return a Result<CString>, and changes the impl for OsStr to allocate a new owned CString from its OsStr argument and return that instead.
Fixes #117
Fixes #120

Hey there. I think a better way to do this would be to get rid of AsExtStr entirely and fix NixPath to invoke the function with a CStr instead. NixPath already ensures that the string is null terminated.
https://github.com/carllerche/nix-rust/blob/master/src/lib.rs#L89-L109
If you don't want to do it, I can fix it :smile:

I do appreciate the PR :heart:

Oh, ok, no problem; you know your lib better than I do, and are much more experienced with Rust than I am! I probably won't have time to do it soon, though.

Hey there. I pushed this out: 21fb1394a111d19079da90a4d31171b0d6adc27c I think this fixes the issues.


Update mobile verifier Person and LSBC proof requests to only accept credentials from newer RevRegs

Description of feature / user story
With the fix to CL Signatures (via ACA-Py), existing credentials will need to be revoked and reissued.
The fix includes revoking a credential in one registry and reissuing it to another registry.
Current proof requests in the mobile verifier using the LSBC issued credential and Person credential will need to be updated to accept both credentials from both registries (old and new)
Current proof requests may need to be updated in the future to only accept the "new” one, if that feature is added to CL Signatures, AFJ and Bifold.
Acceptance Criteria
Wireframes or relevant image assets / links

No change will be needed in the mobile verifier to accept both flawed and new credentials — that is automatic.
What may be needed in the future (although it is debatable…) is that there is a flag the mobile verifier could use to to reject “flawed” credentials.  That change will not be needed for some months.

Updated the title and description a bit.


Feature/store

Apply button style to LoginActivity (ref: #2856)
New store description

@giomfo Some screenshots:


Fixed issue with rendering calendar incorrectly when first day of a m…

This PR is a fix for https://github.com/react-toolbox/react-toolbox/issues/870 - May 1st missing
The problem is in calculating correct position for the first day of the first month's week.
If it's on Sunday and Sunday is the first day of the week, current calculation is correct, but in case Sunday is the last day of the week, it sets -1 as the position and we don't see this day.

Great, thanks!


chore: schema adr

Description
ADR
Checklist before merging

[ ] Test, docs, adr added or updated as needed
[ ] Contributor Guide Steps followed

As discussed during the meeting today, we should just add a new healthChecks field to the Zarf spec rather than modify the existing actions. This would create a single health check that would run after a deploy.


Contact Notes Does Not Work

On an iPhone 14, scanning the QR code does not provide the contact card notes on the phone. The QR code syntax is correctly displayed in the web browser.

@Pachuquero What type of phone do you have? Can you confirm this bug? I'm curious how Android works.  I'm not sure why iPhone's do not read in the NOTE: field on the vCard.


Traccar server 3.9 can't interpret encrypted messages from android client 4.0

After I enabled the encrypting in traccar-client android (Version 4 from Playstore) I get these errors in the log of the server:
2017-02-01 17:30:00  INFO: [EDC387E2] connected
2017-02-01 17:30:00 DEBUG: [EDC387E2: 5055 < ...] HEX: [omitted]
2017-02-01 17:30:00  WARN: [EDC387E2] error - invalid version format: ? - IllegalArgumentException (...)
2017-02-01 17:30:00  INFO: [EDC387E2] disconnected
2017-02-01 17:30:00  WARN: [EDC387E2] error - invalid version format: ?  HEX: [omitted]
2017-02-01 17:30:01  WARN: [ABB19020] error - empty text - IllegalArgumentException (...)
2017-02-01 17:30:01  INFO: [ABB19020] disconnected

Without encryption it works fine.

For encryption to work, you have to enable it on the server as well. For that you would need to use some SSL proxy.

Nice. I would put this valuable piece of information:

For encryption to work, you have to enable it on the server as well.

Here: https://www.traccar.org/client/
or here: https://www.traccar.org/secure-connection/

I enabled SSL in the server following these instructions:
https://www.traccar.org/secure-connection/
It still doesn't work if I enable cryptography in the client. If I disable it it works on the https server.
I don't get how enabling https on the server to securely serve the web gui of Traccar over 443 port would affect the communication between the server and the android client as the client uses por 5055. Am I getting something really wrong here?

Those are instructions for the web interface. You have to enable encryption for port 5055 separately.


Add numpy.where equivalent

If I'm just missing this, I'm sorry I didn't catch it and am sorry to trouble you over it. If not, my proposal is below. Please let me know your thoughts. Also, I don't know all the details of your system. So, if there is something I have missed, please let me know.
I think it would be really cool to have a numpy.where type function in dask, especially, as the arrays themselves cannot be set. Though, using a numpy.where approach maybe setting in certain context would be acceptable, as well. I'm thinking this could just behave as a simple branch that is inserted into the the graph. Additionally, if the condition is trivial like a single bool, this could result in removal of the unused portion of the graph.

Good idea.  Implemented in https://github.com/ContinuumIO/dask/pull/50 .  Feedback and play-testing welcome.

Nifty. Thanks. Nice to see it was such an easy add. I'll have to play with it and see how it goes.


Disabling the aggregate count query

Summary of problem or feature request
When laravel-datatables retrieves data for reason of populating a table, it executes two queries. The first is the select count(*) as aggregate from... query, and the second is the query used to actually retrieve the data.
The select count(*) as aggregate from... query is used to presumably populate the data found in the DataTables.js "Showing 1 to 4 of 4 entries (filtered from 98,799 total entries)" string. It is taking a significant amount of time, far more so than the query used to actually retrieve the data. For example in the particular example I'm dealing with right now the select count(*) as aggregate from... query takes 28.62 seconds to complete, whereas the data retrieval query is taking 0.5 seconds to complete.
All of the appropriate columns are indexed; it is just this counter query that is inexplicably consuming so much time. Is there any way to disable this query? We really don't need to show the result count on the page.
Code snippet of problem
N/A
System details

Operating System OS X 10.11.6
PHP Version 7.0.6
Laravel Version 5.1
Laravel-Datatables Version 6.17.0

Thank you!
Jason

You can use setTotalRecords api to achieve this. See this demo for ref.

Works like a charm thank you so much!


Add support for SAS tokens in Azure blob storage

See https://learn.microsoft.com/en-us/azure/storage/common/storage-sas-overview for more info.
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
This change builds on the SAS token support added in https://github.com/Xuanwo/reqsign/pull/215

Fantastic! Mostly LGTM. This PR need to wait for a new release of reqsign. I will do this today~

reqsign v0.7.4 has been releases, please update it in Cargo.toml.

Oh, this PR introduces a breaking change under rust 1.60:
error: cannot borrow `builder` as mutable because it is also borrowed as immutable
   --> src/services/azblob/backend.rs:239:13
    |
2[32](https://github.com/datafuselabs/opendal/actions/runs/3827230736/jobs/6511644085#step:8:33) |             let account_name = builder.account_name.as_ref().ok_or_else(|| {
    |                                ----------------------------- immutable borrow occurs here
...
239 |             builder.endpoint(&format!("{protocol}://{account_name}.blob.{v}"));
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^
    |             |                                        |
    |             |                                        immutable borrow later used here
    |             mutable borrow occurs here
    |
    = note: `-D mutable-borrow-reservation-conflict` implied by `-D warnings`
    = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
    = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>

Please take a look~

Hm ok I cloned the string -- not sure if that's idiomatic, I'm not a regular Rust programmer.

Thanks for your contribution!


Stop using css files therefore stop needing to import them.

Maybe use style objects instead, would make things more clean, since it's a small amount of styling.
What do you think?

First, thank you for taking the time to think about this and open a PR.
What you have done was the scenario we had in version 3.x, and I believe this to be an approach we might not want to take because of the following:

it would be impossible to use pseudo-elements if we needed to
overriding the library's styles would be a bit hairier, and you wouldn't be able to use the style attribute on an element to override the values and would have to use a nested object specifying what you want your changes to be
how we want to approach vendor prefixing is not settled, so including a CSS file with vendor prefixes right now gives us the option of removing them and allowing consuming applications to determine what vendor prefixing to do. We can't do that with a style object
bundling this in with a consuming application's CSS allows for that application's global styles to be able to take precedence; for example, outline styling.
...other reasons

At the moment, this is not a direction I think it best for the project to go in, but I thank you so very much for your effort here.
I will leave this and the PR open for a few days.

No, that's alright, make sense. Feel free to close it now if you want.

I wanted to let you know that here in a project using Gatsby + Styled-Components, but not passing Zoom through styled-components, your button still get a hashed css with partial class name that you are using in the library, so I'm not sure if it's because of Gatsby or styled-components. Here the class precedence didn't work as you can see in the screenshot, had to select the button with the aria-label.
https://i.postimg.cc/BZymrg0y/ss.png

That image doesn't seem to be working

it is, try now.

styled-components, emotion, css-modules and the like all inject their <style> tags dynamically at different places in the <head> (or even <body>). If that tag comes before the <style> tag for normal CSS files/bundles, whatever comes last takes precedence. There are options for determining where styles get injected, but that differs from tool to tool.
That said, I am more than willing to have a conversation about the naming of classes, for this project dynamically generates the CSS class naming using CSS Modules, but that does mean that there's no reliable way for you to select them in your code. For example, .Main_btn__3CiJa is definitely going to be unique on your page, but if you're trying to override it, you're not going to have a good time. RMIZ__btn is a way to counteract that, but I'd need a good reason to change it from how it works right now.

#id doesn't seem to be changed by these libraries, it could be an option.

Good point. Another option is data-rmiz-btn, which is selectable via [data-rmiz-btn]. I'll think on it.

Cool, sounds good.


CI: test distro Python install on Ubuntu Jammy (22.04 LTS)

This fixes the intent (using system Python) of this CI job, which was first added in gh-16309. Builds on Debian/Ubuntu are "special", because those distros patch distutils/sysconfig in ways that are quite unhelpful. The build was broken until meson-python 0.6.0
We want to keep this job running to guard against regressions. It's pretty quick to run, so costs little.
Closes gh-16300

From your description, did you want to change the Ubuntu distribution in test_venv_install instead of test_meson?

Related to your previous commit. Should we be concerned about the failure on test_meson when we have ubuntu-22.04?

No, that was only due to -Werror usage in that job, which isn't a significant concern. We only use that flag on purpose in a single configuration, it's not doable to use it everywhere. Warnings with newer compilers are nice to tackle, but at our leisure.


React-Officegraph Web part returns error

Category

[ ] Question
[x] Bug
[ ] Enhancement

Expected or Desired Behavior
When I add a web part on the page, I expect it to show content
Observed Behavior
I face the same issue still with the Officegraph web part.
The aspx page created as directed in Readme page returns nothing and after adding app on the site,
add new modern page, add web part "Trending in the sites I"
I get the below in the added webpart.
[SPWebPartErrorCode.ScriptLoadError]:: Unable to load web part WebPart.undefined.83f0e319-95a2-4cff-84ca-d50d693e92ee,Error: ***Failed to load component "90a04bb9-fbdf-43d1-bfe1-0491d34941be" (undefined). Original error: ***Failed to load entry point from component "90a04bb9-fbdf-43d1-bfe1-0491d34941be" (undefined). script resources due to: {1}. CALLSTACK:: Error at t.prototype._generateErrorStackForIE (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-03-17.008/sp-loader_en-us_c6f9eaa435c045364ff414fb3b4a7714.js:88:25072) at t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-03-17.008/sp-loader_en-us_c6f9eaa435c045364ff414fb3b4a7714.js:88:24062) at t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-03-17.008/sp-webpart-base_en-us_c1717fe3a65c3606bc67c06f229b0eb5.js:146:25406) at t.create (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-03-17.008/sp-webpart-base_en-us_c1717fe3a65c3606bc67c06f229b0eb5.js:146:25848) at e.prototype._handleModulePromiseRejection (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-03-17.008/sp-webpart-base_en-us_c1717fe3a65c3606bc67c06f229b0eb5.js:146:55681) at Anonymous function (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-03-17.008/sp-webpart-base_en-us_c1717fe3a65c3606bc67c06f229b0eb5.js:146:46096) at k (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-03-17.008/sp-loader_en-us_c6f9eaa435c045364ff414fb3b4a7714.js:88:2381) at L (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-03-17.008/sp-loader_en-us_c6f9eaa435c045364ff414fb3b4a7714.js:88:2469) at A (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-03-17.008/sp-loader_en-us_c6f9eaa435c045364ff414fb3b4a7714.js:88:2291) at D (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-03-17.008/sp-loader_en-us_c6f9eaa435c045364ff414fb3b4a7714.js:88:1887)

This sample is built using a pretty old version of the SharePoint Framework (drop 2) which might explain why it isn't working with SharePoint. Ideally you would either have to update the sample to the GA version of the SharePoint Framework or wait for someone else to do it. Meanwhile, is there anything specific that you were looking for in this sample? Perhaps there are other samples that could be helpful as well?

This web part and other web part examples that are using the GQL and SharePoint Search API must be updated or remove since the GQL API is being discontinued by August 2017. Also the API will stop working by 19 June 2017 if not used with a special query parameter.
https://msdn.microsoft.com/en-us/office/office365/howto/query-office-graph-using-gql-with-search-rest-api


Getting proper X,Y,Z coordinates and some other stuff

Hey, I was more so looking for advice and direction. So this is unrelated to your project but looking around yours you got some neat stuff. I'm in the process of training an RL agent to play Tekken. I'm facing 2 huge issues for 2 different methods of training.
If I want to do computer vision based training, I need a way to get the bot to stop actively learning in between games. I've looked through a few memory addresses, but nothing updates soon enough. The frame counter keeps going when it shouldn't and sometimes the bot spams itself back into menus. So is there a nice way to get a good game ending signal? So instead of the bot spamming mindlessly, I can end the episode and resort to spamming A until it enters the next match?
If I want to do an information based agent, without vision. I would need more detailed things that don't seem to be operational anymore? Such as X, Y, Z coordinates and hit box locations. Am I just doing something wrong, or have these not been updated through patches?
Please feel free to ignore this, but I would really appreciate any help!

So is there a nice way to get a good game ending signal?
I have modified the tekken_game_state.py, it has a is_in_battle function which returns a boolean. That should do it.

Such as X, Y, Z coordinates and hit box locations. Am I just doing something wrong, or have these not been updated through patches?

Although offset have been updated through patches, I haven't tested them yet myself. So I can't confirm whether they are valid or not.
We need to do more work on the reverse engineering stuff, for a better understanding on how Tekken works. Right now I'm trying to make this work: https://github.com/xyz-1/SDK-Generator

Thanks for the quick reply! I've actually been trying to copy over code from the compsyguy fork that you shared for reading memory. After some more poking around with cheat engine, and checking values, it looks like some logic + round wins will be quick enough. Since when out of game they don't seem to return anything.
Also that looks like a monstrous project! Is the idea behind it to enable modders lower level access? Since you said "we" is there a community for Tekken developers? I might be interested in contributing in some way. I really want some more C++ experience.

Actually, I'm in touch with compsyguy's Psylence. But we are both new to reverse engineering, so we are learning by doing. There are some other developers out there. Unfortunately, they are very secretive about their knowledge.
If you have discord send me your username, the more the merrier.

Sure thing, my discord name is currently 簡単な農家#8086

了解です

late replay but here are some values you can search for:
values are floats
infinite azure2 hei vs hei
x	-837.0911	837.0911
y	-547.0632	547.0632
z	1020-1040	1020-1040
mishima dojo
x	2.38889		-2.38889
y	-999.9971	999.9971
z	1022-1044	1022-1044
arctic snowfall
x	2.38889		-2.38889
y	-999.9971	999.9971
z	1022-1044	1022-1044
infinite azure
x	-837.0911	837.0911
y	-547.0632	547.0632
z	1020-1040	1020-1040
heihachis x and y coordinates don't change...


[FLINK-8995][tests] Add keyed state that uses custom stateful seriali…

What is the purpose of the change
This PR adds keyed state that uses a custom stateful serializer to the allround e2e test job, so that was cover this case.
Verifying this change
For example, run ./run-single-test.sh test-scripts/test_ha_datastream.sh
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

CC @tzulitai

@tzulitai Thanks for the review. Merging.


Not working in VS2017, nowhere to activate VIM mode

Not working in VS2017, nowhere to activate VIM mode
Version 15.3.0

I have the same issue not working in VS2017 and don't know where  to activate

Same here
Visual Studio Enterprise 2017, Version 15.5.1

Seems to be working fine in 15.8.9 for me


Support for principal tags/transitive tag keys in WebIdentityToken patch

What would you like to be added:
Support for setting a custom (ideally using an annotation for ServiceAccount) PrincipalTag for STS session (through patching of the WIT file: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html, please see Passing session tags using AssumeRoleWithWebIdentity section). Transitive tag keys also might be valuable.
Why is this needed:
That would eliminate necessity to maintain a lot of similar\identical IAM Roles, for example attribute-based S3 access for application-specific S3 keys might be implemented through this: EKS sets an app-specific PrincipalTag which is then used as a variable in IAM policy (e.g. with a default variable substitution within resource/key definition in a policy).

I would love this too! In order to support this, Kubernetes would need to support custom claims in JWT tokens it issues.  I'll close this out as it is a Kubernetes feature, not one for this webhook
kubernetes/kubernetes#61795
kubernetes/kubernetes#91610

I would love this too! In order to support this, Kubernetes would need to support custom claims in JWT tokens it issues.  I'll close this out as it is a Kubernetes feature, not one for this webhook
kubernetes/kubernetes#61795
kubernetes/kubernetes#91610

@micahhausler Just to clarify
Kubernetes is supporting only kubernetes.io claim, e.g:
"kubernetes.io": {
    "namespace": "ucatu-372c457ed6e742e29c1f0ca5751747e1",
    "pod": {
      "name": "cnj-372c457ed6e742e29c1f0ca5751747e1-975b5cd9d-27twb",
      "uid": "64f5c4d0-2c0e-4099-a2cc-e5cbdd4ec153"
    },
    "serviceaccount": {
      "name": "cnj-372c457ed6e742e29c1f0ca5751747e1",
      "uid": "5dd8b20a-8d08-4f58-8ffd-83326dfd1218"
    }

And to support session-tags they need to be under https://aws.amazon.com/tags claim, e.g (from :
    "https://aws.amazon.com/tags": {
        "principal_tags": {
            "Project": ["Automation"],
            "CostCenter": ["987654"],
            "Department": ["Engineering"]
        },
        "transitive_tag_keys": [
            "Project",
            "CostCenter"
        ]
    }

Thus a possible workaround is to create another AWS role only for the purpose of --tags and replace the path on pod?
Thanks!


feat(elements): move example vue project to monorepo

Relates to #467
Closes #200
Proposed Changes

add example vue project to monorepo
migrate example project to Vue.js 3
use latest elements version
use new wrapper package elements-vue

Things to check

[ ] Does the change need to be documented?
[ ] Does any existing example code needs to be updated?
[ ] Is the change properly tested?
[ ] Is it helpful to provide another example to demonstrate the new feature?
[ ] Are there other code lines that need to be modified?

is blocked by #552

Maybe we should rename elements-example-vue to elements-vue-example so it will be sorted just below the vue-wrapper

Do we add elements-vue-example to commit-scope-enum.js?

Do we add elements-vue-example to commit-scope-enum.js?

Yes but without the components (e.g. no elements-vue-example|ino-button)


Log in - Continue button isn't responding after switching gmail with expensifail accounts

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

Expected Result:
Able to log in with expensifail account after log out from gmail account. Continue button should work.
Actual Result:
Continue button is not working
Action Performed:

Launch the app
Enter your Phone or Email. Log in with Gmail account (used<EMAIL_ADDRESS>Click Continue
Enter your Password and Click Sign in
Log out from gmail account
Enter your Phone or Email. Log in with expensifail account<EMAIL_ADDRESS>Click on Continue button

Workaround:
Closing and reopening the app solves the issue.
Platform:
Where is this issue occurring?
Web
iOS
Android ✔
Desktop App
Mobile Web
Version Number: 1.0.36-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/44479856/116948985-f606cf00-ac4e-11eb-9bcb-4be055d8ec41.mp4
Expensify/Expensify Issue URL:
View all open jobs on Upwork

Triggered auto assignment to @RachCHopkins (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

Will triage tonight when I can get my hands on an Android

Ok, I can't triage this. Have asked for a volunteer.

I ran the latest dev code (v1.0.37-1 from yesterday & v1.0.38-0) on my Android device and could not reproduce this error 🤔
Next, I ran the latest beta (v1.0.38-0) on my Android device and also couldn't reproduce the error.
I see that @isagoico was testing on v1.0.36-0, so maybe this got fixed since then?

@isagoico can you still replicate the issue?


Some question about this code

Hi Professor Saptarshi Sarkar:
Thank you for reading!
I have recently read your paper: " Use of Kane’s Method for Multi-Body Dynamic Modelling and Control of Spar-Type Floating Offshore Wind Turbines". The work was so interesting and it was attractive to me. Then I studied the code "OC3-Hywind-Spar" you posted on github. I am wondering if you could kindly help me with some confusion. Thank you very much for your kind consideration and I am looking forward to your early reply.
All the best to you!
Q1：In the file "NominalSystemMatrix.m",which variables represent the horizontal nacelle acceleration(linear nacelle acceleration in the X direction and linear nacelle acceleration in the Y direction)?
Q2: In the file "NominalSystemMatrix.m", what do "dEvU_TFA1" and "dEvU_TFA2" stand for respectively? Is there any information or manual for all the variables in "NominalSystemMatrix.m"?
Q3: In file "CreatePlatform.m", what does "Platform.nStrips" mean?
Q4: When I modify the parameters of platform,such as "TotDraft" in file "CreatePlatform.m" and then assign a larger value to "tf" in the file "OffshoreWindTurbine.m", such as making tf=100s, errors will occur in the file "CheckInterpPoints.m". Can you explain in detail how I should solve this error?

Hi Professor Saptarshi Sarkar: Thank you for reading! I have recently read your paper: " Use of Kane’s Method for Multi-Body Dynamic Modelling and Control of Spar-Type Floating Offshore Wind Turbines". The work was so interesting and it was attractive to me. Then I studied the code "OC3-Hywind-Spar" you posted on github. I am wondering if you could kindly help me with some confusion. Thank you very much for your kind consideration and I am looking forward to your early reply. All the best to you! Q1：In the file "NominalSystemMatrix.m",which variables represent the horizontal nacelle acceleration(linear nacelle acceleration in the X direction and linear nacelle acceleration in the Y direction)?
Q2: In the file "NominalSystemMatrix.m", what do "dEvU_TFA1" and "dEvU_TFA2" stand for respectively? Is there any information or manual for all the variables in "NominalSystemMatrix.m"?
Q3: In file "CreatePlatform.m", what does "Platform.nStrips" mean?
Q4: When I modify the parameters of platform,such as "TotDraft" in file "CreatePlatform.m" and then assign a larger value to "tf" in the file "OffshoreWindTurbine.m", such as making tf=100s, errors will occur in the file "CheckInterpPoints.m". Can you explain in detail how I should solve this error?

Hello, please tell me that when I run the program, "Wind file could not be opened." Do you know why?


fix indention issue in egressgw env.

/cherrypick release-1.3

@morvencao: new pull request created: #349

In response to this:

/cherrypick release-1.3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


AlertWords: Use lookahead and lookbehind

Description
The white space stops the regex from selecting the immediate alert word next to it (if any).
Using lookahead and lookbehind this fixes the issue.
Also added tests for consecutive alert words.
Issues related to this PR
This closes #4478
Screenshots post fix

@gnprice @chrisbobbe Please review this :D

I'll aim to come back and review this after zulip/zulip#17321 is merged, so we can maintain that the mobile app generally follows the webapp's implementation. 🙂

Just updating this that we've merged https://github.com/zulip/zulip/pull/17321.  Sorry for the delay on that -- I really wanted a frontend test case for it.


What is the nature of deep convnet used in i3d, is it a vgg16 ?

I think author is inspired by GoogLeNet

Inception-v1, as described in the paper.


global: move away from "experiment" paradigm to general "access scope"

This wi;l need some discussion, but maybe we can seed it here. Right now the notion of an "experiment" (as in ATLAS, CMS, etc..) is used in a lot of the code. In order to be generic probably it's best to define a number of "access scopes" and use that name across the code. If we want REANA e.g. be installed on-premises elsewhere, a "scope" could be a specific professor's lab, where various labs use the same reana instance but have their own secrets, etc.

👍 Let's muse live about scope, tenant, etc.


FlatList in KeyboardAvoidingView ignores keyboard's height

Description
FlatList in KeyboardAvoidingView ignores keyboard's height and renderItems at bottom of FlatList are hidden. If I use inverted property in FlatList it works as I expected.
React Native version:
System:
    OS: macOS 11.0.1
    CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
    Memory: 2.28 GB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 12.18.2 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.5 - /usr/local/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.10.0 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.2, DriverKit 20.0, macOS 11.0, tvOS 14.2, watchOS 7.1
    Android SDK:
      API Levels: 23, 25, 26, 27, 28
      Build Tools: 26.0.2, 27.0.3, 28.0.2, 28.0.3
      System Images: android-23 | Google APIs Intel x86 Atom_64, android-27 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.1.1 4.1.1
    Xcode: 12.2/12B45b - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_66 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: 0.63.3 => 0.63.3
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Open project https://snack.expo.io/@zfanta/flat-list in iOS device
Touch text input in bottom of screen to show keyboard

Expected Results
Items at bottom are hidden.
https://user-images.githubusercontent.com/6619332/102712475-f38d8380-4304-11eb-9a45-e18881f2c45c.MP4
If I use inverted property Items at bottom are not hidden.
https://user-images.githubusercontent.com/6619332/102712477-fb4d2800-4304-11eb-8a70-4c6f8837eb82.MP4
Snack, code example, screenshot, or link to a repository:
https://snack.expo.io/@zfanta/flat-list

Any workarounds/updates on this issue? Thank you.

Any one find a solution, or everyone moved to flutter?

why don't you reverse your array with FlatList in inverted true?
i also got that problem but i found solution from inverted true
and this is my code
`
const ChatScreen: FC = () => {
const [input, setInput] = useState("");
const [messages, setMessages] = useState<IMessage[]>(dummy.reverse());
const { params } = useRoute();
const onPress = () => {};
const sendMessage = () => {};
const navigation = useNavigation();
useLayoutEffect(() => navigation.setOptions({ headerShown: false }), []);
const renderItem = ({ item: message }: { item: IMessage }) =>
message?.uid === user.uid ? (

) : (

);
return (
<SafeAreaView style={twflex-1}>

<KeyboardAvoidingView style={twflex-1}>

<FlatList
data={messages}
style={twpl-4}
keyExtractor={(message) => message.id}
renderItem={renderItem}
inverted={true}
/>

    <View
      style={tw`flex-row bg-white justify-between items-center border-t border-gray-200 px-5 py-2`}
    >
      <TextInput
        style={tw`h-10 text-lg`}
        placeholder="Sned a Message..."
        onChangeText={setInput}
        value={input}
        onSubmitEditing={sendMessage}
      />
      <Button title="Send" color="#FF5864" onPress={onPress} />
    </View>
  </KeyboardAvoidingView>
</SafeAreaView>

);
};
`

This worked for me <FlatList onLayout={() => flatListRef.current.scrollToEnd({ animated: false })} ... />

you can do:
<KeyboardAvoidingView behavior='position'
...  >

Here's a workaround, I had to use inverted with flex-direction:'column-reverse' in order to keep the order.
<SafeAreaView style={{flex: 1}}>       <KeyboardAvoidingView         style={{flex: 1}}         keyboardVerticalOffset={90}         behavior={Platform.OS === 'ios' ? 'padding' : 'height'}>            <FlatList                 scrollEnabled={true}                  inverted={true}                   contentContainerStyle={{flexGrow: 1, flexDirection: 'column-reverse'}} .../> ......

  <KeyboardAvoidingView style={{ flex: 1 }} behavior="padding" >
        {isLoading ? <Text>Loading...</Text> :
            <View style={{
                flex: 1
            }}>

                <AnimatedFlashList
                    ListHeaderComponent={listHeader}
                    onScroll={onScroll}
                    scrollEventThrottle={16}
                    ref={flashListRef}
                    data={data}
                    estimatedItemSize={100}
                    onLayout={() => flashListRef?.current?.scrollToEnd({ animated: true })}
                    estimatedFirstItemOffset={100}
                    // extraData={dataUpdatedAt}
                    renderItem={renderItem}
                    contentContainerStyle={{ paddingTop: 120, paddingBottom: insets.bottom }}
                    showsVerticalScrollIndicator={false}
                    onEndReachedThreshold={0.7}
                    keyExtractor={keyExtractor}
                    onEndReached={fetchNextPage}
                />
            </View>

        }
        <InputToolbar statusId={id} />
    </KeyboardAvoidingView >
);

worked for me

I'm still having same issues in 2025 : D
anyone found an elegant solution?


WMS Provider catch with "The SSL connection could not be established"

Mapsui Version
4.0.0
Mapsui Platform
Xamarin - Android
Device
Samsung A53
Describe the bug
WMSProvider catch with "The SSL connection could not be established" error with this url:
https://depth.openseamap.org/geoserver/gebco2021/wms
To Reproduce
           WmsProvider provider = await WmsProvider.CreateAsync("https://depth.openseamap.org/geoserver/gebco2021/wms", persistentCache: MyDefaultCache);
Expected behavior
WmsProvider.CreateAsync should not catch in error.
This server works fine with OpenLayers.

It is fixed in this pull request it was a missing useragent
https://github.com/Mapsui/Mapsui/pull/2134

I assume this is fixed with the PR. If the problem persists after the next release please reopen.


sudo needed to execute docker

I've noticed that container os needs sudo for using docker. Thus, the login command could be eventually modified into this maybe?
ssh -t $(gcloud compute os-login describe-profile | grep username | sed 's/username: //' | tr -d '\n')@$PROXY_IP sudo docker run --rm --network=host -it logiqx/mysql-client mysql -u root -p -h <IP_ADDRESS>
additionally, maybe i'm wrong but...since both the proxy bastion host and the cloud sql instances lies in the same VPC, why you need to use cloud sql proxy to reach it?
Is it not supposed to be directly reachable using the private ip only?
and finally, I was wondering if having the (hi priviledged) credentials json stored in clear in the description of the VM could be a security issue....
said that, your setup is absolutely GREAT and I'm working to deploy it on my tenant atm ;)

Ok, I'm investigating the third issue, trying to reinforce it a bit:

I stored the credentials into a secret
I've added this binding to the db-proxy service account to be able to access only THAT specific secret:

resource "google_secret_manager_secret_iam_binding" "secret_iam_binding" {
  project   = var.project_id

  secret_id = google_secret_manager_secret.db_proxy_credentials_secret.name
  role      = "roles/secretmanager.secretAccessor"
  members   = [
    "serviceAccount:${google_service_account.db_proxy_account.email}"
  ]
}

Finally, in the bootstrap template i added those to retrieve the secret (i need to use curl since there's no gcloud in container os)
[...]

# Fetch the access token for authentication
TOKEN=$(curl -s "http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token" -H "Metadata-Flavor: Google" | jq -r .access_token)

# Fetch the secret from Secret Manager
SECRET_VERSION=$(curl -s "https://secretmanager.googleapis.com/v1/projects/your-project-id/secrets/my-secret/versions/latest" -H "Authorization: Bearer $TOKEN" | jq -r .payload.data | base64 -d)

# Export the secret value as an environment variable
echo "$SECRET_VERSION" > /var/svc_account_key.json

[...]

At this stage i have a Permission 'secretmanager.versions.get' denied for resource, but I'm digging into it...

A lot has changed since 2020 and I've recently learned more about Cloud SQL auth. I have a better approach now than the one in this repo. I planning on writing a new blog post and heavily revising the code in this repo.

Hey, I came here because I had the same issue with docker permissions. I ended up ssh'ing onto the proxy and running:
sudo usermod -aG docker $USER

This repo/ blog post has been really helpful, although I am curious about your new approach. I know it can be hard to find the time for such an update, but by any chance, could you share some high level information about how you changed your approach?
|I'm trying to set up terraform with a cloudsql instance with VPC-only access and connect my cloud run service to the DB. at the same time, I want to be able to access the DB securely with IAM permissions, so I do like this approach a lot, but if you've found something better, then I'm really interested :)


feat(color-picker): support swatches

feat(color-picker): support swatches #1281

Sorry for reviewing late. I'm a bit busy in weekdays.

Thank you for taking the time to review this PR. (Your health is your most precious asset, please have a good rest!)
I have experience in developing color picker components, so I tried to do it. In fact, I did not consider a lot of details.
Thank you for your carefulness, which allows me to benefit from this PR. I am going to revise this PR based on your suggestion.

Sorry, because the path where I opened the editor is incorrect, the submitted code has a format error, which has now been processed.
I will pay attention to such problems in the future (I thought it was caused by dependency).

don't worry, just fix it

This pull request introduces 1 alert when merging b633559 into fb9beb6 - view on LGTM.com
new alerts:

1 for Unneeded defensive code

Also see LGTM problem

This pull request introduces 1 alert when merging b633559 into fb9beb6 - view on LGTM.com
new alerts:

1 for Unneeded defensive code

Also see LGTM problem

I will add test cases tomorrow!


force-major-version-to-100 flag is available only v98 or later

777ef6f01f607f86bb692e3e59e3776e731713e9 changed how to emulate v100 to this phrase.

Starting in Edge97, site owners can emulate this condition before v100 by enabling the experiment flag #force-major-version-to-100 in edge://flags

However, AFAIK, this flag is available only Edge v98 or later.
Beta 98.0.1108.33

Stable 97.0.1072.69

@majenny Will this feature be backported to v97 as well ?

Thanks for filing!
Just for context, the documentation being referred to here is this one: https://docs.microsoft.com/en-us/microsoft-edge/web-platform/site-impacting-changes.
Jenny is already pinged, so let's wait for her to come and respond. If the change is only available in 98, we'll go ahead and update the docs.

nice catch! The flag was released to the most recent version of Edge 97, which will be going out today (1/27)!


Updating broker/Interoperator docker image versions:0.11.0-alpha1

Updating broker/Interoperator docker image versions:0.11.0-alpha1

Pull Request Test Coverage Report for Build 4456

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.307%

Totals

Change from base Build 4454:
0.0%

Covered Lines:
9345

Relevant Lines:
10105

💛  - Coveralls

Closing as we will be creating a release later


Notification TTS script not working in ver 1.6.1

Checklist

[X ] I checked for similar existing issues (both open and closed) before posting.
[ X] I am running the latest version.

Expected behavior
That my TTS script will work (it did before upgrading to 1.6
Actual behavior
Displays an error:

Also tried without the '' in "service: script.sonos_say", same issue

Should be fixed by https://github.com/nielsfaber/alarmo/commit/c707c687d4f5913ff341a11f5b7e02ada09c406b


add .venv* to .gitignore

@danielbradburn Pretty straightforward and appreciated. Should help others wanting to contribute to tje project as well!


Have C545; not seeing choices about plasmawave or fan speed

Hi there,
Home Assistant 2023.7.3 Frontend 20230705.1 - latest  (installed as docker container)
HACS Integration version: | 1.32.1
Frontend version: |<PHONE_NUMBER>2053
I just installed the Winix integration via HACS -- and then added the integration via Home Assistant's Devices section
I do get the four main entities:

And the files which are supposed to be <config directory>/custom_components/winix/ are there:
<config_directory>/custom_components/winix $ ls -la
total 92
drwxr-xr-x 4 root root 4096 Aug 13 14:17 .
drwxr-xr-x 7 root root 4096 Aug 13 11:39 ..
-rw-r--r-- 1 root root 4146 Aug 13 11:39 config_flow.py
-rw-r--r-- 1 root root 2483 Aug 13 11:39 const.py
-rw-r--r-- 1 root root 8151 Aug 13 11:39 device_wrapper.py
-rw-r--r-- 1 root root 7025 Aug 13 11:39 driver.py
-rw-r--r-- 1 root root 8046 Aug 13 11:39 fan.py
-rw-r--r-- 1 root root 7744 Aug 13 11:39 helpers.py
-rw-r--r-- 1 root root 4912 Aug 13 11:39 __init__.py
-rw-r--r-- 1 root root 3603 Aug 13 11:39 manager.py
-rw-r--r-- 1 root root  332 Aug 13 11:39 manifest.json
drwxr-xr-x 2 root root 4096 Aug 13 14:18 __pycache__
-rw-r--r-- 1 root root 4232 Aug 13 11:39 sensor.py
-rw-r--r-- 1 root root  757 Aug 13 11:39 services.yaml
-rw-r--r-- 1 root root  591 Aug 13 11:39 strings.json
drwxr-xr-x 2 root root 4096 Aug 13 11:39 translations

So why don't I see:

winix.plasmawave_off
`winix.plasmawave_on
plasmawave_toggle
fan.speed
fan.set_preset_mode
???

Those should appear under services like this

Ah there they are!
Would someone please post instructions how to add the services to a card so I can choose them like in the screenshot on the README.md?

These are some links which I found on google; I think the first one is simplest.
assistant.io/integrations/input_button/#:~:text=The preferred way to configure,next choose the Button option.
https://github.com/custom-cards/button-card
https://community.home-assistant.io/t/call-service-button-from-lovelace/168656
https://www.home-

Had to mess around a bit but I got it working...


use pipecat

Replace npiperelay with https://github.com/sakai135/pipecat

proof of concept for #78

closing in favor of #91


Update string file for MetaDeploy

Critical Changes
Changes
Issues Closed

@Nickers3 It looks like we're missing some ui_options to get user-facing strings for installer steps. Happy to help.

@Nickers3 It looks like we're missing some ui_options to get user-facing strings for installer steps. Happy to help.


Consider qualifying labels on simple Type errors

Background
Coming from an untyped background, while I learn Elm I see messages regarding type mismatches quite a bit. But still, in the error text, I can never recall which is the expected type and which is the offending type. IKR.
Suggestion
Revise these labels to evoke test assertions. That is, the type checker might inform

"I expected a type of Int, but your program uses a Float".

Even such a small change would greatly impress anyone assessing the language as being worthy of a "learning-time" investment.
A visual is attached.

Oh man, me too. I usually can't figure out which one is the one I have now and which one is the expected one.
Infuariating when the two types are eg. Int and Float. Do I need round somewhere? toFloat? No idea, could be both ways.

See https://github.com/elm-lang/elm-compiler/issues/1061, and be sure to read all of Evan's comments there.

This stuff is all going to be in 0.16 and it looks real nice :) Thanks for the report, excited to release the version that has this stuff!

Yep. I know... been lurking the -dev list.
Evan, what you are doing is stunningly great -- or should it be "insanely great" :)

Thanks :)


fix/ add-heroku-pg-updates

What does this PR do?
It looks like heroku has updated some pg:backups commands https://devcenter.heroku.com/articles/heroku-postgres-backups

Updates heroku PG CLI commands as of 08/dec/2016

Thank you very much for this! I need a few minutes to review this, but given how many people were affected by the PG CLI update I want to get this out ASAP.
Can you fix the failing test on CI? Looks like a typo.

No problem! I just needed to update to the new command in the spec, everything is green now!
I will do a double check to see if I am not missing any command

It seems like everything is up to date

@walreyes thank you for the fixes!

@geoffharcourt you're welcome!


chore(client): remove console log

Checklist:

[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 main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

This annoyed me more than you would think.

Whoops, this was one of mine. I swear I grepped for console.log. Don't know how that one slipped by.


css and prod start issues on Windows

I tried to create an app using the todo example on Windows and I found two issues:
first, the CSS import didn't work, I followed the todo app description, created an index.css file, and imported the tailwind files, but the tailwind didn't load.

the second one is the prod start, the run in dev mode is working well, but the react-server start throws this issue:

Hi @slajher! You're right, the framework only supported MacOS/Linux. I need to run some more testing, but you can check out this branch for Windows support: https://github.com/lazarv/react-server/commits/windows/
Please, give it a go and report any further issue you experience as my main development platform is MacOS. Thanks!

@slajher I had no issues with the Windows specific changes on MacOS, so the new version is now available on npm already! No need to use the Windows support branch directly, just update @lazarv/react-server and @lazarv/react-server-router to the latest version.

@lazarv everything works fine now, thanks for the quick fixes!


Update specification.md

Good spot! Actually we use SourcesParams in the implementations, so I'll update it to that directly


opt: Alignment implementation

~The polymorphism of abstract class AlignmentGeometry in Rust withtrait is ugly, and it cannot apply to third-party crate derive_builder。
Now change it to two separated struct and wrap them with a sum type AlignmentGeometry, which can be hold in widget with the same type.~
Add TextDirection and resolve from AlignmentGeometry into Alignment

Of course! I just forgot that.

Amazing, thanks


Does not work on .net 46

Due to dependencies to System.Numerics, the library does not work with old .net 46, but only with .net Core - at least in my case.
br Andy

Hello,
I do not support .NET 4.6, I support 4.6.1 at least. System.Numeric.dll is part of the .NET Framework. On my side, I have no issue with .NET 4.6.1, not sure what the problem is on your side. Can you share me some more details please?
I have upgraded the project "ChatCompletions" to work with multiple FW types for testing purpose. It is work fine on my side. Can you double check it please than get back to me, if you have time for this. Thanks!

Thanks ... now everything works and no problems any more resolving dependencies on 4.8
br, Andreas


Update prints to use a consistent format:

We seem to use different methods for print throughout the code base, e.g.:
----------Using 8 data-parallel GPUs----------
─────────────────────────────── Selected tasks  ────────────────────────────────

We should probably be consistent in these

Might want to standardize logging as well - could be a separate issue.

So whether we using the logging module, console.print (rich)


vim is too slow when editing *.ass file.

Also, "(g)vim --clean test.ass" is too slow.
Expected behaviour
no delay when editing *.ass.
Version of Vim
9.1.0377
Environment
Windows 11 23H2 (64bit)
Logs and stack traces
No response

a few things to check: Is it slow when turning off syntax highlighting? If yes, please use :syntime to find the slow pattern and check with the maintainer of the syntax file if he has an idea how to improve that particular pattern

Here is a very simple patch to improve the performance:
diff --git a/runtime/syntax/ssa.vim b/runtime/syntax/ssa.vim
index a5dbf37c3..e7e76aa2b 100644
--- a/runtime/syntax/ssa.vim
+++ b/runtime/syntax/ssa.vim
@@ -29,7 +29,7 @@ syn match ssaTime /\d:\d\d:\d\d\.\d\d/ contained skipwhite nextgroup=ssaDelimite
 syn match ssaDelimiter /,/ contained skipwhite nextgroup=ssaField,ssaTime,ssaText

 " Text
-syn match ssaText<EMAIL_ADDRESS>contained contains=@ssaTags,@Spell
+syn match ssaText<EMAIL_ADDRESS>contained contains=@ssaTags,@Spell
 syn cluster ssaTags contains=ssaOverrideTag,ssaEscapeChar,ssaTextComment,ssaItalics,ssaBold,ssaUnderline,ssaStrikeout

 " Override tags

ping @ObserverOfTime

Here is a very simple patch to improve the performance:
+syn match ssaText<EMAIL_ADDRESS>contained contains=@ssaTags,@Spell
ping @ObserverOfTime

Thank you!
This patch works really well.


⏺ Add Reset Buttons for Inline Title Color pickers

https://github.com/jparkerweb/pixel-banner/releases/tag/2.10.1


Outline Module

i'm a bit wondering is there any outline module available

@Millionaryearl Hi, there isn't any outline module, but it should be put on todo-list.

same as #11


Bug Documentation

Firstly, I love the fact your team is documenting bugs. However, I would consider not just keeping your logs potentially more up-to-date (I notice the last update to the bug file was 2weeks ago) but also perhaps provide more detail. By only documenting where a bug exists and not what the problem is (e.g. expected output vs actual output) it might make it more difficult to go back later and rectify your bugs.

thank you for the suggestion! right now we have a very casual way of reporting bugs for simplicity but in theory more detail would be preferred


Rename HtmlEncodedString => HtmlString

We currently have two nearly identical implementations of HtmlEncodedString across HtmlAbstractions and MVC due to HtmlString. After talks offline with @Eilon and @dougbu we should perform the rename. Not to mention HtmlString is clearer given what the type is used for.
We should add HtmlString.Empty as part of this.
This issue should be done in conjunction with https://github.com/aspnet/Mvc/issues/4558

fe563b1459e9c913b9fb2a0fadf212fb64adf036
https://github.com/aspnet/Mvc/pull/4651/commits/55922d68d49d0700732d23b8d53c75cb17cad81e
https://github.com/aspnet/Razor/pull/750/commits/d27ab1ce3dfd9281fe127bc07bee4fdf810d5d6a


AWS OpenSearch support as a storage (using HTTPS)

Hello, I've and AWS OpenSearch 1.1 (latest). I've configured the OpenSearch cluster using the next option:
Required HTTPS - Yes.
{
  "name" : "xxxxxxxxxxxxxx",
  "cluster_name" : "xxxxxxxxxxxxxx",
  "cluster_uuid" : "xxxxxxxxxxxxxx",
  "version" : {
    "distribution" : "opensearch",
    "number" : "1.1.0",
    "build_type" : "tar",
    "build_hash" : "unknown",
    "build_date" : "2021-11-11T11:26:38.089614Z",
    "build_snapshot" : false,
    "lucene_version" : "8.9.0",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "The OpenSearch Project: https://opensearch.org/"
}

Also, I've dedicated master nodes.
https://opensearch.logs.example.com/_nodes/http?pretty=true
{
  "_nodes" : {
    "total" : 11,
    "successful" : 11,
    "failed" : 0
  },
  "cluster_name" : "cdkldscmklmksldmslkcsd",
  "nodes" : {
    "y6Pu8sNaQ-u1vRj8y5-_6Q" : {
      "name" : "9ef316fdb8ac63fe037321aac80ef6a9",
      "version" : "1.1.0",
      "build_type" : "tar",
      "build_hash" : "unknown",
      "roles" : [ "ingest", "master", "remote_cluster_client" ]
    },
    "e1wFN_LMR8ij3Z7Z7VOmrA" : {
      "name" : "96de5eba5004ee5daef9f64519b76d49",
      "version" : "1.1.0",
      "build_type" : "tar",
      "build_hash" : "unknown",
      "roles" : [ "data", "ingest", "remote_cluster_client" ]
    },
    "3d-UdtQ1Taa-yqtR5VeOKA" : {
      "name" : "ecb8ac3e6056d30e3e072f5613fcb439",
      "version" : "1.1.0",
      "build_type" : "tar",
      "build_hash" : "unknown",
      "roles" : [ "data", "ingest", "remote_cluster_client" ]
    },
    "WCSRoiRhRzOiZccZEPjqFg" : {
      "name" : "93c261f2871f4254927b40b697556060",
      "version" : "1.1.0",
      "build_type" : "tar",
      "build_hash" : "unknown",
      "roles" : [ "data", "ingest", "remote_cluster_client" ]
    },
    "_eGHO7LZQPySxlmZ5B_QBw" : {
      "name" : "74b890283973e54754ff3f806c3ee17c",
      "version" : "1.1.0",
      "build_type" : "tar",
      "build_hash" : "unknown",
      "roles" : [ "data", "ingest", "remote_cluster_client" ]
    },
    "XpLojF_1T-WFqaaK_OB46A" : {
      "name" : "e150da7272c6e9ad2f4af3306d2f19a1",
      "version" : "1.1.0",
      "build_type" : "tar",
      "build_hash" : "unknown",
      "roles" : [ "data", "ingest", "remote_cluster_client" ]
    },
    "FqyEawh6RJGYLMDCBLvQAQ" : {
      "name" : "4c792970a2f5085064eba1ef50d8fc62",
      "version" : "1.1.0",
      "build_type" : "tar",
      "build_hash" : "unknown",
      "roles" : [ "data", "ingest", "remote_cluster_client" ]
    },
    "5ogFI-IQQIOZoh0XqC2p2w" : {
      "name" : "67e2ad7167cf029c6a280536cd4510fb",
      "version" : "1.1.0",
      "build_type" : "tar",
      "build_hash" : "unknown",
      "roles" : [ "data", "ingest", "remote_cluster_client" ]
    },
    "XgilFZKxQs2yCZplzia33g" : {
      "name" : "83b27f9d825555d976d73371e3f417ea",
      "version" : "1.1.0",
      "build_type" : "tar",
      "build_hash" : "unknown",
      "roles" : [ "ingest", "master", "remote_cluster_client" ]
    },
    "ZDBmCcHkRUi_RjbZOdalMg" : {
      "name" : "a8fa88b6573fe3a5c3962c90f810fab4",
      "version" : "1.1.0",
      "build_type" : "tar",
      "build_hash" : "unknown",
      "roles" : [ "data", "ingest", "remote_cluster_client" ]
    },
    "z6GZ_QguTaS4UcmOBuWE8g" : {
      "name" : "eb29c2894628aa55c9b547f1023a258d",
      "version" : "1.1.0",
      "build_type" : "tar",
      "build_hash" : "unknown",
      "roles" : [ "ingest", "master", "remote_cluster_client" ]
    }
  }
}

I want to use it as storage for jaeger.
I deployed jaeger-operator with the next configuration:
    storage:
      dependencies:
        enabled: false
      type: elasticsearch
      options:
        es:
          server-urls: https://opensearch.logs.example.com
          tls.skip-host-verify: "true"
          index-prefix: bla-bla
          password: supersecretpassword
          username: user

But I've got an error:
k logs jaeger-operator-jaeger-collector-8495bcd8df-4wjqj
2022/03/21 14:53:06 maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined
{"level":"info","ts":1647874386.5148993,"caller":"flags/service.go:117","msg":"Mounting metrics handler on admin server","route":"/metrics"}
{"level":"info","ts":1647874386.5149536,"caller":"flags/service.go:123","msg":"Mounting expvar handler on admin server","route":"/debug/vars"}
{"level":"info","ts":1647874386.5151117,"caller":"flags/admin.go:104","msg":"Mounting health check on admin server","route":"/"}
{"level":"info","ts":1647874386.5151799,"caller":"flags/admin.go:115","msg":"Starting admin HTTP server","http-addr":":14269"}
{"level":"info","ts":1647874386.515211,"caller":"flags/admin.go:96","msg":"Admin server started","http.host-port":"[::]:14269","health-status":"unavailable"}
{"level":"fatal","ts":1647874391.582086,"caller":"./main.go:80","msg":"Failed to init storage factory","error":"failed to create primary Elasticsearch client: health check timeout: no Elasticsearch node available","stacktrace":"main.main.func1\n\t./main.go:80\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.2.1/command.go:856\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.2.1/command.go:974\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.2.1/command.go:902\nmain.main\n\t./main.go:147\nruntime.main\n\truntime/proc.go:255"}

So what should I do?
Previously I used a self-hosted ElasticSearch cluster without HTTPS and it worked well.
To Reproduce
Steps to reproduce the behavior:
Create AWS Opensearch cluster.
changed jaeger values.yaml file.
execute helm install command.

Expected behavior
Expected jaeger initialized with the AWS OpenSearch.

@pavolloffay Hello, sorry for pinging you directly. I saw your replies on other topics. So could you help me to troubleshoot this issue?

@yurishkuro Hello, I saw you were working on the OpenSearch feature in another issue.
Is it the reason for my problem that I've dedicated master nodes in my AWS OpenSearch cluster?
What do you think?

Resolved. It was my mistake. I didn't use the correct OpenSearch credentials.


Source control doesn't rescan workspace on connection lost

Type: Bug
When a workspace is on a network drive and connection to the network drive was lost, source control removes the list of available repositories.
After connection restored, it never re-scans for the repositories and there seems to no command to force it to re-scan. The only solution is either restart vscode or restart extension host.
Sometimes it shows a button "reopen closed repositories" which upon clicking, scans only root of the workspace and shows root repository twice.

No sub repositories are found.
 Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

I'm not sure how is a gif would help to troubleshoot this issue...


Rename external modules

It would be great if when a .ts file is renamed, atom-typescript would update external module references automatically.
For example if renaming foo.ts to bar.ts, it would be awesome if bas.ts changed from this:
import stuff from './foo';

...to this...
import stuff from './bar';

And wouldn't it be great if any generated definition and JavaScript files would be renamed or removed too. I sometimes, after renaming a file, end up with duplicate errors in my concatenated files, and have to remove them manually.

Duplicate of https://github.com/TypeStrong/atom-typescript/issues/240. If you focus on ./foo and press f2 and type in a new path the refactoring actually works and references are updated,
Pending :

the file is not actually renamed on file system
the user can't trigger the refactoring from the tree view https://github.com/atom/tree-view/issues/433

Thanks


Torch GPU selection

@Sravan2j
I just merged master into torch. As I did, I noticed something weird about the GPU assignment.
On this line, I copied your logic from before about adding 1 to the GPU id. Now when I create one torch job on GPU #0 the argument passed to torch is --devid=1, and when I assign another job to GPU #1 the argument is --devid=2. So far so good.
But then I look at nvidia-smi, and both jobs are running on GPU #1 (the second one). What's up with that?

Fixed in #324.


OrderByDescending

Not sure if I'm doing it wrong, or bug...
    <ApexPointSeries TItem="AccountsReceivable"
                        Items="AgingReport"
                        Name="AgingReport"
                        XValue="@(d=>d.BillingDate)"
                        YValue="@(d=>d.Dollars)"
                        OrderByDescending="@(e=>e.X)"
                        SeriesType="SeriesType.Line" />

So, BillingDate is a date time, and I would expect that the X axis would be oldest to youngest, but it shows as if the X axis is sorted ascending (or as it normally displays)

Hello,
Sorry for  a late reply, It looks like Apexcharts.js always sort XAxis of type numeric or DateTime ascending.


dts: bindings: adc: add shunt sensor

Add bindings for a current sensor using a shunt resistor.
Signed-off-by: Jason Yuan<EMAIL_ADDRESS>

Does the following binding cover what you need:
https://www.kernel.org/doc/Documentation/devicetree/bindings/iio/afe/current-sense-shunt.yaml
If so, lets follow that binding for this purpose

The binding has been edited to be the same as the Linux standard; however, I have kept the gain property in there because most of the time a shunt resistor is used, the shunt voltage need to be amplified to be measured. The gain property has a default of 1 so the binding can be used the same way as the Linux binding when the property is not desired.

Hi @galak could you review again? Thanks.

as @fabiobaltieri said I'd like to see some code that actually utilizes this.  We don't normally take bindings w/o some code utilizing it in zephyr itself.

as @fabiobaltieri said I'd like to see some code that actually utilizes this. We don't normally take bindings w/o some code utilizing it in zephyr itself.

I'm stacking this Pr with #54286 so that the binding and the code that utilize it can be viewed at the same place. Closing this one.

@ualbertagreen I think that the request was to have some code that utilize the binding. Like a sample, not a dts file. It would make more sense to have the binding and a sample on this PR and the specific board instantiation on a separate PR, but regardless there's no sample code in https://github.com/zephyrproject-rtos/zephyr/pull/54286 either.

@ualbertagreen I think that the request was to have some code that utilizes the binding. Like a sample, not a dts file. It would make more sense to have the binding and a sample on this PR and the specific board instantiation on a separate PR, but regardless there's no sample code in #54286 either.

Right but I can't have a sample code that utilizes this binding without a board that utilizes this binding, and the only board I have with a current sensor is the Twinkie. So to me it made more sense to stack everything together. I've commented in the other PR about my plans to add a sample code.


Ravtdbq 342 support for shiftleft function

Changes are looking good to me.
L1 done.

L2 Done.

L1 and L2 already done, so merged it to master


HDDS-11773. Prevent frequent DataNode Ratis snapshotting.

What changes were proposed in this pull request?
HDDS-11773. Bump hdds.ratis.snapshot.threshold and hdds.container.ratis.statemachine.max.pending.apply-transactions to 100k
Please describe your PR in detail:

DataNode is configured to snapshot every 10k transactions, which is too frequent for HBase workloads where DataNode can do thousands and eventually 10s of thousands of transactions per second.
Bump hdds.ratis.snapshot.threshold to 100k for now. Update hdds.container.ratis.statemachine.max.pending.apply-transactions to make it consistent.
We have to revisit and make it 1M eventually.

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11773
How was this patch tested?
Applied the change to a HBase cluster. Previously it was snapshotting every 4-5 seconds, and now it is doing it about every minute.

isn't it DataNode only?
SCM uses ozone.scm.ha.ratis.snapshot.threshold.
I guess OM uses the default value which is 400000.

isn't it DataNode only? SCM uses ozone.scm.ha.ratis.snapshot.threshold. I guess OM uses the default value which is 400000.

Right. Pls amend the config tag

The snapshotting itself takes around the same amount of time as before, 1-3ms.
2024-11-22 22:31:12,432 INFO<EMAIL_ADDRESS>ContainerStateMachine: group-D595E2D0A206: Taking a snapshot at:(t:179, i:7007978) file /var/lib/hadoop-ozone/datanode/ratis/data/c420af11-2786-4f5a-9b5a-d595e2d0a206/sm/s
napshot.179_7007978
2024-11-22 22:31:12,434 INFO<EMAIL_ADDRESS>ContainerStateMachine: group-D595E2D0A206: Finished taking a snapshot at:(t:179, i:7007978) file:/var/lib/hadoop-ozone/datanode/ratis/data/c420af11-2786-4f5a-9b5a-d595e2d0
a206/sm/snapshot.179_7007978 took: 1 ms
2024-11-22 22:32:46,285 INFO<EMAIL_ADDRESS>ContainerStateMachine: group-D595E2D0A206: Taking a snapshot at:(t:179, i:7107980) file /var/lib/hadoop-ozone/datanode/ratis/data/c420af11-2786-4f5a-9b5a-d595e2d0a206/sm/s
napshot.179_7107980
2024-11-22 22:32:46,287 INFO<EMAIL_ADDRESS>ContainerStateMachine: group-D595E2D0A206: Finished taking a snapshot at:(t:179, i:7107980) file:/var/lib/hadoop-ozone/datanode/ratis/data/c420af11-2786-4f5a-9b5a-d595e2d0
a206/sm/snapshot.179_7107980 took: 2 ms

Thanks for the review, @smengcl


fix illumos build

In 08a01d26dc079756c8e94409fba051fd2eb5bd2c, the primitive layer changed and the large_os_page_size static was replaced by the _mi_os_large_page_size function.  However, an #elif predicated by __sun that referred to large_os_page_size was missed in that change.  This simply changes that reference to the function.

@daanx may I please request your review here?

Thanks! I pushed a fix to dev (for now, dev-slice will be merged soon). I redid your  PR as you based on master but included credit.

Thanks!

Thanks for the fix!  When we can expect to see it in a release?

ah, real soon. (I am currently preparing and if tests go well I hope to release on Tuesday)


Forge cheatcode for recording keccak preimages

Component
Forge
Describe the feature you would like
A set of cheatcodes, similar to record/accesses and recordLogs/getRecordedLogs but for logging and returning the preimages used by the keccak256 opcode.
Use case: related to https://github.com/foundry-rs/foundry/issues/6704, this is required to perform the spec validations for ERC-4337, which only allows reading/writing slots that are associated with a specific address in some circumstances. record/access is sufficient in cases in which this address is used directly as a slot value, but not in cases in which it is hashed together with another value, such as when using a mapping. It is also not sufficient to try to brute force mappings with low indexes, because this will not work for nested mappings.
Suggestion

function recordPreImages() external; - which starts recording all keccak preimages sliced out from memory
function getRecordedPreImages() external returns (bytes[] memory); - which returns all recorded preimages

Additional context
No response

I'm also happy to take out a pr for this if it looks good

Does https://github.com/foundry-rs/foundry/pull/5123 (https://github.com/foundry-rs/foundry/pull/4710) handle your use case?

As far as I can tell no, because it assumes that I know the root slot of the mapping which is not the case (correct me if I'm wrong).
I could loop over small indexes and try every slot but this would be quite hacky. However, one way this could work for my use case relatively easily is to change stopMappingRecording or add a new function that returns an array of all recorded mappings (similar to stopAndReturnStateDiff). Wdyt?

Also fyi I don't think the changes from https://github.com/foundry-rs/foundry/pull/5123 are in the foundry book yet

@kopy-kat I see, thanks. Can you expand on the 4337 use case? I'm not too familiar with the validation details but it sounds like you still only need preimages for keccaks which precede an SSTORE (mapping write, solidity generated hash) as opposed to for arbitrary keccak256(...) invocations in solidity? Your suggestion of a new method to return the required data, instead of a new set of cheats, feels like the right direction, but would love help fleshing out the UX
@clouds56 any chance you could open a PR to https://github.com/foundry-rs/book to add docs for those cheats?

Two small suggestions:

Since it records the preimage of keccak explicitly, it is better to name it recordKeccakPreImages()
A small performance optimization is to provide "max preimageSize" parameter, to avoid recording (and returning) large preimages, of entire contracts (technically, with erc-4337 we only need to find mapping indices, which are keccak over blocks of 64 bytes)

@mds1 after some prototyping, I've managed to get this to work for the ERC-4337 usecase with the getMappingKeyAndParentOf cheatcode that you mention above, so closing this issue - thanks for the help!

actually, while this cheatcode is great, we do need for erc4337 the revese cheatcode: return the raw binary data that was keccak'ed
eg.
getArrayOfMappingKeyAndParent(address) returns (bytes[] memory)

The existing getMappingKeyAndParentOf allows us to tell for a given slot access (retrieved from stopAndReturnStateDiff) , how it is used in a mapping such as mapping (address=>uint)
However, if the slot reference is into a struct member (mapping(address=>Struct)) that is not the first one, then we have to do an "exhaustive search", trying different offsets.
The above suggested API (which merely exposes already collected data from seen_sha3.get(address).values()) Would simplify such query

@mds1 happy to do this but to complete 4337 verification, https://github.com/foundry-rs/foundry/issues/6704 (or something similar) is also required (to check banned opcodes)

@drortirosh the upside of the proposed cheatcode would just be that you can iterate over the bytes in the contract and check whether slot - n is in the array for every n, right? I'm not sure if that is a huge upside as oppposed to just doing a call to the cheatcode address for every n

tl;dr - I agree the upside is not huge, as this is a test framework (and not a production server) the actual performance is not that critical.
currently, to support structures of sizes up to (say) 128 words, we need to iterate for each storage access up to 128 times.
If we had access to the raw "keccak'ed" data, we'd need to iterate over this array times the number of possible addresses, which is up to 4. Also, the total size of this array is bounded by the total number of slots, but in practice it can be much smaller.

What's the consensus here, should we reopen this issue? It sounds like for full 4337 testing:

This issue is a nice to have
https://github.com/foundry-rs/foundry/issues/6704 is required

Is that correct? If so, for simplicity perhaps we keep this closed and reopen if performance with the existing method becomes an issue?
As a side note, it feels like there's a great opportunity for an erc-4337-validation Solidity testing library that abstracts these checks for users

Yes, that is correct. I am actually working on a lib right now: https://github.com/rhinestonewtf/erc4337-validation :)


to should be capitalized in the command "Go to..."

Testing #156194
Just a small change. Believe the casing is off in the hover hint for the button. When going to a running cell it's "Go To.." and in the new error command its "Go to..." with the rest all caps. I believe the "to" should be "To."

The convention for commands is to use "Go to...." lowercase "to".

@gregvanl Got it. I was basing it off of seeing this for the other Go to cell command. So is the bug on that text instead?

@gregvanl @IanMatthewHuff just checking, but would be proper fix for this to change the casing in "Go To Running Cell" to "Go to Running Cell"?


Execution failed for task ':app:compileFlutterBuildDebug'

Steps to Reproduce

Project working well initially
added FCM library and everything stooped working
Error keeps appearing even after updating flutter
Full log is attached to this.

Logs
FAILURE: Build failed with an exception.
[   +1 ms] * Where:
[        ] Script 'C:\Users\user\Documents\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1151
[   +1 ms] * What went wrong:
What went wrong:
[        ] Execution failed for task ':app:compileFlutterBuildDebug'.
[        ] > Process 'command 'C:\Users\user\Documents\flutter\bin\flutter.bat'' finished with non-zero exit value 1

Logs

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.7.0, on Microsoft Windows [Version 10.0.19045.2486], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[√] Chrome - develop for the web
[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.74.2)
[√] Connected device (4 available)
[√] HTTP Host Availability
! Doctor found issues in 2 categories.

[flutter error report.txt](https://github.com/flutter/flutter/files/10523463/flutter.error.report.txt)

@Adebayo2016 From your logs:
[  +40 ms] Running Gradle task 'assembleDebug'... (completed in 34.2s)
[+3329 ms] ../../AppData/Local/Pub/Cache/hosted/pub.dev/modal_bottom_sheet-2.1.2/lib/src/bottom_sheets/material_bottom_sheet.dart:28:13: Error: 'ModalBottomSheetRoute' is imported from both
'package:flutter/src/material/bottom_sheet.dart' and 'package:modal_bottom_sheet/src/bottom_sheet_route.dart'.
[   +7 ms]       .push(ModalBottomSheetRoute<T>(
[        ]             ^^^^^^^^^^^^^^^^^^^^^
[        ] ../../AppData/Local/Pub/Cache/hosted/pub.dev/modal_bottom_sheet-2.1.2/lib/src/bottom_sheets/material_bottom_sheet.dart:50:10: Error: A value of type 'Object?' can't be returned from an async function with return type
'Future<T?>'.
[   +1 ms]  - 'Object' is from 'dart:core'.
[        ]  - 'Future' is from 'dart:async'.
[        ]   return result;
[        ]          ^
[   +1 ms] ../../AppData/Local/Pub/Cache/hosted/pub.dev/modal_bottom_sheet-2.1.2/lib/src/bottom_sheets/bar_bottom_sheet.dart:102:13: Error: 'ModalBottomSheetRoute' is imported from both
'package:flutter/src/material/bottom_sheet.dart' and 'package:modal_bottom_sheet/src/bottom_sheet_route.dart'.
[   +1 ms]       .push(ModalBottomSheetRoute<T>(
[        ]             ^^^^^^^^^^^^^^^^^^^^^
[        ] ../../AppData/Local/Pub/Cache/hosted/pub.dev/modal_bottom_sheet-2.1.2/lib/src/bottom_sheets/bar_bottom_sheet.dart:125:10: Error: A value of type 'Object?' can't be returned from an async function with return type
'Future<T?>'.
[   +1 ms]  - 'Object' is from 'dart:core'.
[        ]  - 'Future' is from 'dart:async'.
[        ]   return result;
[        ]          ^
[+8157 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +9 ms] "flutter run" took 51,270ms.

It's modal_bottom_sheet's issue rather than Flutter itself. Please open the issue in the dedicated repository.
For quick search results, you may follow this issue https://github.com/jamesblasco/modal_bottom_sheet/issues/311 for updates (it's already had a migration at https://github.com/jamesblasco/modal_bottom_sheet/issues/325).
Closing, as this isn't an issue with Flutter itself.


bigip-fast-template/microsoft-exchange doesn't accept route-domain in IP address fields

Environment

FAST RPM Version: 3.25.3
BIG-IP Version: 14.1.3
FAST Template Version: 1.60

Summary
The bigip-fast-template/microsoft-exchange denies IP addresses with route-domain identifiers (%) attached.
The error message is: Value must be a valid IPv4 address in the form of 4 numbers between 0 and 255, separated by dots.
Steps To Reproduce
Enter an IP address with route-domain-identifier
Expected Behavior
Route domain identifier should be accepted in IP address fields.
Actual Behavior
Route domain identifier in IP address fiels generates error message.

Thanks for reporting this issue. We are now tracking it internally with ID MYSTIQUE-343.

This enhancement was included with Release 1.10.


Double precision

Is it possible to use Double precision floating point on GPU?
As I understand, it is impossible in cutorch as CudaTensor is a single precision floating point tensor.
And that about ClTorch? Don't you plan to add this?

I wasn't planning on adding it... mostly because I'm mostly targeting neural nets, and latest trends are to go to lower precision, ie fp16.  Do you mind if I ask your use-case?  Doesnt mean I will suddenly jump up and do it, but would be good to at least understand what you are trying to achieve.

I would be in favour of just making the precision selectable, including both 64 bit doubles and 16 bit smalls. As someone relatively new to neural networks and Torch, I like to experiment to see what the differences are. I'm very scientific in how I approach this, so I would just like to run my network at 16 bit precision, 32 bit precision and 64 bit precision to see what the differences are. I don't like to just take people at their word that smaller is better, I want to see it for myself. It helps me to learn and understand.

@genixpro
Ok, sounds good.  The underlying cutorch codebase, ie cutorch, already provides different precisions actually, so you could plausibly use a similar technique perhaps.  https://github.com/torch/cutorch/blob/master/lib/THC/THCGenerateAllTypes.h


Female / Male faces

Added some checks and also an extra "SetPedHeadBlend" native so that when choosing a female ped, it spawns with a female face instead of a male one.

@Captmorg21 does this also change the values in the UI when the female model is spawned? Or does it shown 0 0 in the head section for parents?