Problems with the Automated deploy

Summary
Using the automated deploy script to deploy and running into this issue - deployment fails with this error - spawnSync sfdx ENOENT
Steps To Reproduce:

Installed all the prerequisites - VS code / git / sfdx / heroku cli
Executed the automated deployment instructions - node scripts/ecarsDeploy.js
The script executes the - scratch org is setup successfully - when deploying to Scratch org-
after this result -  *** Pushing source to scratch org
Error is seen - spawnSync sfdx ENOENT

unable to install and use the sample on the scratch org.
Please let me know for questions.

Have the identical issue when following the instructions on Windows. Users on Mac OS are unaffected. Looked at the script and happening here:
log('*** Pushing source to scratch org');
execFileSync('sfdx', ['force:source:push'], { stdio: 'inherit' });

Tried executing the command manually using sfdx force:source:push -u ecars but then got a "Error  force-app\main\default\flexipages\Case_Record_Page_with_right_sidebar.flexipage-meta.xml  We couldn't retrieve the design time component information for component c:liveData." so blocked on this.
Tried both Powershell and Terminal and no difference. Also followed instructions from other forums on updating Path but no change.

@V1JAYENDRA @enthuk What version of Node.js are you on the windows machine? Please make sure you use the latest Node.js supported version.
Let us know if it still throwing the issue.

Thanks for your input - i had version v14.15.1 and i upgraded to v15.3.0 and still no luck - i am seeing the same issue . Please advice.

I'm using npm v 6.14.8 on both Mac OS and Windows 10. On Windows 10 it fails on Mac it errors out. My colleagues on Windows are facing the same issue.

Node version 14.15.0 which is the LTS, will try 15.4.0 and restart the machine. Using 12.19 on my Macbook and that's happy

Same issue after upgrading and restarting but not surprised, the error is still at the "execFileSync('sfdx', ['force:source:push'], { stdio: 'inherit' });" stage

The script is failing because the push fails, the push fails because there's an issue with the liveData.js file that gets updated by the script. This causes the Case record flexipage to fail. Removing this page from the app and source deployment lets the rest of the script continue.
Having updated node version I did note that there is now an extra warning:
(node:3740) Warning:    force-app/main/default/lwc/liveData*

Looking into liveData.js I see the @track lines at the top are flagged as errors:
Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning.

Update on this from last week. Found liveData* listed in the .forceignore, odd. Don't understand why deploy script works on Mac but if you remove this entry from .forceignore and use the manual deployment instructions it works on Windows. Odd.

@rclark-provar @enthuk  @V1JAYENDRA  We will look into it! Thanks for letting us know!

I get the same error as @V1JAYENDRA (Dec 8th comment) while installing on Windows 10 Pro with all the latest updates.
My setup is as follows:
node is v15.14.0
sdfx is sfdx-cli/7.96.0 win32-x64 node-v15.14.0
heroku is heroku/7.52.0 win32-x64 node-v12.21.0  (why is node listed here as v12.21.0? )
I'll explore suggestions by @enthuk

I am getting same error as others, if I find workaround will post back...

I was able to remove the errors by going to settings, searching for Experimental Decorators, and toggling it on as shown here:

Still getting an error on this line of ecarsDeploy.js
execFileSync('sfdx', ['force:source:push'], { stdio: 'inherit' });

but if I just run sfdx: force:source:push in the console it works fine (e.g. Scratch Order objects are set up properly). I am not yet sure what stdio: 'inherit' does as a sync option, but I am going to test some more things and will see if I can get it to work. Will let you know what I find.

Another update from me on this one, in order to get the Host key verification failed issue to resolve itself, I manually ran this command in terminal:
git push git@heroku.com:HEROKU_MQTT_APP_NAME.git

replace HEROKU_MQTT_APP_NAME with whatever name you have in the environment. By doing it this way, it asked me the following:
The authenticity of host 'heroku.com (<IP_ADDRESS>)' can't be established.
RSA key fingerprint is SHA256:blah.
Are you sure you want to continue connecting (yes/no/[fingerprint])?yes
Warning: Permanently added 'heroku.com,<IP_ADDRESS>' (RSA) to the list of known hosts.

So, I believe I had to get past git confirming I wanted to accept the fingerprint. Possibly I missed that step in setting things up, not sure. Or, it is something you would have been already asked in the past if it wasn't the first time integrating with Heroku. Mentioning it here in hopes it helps someone else.
I have run into one more "error" from lines 354
    log('*** Provisioning Database');
    sh.exec(
        `heroku run 'cd packages/ecars-db && npx sequelize db:migrate' -a ${sh.env.HEROKU_REALTIME_APP_NAME}`,
        { silent: true }
    );

It threw this error:
exec:  »   Error: Missing required flag:
 »     -a, --app APP  parent app used by review apps
 »   See more help with --help

If I run the command directly it worked out fine:
heroku run 'cd packages/ecars-db && npx sequelize db:migrate' -a ecars-rt-random-name-78

So I am not yet sure why it didn't provision the database in the script, will let you know what I find.

@jeffolmstead Thanks for this exhausting report, I'll go ahead and try the deploy script with the latest version of SFDX and push the proper fixes.
A couple of questions:

What OS are you currently using?
What version of the heroku cli and sfdx cli?
Did you add the SSH key as described here: https://github.com/trailheadapps/ecars#ssh-key-for-heroku-deploys

@julianduque hope the comments are useful! I don't want to bog things down, but I know I find them useful if I have a similar problem and someone has detailed out the steps they took to get past it.
Here is a response to your request:
OS is: Windows 10
Heroku is: heroku/7.52.0 win32-x64 node-v12.21.0
sdfc is: sfdx-cli/7.98.0 win32-x64 node-v15.14.0
I did add SSH keys but later, I think that took care of one of my issues
One other issue I had was in generating the PDF in the ecars-services app. The script for "copy-files" wasn't copying over any folder / file that had a space in it on Heroku (worked fine locally). I ended up switching to 'ncp' package (instead of 'copyfiles' package) and now have this in my package.json (under scripts):
        "copy-images": "ncp routes/pdf/images dist/routes/pdf/images",
        "copy-fonts": "ncp routes/pdf/fonts dist/routes/pdf/fonts",
        "copy-files": "npm run copy-images && npm run copy-fonts",

And of course this in my package.json (under dependencies):
        "ncp": "^2.0.0",

This worked out good on Heroku and I was able to generate a PDF after redeploying.
Currently, the PWA app works perfectly locally. When I click "Contact Me" it generates the Lead in Salesforce and brings in the car configuration. It also works with Push Notifications. However, on Heroku, when I click "Contact Me" I get this error thrown:

I am still debugging that one.
Thanks for putting together this example, it shows a lot of great integrations.

@jeffolmstead for that last error, it would be useful to see if there is any output on the JavaScript developer console on your browser, also, to know what browser are you using in this case.

@julianduque so I just jumped over to Chrome to try it out and... it worked perfectly.
Chrome: Version 90.0.4430.93 (Official Build) (64-bit)
I have been doing my actual work in Brave (which is based on Chrome) and here are those details:
Brave: Version 1.23.73 Chromium: 90.0.4430.85 (Official Build) (64-bit)
The Console log in Brave shows this:
Service Worker and Push is supported
app.js?WB_REVISION=45917dfb0f353a22dfaf20480dde5659:1 Service Worker is registered ServiceWorkerRegistration
app.js?WB_REVISION=45917dfb0f353a22dfaf20480dde5659:1 ServiceWorkerRegistration
app.js?WB_REVISION=45917dfb0f353a22dfaf20480dde5659:1 Subscribed: false
app.js?WB_REVISION=45917dfb0f353a22dfaf20480dde5659:1 Service worker active
app.js?WB_REVISION=45917dfb0f353a22dfaf20480dde5659:1 BKEoox-Ctic9c0_W5VtMasn8JaeGAcx51W9O9tHj_-2c02lDwI7jvHQN6UHFgvl2XiPf_6VVCRsSmqDDnRr0gdQ
Then for the next section a picture might be better:

It also works fine in Edge, might just be something with my Brave browser... overall, tremendous progress!

@jeffolmstead Thank you very much! This is super useful for us.
Yes, Brave might be a bit jealous and should be blocking something around WebPush Notifications, need to give it a try.
Also, thanks for recommending npc, I'm going to see if I can reproduce the issues you mentioned with folders with a space in their name.
Last question from me.
What shell are you using on Windows 10? It is WSL/WSL2? Are you doing it directly on Powershell or cmd.exe? Or any other like git bash?

I did get the same error to throw on Chrome now. When I 'Unsubscribe' it says it is successful, then when I try to 'Subscribe' again it fails with that same error. When I do a browser refresh it still shows as subscribed. So I am wondering if the 'Unsubscribe' process isn't quite working right.
I am doing everything through Visual Studio Code and running in Node.js. I don't believe it is using a Windows Subsystem but perhaps Visual Studio Code is obfuscating that on me. I am running all commands via PowerShell (inside Visual Studio Code). And yes, to explore Heroku files (which is how I located the images missing that had spaces) I use Bash via this command
heroku run bash -a {appname}
$ cd dist/routes/pdf/images/PDF
$ dir

And in there I could see that images were missing. Oh, one more note, to make errors easier to surface in Heroku, I added this line in 'ecars-services/routes/pdf/index.ts' on line 50
this.log.error(err); // Log errors to console so I can see in Heroku

The next line uses this:
request.log.warn(err.message);

but there is nothing on "err.message", just "err" so it didn't prove to be helpful.

@julianduque do you think we could align some of the lightning components with the SLDS grid so it works in mobile? Currently it doesn't work on small screens. However, if you add this markup:

(note the class names) AND you remove the "overflow: hidden;" on the body tag

Then it looks excellent (I am biased I know) in mobile:

By the way, thanks for the help, I am going to try and work through the other trailheadapps provided.

@jeffolmstead Yes, that it's totally doable and a great suggestion, if you want to open PR, feel free to do it. If not, we can take care after researching the issues you have been experimenting with Windows.
I just tried the full deployment process in MacOS and it works good, so I guess there might be some slight incompatibilities on Windows.

@jeffolmstead @V1JAYENDRA Thanks again for reporting this issue. Automated deployment has been fixed on Windows both on cmd.exe and PowerShell.
@jeffolmstead The other suggestions made in this comment are going to be addressed too. Thank you again for your exhaustive report and suggestions!


Add column for open source?

Curious if maintainers/community would be open to adding a column to the tables that indicates whether the API itself is open source or proprietary? I'd be happy to begin going through the list and adding the data, I'm not sure what changes to the build scripts would be necessary.
Add'l aside, why is the link to the website in the sidebar's "About" section set to https://ultimatecourses.com if https://api.publicapis.org exists?

Some new columns ideas have been asked before, they're referenced under the #1055 issue. We gotta found out if we want them all, maybe add them but hide them (in an html comment) because the list is already hard to read.
I personally don't have access to the repo settings so I can't change anything related to the repo itself (e.g. adding new maintainers). I've contacted the owner but got no answer for a month now. Will let know the community on the #1268 issue if I got access.
Feel free to comment or watch these issues.

Ah, wow, I wasn't fully aware of the current situation the project is facing. And I searched, but there was no way I was going to find #1055 with the terms I was using... 😂
I will watch and wait. Thank you for the update and kudos for trying to breathe some life into this project.


Bugfixing client.py on creating a datacenter with unconnected storage…

Fixes #15 - Error in creating a DC with unconnected volumes

@edevenport can you re-push the module to pypi please so that it reflects this fix?


Receive emails

how to receive emails with griddler from gmail into rails app

There are two tutorials in the very first section of the README. Do these not work for your use case?


How can I make calls without being signed in

I get a 403 error with the code below but only when I am not signed in. How can I make calls even without being signed in?
SubredditPaginator paginator = new SubredditPaginator(AuthenticationManager.get().getRedditClient());

This can be done with application-only OAuth. See here for more.

Can you please elaborate. this is what I have in my MainApplication extending application

public class MainApplication extends Application {
@Override
public void onCreate() {
    super.onCreate();
    redditClient = new AndroidRedditClient(this);
    redditClient.setLoggingMode(LoggingMode.ALWAYS);
    AuthenticationManager.get().init(redditClient, new RefreshTokenHandler(new AndroidTokenStore(this), redditClient));
}

and this is what I have in MainActivity

    @Override
    protected void onResume() {
        super.onResume();
        AuthenticationState state = AuthenticationManager.get().checkAuthState();
        Log.d(TAG, "AuthenticationState for onResume(): " + state);

        switch (state) {
            case READY:
                ready();
                break;
            case NONE:
                Toast.makeText(MainActivity.this, "Log in first", Toast.LENGTH_SHORT).show();
                startActivity(new Intent(MainActivity.this, SampleMain.class));
                break;
            case NEED_REFRESH:
                refreshAccessTokenAsync();
                break;
        }

    }

    private void refreshAccessTokenAsync() {
        new AsyncTask<Credentials, Void, Void>() {
            @Override
            protected Void doInBackground(Credentials... params) {
                try {
                    AuthenticationManager.get().refreshAccessToken(LoginActivity.CREDENTIALS);
                    ready();
                } catch (NoSuchTokenException | OAuthException e) {
                    startActivity(new Intent(MainActivity.this, SampleMain.class));
                    Log.e(TAG, "Could not refresh access token", e);
                }

                return null;
            }

            @Override
            protected void onPostExecute(Void v) {
                Log.d(TAG, "Reauthenticated");
            }
        }.execute();
    }

    void ready(){
        new AsyncTask<Void, Void, Void>() {

            @Override
            protected Void doInBackground(Void... params) {
                // Set up a Paginator for the front page
                SubredditPaginator paginator = new SubredditPaginator(AuthenticationManager.get().getRedditClient());
                // Request the first page
                Listing<Submission> firstPage = paginator.next();

                // Iterate over the submissions
                for (Submission submission : firstPage) {
                    Log.d("",submission.toString());
                }
                return null;
            }

            @Override
            protected void onPostExecute(Void aVoid) {
                super.onPostExecute(aVoid);
            }
        }.execute();
    }

Not sure. here is the loginin activity

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_login);

        // Create our RedditClient
        final OAuthHelper helper = AuthenticationManager.get().getRedditClient().getOAuthHelper();

        // OAuth2 scopes to request. See https://www.reddit.com/dev/api/oauth for a full list
        String[] scopes = {"identity", "read"};

        final URL authorizationUrl = helper.getAuthorizationUrl(CREDENTIALS, true, true, scopes);
        final WebView webView = ((WebView) findViewById(R.id.webview));
        // Load the authorization URL into the browser
        webView.loadUrl(authorizationUrl.toExternalForm());
        webView.setWebViewClient(new WebViewClient() {
            @Override
            public void onPageStarted(WebView view, String url, Bitmap favicon) {
                if (url.contains("code=")) {
                    // We've detected the redirect URL
                    onUserChallenge(url, CREDENTIALS);
                } else if (url.contains("error=")) {
                    Toast.makeText(LoginActivity.this, "You must press 'allow' to log in with this account", Toast.LENGTH_SHORT).show();
                    webView.loadUrl(authorizationUrl.toExternalForm());
                }
            }
        });
    }

    private void onUserChallenge(final String url, final Credentials creds) {
        new AsyncTask<String, Void, String>() {
            @Override
            protected String doInBackground(String... params) {
                try {
                    OAuthData data = AuthenticationManager.get().getRedditClient().getOAuthHelper().onUserChallenge(params[0], creds);
                    AuthenticationManager.get().getRedditClient().authenticate(data);
                    return AuthenticationManager.get().getRedditClient().getAuthenticatedUser();
                } catch (NetworkException | OAuthException e) {
                    Log.e(MainActivity.TAG, "Could not log in", e);
                    return null;
                }
            }

            @Override
            protected void onPostExecute(String s) {
                Log.i(MainActivity.TAG, s);
                LoginActivity.this.finish();
            }
        }.execute(url);
    }

Another thing, when I move my ready() method to a different activity, it again gives me the 403 error. Does this mean, if I sign it I have to keep signing in in every activity?

What I'm trying to ask is how did you create your Credentials object? Did you use Credentials.installedApp(), Credentials.script(), or another method?

I used Credentials.installedApp

Your MainActivity's onCreate reinitializes the RedditClient, so every time your activity is created it subsequently removes any previous authentication that client held. If you create a new RedditClient in every activity, you will need to authenticate every RedditClient in order to use it.
To overcome this, some people make their RedditClient a static variable in their application class.

Ok thanks I will try that later today

You can check out how I have it done here. reddit is a static variable used everywhere, and authentication happens when the Application context is created

Using Slide as an example. Thank you both.


rotational alignment

Is there a way to tell the tool which chuck position we're looking at to inspect?
Like for rotational alignment, does it always default to target rotation right now? What If I want to inspect source or cleaning pad and their rotation is different? Is this handled by xferprint and if it was a post-pick/post-print metro stop it would take the correct target vs stamp vs source rotation info?

Currently, you would only be able to run on Source and Target chucks as they are the only ones with A B positions. Then yes, those A B positions are used to correct for rotation.

How can I tell the tool to use source or use target alignment rotations?

It knows the same way the vision settings load

would you rather have everything be manual via the SEYR control panel?

If I put the inspection thing on the source chuck, do source A -B on it, then setup something on the target chuck, then go and try to inspect the source chuck thing, how do I know if the tool is set to the rotation of the target or the source?  because it could be one or the other right?


use #[abi(embed_v0)]

replace #[external(v0)] with #[abi(embed_v0)]

lgtm, please fix ci and we can merge

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (05e59cf) 67.64% compared to head (537e77a) 68.30%.
 Consider uploading reports for the commit 2b22b46 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1426      +/-   ##
==========================================
+ Coverage   67.64%   68.30%   +0.66%
==========================================
  Files         218      220       +2
  Lines       21060    21725     +665
==========================================
+ Hits        14245    14839     +594
- Misses       6815     6886      +71

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[SPARK-46393][SQL] Classify exceptions in the JDBC table catalog

What changes were proposed in this pull request?
In the PR, I propose to handle exceptions from JDBC drivers in the JDBC table catalog, classify them and converted to appropriate Spark exception w/ an error class. This PR covers the following functions where such errors haven't been classified yet:

list tables
namespace exists
list namespaces

Why are the changes needed?
To unify Spark exceptions, and migrate onto new error framework.
Does this PR introduce any user-facing change?
Yes, if user code expects that Spark SQL bypass Java exceptions from JDBC drivers.
How was this patch tested?
By existing test suites:
$ build/sbt "test:testOnly *JDBCV2Suite"
$ build/sbt "test:testOnly *JDBCTableCatalogSuite"

Was this patch authored or co-authored using generative AI tooling?
No.

@MaxGekk
Is this just doing:
/**

Gets a dialect exception, classifies it and wraps it by AnalysisException.
@param message The error message to be placed to the returned exception.
@param e The dialect specific exception.
@return AnalysisException or its sub-class.
*/
def classifyException(message: String, e: Throwable): AnalysisException = {
new AnalysisException(
errorClass = "_LEGACY_ERROR_TEMP_3064",
messageParameters = Map("msg" -> message),
cause = Some(e))
}

Shouldn't we raise proper error classes instead of hiding behind "message"

@srielau This seems like a lot of work as we need to understand different errors from different databases. Shall we have a general error class name as the fallback? Each JDBC dialect can override this method and provide more concrete error classes.

@srielau This seems like a lot of work as we need to understand different errors from different databases. Shall we have a general error class name as the fallback? Each JDBC dialect can override this method and provide more concrete error classes.

I count 8 invocations of classifyException() in this file. Each invocation adds better information using English. Why can't these be error classes?

At a minimum we could give: _LEGACY_ERROR_TEMP_3064 a proper name and each of these invocations picks a subclass.

There are no tests at all for the cases where JDBC op fails. I believe we should go by the regular way: write tests, update docs, assign names, improve error messages, and so.

Merging to master. Thank you, all for review.

Opened: https://issues.apache.org/jira/browse/SPARK-46410 as follow up.

@srielau @cloud-fan The small PR with assigned names is ready: https://github.com/apache/spark/pull/44358


model.genenrator

In model.generator,I want to ask why  put inp_blur,inp_pred together?

inp_blur is the blur image at this scale.
inp_pred is the estimated clear image from smaller scale.
We want inp_pred to work as a guidance to help recover clear version of inp_blur.


runtimeerror: input and target batch or spatial sizes don't match:target [16 * 256 * 3],input [1637256*256]

CUDA_VISIBLE_DEVICES=0,1 python train_mtl.py --config config.json --dataset deepglobe --model_name "LinkNet34MTL" --exp dg_stak_mtl

As LinkNet34MTL does not perform multi-scale prediction, Request you to try
python train_mtl.py --config config.json --dataset deepglobe --model_name "LinkNet34MTL" --exp dg_stak_mtl --multi_scale_pred false

@gengkai258 , there were some indentation issues in dataset and training file. I have updated them and request you to please try it again.

@gengkai258 , there were some indentation issues in dataset and training file. I have updated them and request you to please try it again.

Thank you very much !  It worked!

Cool. So, I am closing the issue for now.


Make a couple of updates for moved packages and bug fixes.

Also adds a development section to the README with skeleton instructions.

Thanks for the responses!


Get the first item from the result

Hello
Is it possible to get the first item from the result list from outside autoComplete?
any guidance how to do that?
Thanks

Hello @mrahmadt,
I didn't get what you mean by getting the first result item from the result list from outside autoComplete.
Kindly provide more explanation on what you're trying to achieve for me to be able to support you.

Hello Tarek
Here is what I mean:
document.querySelector("#autoComplete").addEventListener("keydown", event => {
	if(event.key === 'Enter') {
		console.log('og event:', event.currentTarget.value);   <--- Instead of the input text, I want to be able to get the first item from the result list
	}
});

I think I found the solution for it from https://github.com/TarekRaafat/autoComplete.js/issues/52
Thanks Tarek for this amazing script

@mrahmadt I'm glad you found the solution!
Let me know if you need any support.
Cheers! :)


Example: Unpacking with subscriptors

Since the result of
a=[1,0]; a[0],a[a[0]]=0,a[0]; print(a)

was unexpected for me, I prepared a section.

@satwikkansal no comment?

@steffen19w23 Thanks for your PR.
I loved the example, but, I see some scope of improvement in simplification and presentation. That's why I've left it as is, I'll make minor modifications in your PR and merge it when I do that next major revision. Hope that's okay.


how to build v2.8.0 with verbs under centos7.8?

@zhucan
In order to expedite the trouble-shooting process here,Could you please fill the issue template,
Please refer to this link and let us know if it helps?Thanks!

This link only for ubuntu and mac. @sushreebarsa

@zhucan Could you please confirm if it is a duplicate ticket of this issue #55524 ?
Thanks!

Yes, because of I had compiled the tensorflow2.0 with verbs successfully. @sushreebarsa

@zhucan Could you please move this issue to closed status if it is resolved?
Thanks!

But with the v2.8.0, I hadn't fixed @sushreebarsa

Tensorflow2.0.md

Chinese: https://github.com/zhucan/kubernetes-study/blob/master/Tensorflow2.0.pdf

Duplicate of #55524?

@zhucan,
Can we close this issue, since it is duplicate of #55524 .
We can follow up on other thread. Thanks

yes, but no anyone answer the question.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.

closed as duplicate of #55524


Replace obsolete genomes

Replace obsolete genomes in PATRIC with new genomes from NCBI

@mshukla1 are we doing this now?  If so, can close ticket.


Conjunctive query backend for homomorphism search

At least in the case of searching for all homomorphisms between two ACSet instances, an alternative strategy to a CSP algorithm is to construct a relational database style query. This may offer performance benefits.

@olynch, I know you implemented this feature during the Adjoint School week, which is great. Can we get a PR?

This was integrated into Catlab in #506.


cargo-watch: enable for darwin

Motivation for this change
Enable for darwin.
The Linux build is unchanged.
Things done

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

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

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

I tested cargo watch on macOS 10.14.
Notify maintainers
cc @xrelkd

Thank you for your work!

@GrahamcOfBorg build cargo-watch

Thanks!


Fix the log out link text on the default Ory Account Experience Account Settings page

Preflight checklist

[X] I could not find a solution in the existing issues, docs, nor discussions.
[X] I agree to follow this project's Code of Conduct.
[X] I have read and am following this repository's Contribution Guidelines.
[X] This issue affects my Ory Network project.
[X] I have joined the Ory Community Slack.
[X] I am signed up to the Ory Security Patch Newsletter.

Describe your problem
Small nit, but the text for the link on the Account Settings page that the user uses to log out says "Logout". But it should be "Log out" (verb vs noun—see https://whitelightconcepts.com/login-vs-log-in-logout-vs-log-out/). Also, you may want to change it to "Sign out", since the other default UIs use "Sign in", "Sign up", etc. for those actions.

Also, I think it is using a "log in" icon instead of a "log out" one (e.g. see https://react-icons.github.io/react-icons).

If this is something you'd like to change, then I'd be happy to submit a PR with the fix.
Describe your ideal solution
The text for the link on the Account Settings page in the Ory Account Experience that the user uses to log out says "Sign out" and uses the correct icon.
Workarounds or alternatives
I can stop being the grammar police 😉.
Version
Ory Network
Additional Context
Not urgent.

@Benehiko FYI  - should be a quick fix when you have a minute


Nested View - Table SELKZ binding issue

Hi,
I'm using the nested view approach.
In the nested view I implemented a sap.m.table table control single selection mode like in demo "Z2UI5_CL_DEMO_APP_019".
Unfortunately, the value for SELKZ (column_list_item( selected = '{SELKZ}') isn't forwarded to the app variable anymore.
This was working for release 1.25.2.
I tried to add the new parameter "VIEW" to the _BIND_EDIT method like explained in issue #506
[(https://github.com/abap2UI5/abap2UI5/issues/506#issuecomment-1704984625)]
That didn't help either...

Mhh, can you share the code of the app that i can reproduce the error?
In my test it is working, but maybe i overlook something:

It took me a while to build up a working example.
The example is a mix of demo 19 and 65.
How to reproduce the issue:
Not working:
1.1) Select on record in table of nested view
1.2) Press the "copy selected entries" pushbutton on the "nested" View
1.3) Toast Message: "Line not selected"
Working:
2.1) Select on record in table of nested view
2.2) Press the "copy selected entries" pushbutton on the "main" View"
2.3) Toast Message: "Line selected"
Outcome:
It seems when the event gets triggered in the main view it works, but when the event gets triggered in the nested view the binding doesn't work.
ZAMOH_CL_DEMO_APP_019_065.txt

Thank you for the demo, this is a great help to find the error quickly. Yes the nested views are a bit more complex. I made a small fix to abap2UI5. And additionally slightly adjusted your demo. You have to specify the view for the binding.
demo_update.txt
You can give it a try again and let me know if it works for you.
Best regards.

Does specifying the view in the binding maybe also solve this problem after the abap2UI5 update now?
https://github.com/abap2UI5/abap2UI5/issues/550?notification_referrer_id=NT_kwDOBhln57Q3NzY3NjQyMDk2OjEwMjMyODI5NQ#issuecomment-1727042518

@oblomov-dev ,
thanks a lot for the quick fix.
The fix seems to work for my demo.
[demo_update.txt]
Unfortunately, I implemented the your latest changes in our system (before v1.30), but now the FLP integration failed with an XML parsing error:

So with v.1.30 it is working, but with the actual version not?

I get problems with the latest changes of the ShellUIService:

Can you share the full snippet of your manifest.json and your View1.controller.js? Maybe i missed something.

maybe the "Service" tag is missing in your manifest:

View1_controller.txt
manifest.txt

Ok thank you, needed to update the Launchpad repository again. Somehow the ushell service is not available on my system. I made loading of this optional now.
I can reproduce the error now, 1.30 is working, newer not. I will check this later again.

updated the repository again, in my tests it is working, you can try again.


Add extension contributed syntax colors to search results

Issue Type: Feature Request
I recently found this extension: https://marketplace.visualstudio.com/items?itemName=travisthieman.better-search. It was abandoned since VScode implemented the feature natively, however it is still missing the syntax colors for the search results. It would be very nice If you could include them like in the extension

VS Code version: Version: 1.43.1 (fe22a96,2020-03-18T07:01:41.240Z)
OS version: OS: Darwin x64 17.7.0

We do have syntax highlighting of search editors, what is it that you’re missing?

I'm sorry I didn't tested with another language, I tested it with python and ruby and it works fine. However, with the .todo syntax highlight from the Todo+ extension (https://github.com/fabiospampinato/vscode-todo-plus) doesn't seem to work, same thing with LateX. It seems languages included by default in VScode work just fine, but language support added by extensions don't

Unfortunately based on the way the textmate grammars work there isn’t much that can be done besides hard coding the extension=>scope rules. Figuring out what those associations should be for languages that don’t come bundled with VS Code poses some challenges: what happens if two competing extensions have different scope selectors?
@mjbvz what is the process for extensions to augment existing grammars? I know for instance Apollo GraphQL adds highlighting to gql template strings in .js files.

A workaround for now is for the extension to declare an injection grammar which adds support for itself to Search Editors... this isn't ideal, I'll look more into how this can be made simpler.
https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide#injection-grammars

@JacksonKearl Yes, injection grammars or using the new semantic highlighting api


Indicate when the trading address is same as registered.

By default a new company assumes the trading address is the same. When it isn’t or the user say sit’s not the same the address is shown. If the user doesn’t enter an address we jus assume the address is the same after all

Can one of the admins verify this patch?


support web terminal for evaluation jobs

Proposed Behavior
When the user config debug=True in the web console, the job task will not exit automatically, making the user debug by the web terminal.
In addition, vscode and jupyter notebook are good debugging tools for users.
cc @anda-ren  @jialeicui

vscode is ready

Close with #2313


Can soft delete specify a delId field that is set to the value of id instead of creation time to avoid deletion conflicts?

Describe the feature
The feature request is to enhance the soft delete functionality by allowing the specification of a delId field. This field would be set to the value of the id field (or another unique identifier) instead of using the creation time when marking a record as deleted. This approach aims to provide a unique and consistent reference for each deleted record, reducing the risk of conflicts or ambiguities that may arise when relying on timestamps.
Motivation
The motivation behind this feature is to address potential conflicts and ambiguities in systems that utilize soft deletes. By using the id field, which is inherently unique, as the value for the delId field, we can ensure that each deletion operation is traceable and distinct. This can be particularly beneficial in systems with high concurrency or those that require precise audit trails. Additionally, using the id field helps in maintaining referential integrity and simplifying queries that involve deleted records.
Related Issues
https://github.com/go-gorm/gorm/issues/4047

@jinzhu I can provide a pr, which github repository should it be in?


SFGUI 0.3.2 won't install on macOS

Using: MacBook Pro (2017) with macOS 10.13.5
Package: SFGUI
Issues:
SFGUI 0.3.2 is unable to install properly. It seems it is pointing to the wrong path during cleanup. I have to make the following changes to make it work:
diff --git a/ports/sfgui/portfile.cmake b/ports/sfgui/portfile.cmake
index 7764a60a..b41ea50a 100644
--- a/ports/sfgui/portfile.cmake
+++ b/ports/sfgui/portfile.cmake
@@ -31,12 +31,13 @@ vcpkg_copy_pdbs()

 file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/sfgui RENAME copyright)

-file(RENAME ${CURRENT_PACKAGES_DIR}/cmake/Modules/FindSFGUI.cmake ${CURRENT_PACKAGES_DIR}/share/sfgui/FindSFGUI.cmake)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/cmake/Modules)
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/sfgui/cmake/Modules/FindSFGUI.cmake ${CURRENT_PACKAGES_DIR}/share/sfgui/FindSFGUI.cmake)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/sfgui/cmake/Modules)

 file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
 file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/cmake)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/cmake)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/sfgui/cmake)

 file(GLOB_RECURSE SFGUI_DOC_RELEASE ${CURRENT_PACKAGES_DIR}/*.md)
 file(GLOB_RECURSE SFGUI_DOC_DEBUG ${CURRENT_PACKAGES_DIR}/debug/*.md)

Log:
$ ~/vcpkg/vcpkg install sfgui
The following packages will be built and installed:
    sfgui[core]:x64-osx
Starting package 1/1: sfgui:x64-osx
Building package sfgui[core]:x64-osx...
-- CURRENT_INSTALLED_DIR=/Users/tommy.li/vcpkg/installed/x64-osx
-- DOWNLOADS=/Users/tommy.li/vcpkg/downloads
-- CURRENT_PACKAGES_DIR=/Users/tommy.li/vcpkg/packages/sfgui_x64-osx
-- CURRENT_BUILDTREES_DIR=/Users/tommy.li/vcpkg/buildtrees/sfgui
-- CURRENT_PORT_DIR=/Users/tommy.li/vcpkg/ports/sfgui
-- Downloading https://github.com/TankOs/SFGUI/archive/0.3.2.tar.gz...
-- Downloading https://github.com/TankOs/SFGUI/archive/0.3.2.tar.gz... OK
-- Testing integrity of downloaded file...
-- Testing integrity of downloaded file... OK
-- Extracting source /Users/tommy.li/vcpkg/downloads/TankOs-SFGUI-0.3.2.tar.gz
-- Extracting done
-- Configuring x64-osx-dbg
-- Configuring x64-osx-dbg done
-- Configuring x64-osx-rel
-- Configuring x64-osx-rel done
-- Build x64-osx-dbg
-- Build x64-osx-dbg done
-- Build x64-osx-rel
-- Build x64-osx-rel done
-- Installing: /Users/tommy.li/vcpkg/packages/sfgui_x64-osx/share/sfgui/copyright
CMake Error at ports/sfgui/portfile.cmake:34 (file):
  file RENAME failed to rename

    /Users/tommy.li/vcpkg/packages/sfgui_x64-osx/cmake/Modules/FindSFGUI.cmake

  to

    /Users/tommy.li/vcpkg/packages/sfgui_x64-osx/share/sfgui/FindSFGUI.cmake

  because: No such file or directory

Call Stack (most recent call first):
  scripts/ports.cmake:72 (include)

Error: Building package sfgui:x64-osx failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: sfgui:x64-osx
  Vcpkg version: 0.0.113-unknownhash

Additionally, attach any relevant sections from the log files above.

Fixed.


feat(RELEASE-1037): add placeholder internal resources

This commit adds a placeholder task and pipeline in the internal/tasks and internal/pipelines directories respectively. These are just placeholders to test the CI and internal mapping work properly. Once other tasks and pipelines are migrated as part of this epic, they will be removed.

/test release-pipelines-e2e-suite

/test release-pipelines-e2e-suite


Mint assets in Evochain

closes #70
Storage
I am using two different storages: AssetOwner and ExplicitTokenURI. I could unify it in one and store owner and token_uri in one struct, but it feels redundant and vague.
And I named ExplicitTokenURI because user will know that they are explicitly setting the tokenURI for the asset instead of implicitly deriving it from the collection's baseURI.
Events
There are currently 2 events when new asset is minted: Minted and ExplicitTokenURISet. I couldn't unify them in one event since it would lose it's meaning, i.e why would we need token_uri param for Minted event. And naming it AssetMintedWithExternalUri is too long and redundant.
Feel free to throw in suggestions if you have better ideas

I am currently using u128 for a type Slot, even though Slot should be 96 bits. There is a check in the extrinsic that makes sure slot is less than max value of 96 bits integer.
I created a ticket for future to fix this https://github.com/freeverseio/laos-evolution-node/issues/77


i18n:  added missing and fixed bn-BD translation

Changelog Entry
Description

added missing and fixed bn-BD translation

Added

Missing words for bn-BD language in translation json file

Changed

Fixed  wrong translation words for bn-BD language in translation json file

Closing due to conflicts, feel free to reopen!


update zig to 0.8.0

zig 0.8.0 got released, so this pr updates it
Closes #277

Instead of removing the old version of zig, duplicate the files into the new package

How will it know which version of zig to use?


Consistent file formatting

Describe what should be investigated or refactored
Currently there exists a pre-commit hook to run go fmt on changed files.
There exists a .editorconfig, and a .markdownlint.json config files at root, but these are opt-in formatting configs.
For consistency, all files whose consistent formatting we care about should be formatting using a combination of go fmt, prettier, shellcheck, and markdownlint-cli2.
Paths we care about:

**/*.md (!docs/2-the-zarf-cli/100-cli-commands/)
**/*.go
**/*.ya?ml
hack/*.sh

? : does prettier handle TOML?
related: should we decide upon yaml vs yml?
related: need to cleanup and re-visit pre-commit hooks, some are deprecated / not maintained anymore
related: should write some small sh script to ensure SPDX header is present on all code files.

A solid baseline may be https://github.com/Azure/aks-periscope/blob/master/.pre-commit-config.yaml

Can def be split into formatting issues / PRs based upon file type


Defer creation of HDF5 file until prepare/trigger

Calling in prepare/trigger rather than stage would mean we can tie the file path into contextual information about the run. stage is normally called before open_run so creating the file in stage means the run does not exist at the time of creation.
Any solution has to be mindful of pre-declare, the file must exist by the time describe is called, i.e. the declare_stream plan.

This is needed so we can use multipliers. Closing old issue #129 in favour of this.

Suggested changes to StandardDetector:

stage() brings the device into a state that is ready to start any scan, no matter of its parameters
prepare() will set multipliers, and get a filename, and call writer.open()
if prepare() has not been called with a software trigger mode before trigger(), then call it for the user with default parameters

Should be done with knowledge of how the interface between StandardDetector and DetectorController: https://github.com/bluesky/ophyd-async/issues/405


truffle test doesn't allow network selection with --network

The Truffle documentation suggests that truffle test can be run with the --network option to specify a network from the configuration file on which tests should be run. However, when running the truffle test command, Truffle explicitly sets the network to be the one named "test" after loading the configuration file: https://github.com/ConsenSys/truffle/blob/48bd90d06fef9a90ec058159f01e192ea8c36e51/lib/tasks.js#L151.
This may be intended behavior, since it adds a safeguard to ensure that a battery of tests (potentially costing lots of gas or ether) isn't accidentally run on the main network. However, it also prevents the user from easily testing on multiple networks (e.g. TestRPC for development and Morden prior to deployment). I think it would be more useful if users could specify the network for testing, and in either case it would be good to make sure the documentation for truffle test matches the actual behavior.

I noticed the same and agree with the comment from @mrbodoia
As far as security is concerned, running the tests requiring ETH will require the account to be unlocked.  It is probably a very bad idea on to unlock accounts on mainnet.

The fact that it is not implemented may be related to #261: when using a real net, you will often run into timeout issues and the timeouts are currently not configurable.

This should be fixed in Truffle 3.0. Cheers!

It does not work in version
Truffle v5.0.3 (core: 5.0.3)
Solidity v0.5.0 (solc-js)
Node v11.6.0


setDeviceMetricsOverride() got an unexpected keyword argument 'fitWindow'

So, I started playing with chromewhip and I have it running with Docker (with the command from the README):
2017-09-11 10:07:50,411 chromewhip.chrome.ChromeTab                                      INFO     Connected to Chrome tab ws://<IP_ADDRESS>:9222/devtools/page/81b27929-4426-4586-b06d-22c0b063d26f
2017-09-11 10:07:50,412 chromewhip.chrome.Chrome                                         DEBUG    Connected to Chrome! Found 1 tabs
2017-09-11 10:07:50,412 chromewhip.chrome.ChromeTab.recv_handler                         DEBUG
Waiting for message...
======== Running on http://<IP_ADDRESS> ========
(Press CTRL+C to quit)

And I make a request, let's say:
curl "http://<IP_ADDRESS>:8080/render.html?url=http://www.google.com"

This is the response:
{
    "error": "Traceback (most recent call last):
    File \"/usr/src/app/chromewhip/middleware.py\", line 20, in middleware_handler
    response = await handler(request)
    File \"/usr/src/app/chromewhip/views.py\", line 60, in render_html
    tab = await _go(request)
    File \"/usr/src/app/chromewhip/views.py\", line 45, in _go
    fitWindow=False)
    TypeError: setDeviceMetricsOverride() got an unexpected keyword argument 'fitWindow'"
}

Am I doing something wrong?

Thanks for raising, looking into it now.

Please try with latest docker image from Dockerhub. Just updated and regenerated the devtools protocol files - I really should automate that process... let me know how you go.

Perfect! It works! Thank you.


Safety issues up to 2024-11-30

No review needed.

coverage: 26.405%. remained the same
when pulling 1c9c5af77f036fc72312603f85011c0754dfb929 on andy/fix-safety-11-30
into c01042ebb9dce8ca7425859c74ee1ede0614ac31 on master.


ignite-1717 Portable marshaller fixed for cases when serialization proxy should be serialized by optimized marshaller

Merged.


Spamming characters after / gets you kicked.

Step 1:
https://i.imgur.com/FOea86O.png
Step 2:
Keep going:
https://i.imgur.com/BS8NIUh.png
Step 3:
Eventually:
https://i.imgur.com/YEewHQV.png
BungeeCord
1355
PaperSpigot
1553
ViaVersion
232

See #891, can be worked around with a patch to spigot at this point in time


Add 'triple' in an ast node for 'ClassInstanceCreation'.

A class may have more than one constructor. They have different
signatures. Ast's are pure strings and numbers. Without knowing the
signatures, a parser cannot tell precisely which constructor it is
handling.

Codecov Report

Merging #675 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master     #675   +/-   ##
=======================================
  Coverage   72.29%   72.29%
=======================================
  Files          49       49
  Lines       16002    16002
=======================================
  Hits        11569    11569
  Misses       4433     4433

Impacted Files
Coverage Δ

androguard/decompiler/dad/dast.py
12.65% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

nice! thank you!


chore(main): release 0.6.0

:robot: I have created a release beep boop
0.6.0 (2024-10-03)
Features

exposed go context (1ee0adb)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.6.0
:sunflower:


match against ok and close instead of crashing on close

PR for issue #77

just added another match which I could see in the logs after the ones from the previous commit weren't there anymore, it seems to happen less frequently.

Cheers; I need to move this repository to ninenines, I'm not seeing it when I do work on tickets. Feel free to remind me if I don't before this week-end. :-)

bump! :)

OK I will try to work on it this week-end, remind me at that time please. Right now it's not possible.

bump (don't worry if you are busy, just reminding you as requested :)

Bump), we have the same issue.

just to add a note, this has been running in production for me since august without a problem.


Keep creating new sessions before max is reached, not using existing ones.

Environment details

OS:macOS 10.14.6
Node.js version:v13.3.0
npm version:6.13.2
@google-cloud/spanner version:4.4.0

Steps to reproduce
index.ts:
/*
Table schema:

CREATE TABLE Users (
    Name STRING(MAX),
    MySkills ARRAY<STRING(MAX)>,
    NeededSkills ARRAY<STRING(MAX)>,
    OfficeLocations ARRAY<STRING(MAX)>,
    PreferredDays STRING(MAX),
) PRIMARY KEY (Name)
*/
const { Spanner } = require('@google-cloud/spanner');

function readWriteTransaction(index, database) {
  return new Promise((resolve, reject) => {
    database.runTransaction(async (err, transaction) => {
      console.log("running i: ", index);

      if (err) {
        console.error(err);
        return;
      }
      const queryOne = {
        columns: ['Name', 'NeededSkills'],
        keySet: {
          all: true,
        },
      };
      const queryTwo = {
        columns: ['Name', 'MySkills'],
        keySet: {
          all: true,
        },
      };

      Promise.all([
        transaction.read('Users', queryOne).then(results => {
          const rows = results[0].map(row => row.toJSON());
          console.log(`NeededSkills: ${rows[0].NeededSkills}`);
        }),

        transaction.read('Users', queryTwo).then(results => {
          const rows = results[0].map(row => row.toJSON());
          console.log(`MySkills: ${rows[0].MySkills}`);
        }),
      ])
        .then(() => {
          // Updates the database
          // Note: Cloud Spanner interprets Node.js numbers as FLOAT64s, so they
          // must be converted (back) to strings before being inserted as INT64s.
          transaction.update('Users', [
            {
              Name: 'mdbuser/hengfeng',
              MySkills: ["test", "program"],
            },
          ]);
        })
        .then(() => {
          // Commits the transaction and send the changes to the database
          return transaction.commit();
        })
        .then(() => {
          console.log(
            `Successfully executed read-write transaction.`
          );
        })
        .catch(err => {
          console.error('ERROR:', err);
          reject(err)
        })
        .then(() => {
          transaction.end();  // cause an issue if not calling it, when an error happens.

          console.log("display session pool:")
          database.display();
          resolve()

          // return database.close();
        });
    });
  });
};

const projectId = "e2e-debugging";
const instanceId = "hengfeng-test-instance";
const databaseId = "test-db";

async function runTest() {
  // Creates a client
  const spanner = new Spanner({
    projectId: projectId,
  });

  // Gets a reference to a Cloud Spanner instance and database
  const instance = spanner.instance(instanceId);
  const database = instance.database(databaseId, {
    max: 100,
    concurrency: 5,
    writes: 0.1,
    // fail: true,
  });

  const promises = [];

  for (var _i = 0; _i < 100; _i++) {
    promises.push(readWriteTransaction(_i, database));
  }

  await Promise.all(promises);

  console.log("final display:");
  database.display();

  // Closes the database when finished
  console.log("closing the database connection.");
  database.close();
}

runTest();

Added a display() method in database.ts:
    display() {
        this.pool_.display()
    }

Added a display() method in session-pool.ts:
    display() {
        console.log("readonly:", this._inventory["readonly" /* ReadOnly */].length);
        console.log("readwrite:", this._inventory["readwrite" /* ReadWrite */].length);
        console.log("borrowed:", this._inventory.borrowed.size);
        console.log("_traces:", this._traces.size);
    }

Expected behaviour
It should reuse existing sessions instead of keeping creating new sessions.
Actual behaviour
If you run the code, you will get:
...
final display:
readonly: 0
readwrite: 99
borrowed: 1
_traces: 1

It created 100 sessions.

This behavior is as expected, as the code example you provided is executing multiple read/write transactions in parallel. The readWriteTransaction method in your example will start executing a read/write transaction and return a Promise for its result. Pushing those promises to a list and then waiting for all of them to finish will allow the transactions to execute in parallel. The exact number of transactions that execute in parallel will depend on the execution time of the transactions, but in general they will all be started in parallel as the RPCs will most probably be slower than the client side code for checking out a session and starting a transaction.
If you were to run the transactions sequentially, the session pool will only contain one session after executing all the transactions.
See also https://github.com/googleapis/nodejs-spanner/blob/5ba44b5f49e1f08cbbc67b11160fca97cd767406/test/spanner.ts#L185 in PR #743


⚠ Economy API Endpoint has degraded performance

In 95f366f, Economy API Endpoint (https://economy.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 11314 ms

Resolved: Economy API Endpoint performance has improved in 9968acb.


GenericMutationWrappersResponse

The generic create, update, and delete mutation (HoC/Hooks) wrappers would return their result in response.data.<resolverName>. This commit restored the name of those fields.

Thanks, I'd advise to use the new create2 containers however, v1 stuff is deprecated.


Infoview treesitter

Especially in light of #118 and #113, it would be incredibly useful to give nvim some awareness of how infoview messages are fundamentally structured. This could also address some of the concerns raised at #114 about how to make things more vim-like so we can use general APIs. Treesitter is new to me but I'd be happy to do some more research into it!

It'd be pretty easy to write a tree-sitter parser for the infoview (I had it in mind awhile back before @gebner swooped in with a great simple vimscript one :P).
The thing is the interop is better I think if everything is tree-sittered (you're going to need to parse lean terms don't forget). But it's not a strict requirement.
Yeah feel free to investigate (or I can possibly give some tips obviously if you need em).

Yep I'll definitely be working on this soon. The main point of this is to be able to map from a cursor position in the infoview to our corresponding Lua object, which could enable a lot of cool features related to #118.
It would be very interesting to investigate whether we can make a general treesitter-based TUI for vim buffers that simulates the context-awareness of HTML using some kind of hidden text wrappers. AFAIK this doesn't exist yet? So initially we'll probably have to do this by hard-coding our infoview-related symbols into the treesitter config.

Or, to start, we can get this HTML-like functionality just with simple position math (no treesitter needed), and evolve into treesitter over time.


Merge point release back into main

[ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).
[ ] The wiki is updated with any design decisions/details.

Codecov Report

Merging #14171 into main will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main   #14171      +/-   ##
==========================================
- Coverage   59.94%   59.92%   -0.03%
==========================================
  Files         705      705
  Lines       39101    39101
  Branches     5667     5667
==========================================
- Hits        23440    23431       -9
- Misses      14429    14435       +6
- Partials     1232     1235       +3

Impacted Files
Coverage Δ

...very/locators/services/virtualenvwrapperLocator.ts
76.92% <0.00%> (-15.39%)
:arrow_down:

src/client/common/utils/platform.ts
60.00% <0.00%> (-12.00%)
:arrow_down:

.../pythonEnvironments/common/externalDependencies.ts
66.66% <0.00%> (-4.77%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0.00%> (-2.23%)
:arrow_down:

src/client/datascience/debugLocationTracker.ts
76.56% <0.00%> (-1.57%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0.00%> (-0.73%)
:arrow_down:

Continue to review full report at Codecov.

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


Avoid retranspilation

Optimization to avoid retranspilation of files when excuting
warp transpile <file_list>

Previous behaviour:
warp transpile x.sol y.sol

if x.sol imports y.sol, then during x transpilation, y would get transpiled as it's a dependency
Then y would get transpiled (again!)
Current behaviour:
y is transpiled only once, during the process of the transpilation of x

Nice, this was on my todo! What would result in even less redundancy would be to flatten all the ASTs into one somehow (taking care of scopes) so that everything only gets included exactly once.

Nice, this was on my todo! What would result in even less redundancy would be to flatten all the ASTs into one somehow (taking care of scopes) so that everything only gets included exactly once.

Yes that would be optimal. I thought of merging the ASTs but that could get messy. Other more hacky way I thought of is making (or simulating the existence of) a sol file which  only imports the files to transpile and then compiling it, leaving solc-typed-ast do all the work


Create a Dev Drive

Dev Home version
<IP_ADDRESS>
Windows build number
10.0.23451.1000
Other software
OS Build Version: 10.0.23451.1000.amd64fre.ni_prerelease.230428-1438
.NET Version: .NET 6.0.16
Steps to reproduce the bug
The virtual drive option does not appear in the system > storage path > Disks & volumes, to create the virtual drive
Expected result
No response
Actual result

Included System Information
CPU: 12th Gen Intel(R) Core(TM) i7-12650H
Physical Memory: 15.63GB (3.35GB free)
Processor Architecture: x64
Included Extensions Information
Extensions:
Microsoft.Windows.DevHome_<IP_ADDRESS>_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeGitHubExtension_<IP_ADDRESS>_x64__8wekyb3d8bbwe

It appeared in previous versions of Canary but disappeared later. It may require using "vivetool" to enable it or waiting for the next Windows update.

Hey @localden, @jhasmany-fernandez , @XHQ6666 . You should be able to create a Dev Drive using build 23466 in the dev channel released today
https://blogs.windows.com/windows-insider/2023/05/24/announcing-windows-11-insider-preview-build-23466/

Hey @localden, @jhasmany-fernandez , @XHQ6666 . You should be able to create a Dev Drive using build 23466 in the dev channel released today
https://blogs.windows.com/windows-insider/2023/05/24/announcing-windows-11-insider-preview-build-23466/

I am using the Canary version, and I have previously enabled it using "vivetool." However, I have noticed significant differences in the update content.

con el Update fue solucionado el inconveniente con la creacion dev drive


Spatial agg

This PR develops spatial agg model based on issue #319. It has four models which includes-

spatial aggregation by station, type, direction, freeway for one year windows
spatial aggregation by district for one year windows
spatial aggregation for county for one year windows
spatial aggregation for city for one year windows

@ian-r-rose @britt-allen This is ready for review!


prevent crash from dispose exception

not fix for the root cause
just prevent to lead app crash

for https://github.com/marcelwgn/PagerControlPolyfill/issues/4


File size restriction on the file submission

File size restriction on the file submission

I had to edit "file_manager.html.erb" to fix one issue:
"added negation to the previous .nil fix. Without this negation the submission controller size limiting portion was breaking"
I was able to successfully commit, but I cannot see this fix here. Is it because the branch is closed? After creating the new branch an running git diff on that one file I got empty result. I assume the change is here. It's very important to push it through, so I want to know for sure.

I already made this change, don't worry.

Didn't see this comment. Thank you. I'm deleting maryna_branch


Contact

Hello,
sorry that I write here, I try to contact you but:

Telegram Channel (I can not answer in the channel, or see your contact accound)
E-Mail is not existing anymore ?
Website works, but the contacts options not ....
linkedIn I not have :-/

If you like write me

in TG: https://t.me/ContactTim_bot
E-Mail<EMAIL_ADDRESS>
Thank you

Send me message at t.me/ttonehelpbot


make kak-shell scriptable

I would love to ahve the possibility to make kak-shell scriptable.
What do I mean?
E.g. I have a fish function that does:

open a new kitty tab at a given folder
create a new kakoune ide session with the folders' name

At this point, when I want to leverage all that awesome connect.kak functionality, I would have to more or less re-write kak-shell in the fish function:
instantiate session in the background, wait, connect client, issue connect-detach, sh connect.sh, open ide.
What I would like to do would be:
kak-shell -n sessionname and that would open a new kak-shell with a new session 'sessionname'.

In short, you want to connect to a session from the command-line without a prompt?

yes.
Or create that session if it doesn/t exist yet.

How about:
kak-shell [session] [commands]

Example – Without a prompt:
kak-shell kanto :attach

Example – With a prompt:
kak-shell '' :attach

would be great I think

@basbebe Tell me if the UI is good.  The prompt thing was inspired by 3mux.  But now we can connect to a session without a prompt with:
kak-shell [session] [commands]

To be prompted and execute a command, we use an empty session:
kak-shell '' :attach

Which can be surprising in terms of UI.

I like the funcionality but I also think the UI isn't intuitive.
kak-shell :attach now ends in an infinite loop.
I personally would prefer flags like kak-shell -s kanto :attach which wouldn't break kak-shell :attach.


The specified executable is not a valid application for this operating system platform.

Hi, this application is designed for Windows 10/11, which operating system did you use when this error occurred?


Problem with instslling Entity Framework SQL Server

Type of issue
Other (describe below)
Description
[Введите отзыв здесь]
Hello, I'm trying to install EntityFrameworkCore.SqlServer, after clicking on Install, I got a list of errors, I really need help..

Page URL
https://learn.microsoft.com/ru-ru/ef/core/get-started/overview/install
Content source URL
https://github.com/dotnet/EntityFramework.Docs/blob/main/entity-framework/core/get-started/overview/install.md
Document Version Independent Id
f58fcb81-a0a9-b042-72bb-f4823b097f63
Article author
@bricelam

Your package sources are broken

Ok, but how can I fix it?

Your package sources are broken

Ok, but how can I fix it?


passing cookie not working

I tested to a webpage that require cookie on my mac with node installed
The url is like so:
http://website.com/index.php/home/<cookie>/product-list/
I grab cookie from chrome: "a571621ee1a631aba764fea8e3b219e9" and then execute:
c.queue([{
	headers: {
		Cookie: "a571621ee1a631aba764fea8e3b219e9"
	},
	uri: 'http://website.com/index.php/home/a571621ee1a631aba764fea8e3b219e9/product-list/',
	jQuery: false,

	// The global callback won't be called
	callback: function(error, res, done) {
		if (error) {
			console.log(error);
		} else {
			console.log('Grabbed', res.body, 'bytes');
		}
		done();
	}
}]);

I kept getting redirect to homepage and crawled homepage instead of http://website.com/index.php/home/a571621ee1a631aba764fea8e3b219e9/product-list/'
From res.body, it generate new cookie "/index.php/home/602de2090af175869f2665b2d6c814c3/product-list/'"`

Hello @vyky, I suppose that you should write the cookie-name in the headers.Every cookie is a key-value type.And the code should like following:
c.queue([{
	headers: {
		Cookie: "YOUR-COOKIE-NAME=a571621ee1a631aba764fea8e3b219e9; THE-SECOND-COOKIE-NAME=THE-SECOND-COOKIE-VALUE"
	},
	uri: 'http://website.com/index.php/home/a571621ee1a631aba764fea8e3b219e9/product-list/',
	jQuery: false,

	// The global callback won't be called
	callback: function(error, res, done) {
		if (error) {
			console.log(error);
		} else {
			console.log('Grabbed', res.body, 'bytes');
		}
		done();
	}
}]);

It's work! Cookie: "PHPSESSID=0c5fb472aa7a3babf84c35a92bb946b1"
Thanks @authuir


There are no endpoints that match the Policy Id username

I've notice this happening only on some opc ua servers not all
In the function PolicyIdToUserTokenType, the code compares the given policyId to predefined strings "anonymous" and "username" to determine the correct OpcUa_UserTokenType. Comparisons are done using strncmp, a function that is case-sensitive. If the policyId is "Username" with a capital "U", it will not match the string "username" due to the difference in case.
https://github.com/fledge-iot/fledge-south-s2opcua/blob/fa8aafff0e947a5379ad92100431bc9954b85748/opcua.cpp#L72

I believe this is the same problem as was reported by another user in the Fledge issues list: #1272: South s2opcua not working with Security None and User Authentication username. In a nutshell, the S2OPC Toolkit we are using does not allow username/password authentication with Security Mode of None and Security Policy of None. This would give the appearance of security but would actually transmit passwords over the wire in clear text. I wrote a detailed explanation at the bottom of the Fledge Issue #1272 page.

In the function PolicyIdToUserTokenType, the code does indeed perform a case-sensitive comparison on the passed strings. The strings, however, come from the User Authentication Policy configuration drop-down on the Fledge GUI. This is a Fledge enumeration which can only have the values anonymous and username. User policy strings obtained from the OPC UA server's endpoints are never passed to the PolicyIdToUserTokenType method.

@RVerhoeff   To avoid the mismatch I deleted the last if's condition (opcua.cpp, line 1410):
if (userIds[j].tokenType == tokenType &&
userIds[j].securityPolicyUri &&
!strcmp(userIds[j].securityPolicyUri, security.security_policy))
{
matchedPolicyId = true;
}
That fixed the policy mismatch, resulting with the following error:
May 28 08:24:12 e56e1b56272a Fledge softing[1842]: ERROR: Failed to create OPC/UA connection to server opc.tcp://<IP_ADDRESS>:4897/Softing/dataFEED/Server, connection failed
It is unclear how to check why that error occurs and the logs of the softing software are not helpful with that.
It seems that the softing server provides false information about the security policy, and therefore the policy mismatch is not the actual problem..
Any insights on what further steps I could take to debug this?

It could be a mismatch between the Security Policy for the endpoint and the Security Policy for the UserIdentityToken. I wrote an explanation of what this means in the Fledge Issue #1272 page. In the OPC UA standard, these two policies are separate but in S2OPC, they must match. If they don't, the Toolkit will not allow a connection and you will get the message above. To troubleshoot this, go to the Advanced Configuration tag in your S2OPCUA South instance page and set Minimum Log Level to Debug. Attempt a connection which will fail. Read the /var/log/syslog file. Look for the string OPC UA Server has 'n' endpoints. This begins the logging of the characteristics of each endpoint exposed by your OPC UA server. One block of log file lines on my system looks like this:

The first integer on each line is the endpoint number. My configuration has 5 endpoints so this is the last one. The first 5 lines of this section are the characteristics of the endpoint (BTW, on your system, you will see the number '2' next to security mode. The keyword Sign is from a new github branch that has not been released yet). Starting on the 6th line, the code iterates through all user identity policies that are supported on the endpoint; you will see a second integer at the beginning of each line that counts each user policy.
When searching for a usable endpoint, the code checks if the endpoint security policy Uri (line 4) matches any of the user identity security policy Uris (lines 10, 15 and 20). They must match. In this screenshot, this endpoint is unusable because the endpoint security policy #Basic256Sha256 does not match any of the 3 user identity policies #Basic256, null or #Basic128Rsa15.

My server configuration

With annonymous + sign and encrypt it does work and I do get readings

When enabling username&password with all possible combinations the plugins allow I still do not succeed to connect
`May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: WARNING: Not connected to OPC/UA Server: opc.tcp://<IP_ADDRESS>:4897/Softing/dataFEED/Server
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: ERROR: There are no endpoints that match the Policy Id username
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: ERROR: Failed to match any server endpoints with Security Mode 'Sign & Encrypt', Security Policy 'http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256', Authentication policy 'username'
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5: 'username' != 'Username_Policy' (1)
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5: 'username' != 'Certificate_Policy' (2)
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5: 'username' != 'Anonymous_Policy' (0)
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5: checking user ID tokens
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: Endpoint 5 matches on security policy http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: Endpoint 5 matches on security mode Sign & Encrypt
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 4: security policy mismatch http://opcfoundation.org/UA/SecurityPolicy#Basic256 != http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: Endpoint 4 matches on security mode Sign & Encrypt
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 3: security policy mismatch http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15 != http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: Endpoint 3 matches on security mode Sign & Encrypt
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 2: security mode does not match Sign & Encrypt
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 1: security mode does not match Sign & Encrypt
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 0: security mode does not match Sign & Encrypt
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: Endpoint matching starting....
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: INFO: Using Client Key /usr/local/fledge/data/etc/certs/Helinkey.pem
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: INFO: Using Client Certificate /usr/local/fledge/data/etc/certs/Helincert.der
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: INFO: Using Server Certificate /usr/local/fledge/data/etc/certs/SoftingOpcUaEndpoint[4D6DC3404361A3AAE9C3D1AAF9BBCADA8E848A9C].der
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: WARNING: No Certificate Revocation List has been configured
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: WARNING: No CA Certificate has been configured
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: Requesting username authentication policy
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: Requesting Security Mode 'Sign & Encrypt', Security Policy 'http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256'
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 2 - security policy Uri: http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 2 - issuer endpoint Url: (null)
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 2 - issued token type: (null)
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 2 - token type: 1
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 2 - policy Id: Username_Policy
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 1 - security policy Uri: http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 1 - issuer endpoint Url: (null)
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 1 - issued token type: (null)
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 1 - token type: 2
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 1 - policy Id: Certificate_Policy
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 0 - security policy Uri: (null)
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 0 - issuer endpoint Url: (null)
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 0 - issued token type: (null)
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 0 - token type: 0
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 0 - policy Id: Anonymous_Policy
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 - transport profile Uri: http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 - security policy Uri: http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 - security mode: 3
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 - security level: 53
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 5 - url: opc.tcp://<IP_ADDRESS>:4897/Softing/dataFEED/Server
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 4 2 - security policy Uri: http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 4 2 - issuer endpoint Url: (null)
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 4 2 - issued token type: (null)
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 4 2 - token type: 1
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 4 2 - policy Id: Username_Policy
May 30 11:26:30 bd44f6e16478 Fledge test1[11024]: DEBUG: 4 1 - security policy Uri: http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15`

Is the  http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15 automatically asigned when we select Username&Password in the plugin?

@RVerhoeff I turned on Basic128Rsa15 on the endpoint security policy but still get the same error,

or perhaps I missunderstood and it's on the server that Security Policy for the UserIdentityToken it's set?
May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: WARNING: Not connected to OPC/UA Server: opc.tcp://<IP_ADDRESS>:4897/Softing/dataFEED/Server

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: ERROR: There are no endpoints that match the Policy Id username

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: ERROR: Failed to match any server endpoints with Security Mode 'Sign & Encrypt', Security Policy 'http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256', Authentication policy 'username'

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 2: 'username' != 'Username_Policy' (1)

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 2: checking user ID tokens

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: Endpoint 2 matches on security policy http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: Endpoint 2 matches on security mode Sign & Encrypt

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 1: security policy mismatch http://opcfoundation.org/UA/SecurityPolicy#Basic256 != http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: Endpoint 1 matches on security mode Sign & Encrypt

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 0: security policy mismatch http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15 != http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: Endpoint 0 matches on security mode Sign & Encrypt

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: Endpoint matching starting....

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: INFO: Using Client Key /usr/local/fledge/data/etc/certs/Helinkey.pem

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: INFO: Using Client Certificate /usr/local/fledge/data/etc/certs/Helincert.der

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: INFO: Using Server Certificate /usr/local/fledge/data/etc/certs/SoftingOpcUaEndpoint[4D6DC3404361A3AAE9C3D1AAF9BBCADA8E848A9C].der

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: WARNING: No Certificate Revocation List has been configured

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: WARNING: No CA Certificate has been configured

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: Requesting username authentication policy

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: Requesting Security Mode 'Sign & Encrypt', Security Policy 'http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256'

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 2 0 - security policy Uri: http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 2 0 - issuer endpoint Url: (null)

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 2 0 - issued token type: (null)

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 2 0 - token type: 1

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 2 0 - policy Id: Username_Policy

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 2 - transport profile Uri: http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 2 - security policy Uri: http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 2 - security mode: 3

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 2 - security level: 53

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 2 - url: opc.tcp://<IP_ADDRESS>:4897/Softing/dataFEED/Server

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 1 0 - security policy Uri: http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 1 0 - issuer endpoint Url: (null)

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 1 0 - issued token type: (null)

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 1 0 - token type: 1

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 1 0 - policy Id: Username_Policy

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 1 - transport profile Uri: http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 1 - security policy Uri: http://opcfoundation.org/UA/SecurityPolicy#Basic256

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 1 - security mode: 3

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 1 - security level: 13

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 1 - url: opc.tcp://<IP_ADDRESS>:4897/Softing/dataFEED/Server

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 0 0 - security policy Uri: http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 0 0 - issuer endpoint Url: (null)

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 0 0 - issued token type: (null)

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 0 0 - token type: 1

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 0 0 - policy Id: Username_Policy

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 0 - transport profile Uri: http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 0 - security policy Uri: http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 0 - security mode: 3

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 0 - security level: 8

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: 0 - url: opc.tcp://<IP_ADDRESS>:4897/Softing/dataFEED/Server

May 30 11:54:52 bd44f6e16478 Fledge test1[19138]: DEBUG: OPC/UA Server has 3 endpoints

I belive the server set's the  SecurityPolicy of the UserTokenPolicy to #Basic128Rsa15 hence the inital error
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: Requesting username authentication policy
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: Requesting Security Mode 'Sign', Security Policy 'http://opcfoundation.org/UA/SecurityPolicy#Basic256'
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: 0 1 - security policy Uri: http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: 0 1 - issuer endpoint Url: (null)
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: 0 1 - issued token type: (null)
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: 0 1 - token type: 1
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: 0 1 - policy Id: Username_Policy
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: 0 0 - security policy Uri: http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: 0 0 - issuer endpoint Url: (null)
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: 0 0 - issued token type: (null)
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: 0 0 - token type: 2
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: 0 0 - policy Id: Certificate_Policy
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: 0 - transport profile Uri: http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: 0 - security policy Uri: http://opcfoundation.org/UA/SecurityPolicy#Basic256
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: 0 - security mode: 2
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: 0 - security level: 12
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: 0 - url: opc.tcp://<IP_ADDRESS>:4897/Softing/dataFEED/Server
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: OPC/UA Server has 1 endpoints
May 30 13:05:39 bd44f6e16478 Fledge test1[25901]: DEBUG: SOPCInit Start

You are correct: the OPC UA server sets the SecurityPolicy of the UserTokenPolicy. An OPC UA client (that is, the plugin) can read it but not change it. The Softing server sets the SecurityPolicy of the UserTokenPolicy to #Basic128Rsa15. This is an odd choice because this Security Policy has been deprecated by the OPC Foundation (See OPC UA Specification, Part 7, Section 6.6.162). We cannot change code to accommodate this older Policy because the S2OPC Toolkit does not support it (check file /usr/local/include/s2opc/common/sopc_crypto_profiles.h on your system and look for SOPC_SecurityPolicy_ID).
From your screenshot of the Softing configuration dialog, it looks like you can't configure the SecurityPolicy of the UserTokenPolicy (we use the Prosys Simulation Server for testing; it can't either). I suggest contacting Softing to ask if there is a way to modify the SecurityPolicy of the UserTokenPolicy.

Thank you so much for your support and detailed explanations. They were incredibly helpful in troubleshooting the issue. 🍾
This GitHub issue can be closed.


Bug: Align Footer Content

Describe the bug
In mobile view, the footer contents are said to be along the left margin. I would like to align it to the center to look more attractive.

Add Screenshots

Steps To Reproduce

Go to  Homepage
Scroll down to Footer

The current behavior
The footer contents are left aligned.

The expected behavior
Footer contents are aligned center.

Actually It Is Built On Docusarus. So the Layout Is Designed Internally By Meta read this documentation to change the existing design click here

I added a css style for footer in src/css/custom.css and it works.
Is this ok or should I do swizzling ?

Ok if it's working fine then there is no need to swizzling. Could you please share the output for All Mobile As Well as Tab.

Ok if it's working fine then there is no need to swizzling. Could you please share the output for All Mobile As Well as Tab.

I've added that in the PR

Ok just wait a while.


[Site] Added Class Page

** Description **

Added Class Page
Used Test Data For Classes

After Updates

After I seeing this i should add descriptions to class

@jinwoo1225 yeah sure. I just used test data to display the result.
Just let me know about all the descriptions we have to add.

@NikhilSharma03 Doesn't you need key for DB?

@jinwoo1225 I guess after the front end part is ready ( with Korean Language Support ). We will start with the testing of API.
Is that okay? Let me know. Thank you.

@NikhilSharma03 Actually, Great idea! Currently I'm applying my resume to company. so i'm not that frequently visiting this repository... It might delay in a moment.

@jinwoo1225 Oh so you are in your final year. Don't worry, I will continue working on the project 😃. Whenever you get time, Please review the PR changes and approve. Thank you.


using stampit with jsdoc

This is an important issue, but I am new to all this -- please tell me if not the place to write this:  I cannot find a recommended way to use jsdoc to document the creation of a stampit factory in addition to the pieces that go into it, i.e., method, state, and enclose pieces.  I have had some success treating the factory as mixing in the three pieces like this:
/**

Use stampit to compose methods, state, and private data to create a factory object.
@mixes platonicMethods
@mixes platonicState
@mixes platonicPrivate
@return {Object} platonicFactory()
*/
platonicFactoryCreator = function ( ) { ....}

/**

Methods going into the factory.
@mixin
/
platonicMethods = {
/*

Generated function used to test masking of the interface function of the same name.
@lend platonicMethods
@return {String} "platonic1() WIP"
*/
platonic1 : function ( ) {...} ,  BUT THIS SHOWS UP AS A STATIC FUNCTION in Jsdoc output.

Is there a better or accepted way?

Is there any reason not to just use Docco?  I find the jsdoc approach less useful than a simple description  of what the code is doing.
I guess it's important to distinguish between "dev" docs (how it all works) and "api" documentation (what the inputs and outputs are).  For teams, the dev docs are more important, for users, api.
For stampit, I'd prefer dev, thus docco.

Took a look at Docco -- shows me how crappy some of the comments littering my code really are...  (I see underscore.js makes good use of it:  http://underscorejs.org/docs/underscore.html )  But I want more.  I am using stampit in a project, and the code seems so organized and easy to work with that so too should be its "self" documentation piece...maybe could be a namespace / refactoring tool as well...

This issue is rather old. I'll close it for now. Please, yield at me if you need this opened back.


Errors with styled components in production

Version: 1.1.2
Env: vite@latest + react 18.2.0

I know that yesterday you pushed a change to solve this but it didn't work. As far as I am aware, those new options are part of RollUp v3 and I see you're using 1.29.1 so I don't really know if they were supposed to work in the first place.

@hekatx hey I have the same issue when I deploy to AWS Amplify i get a blank white screen with this same error in the console but works perfectly fine on local system.
I tried by removing the component that uses the  and no more white screen. have you been able to resolve this error on your side? Would be a great help if you could help me out here.
"better-react-carousel": "^1.1.2",
    "vite": "^4.4.5",
    "react": "^18.2.0",

UPDATE
Found a solution! if you are using Vite+React please switch to create-react-app and move all the files and re-install the packages then run
npm run build
npx serve -s build
and it works! at least it did for me.


MSDKUI-2010: Upgrade project to use the latest Android Studio

Current Android Studio version: 3.4.2
Signed-off-by: Tadeusz Staszak<EMAIL_ADDRESS>

These two languages were removed from project and should not be merged again.


SA1008 makes use of C# 9 pattern match difficult

Originally discovered in https://github.com/gitextensions/gitextensions/pull/8737
C# 9 has introduced new pattern matching constructs (e.g. bool IsLetter(char c) => c is (>= 'a' and <= 'z') or (>= 'A' and <= 'Z');) and more often than not parenthesis are required to clearly state the intent.
Whilst the parenthesis in this sample are not strictly speaking necessary, they greatly enhance readability and guard against accidental order of precedence bugs.
E.g. in the following example parens are must:
-            bool drawSplitLine = State == PushButtonState.Hot || State == PushButtonState.Pressed || !Application.RenderWithVisualStyles;
+            bool drawSplitLine = State is PushButtonState.Hot or PushButtonState.Pressed || !Application.RenderWithVisualStyles;

I couldn't find a doc that described order of precedence for these operators. The best I found was "C# operators and expressions" doc.
However if a project employs SA1008, it becomes impossible to write this:
bool drawSplitLine = State is (PushButtonState.Hot or PushButtonState.Pressed) || !Application.RenderWithVisualStyles;

...and one would have to write this instead:
bool drawSplitLine = State is(PushButtonState.Hot or PushButtonState.Pressed) || !Application.RenderWithVisualStyles;

...which doesn't look consistent with the rest of the codebase.

Duplicate of #3230

Duplicate of #3230


Module not working on linux 5.6.1 (current release)

After installing the extension I am able to look at data but the buttons to download are never enabled.
There are messages in the console that may be related:

Note also that the metadata at the series level was garbled.
After restarting the application things worked as expected, so it must be an unhandled race condition or something else intermittent.

Should we close this until the issue can be confirmed as reproducible?

Usually it works the other way around - you close issues when they are fixed but you leave them open when they still unresolved.  I think it would at least be good for someone familiar with the code to investigate the logic and see if we can see how this error could have occurred.
Then maybe it would be possible to add a check so that if the condition happens again (even if it's not clear why) it could be automatically reset or at least have a more graceful error condition (e.g. dialog suggesting restart).  I don't know how often this is likely to happen in practice, but since we know it happened at least once it could happen again to users who would have no idea what to do.

Steve, that's fine - let's keep it open. I've definitely seen issues closed as not reproducible in other (respected!) repos.
Regarding investigating the underlying issue - I don't want to prioritize it now, since there are several critical features I would like to implement first. Also, I think it would be good to re-do the whole module with the current ExtensionWizard. The code originates from TCIABrowser, and has a lot of crud that does not help in debugging...

Okay, if you are actively working to replace this code then you are right there's no reason to investigate this particular bug.


Update fallback-font.adoc

Added "Default Microsoft Windows Font Limitations" which was discussed in AsciiDoctor Zulipchat  - How to Find Glyphs to satisfy Font-Fallbacks for CustomTheme.

It appears you're suggesting to use Courier as the main font (though it's hard to tell). That's going to make the entire document monospace.  That strikes me as very abnormal. I could see using Courier as the monospace font (for code and codespan), but not the main font. Is there another font from Windows 10 that you would suggest for the main font (for headings and paragraphs)? Keep in mind that the fallback font is used for any text and is not a fallback for a specific font.
It's also not clear from this addition how you are configuring the location of these fonts. Is there a common font directory on Windows 10. If so, the docs should mention it.
I'm also trying to figure out if this change is about using fonts from Windows 10, or it's about configuring a fallback font when using fonts from Windows 10. If it's the former, I think the content belongs on the "Use Custom Fonts Page" instead. That's something I still need to sort out.

It appears you're suggesting to use Courier as the main font (though it's hard to tell). That's going to make the entire document monospace. That strikes me as very abnormal. I could see using Courier as the monospace font (for code and codespan), but not the main font. Is there another font from Windows 10 that you would suggest for the main font (for headings and paragraphs)? Keep in mind that the fallback font is used for any text and is not a fallback for a specific font.
It's also not clear from this addition how you are configuring the location of these fonts. Is there a common font directory on Windows 10. If so, the docs should mention it.
I'm also trying to figure out if this change is about using fonts from Windows 10, or it's about configuring a fallback font when using fonts from Windows 10. If it's the former, I think the content belongs on the "Use Custom Fonts Page" instead. That's something I still need to sort out.

I wouldn't mind adding more content about Windows-based installs.
Good point about Courier; this was my second choice to use after I found that Calibri doesn't have four separate fonts. A font with four separate files is Times New Roman (times.ttf, timesi.ttf, timesbd.ttf, and timesbi.ttf)
This also makes me think I ought to also add the courier monospace font to my example.
I'm working off my personal machine(Linux) and looking at my work machine (Windows).
I define the Windows font directory in my antora-assembler.yml's asciidoc, attributes section pdf-fontsdir: GEM_FONTS_DIR;c:/Windows/Fonts/;

In regard to my comment:

It's also not clear from this addition how you are configuring the location of these fonts.

Although you mention it in passing at the end, you don't actually show how it is done. Please say that pdf-fontsdir must be configured to include the Windows fonts directory using -a "pdf-fontsdir=GEM_FONTS_DIR;c:/Windows/Fonts/" or equivalent. Antora Assembler should not be mentioned here as it's outside the scope of these docs.

I think the content belongs on the "Use Custom Fonts Page" instead.

I still think this is true. While this advice involves the fallback font, the context is really about how to use Window's built-in fonts as custom fonts...which, in turn, requires the use of the fallback font for the reason cite.

Thanks.
Merged as a4bba501135f81fc70df060c8b67427225d9b220. I moved the section to the Use Custom Fonts page, did a bit of revision, and added some more references. I believe with the information that's now there, someone should be able to successfully use the system fonts from Microsoft Windows with Asciidoctor PDF.