Platforms Glossary v2

Based on some feedback in the maturity model calls and reviews we are identifying a need for further investment into the Platforms glossary. This was originally a late addition to the work we did on the white paper and it is proving both useful and widely referenced so it is worth us making sure it reflects what the group is currently feeling on each of these terms.

cc/ @joshgav @AdminTurnedDevOps and @earth2marsh
This is likely to take shape post KubeCon Chicago but I know y'all are thinking on this so want to be sure you know it is captured and top of the todos!

Thank you! Please let me know if there's anything I can do to help out here. I'll be at KubeCon as well, so happy to connect there!

As discussed on the last WG call, here is a google doc where we can collaborate on the glossary updates: https://docs.google.com/document/d/1qYXasDys7gSPcMcTNVY9wZVXESXbMVz5KpjaLu-WYBo/edit

@abangser I was thinking, should we add Platform Orchestrator to the glossary? I myself haven't heard about this term before until when I gave the talk with Giri on KubeCon NA 23 on our IDP, one of the attendees asked about what's the platform orchestrator we're using, which turns out it was the one that we built ourselves in-house.
And also seems like all other online resources are already mentioning this term.

https://internaldeveloperplatform.org/platform-orchestrators/
vendor like humanitec
and thoughtworks (https://www.thoughtworks.com/radar/techniques/platform-orchestration) on their radar

Or this can be mentioned side-by-side with the current Platform capability provider (?) since I think there's overlap there as well.

Absolutely seems like a good idea! I also wonder if FleetOps or Fleet Operations which came up in a previous call may be worth adding in? We have to basically decide if we want to try and push some of the "newer" vocab or stay more reactive to what is used.
That being said, I would agree with you that platform orchestrator fits the "already being used" category anyways since it is in the TW radar!

@abangser I was thinking, should we add Platform Orchestrator to the glossary?

@joshuabezaleel I have taken a stab here: https://docs.google.com/document/d/1qYXasDys7gSPcMcTNVY9wZVXESXbMVz5KpjaLu-WYBo/edit
Would love your feedback and ideas on this and other items if you have the time!

Thanks for the suggestion--given that neither the whitepaper nor the maturity model use platform orchestrator,  let's hold this for consideration in a future update (v3 or later)? Bonus is that by then we might also see better consensus around what the term means as that space matures! :)

Hi folks! Now that #545 has been merged do you think we should close this issue? We could create individual issues to discuss new/revised entries in the model, such as one for Platform Orchestrator. WDYT?

I agree @joshgav, we could even open one for v3 which opens the door for new items but may just leave it to the community to drive. Will close now and focus on getting the translation ones done as people get to them!

Hi @abangser @earth2marsh , so sorry for the really late reply. Now that I moved to a company that doesn't use GitHub, it's very rare for me to open it and hence making me missed this reply 😞

@abangser I was thinking, should we add Platform Orchestrator to the glossary?

@joshuabezaleel I have taken a stab here: https://docs.google.com/document/d/1qYXasDys7gSPcMcTNVY9wZVXESXbMVz5KpjaLu-WYBo/edit
Would love your feedback and ideas on this and other items if you have the time!

@abangser I tried to access the link that you gave but couldn't find the change that you mentioned, perhaps it was because I  just accessed it now and it has been quite a while since the time you modified the document. So sorry 😞 Do let me know if you have that in any other place that I can take a look at.

Absolutely seems like a good idea! I also wonder if FleetOps or Fleet Operations which came up in a previous call may be worth adding in? We have to basically decide if we want to try and push some of the "newer" vocab or stay more reactive to what is used.
That being said, I would agree with you that platform orchestrator fits the "already being used" category anyways since it is in the TW radar!

@abangser Your comment was on the Jan 5 so I assume it was the 2023-12-12 call that you mentioned (since we didn't have the 2023-12-26 one)? I think I missed this conversation back then. I'll try to hear the recording again for the meeting for the FleetOps and Fleet Operations one!

Thanks for the suggestion--given that neither the whitepaper nor the maturity model use platform orchestrator, let's hold this for consideration in a future update (v3 or later)? Bonus is that by then we might also see better consensus around what the term means as that space matures! :)

Hi folks! Now that https://github.com/cncf/tag-app-delivery/pull/545 has been merged do you think we should close this issue? We could create individual issues to discuss new/revised entries in the model, such as one for Platform Orchestrator. WDYT?

@earth2marsh @joshgav Makes sense, that works! We can wait for the v2 one to be published and then we can create new issue for the v3 one or just let me know the perfect time to create new issue for the v3. Thank you lots, folks!

Glad to see you back here @joshuabezaleel. An no stress on the delay, life happens and as you can see, we just keep you updated as we move forward!
The missing details in the doc is indeed because the doc has moved on. Per the last point, we decided to keep the diff mostly formatting (or refinining existing terms) in this version and open the door for a v3 in quick succession for terms like platform orchestrator, fleetops and more.
As for fleet ops in specific, I believe it was mentioned in one of the meetings but I don't actually remember which one 🙈
But the good folks at JetStack Consult were the ones who introduced it and here is a blog about it: https://venafi.com/blog/introduction-to-fleetops-standardizing-kubernetes-operating-models/


Making HTTPS calls with Hyper + Hyper-TLS

I originally posted this question here, but the kind folks over at hyper-tls have convinced me that the issue might be with Daemonize. All of this code is being run on MacOS 10.14.2
I'm using Hyper + Hyper-TLS with the Daemonize crate to make the following HTTPS call from within a Daemon my subprocess runs. Interestingly, if I make a HTTP call things work fine and the request gets POST'ed to my server. However, if I change the BASE_URL to be HTTPS, then I get the following error printed out:
Error {
    kind: Connect,
    cause: Custom {
        kind: Other,
        error: Error {
            code: -909

The folks at hyper-tls seem to think it might have something to do with hyper-tls depending on the security-framework crate which interacts with the MacOS keychain, and Daemonize not being able to give that crate/process access to the keychain. Error 909 seems to correspond to a security-framework error code.
Code:
My daemon is created and run from inside the main file of my program:
fn main() {
                let job_daemon = Daemonize::new()
                .pid_file(job_daemon_pid_file_path) // Every method except `new` and `start`
                .chown_pid_file(true)      // is optional, see `Daemonize` documentation
                .stdout(job_stdout)
                .stderr(job_stderr)
                .working_directory("/tmp") // for default behaviour.
                .privileged_action(move || {
                    krephis::new_log(&ujn, &s); // This executes the HTTPS POST request shown above
                });

            match job_daemon.start() {
                Ok(_) => {
                },
                Err(e) => eprintln!("{}", e),
            }
}

That krephis::new_log function calls another function which returns a future:
pub fn new_log(job_id: &str, line: &str) {
            let fut = make_https_request()&token, job_id, line.map(|_response| {
            }).map_err(|e| {

                // An error occurs when sending HTTPS calls in a daemon... why?

                match e {
                    kraken_utils::FetchError::Http(e) => {
                        eprintln!("\n============");
                        eprintln!("error:     {:#?}", e); // nothing gets printed after this... wtf?
                        eprintln!("============\n");

                        eprintln!("http error: {}", e);
                    },
                    kraken_utils::FetchError::Json(e) => {
                        eprintln!("json parsing error: {}", e);
                    },
                    kraken_utils::FetchError::KrakenServerError(e) => {
                        eprintln!("Server error: {}", e.message);
                    },
                    kraken_utils::FetchError::Other(e) => {
                        eprintln!("Error: {}", e);
                    },
                }

            });

            rt::run(fut);
}

make_https_request has the code shown above:
fn make_https_request(token: &str, job_name: &str, line: &str) -> impl Future<Item = StatusCode, Error = kraken_utils::FetchError> {
    let url: hyper::Uri = format!("{}/logs/new", BASE_URL).parse().unwrap();
    let https_connector = HttpsConnector::new(4).unwrap();
    let client = Client::builder().build(https_connector);
    let method = hyper::Method::POST;
    let mut headers = HeaderMap::new();

    let json_payload = json!({
        "jobName": job_name,
        "line": line,
    });

    let mut req = Request::new(Body::from(json_payload.to_string()));

    headers.insert("x-access-token", HeaderValue::from_str(&token).unwrap());
    headers.insert(
        hyper::header::CONTENT_TYPE,
        HeaderValue::from_static("application/json")
    );

    *req.method_mut() = method;
    *req.uri_mut() = url;
    *req.headers_mut() = headers;

    client.request(req).and_then(|res| {
        Ok(res.status())
    }).from_err::<kraken_utils::FetchError>().from_err()
}

I did a few tests, it works now, at least if tokio runtime is configuring after daemonization.


Any chance this project can test build with JBR21?

Do you have problem with maximise/minimise window animation when build with jbr21?
I use reflection to customize compose window titlebar, I build with jbr17 like this project. I tried JBR21 but has no amimation.
Do you face same problem, cuz I saw you CustomWindowDecorationAccessing as well.

@amir1376

I tested on Mac/Win, both have no chance.

Hi there. yes custom window decoration api has changed in JBR21
and it needs to re implemented in our side.
if you want to implement something like this but with jbr 21 you can check the Jetbrains Jewel library

I tried Jewel as well. But there are three deal breakers.

Dragging on the TitleBar to move the window does not always work #368 https://github.com/JetBrains/jewel/issues/368
The jewel title bar is always a gradient color, can't change to static color based on light/dark theme unless fork the entire project and change private api.
Proguard can't work with jewel, I wasted 2 hours still no luck:(

I agreed.
BTW it can be customized (by directly using JBR APIs).
Jewel uses JetBrains UI to be used in their IDE's.


Improve UX for CRs

Expected behavior
As an headlamp user
In order to list/read/edit/update/delete custom resources
I need headlamp to make it as easy to deal with CR than with built-in K8S resources
See related screenshots of current similar support in lens that leverages the CRDs additionalPrinterColumns to display the CR fields to display in the table view

See related snapshots in k9s

browsing down provides the describe view

or the full yaml view
See related snapshot of structural schema support for creating/updating CRs in openshift

Current behavior
In version 1.25.3, it is hard to discover CRs are indeed listed:
Once one the CRD list

The CRD page displays some details of the CRD

and only after scrolling at the bottom of the page, the CR are displayed in the "Objects" section
but without honoring the additionalPrinterColumn

Suggested enhancements

[ ] Add CRs to the navigation menu (likely as a hiearchical menu prefixed by api group), including related permalinks
[ ] Add display the kubectl describe output to the CR page
[ ] Add support for adding from CRDs as favorites into the navigation menu
[ ] Add ability to display and edit CR as a web form dynamically generated from their CRD structural schema. See available JS form generators at https://json-schema.org/implementations.html#web-ui-generation with for instance https://hamidihamza.com/ajsf/ backed by https://github.com/hamzahamidi/ajsf

[ ] provides completion, validation messages, and inline documentation

Hi @gberche-orange . I'm happy to see you chose Headlamp.
Regarding the needs you suggest for the CR/CRDs, at first glance I think they are changes that would benefit all users of Headlamp and therefore they could be in Headlamp Base (core, not a plugin).
Let me look in more detail at the mockup you provide and I should check with our design team but I think these are great changes that will improve the CRs UX and I'm looking forward to having them.


It removes the risk of a data breach.

stored passwords in plaintext is disturbing

I agree but that's why it's off by default it was originally added just to fix the auth cookie constantly expiring.


Make compilation forgiving to encourage experiment

Remove any strictness from the compile options. Allow unused variables etc. this makes it easier to experiment. Move them to linking where feasible

What do you mean by "Move them to linking"?

Autocorrect from “linting “


✨ add a new config:'fileName'

@Dec-F Thank you for contribution. While, the PR contains too much formatting change, which makes it difficult to review.
Another question is that will your request get satisfied if we implement the comment here: https://github.com/jdneo/vscode-leetcode/issues/119#issuecomment-466778120

@Dec-F Oh, I missed one thing about this issue.
The leetcode-cli has a rule on the file name otherwise the submission will fail. So this PR might be hanged for now, until the dependency on leetcode-cli removed.
Sorry for that I forgot this limitation at first.

@jdneo Ok, then what are the plans for lifting this dependency? I can see what I can do.

@Dec-F yes, we do need some more people to write the core lib. A lot of work to do...
I'm still thinking about how to achieve that and where to start...
Will inform you when I have an idea.

Hello. Any update here?

Sorry I do not update in time about this PR. The limitation for the file name is not valid anymore. Since the generated file will contains a comment to contain problem metadata, such as the problem id.

Hi @Dec-F,
Thank you for your contribution and great work! We now have a new setting: leetcode.filePath which I think can resolve this feature request.
I'm closing this PR but feel free to let me know if you have more ideas on this.
Thanks!


Could not download 'Gradle:package': DownloadException: Download failed for 'Gradle:package:1.0-SNAPSHOT

I was trying to run a scan command as mentioned below. its a maven dep project & has pom.xml file. but the I get download error. How to resolve this?
dinesh@dinesh-VirtualBox:~/ort/oss-review-toolkit/cli/build/install/ort/bin$ ./ort scan -i /home/dinesh/project/sdk-output/analyzer-result.yml -o /home/dinesh/project/sdk-output --scopes devDependencies

_____  \______   __    / the OSS Review Toolkit, version 0.1.0-SNAPSHOT.
/   |   |       / |    |    Running 'scan' under Java 1.8.0_242 on Linux with
/    |    \    |   \ |    |    ORT_USER_HOME = /home/dinesh/.ort
___  /|  / |_|    SHELL = /bin/bash
/       /
More environment variables:
TERM = xterm-256color
Using scanner 'ScanCode' with storage 'FileBasedStorage'.
11:51:40.609 [ScanCode-1] ERROR java.lang.Object - Could not download 'Gradle:com.example.appenginej8:helloworld:1.0-SNAPSHOT': DownloadException: Download failed for 'Gradle:com.example.appenginej8:helloworld:1.0-SNAPSHOT'.
Suppressed: DownloadException: No VCS URL provided for 'Gradle:com.example.appenginej8:helloworld:1.0-SNAPSHOT'. Please make sure the release POM file includes the SCM connection, see: https://docs.gradle.org/current/userguide/publishing_maven.html#example_customizing_the_pom_file,
Suppressed: DownloadException: No source artifact URL provided for 'Gradle:com.example.appenginej8:helloworld:1.0-SNAPSHOT'.
Writing scan result to '/home/dinesh/project/sdk-output/scan-result.yml'.

@dineshr93 To fix this DownloadException you need to ensure the pom.xml has a  defining the source code repository. if it your Gradle package see https://docs.gradle.org/4.8/release-notes.html#customizing-the-generated-pom.
Note that if you get DownloadException for a dependency not created by you then as a workaround you can use curations see https://github.com/heremaps/oss-review-toolkit/blob/master/docs/config-file-curations-yml.md


Having problem to run gradle build in command line

I keep having this error message when I try to run the gradle build using command line, while no issues at all using IntelliJ
What went wrong: A problem occurred evaluating root project 'xxxxx'.
Failed to apply plugin [id 'net.vivin.gradle-semantic-build-versioning'] > Unable to find Git repository: Systen wide config file /usr/local/git/etc/gitconfig is invalid org.eclipse.jgit.errors.ConfigInvalidException: Cannot read file /usr/local/git/etc/gitconfig
The repository has been specified in the build.gradle file and build works fine with intelliJ.
maven {
            url "https://plugins.gradle.org/m2/"
}

I am not sure why it tries to check the gitconfig file and why it failed when I try to run it in command line
Thanks in advance

It looks like it may have to do with how git is configured on your system. Have you tried googling that error?

I did, but unfortunately, I can't get any useful info.
If I comment out the use of this plugin, it will build fine :(

The plugin uses git to figure out the current tags on your repo. Have you look at the contents of /usr/local/git/etc/gitconfig?

I have never changed this file and its permitted to read and write to everyone. I don't see anything wrong with it. Thanks
`
[core]
excludesfile = ~/.gitignore
legacyheaders = false # >git 1.5
quotepath = false
# http://stackoverflow.com/questions/136178/git-diff-handling-long-lines
pager = less -r
# if ↑ doesn’t work, try: pager = less -+$LESS -FRX

[user]
name = your name
email = your@name
[mergetool]
keepBackup = true
[push]
default = simple # [ matching | simple ]
[color]
ui = auto
interactive = auto
[repack]
usedeltabaseoffset = true # >git 1.5
[alias]
s = status
a = !git add . && git status
au = !git add -u . && git status
aa = !git add . && git add -u . && git status
c = commit
cm = commit -m
ca = commit --amend # careful
ac = !git add . && git commit
acm = !git add . && git commit -m
l = log --graph --all --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset'
ll = log --stat --abbrev-commit
lg = log --color --graph --pretty=format:'%C(bold white)%h%Creset -%C(bold green)%d%Creset %s %C(bold green)(%cr)%Creset %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
llg = log --color --graph --pretty=format:'%C(bold white)%H %d%Creset%n%s%n%+b%C(bold blue)%an <%ae>%Creset %C(bold green)%cr (%ci)' --abbrev-commit
d = diff
master = checkout master
spull = svn rebase
spush = svn dcommit
alias = !git config --list | grep 'alias\.' | sed 's/alias\.\([^=]\)=\(.\)/\1\\t => \2/' | sort
[include]	# as of 1.7.10 https://github.com/git/git/commit/9b25a0b52e09400719366f0a33d0d0da98bbf7b0
path = ~/.gitcinclude
path = .githubconfig
path = .gitcredential
#[github]
user =
token =
[diff]
# git does copy/rename detection. if you want it to track copies/renames:
# http://stackoverflow.com/questions/1043388/record-file-copy-operation-with-git
# renames = copies
[diff "exif"]
textconv = exif
[credential]
helper = osxkeychain
`

That is is indeed a strange error. I am not sure what could be causing it. You said that building from the IDE works?

Yes, works fine with IntelliJ

@brolinuk Were you able to figure this out?

I solved this out by deleting the config file. Not ideal but does the job. Thanks


Add Semantic Kernel to user agent and Semantic Kernel Version header to OpenAPI plugin requests

To allow downstream applications know that Semantic Kernel made an HTTP request from an OpenAPI plugin, we should provide the same headers and user agent as we do for Azure OpenAI

We do this today in Python: https://github.com/microsoft/semantic-kernel/blob/0fda22e8f547e100e4dd9b8b1307142af42a251a/python/semantic_kernel/connectors/openapi_plugin/openapi_runner.py#L154C9-L157C1

@SergeyMenshykh, do we already do this in .NET?


Docs typo, replace ``` with

Guessing this was missed in the conversion from markdown to HTML.
This pull request is a single commit to fix the issue, apologies for the mess in the previous PR.

Hi @chmac, thanks for doing this, but we'll need to fix this in the base index.restdown file. Would you mind fixing it there?

This was fixed in 7b04a8d669a63e69a2ba34ebfd1db2eeb7df080c. :+1:


feat: add json validator example

closes #51

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.05%. Comparing base (c9fac2e) to head (ff3865a).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #54      +/-   ##
==========================================
- Coverage   97.98%   96.05%   -1.94%
==========================================
  Files          11       11
  Lines         199      203       +4
  Branches       22       22
==========================================
  Hits          195      195
- Misses          2        6       +4
  Partials        2        2

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


Question: how to apply deserialize_struct_case_insensitive to a struct?

I am a bit confused by deserialize_struct_case_insensitive. It is categorized as a container_attribute in serde-aux's docs. However, the example seems to show it used as a field attribute. If it is a container_attribute, should I be able to do something like this?
#[derive(PartialEq, Eq, PartialOrd, Ord, Deserialize)]
#[serde(deserialize_with = "deserialize_struct_case_insensitive")]
pub struct Manifest {
    name: String,
    version: String,
}

Hi @jlgerber ! Yes, the name is, unfortunately, confusing, I had plans to reorganise everything differently, but it is still yet to happen. And your thoughts are absolutely logical and correct and I apologise for having named it that way.

Thank you for the prompt reply.
Fortunately, I realized that i only really had to support keys with first letters capitalized so i used aliases.

You have still made a reasonable point. As I have wanted for so long to fix this, I now have another good reason for that. So, I'll close it and let you know once I do that.
Thank you for reaching out and contributing!

@vityafx - do you have any updates?
It seems to me that deserialize_with is a field only attribute, but it doesn't apply to the field itself, but to the struct of that field (assuming the field has a struct type).
I'm not sure how this would be possible to apply this to the parent struct

You had written before:

You have still made a reasonable point. As I have wanted for so long to fix this, I now have another good reason for that. So, I'll close it and let you know once I do that.

And I was hopeful, that maybe you had found a way to avoid using a nested struct. Or maybe your comment applied to clarifying the usage?


NOISSUE: Release/1.11 to the master

Release/1.11 -> master

Codecov Report

Merging #75 into master will decrease coverage by 1.35%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #75      +/-   ##
==========================================
- Coverage   15.30%   13.95%   -1.36%
==========================================
  Files           7        8       +1
  Lines        1006     1197     +191
==========================================
+ Hits          154      167      +13
- Misses        844     1017     +173
- Partials        8       13       +5

Impacted Files
Coverage Δ

...solar/mainnet/application/appfoundation/helpers.go
10.52% <0.00%> (ø)

...cation/builtin/contract/deposit/deposit.wrapper.go
0.00% <0.00%> (ø)

...ication/builtin/contract/deposit/linear_vesting.go
100.00% <0.00%> (ø)

...et/application/builtin/contract/deposit/deposit.go
2.02% <0.00%> (+2.02%)
: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 2d2f17b...dbc9e6c. Read the comment docs.

Codecov Report

Merging #75 into master will decrease coverage by 5.49%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master     #75      +/-   ##
=========================================
- Coverage   15.30%   9.81%   -5.50%
=========================================
  Files           7       6       -1
  Lines        1006     988      -18
=========================================
- Hits          154      97      -57
- Misses        844     885      +41
+ Partials        8       6       -2

Impacted Files
Coverage Δ

...cation/cmd/insolar/insolarcmd/migration_address.go
18.18% <0.00%> (-3.88%)
:arrow_down:

...solar/mainnet/application/appfoundation/helpers.go
10.00% <0.00%> (-0.53%)
:arrow_down:

.../insolar/mainnet/application/cmd/requester/main.go
0.00% <0.00%> (ø)

...cation/builtin/contract/deposit/deposit.wrapper.go
0.00% <0.00%> (ø)

...cation/builtin/contract/deposit/deposit_vesting.go

...et/application/builtin/contract/deposit/deposit.go
0.95% <0.00%> (+0.95%)
:arrow_up:

...om/insolar/mainnet/application/genesisrefs/refs.go
97.67% <0.00%> (+2.15%)
: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 2d2f17b...581474d. Read the comment docs.


I need to do shift-enter instead of only enter

I am using ngx-markdown-editor: 1.1.3. I am using in multiple part of the application. It is working without problem everywhere, except for one part of the app where I need to do shift-enter instead of only enter.
I am using
<md-editor  class="form-control" name="description" formControlName="description" [height]="'200px'" [mode]="mode" [options]="options" required maxlength="500"></md-editor>

with
  mode = 'editor';
  options = {
    hideIcons: ['Bold', 'Italic', 'Heading', 'Refrence', 'Link', 'Image', 'Ul', 'Ol', 'Code', 'TogglePreview', 'FullScreen']
  };

The implementation is identical in other parts of the app. However, I do not need to do shift-enter instead of only enter in the other parts of the app.
Has this been seen before? Is there any known way to remedy this?

I will check this later.
Best regards
Lon Yang
Email: dove2580<EMAIL_ADDRESS>Lakin Ducker<EMAIL_ADDRESS>于 2017年10月5日 下午11:22写道：
I am using ngx-markdown-editor: 1.1.3. I am using in multiple part of the application. It is working without problem everywhere, except for one part of the app where I need to do shift-enter instead of only enter.
I am using
<md-editor  class="form-control" name="description" formControlName="description" [height]="'200px'" [mode]="mode" [options]="options" required maxlength="500">
with
mode = 'editor';
options = {
hideIcons: ['Bold', 'Italic', 'Heading', 'Refrence', 'Link', 'Image', 'Ul', 'Ol', 'Code', 'TogglePreview', 'FullScreen']
};
The implementation is identical in other parts of the app. However, I do not need to do shift-enter instead of only enter in the other parts of the app.
Has this been seen before? Is there any known way to remedy this?
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/lon-yang/ngx-markdown-editor/issues/12, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AI_frWYvDuLkSXU-U4IGrJdgu8TBwfOiks5spPRMgaJpZM4PvQqw.

Thank you very much!
On Fri, Oct 6, 2017 at 1:00 AM, lon<EMAIL_ADDRESS>wrote:

I will check this later.
Best regards
Lon Yang
Email: dove2580<EMAIL_ADDRESS>Lakin Ducker<EMAIL_ADDRESS>于 2017年10月5日 下午11:22写道：
I am using ngx-markdown-editor: 1.1.3. I am using in multiple part of the
application. It is working without problem everywhere, except for one part
of the app where I need to do shift-enter instead of only enter.
I am using
<md-editor class="form-control" name="description"
formControlName="description" [height]="'200px'" [mode]="mode"
[options]="options" required maxlength="500">
with
mode = 'editor';
options = {
hideIcons: ['Bold', 'Italic', 'Heading', 'Refrence', 'Link', 'Image',
'Ul', 'Ol', 'Code', 'TogglePreview', 'FullScreen']
};
The implementation is identical in other parts of the app. However, I do
not need to do shift-enter instead of only enter in the other parts of the
app.
Has this been seen before? Is there any known way to remedy this?
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/lon-
yang/ngx-markdown-editor/issues/12>, or mute the thread<
https://github.com/notifications/unsubscribe-auth/AI_frWYvDuLkSXU-
U4IGrJdgu8TBwfOiks5spPRMgaJpZM4PvQqw>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lon-yang/ngx-markdown-editor/issues/12#issuecomment-334658831,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AafuDokWEm7oV76E9JEA6A-cgmA9fHxHks5spbQGgaJpZM4PvQqw
.

--
Lakin Ducker, Developer
125 Bear Creek Pkwy. Keller. TX 76248
https://maps.google.com/?q=125+Bear+Creek+Pkwy.+Keller.+TX+76262&entry=gmail&source=g
Office<PHONE_NUMBER> <(844)%20517-5271>
Mobile
410-693-6351

LinuxAcademy.com http://linuxacademy.com/
Facebook https://www.facebook.com/linuxacademycom/ | LinkedIn
https://www.linkedin.com/company/linuxacademy | Twitter
https://twitter.com/linuxacademyCOM?ref_src=twsrc^google|twcamp^serp|twgr^author
| YouTube https://www.youtube.com/user/pineheadtv
CloudAssessments.com http://cloudassessments.com/
Facebook https://www.facebook.com/cloudassessments/ | LinkedIn
https://www.linkedin.com/company/cloud-assessments | Twitter
https://twitter.com/cloudassessmnts?lang=en | YouTube
https://www.youtube.com/channel/UC1J1m_Oe-6bLotz74EHm62Q
ScaleYourCode.com http://scaleyourcode.com/
Facebook https://www.facebook.com/ScaleYourCode/ | LinkedIn
https://www.linkedin.com/company/scale-your-code | Twitter
https://twitter.com/scaleyourcode?lang=en | YouTube
https://www.youtube.com/channel/UCzo_FqWUbEH0AYs0NilUWpA
FORT WORTH. KANSAS CITY. NEW YORK.
*WE CHANGE LIVES THROUGH AFFORDABLE *
HIGH QUALITY ONLINE CLOUD TRAINING.

@lakinlinuxacademy , I had checked this and I've never been in this situation before. So, I'm not sure what's going on.

It only happens in one part of the app. Everywhere else it works fine and
without problem. Very strange! I will try to find a way to get around it.
Thank you!
On Sun, Oct 8, 2017 at 5:02 AM, lon<EMAIL_ADDRESS>wrote:

@lakinlinuxacademy https://github.com/lakinlinuxacademy , I had checked
this and I've never been in this situation before. So, I'm not sure what's
going on.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lon-yang/ngx-markdown-editor/issues/12#issuecomment-334992853,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AafuDssp2UVl_kIW-TPBvd8SuTa-TnAWks5sqI-kgaJpZM4PvQqw
.

--
Lakin Ducker, Developer
125 Bear Creek Pkwy. Keller. TX 76248
https://maps.google.com/?q=125+Bear+Creek+Pkwy.+Keller.+TX+76262&entry=gmail&source=g
Office<PHONE_NUMBER> <(844)%20517-5271>
Mobile
410-693-6351

LinuxAcademy.com http://linuxacademy.com/
Facebook https://www.facebook.com/linuxacademycom/ | LinkedIn
https://www.linkedin.com/company/linuxacademy | Twitter
https://twitter.com/linuxacademyCOM?ref_src=twsrc^google|twcamp^serp|twgr^author
| YouTube https://www.youtube.com/user/pineheadtv
CloudAssessments.com http://cloudassessments.com/
Facebook https://www.facebook.com/cloudassessments/ | LinkedIn
https://www.linkedin.com/company/cloud-assessments | Twitter
https://twitter.com/cloudassessmnts?lang=en | YouTube
https://www.youtube.com/channel/UC1J1m_Oe-6bLotz74EHm62Q
ScaleYourCode.com http://scaleyourcode.com/
Facebook https://www.facebook.com/ScaleYourCode/ | LinkedIn
https://www.linkedin.com/company/scale-your-code | Twitter
https://twitter.com/scaleyourcode?lang=en | YouTube
https://www.youtube.com/channel/UCzo_FqWUbEH0AYs0NilUWpA
FORT WORTH. KANSAS CITY. NEW YORK.
*WE CHANGE LIVES THROUGH AFFORDABLE *
HIGH QUALITY ONLINE CLOUD TRAINING.


Other virtual machines platforms (developed based on virtualbox)

Can it be used for other emulators developed based on virtualbox ?
Such as Android emulator MEMU, MUMU

Unfortunately no, this library only works with Virtualbox.


With 1.6+, pub build (dart2js) now errors on package import for my config.dart

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?

Switch to Dev branch SDK (1.6+).

pub build my app (dev branch at https://github.com/davenotik/dart-stack/tree/dev) – you'll want to ensure you set up your config.dart using config.dart.example.

Note the error on reading config.dart (below).

Recreate config.dart w/ same contents in case file perms were the issue. Same problem.

Add a second renamed config2.dart w/ same contents, and update the imports referenced in the errors. This solves the issue, which leads me to think config.dart is reserved somehow?

What is the expected output? What do you see instead?
Expected a successful built as before 1.6+ upgrade. Instead, errors like this cause a failed build:
[Error from Dart2JS on woven|web/index.html_bootstrap.dart]:
packages/woven/src/client/components/page/woven_app/woven_app.dart:7:8:
Can't read 'package:woven/config/config.dart' (Could not find asset woven|lib/config/config.dart.).
import 'package:woven/config/config.dart';
What version of the product are you using?
SDK 1.6+. With 1.53, 1.58, not a problem.
On what operating system?
OS X.
Please provide any additional information below.
Originally noted at https://code.google.com/p/dart/issues/detail?id=20305.

This issue has been moved to dart-lang/pub#1094.


Intergrated api to detect langauge of recieved messages. I also created/altered functions to translate messages to recipient's chosen language, though this is incomplete.

Intergrated api to detect langauge of recieved messages. I also created/altered functions to translate messages to recipient's chosen language, though this is incomplete.

Interesting design choice but great work !!!!

great work, will try to build off this


[EventParameter] New parameter required in event OnAfterShouldFinalizeSalesInvHeader of report "Combine Return Receipts"

We need that the event OnAfterShouldFinalizeSalesInvHeader from the report 6653 "Combine Return Receipts" contains the same paremeters than the same event of the report 295 "Combine Shipments".
In the report 295 there is a 4th parament with the sales shipment line that we are looping. In the report 6653 there are only 3 parameters and we need the "Return Receipt Line" that we are looping.

wrong repo; you want https://github.com/microsoft/ALAppExtensions/issues instead

Created issue in correct repo.


Debug mode dosn't function

Issue Report Checklist

[x] Searched the issues page for similar reports
[ ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
When I try to solve my script (project with multiple function in many scripts.py) with breakpoints in main script, I have an error (below)  (since 3.2.2 I think). When i use breakpoint in thermal_resistances.py and exec this script in debug mod, it's work...
I don't understand the error in this line import scipy.integrate as scint. I don't have error.
With a normal execution, the script run.
What steps reproduce the problem?

Tick breakpoint in main script
Execute debug mode

Paste Traceback/Error Below (if applicable)

File /usr/lib/python3.10/site-packages/numpy/core/getlimits.py:459 in __new__
    dtype = numeric.dtype(dtype)

TypeError: 'numpy.dtype[bool_]' object is not callable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File /usr/lib/python3.10/site-packages/spyder_kernels/customize/spyderpdb.py:776 in run
    super(SpyderPdb, self).run(cmd, globals, locals)

  File /usr/lib/python3.10/bdb.py:597 in run
    exec(cmd, globals, locals)

  File ~/Documents/code_PSA/PSAwork/main_harness_tool.py:612 in <module>
    dict_results = run_main()

  File ~/Documents/code_PSA/PSAwork/main_harness_tool.py:579 in run_main
    T, DICT_SAVE_ALL_RESULT = solve_problem(DICT_IMPORT)

  File ~/Documents/code_PSA/PSAwork/main_harness_tool.py:54 in solve_problem
    solver = select_solver(dict_import['SOLVER_DICT'])

  File ~/Documents/code_PSA/PSAwork/main_harness_tool.py:372 in select_solver
    import solver.solver_rad_conv_naked_free2 as solver

  File ~/Documents/code_PSA/PSAwork/solver/solver_rad_conv_naked_free2.py:25 in <module>
    import thermal_resistances as therm_res

  File ~/Documents/code_PSA/PSAwork/thermal_resistances.py:9 in <module>
    import scipy.integrate as scint

  File /usr/lib/python3.10/site-packages/scipy/integrate/__init__.py:96 in <module>
    from ._bvp import solve_bvp

  File /usr/lib/python3.10/site-packages/scipy/integrate/_bvp.py:8 in <module>
    from scipy.sparse.linalg import splu

  File /usr/lib/python3.10/site-packages/scipy/sparse/linalg/__init__.py:120 in <module>
    from ._isolve import *

  File /usr/lib/python3.10/site-packages/scipy/sparse/linalg/_isolve/__init__.py:7 in <module>
    from .lsqr import lsqr

  File /usr/lib/python3.10/site-packages/scipy/sparse/linalg/_isolve/lsqr.py:58 in <module>
    eps = np.finfo(np.float64).eps

  File /usr/lib/python3.10/site-packages/numpy/core/getlimits.py:462 in __new__
    dtype = numeric.dtype(type(dtype))

TypeError: 'numpy.dtype[bool_]' object is not callable

Versions

Spyder version: 5.3.0 None
Python version: 3.10.4 64-bit
Qt version: 5.15.2
PyQt5 version: 5.15.6
Operating System: Linux 5.4.188-1-MANJARO

Dependencies
# Mandatory:
atomicwrites >=1.2.0          :  1.4.0 (OK)
chardet >=2.0.0               :  4.0.0 (OK)
cloudpickle >=0.5.0           :  2.0.0 (OK)
cookiecutter >=1.6.0          :  1.7.3 (OK)
diff_match_patch >=20181111   :  20200713 (OK)
intervaltree >=3.0.2          :  3.1.0 (OK)
IPython >=7.31.1              :  8.2.0 (OK)
jedi >=0.17.2                 :  0.18.1 (OK)
jellyfish >=0.7               :  0.9.0 (OK)
jsonschema >=3.2.0            :  3.2.0 (OK)
keyring >=17.0.0              :  23.4.0 (OK)
nbconvert >=4.0               :  6.4.5 (OK)
numpydoc >=0.6.0              :  1.1.0 (OK)
parso >=0.7.0                 :  0.8.2 (OK)
pexpect >=4.4.0               :  4.8.0 (OK)
pickleshare >=0.4             :  0.7.5 (OK)
psutil >=5.3                  :  5.9.0 (OK)
pygments >=2.0                :  2.11.2 (OK)
pylint >=2.5.0                :  2.13.4 (OK)
pyls_spyder >=0.4.0           :  0.4.0 (OK)
pylsp >=1.4.1                 :  1.4.1 (OK)
pylsp_black >=1.2.0           :  1.2.0 (OK)
qdarkstyle >=3.0.2            :  3.0.2 (OK)
qstylizer >=0.1.10            :  0.2.1 (OK)
qtawesome >=1.0.2             :  1.1.0 (OK)
qtconsole >=5.3.0             :  5.3.0 (OK)
qtpy >=2.0.1                  :  2.0.1 (OK)
rtree >=0.9.7                 :  0.9.7 (OK)
setuptools >=49.6.0           :  59.4.0 (OK)
sphinx >=0.6.6                :  4.5.0 (OK)
spyder_kernels >=2.3.0;<2.4.0 :  2.3.0 (OK)
textdistance >=4.2.0          :  4.2.2 (OK)
three_merge >=0.1.1           :  0.1.1 (OK)
watchdog >=0.10.3             :  0.10.7 (OK)
xdg >=0.26                    :  0.27 (OK)
zmq >=17                      :  22.3.0 (OK)

# Optional:
cython >=0.21                 :  0.29.28 (OK)
matplotlib >=3.0.0            :  3.5.1 (OK)
numpy >=1.7                   :  1.22.3 (OK)
pandas >=1.1.1                :  1.4.2 (OK)
scipy >=0.17.0                :  1.8.0 (OK)
sympy >=0.7.3                 :  1.10.1 (OK)

Hey @Ptiji, thanks for reporting. This seems like an error in Numpy, perhaps because you installed it with pip at some point. So you need to look for all places where you could have installed Numpy before and remove it.
Furthermore, errors with Arch Linux or its derivatives need to reported to its maintainers because its Spyder package is always semi-broken, i.e. some parts work fine on it and others are totally broken. I think the Arch maintainers are aware that they are distributing a broken Spyder package, but (I don't know why) they do it anyway, which is really awful.

Thank you @ccordoba12  for your response. I check all my install, I have an unique numpy. I tried to uninstall and reinstall with pip, I have already the error. After another uninstall and reinstall with pacman, I have again this error.
I find this, I think that explain my error :
https://github.com/python/cpython/issues/90693

Please see issue #18054 for a possible explanation for this bug.

@ccordoba12 Problem solved with the update of pandas 1.4.3.

Great! Thanks for letting us know about it.


Can this be expanded to also be able to tell us the base branch of a PR?

The base branch in a PR is found on process.env. GITHUB_BASE_REF; I'd like to use this action in the same way I use it on branch pushes - being able to use different variables in actions based on the base branch of a PR...
Not sure how to accomplish this without ruining backwards compatibility though.... any desire to do this? If so.. any ideas? Thanks for the action!

It took quite a while, but I added this feature this morning. It's now available in v1.1.2-- match variables with !pr>basebranch :)

⚠ This feature requires PR #10 to be merged first


Run other languages in code blocks

Sometimes I have multiple languages in the same notebook.
```{python}
# This is python code.
```

```{r}
# This is R code.
```

```{julia}
# This is julia code.
```

Is it possible to run julia's repl in {julia} blocks and python's repl in {python} blocks?

There's a feature request on the VS Code backlog to make editorLangId recognise embedded languages: https://github.com/microsoft/vscode/issues/107989
In R Markdown files, those R/Python/Julia chunks are embedded languages. So if that VS Code feature gets implemented, this would work automatically: the editorLangId keybinding clause would use the language in the chunk, and the appropriate command to send the text to the appropriate REPL would be called.

I need this feature badly. But I guess you don't need to request VS Code to recognize it, do you? I think the python codes can be called and executed from within R like what it actually does when you run knitr for the Rmd document. In this way, you can further access the python functions and variables from R. Can this be implemented here? I guess we just need the extension to automatically wrap up the python code whenever we click run code block. Ref: https://rstudio.github.io/reticulate/articles/r_markdown.html#engine-setup

Note that if you directly recognize those chunks as embedded languages from VS Code, you can't get the interactive features between R and other languages.

Another discussion on this: https://stackoverflow.com/questions/49503195/reticulate-running-python-chunks-in-rmarkdown

Hi @matrix-ranger, for now maybe you could use something like this? You would need a separate keybinding from Ctrl+Enter and would need to select the text to send, so it's a workaround rather than a full solution.
    {
        "key": "ctrl+shift+;",
        "command": "r.runCommandWithSelectionOrWord",
        "when": "editorTextFocus",
        "args": "py_run_string('$$')"
    }

Thanks a lot. It works well except when there are already quote marks inside the code. Maybe a more robust way is to enter the reticulate python console inside R whenever a python chunk is executed.
reticulate::repl_python()

Then next time if you want to execute an R chunk, exit the python console first. It looks fine to manually do this but still I would really appreciated it if there could be support from the extension.

It would be great to recognize alternative knitr engines in addition to the usual languages. For example, the targets package defines a special language engine for Target Markdown: https://books.ropensci.org/targets/markdown.html.

It would be great to recognize alternative knitr engines in addition to the usual languages. For example, the targets package defines a special language engine for Target Markdown: books.ropensci.org/targets/markdown.html.

Sorry if this is a dumb question, but is the interactive part of the "engine" defined by the engine spec, or is it something the IDE should handle? From the docs you linked, it looks like the engine defers to tar_option_get("envir") in the presence of the targets engine, but how does knitr or the IDE know this? My guess would be the former, but thought I would ask!

There is an overlap between engine-aware chunk handling and vscode notebook.

@ElianHugh, the workings of custom knitr engines are described at https://bookdown.org/yihui/rmarkdown-cookbook/custom-engine.html. A knitr engine is just an R function that controls how to run and display the code in the chunk. In the case of targets, the [`tar_engine_knitr()](https://docs.ropensci.org/targets/reference/tar_engine_knitr.html) function is responsible for what happens in both interactive and non-interactive modes, and `tar_option_get("envir")` is an R environment that `targets` uses to do its job regardless of whether R Markdown is involved.
My request for VSCode is just to put the "Run chunk" button right above {targets} code chunks and any {xyz} code chunks in addition to the {r} code chunks. knitr engines can handle the rest.

@wlandau Thank you for the information!
At the moment, run chunk is fairly primitive - it just sends the chunk's text to the current active REPL. For processing knitr engines cleanly, I think there would be a couple steps required:

Obtain a list of knitr engines via names(knitr::knit_engines$get())
If the chunk is not an R-chunk, pass the chunk to an R process and invoke the relevant knit_engine method
Update the list of knitr engines any time a custom engine is loaded (e.g., loading targets)

I think doing this would be easiest once we have a working 'back-end' for VSC-R, as renkun-ken points out.

Alternatively, a super rudimentary way of doing this would be to send the chunk to the REPL, and wrap the code in the knitr engine. I hsven't tested this, but theeoretically the following should work:
using Plots
x = 1:10; y = rand(10);
plot(x, y)

and running the chunk would call the following in the REPL:
# options would realistically be taken from the chunk
call_chunk <- function(code) {
	ops <- list(
      code = strsplit(code, "\n", fixed = TRUE)[[1]],
      eval = TRUE
    )
   knitr::knit_engines$get()[["julia"]](ops)
}

Has this had any progress since 2022?

@alexrecuenco You can use the quarto.
https://quarto.org/docs/tools/vscode.html

@alexrecuenco You can use the quarto. https://quarto.org/docs/tools/vscode.html

The Quarto plugin does not resolve this issue. Quarto uses knitr as the engine as soon as an {r} code chunk is found. Knitr in turn runs the chunk via reticulate. Since the both the normal editor and the visual editor pass execution of chunks to REditorSupport, the options of fixing this fall either to quarto (since they choose the render engine) or the render engine (since that chooses the execution environment) or to this extension, since canonically, python chunks in an R-based Rmd/qmd file are run via reticulate.
@renkun-ken is this in scope for REditorSupport? I vote to reopen the issue as long as this isn't cleared up.
(Tagging @incorey since I'm helping him with his typesetting woes.)


fix prune not required window expressions on window operator

pick from master #35504
if window expression is not required by its parent, we should prune this column.
If all window expressions of window operator are pruned, we remove this window operator directly.

run buildall

run buildall


remove redundant babel deps

relevand babel deps are installing from generator-babel, and current ones create conflicts about it. I fixed that it relevant pr, but gp didnt work for me that time, and i didnt notice it. sorry

feel free to merge while tests will succeed and please publish patch =)

➜  generator-rise git:(fix/babel-deps) npm link
/usr/local/lib/node_modules/generator-rise -> /Users/vlasta/projects/generator-rise
➜  projects  cd ..
➜  projects  mkdir some7 && cd some7
➜  some7  yo rise # …
➜  some7  npm test  # fine
➜  some7  npm run coverage  # fine

merging, because locally everything is fine and tests are passing

@bucaran would you mind to bump patch version?

and btw, generator-rise 2.0 hadnt been published to npm for some reason

Done!

now it's time to publish this critical patch 🙂

Published as 2.0.0

what do you think about adding "postpublish": "git push --follow-tags"?
then publish process will be like $ npm version <major/minor/patch> && npm publish

Yes, that would be fine. It's almost a shame generator-rise's own package.json is so simple.


Correction for raw affiliation TETIS, INRAE, UniversitÃ© de Montpellier, 34090 Montpellier, France

Correction needed for raw affiliation TETIS, INRAE, UniversitÃ© de Montpellier, 34090 Montpellier, France
raw_affiliation_name: TETIS, INRAE, UniversitÃ© de Montpellier, 34090 Montpellier, France
new_rors: 003vg9w96;0458hw939
previous_rors: 003vg9w96
works_examples: W4294868804
contact: eabaabd70ba72de1d827c6122302235f:b8c0888e82a51681668926be73b03700a49e @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Use localByDefault plugin for both local and global behaviours.

The postcss-modules-local-by-default plugin actually has the modes local, global and pure (link).
If the plugin is NOT added in the global case, shorthand selectors (link) will result in an error.
Shorthand selectors are actually quite useful in SCSS with nesting.
SCSS
:local {
  .foo {
    color: red;
  }

  .bar {
    color: blue;
  }
}

CSS
:local .layer {
  color: red;
}

:local .bar {
  color: blue;
}

The resulting error message (without using the plugin) is:
Unexpected comma (",") in :local block

Adding the postcss-modules-local-by-default plugin with the correct global mode will enable this syntax.

I created this first commit directly on github.com. I can add some test cases to this PR later.

@madyankin I've added tests for the change now.

@fxb thank you Felix! Published. Sorry for keeping you waiting so long

Thanks a lot! No worries :)


Monitor connected clients

Should have a way to monitor which clients are connected, from where, their bandwidth utilization, what are they consuming, etc.

Related: https://github.com/confluentinc/kafka-rest/issues/131


Added Ruy Adorno (http://ruyadorno.com)

Added myself 😊 you can see some of my oss presence here:
https://github.com/ruyadorno
https://twitter.com/ruyadorno
https://speakerdeck.com/ruyadorno

Yeah!

hey @RichardLitt just saw you're going to be there at the OSS day this Saturday!
see you there! 🙋

Yep!


Give some <3 to our unit tests

Removed 'turn' gem which did not work anyway
Updated minitest
Fix Benchmark test
Enable benchmark test in travis to avoid performance regressions
Make benchmark test configurable to handle problems with different environment
Use the with_env helper in Rails connection test to avoid env leak

@smathieu :yellow_heart: :green_heart: :heart: :purple_heart: :blue_heart:

:heart:


Make it so that the current .sky file format is always described in a file called "Skyline_Current.xsd".

This is the change that I proposed in email a few weeks ago.
This makes it so that the current document schema file is always "Skyline_Current.xsd", and that is the only file that you ever edit. That way, it will always be easy to see what changes were made with a particular checkin. Also, if two people were planning to make changes to the Skyline_Current.xsd during the same time period, everything merges easily.
Files called "Skyline_###.xsd" only get created when you need to bump the DocumentFormat version number and make a change to "Skyline_Current.xsd".
When that happens, the "Skyline_###.xsd" file that you will be adding will represent the old DocumentFormat version number.
The class "SchemaDocuments" takes care of the logic of deciding what the schema filename is for a particular version number.

I like the idea in principle, but how would it aid in writing code like this?
        /// <summary>         /// Serializes any optionally explicitly specified CE, RT and DT information to attributes only         /// </summary>         private void WriteExplicitTransitionGroupValuesAttributes(XmlWriter writer, ExplicitTransitionGroupValues importedAttributes)         {             if (DocumentFormat < DocumentFormat.VERSION_4_22 || DocumentFormat >= DocumentFormat.VERSION_20_12) // Format supports per-precursor explicit CE?                 writer.WriteAttributeNullable(ATTR.explicit_collision_energy, importedAttributes.CollisionEnergy);             writer.WriteAttributeNullable(ATTR.explicit_ion_mobility, importedAttributes.IonMobility);             if (importedAttributes.IonMobility.HasValue)                 writer.WriteAttribute(ATTR.explicit_ion_mobility_units, importedAttributes.IonMobilityUnits.ToString());             writer.WriteAttributeNullable(ATTR.explicit_ccs_sqa, importedAttributes.CollisionalCrossSectionSqA);         }
or
         public static readonly DocumentFormat BINARY_RESULTS = VERSION_3_62; // First version that had binary results
?

I'm not sure if I understand your question.
That code would stay the same.
The DocumentFormat really is still a double.
The only difference is that the name of the .xsd file that corresponds to
the current version is called "Skyline_Current.xsd" instead of
"Skyline_20.13.xsd".
-- Nick
On Thu, Jun 18, 2020 at 11:59 AM Brian Pratt<EMAIL_ADDRESS>wrote:

I like the idea in principle, but how would it aid in writing code like
this?
///  /// Serializes any optionally explicitly specified CE, RT
and DT information to attributes only ///  private void
WriteExplicitTransitionGroupValuesAttributes(XmlWriter writer,
ExplicitTransitionGroupValues importedAttributes) { if (DocumentFormat <
DocumentFormat.VERSION_4_22 || DocumentFormat >=
DocumentFormat.VERSION_20_12) // Format supports per-precursor explicit CE?
writer.WriteAttributeNullable(ATTR.explicit_collision_energy,
importedAttributes.CollisionEnergy);
writer.WriteAttributeNullable(ATTR.explicit_ion_mobility,
importedAttributes.IonMobility); if
(importedAttributes.IonMobility.HasValue)
writer.WriteAttribute(ATTR.explicit_ion_mobility_units,
importedAttributes.IonMobilityUnits.ToString());
writer.WriteAttributeNullable(ATTR.explicit_ccs_sqa,
importedAttributes.CollisionalCrossSectionSqA); }
or
public static readonly DocumentFormat BINARY_RESULTS = VERSION_3_62; //
First version that had binary results
?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ProteoWizard/pwiz/pull/1121#issuecomment-646248288,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKAYYMGBLWHOBE4RMRPEDRXJPY5ANCNFSM4OAZUEIQ
.

When writing backward compatibility code for a new feature I need to be able to define a watershed document version for determining whether or not we need to do anything special for (de)serialization.
I guess if I always use an alias
public static readonly DocumentFormat MY_NEW_THINGEE = DocumentFormat.CURRENT; // First version that had binary result
and we're super careful to track down all uses of DocumentFormat.CURRENT before release this works fine. If we miss one, though, it would make for some very confusing behavior.

You still get to add constants to the class DocumentFormat the same as you
currently do.
The situation that I'm trying to fix is where you and I have both been
working on a new feature for a month, so we both have a new file in our
branches called "Skyline_20.14.xsd". Git does not know we both created that
file by copying "Skyline_20.13.xsd". When I check in my version of
"Skyline_20.14.xsd" before you, you suddenly have to change the name of
your "Skyline_20.14.xsd" to "Skyline_20.15.xsd", and also make sure that
your Skyline_20.15.xsd includes the changes that I added to my
Skyline_20.14.xsd.
-- Nick
On Thu, Jun 18, 2020 at 12:53 PM Brian Pratt<EMAIL_ADDRESS>wrote:

When writing backward compatibility code for a new feature I need to be
able to define a watershed document version for determining whether or not
we need to do anything special for (de)serialization.
I guess if I always use an alias
public static readonly DocumentFormat MY_NEW_THINGEE =
DocumentFormat.CURRENT; // First version that had binary result
and we're super careful to track down all uses of
DocumentFormat.CURRENT before release this works fine. If we miss one,
though, it would make for some very confusing behavior.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ProteoWizard/pwiz/pull/1121#issuecomment-646273172,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKAY2B3WRL3LAYHOIYLHTRXJWBXANCNFSM4OAZUEIQ
.

I totally get why we want this. Just wanted to make sure we weren't going to accidentally create new defect opportunities that wouldn't pop up until after a release or two.
So part of the release process becomes
1 Compare skyline_current.xsd to whatever the latest numbered xsd might be
2 If they differ:
2a Create a new DocumentFormat version number YY.n
2b Copy skyline_current.xsd to skyline_<YY.n>.xsd
2c Add skyline_<YY.n>.xsd to the project and the repo
2d Change any constants in class DocumentFormat using DocumentFormat.VERSION_CURRENT to use DocumentFormat.VERSION_<YY.n> instead

I think Nick is saying that it doesn't change our use of constants at all. Just that there is a new XSD file, which always describes the DocumentFormat which equals VERSION_CURRENT. So, when we do our XSD check in testing, the code would look at the document version and if it is equal to VERSION_CURRENT, then it gets checked against Skyline_Current.xsd.
Then, I think you are right that we need to understand when we copy Skyline_Current.xsd to Skyline_###.xsd before making a modification. That should be any time we create a new version constant and set it to VERSION_CURRENT. As developers, we still need to keep an eye on when that is necessary, which would be any time we make a change that would be incompatible with what has already been released.
I am not sure this is much different. To me it seems you will end up working as you have in the past, but when you create VERSION_20_13, instead of creating Skyline_20.13.xsd, you would:

Copy Skyline_Current.xsd to Skyline_20.12.xsd and add it to the project.
Apply any necessary modifications to Skyline_Current.xsd and commit them.

In this way Skyline_Current.xsd will accumulate diffs of what is changing. Otherwise, I don't think much is changing. Do I have this right, Nick?

I LOVE the idea of a schema with a proper history. In fact I'd argue that
when we create that xsd file we should start with a copy of  our oldest
schema version and commit changes from version to version until we're
current, and not do a squash when it gets added to master..
As to my concerns, I'm specifically thinking about a scenario such as
moving ion mobility from Peptide Settings to Transition Settings. I need to
create a constant such that serialization code knows whether to output the
old or new style.
if (outputDocumentFormat <

DocumentFormat.ION_MOBILITY_IN_TRANSITIONSETTINGS)
{
// Write IM settings as part of PeptideSettings
If I set that constant as
DocumentFormat.ION_MOBILITY_IN_TRANSITIONSETTINGS =
DocumentFormat.VERSION_20_13;
then every time I merge from master it's likely to be creating a bug since
there's a chance that we've moved on to 20_14 since the last update. This
misses the point of NIck's work.
So I should set it as
DocumentFormat.ION_MOBILITY_IN_TRANSITIONSETTING =
DocumentFormat.VERSION_CURRENT;
That creates a different problem if I don't remember to change it to
the proper DocumentFormat.VERSION_xx_y  right before I merge to master.
This would be a pernicious bug because it wouldn't reveal itself until we
bump the version number again and backward compatibility suddenly goes
funny.
So it would be ideal if there was some automated check on master that
insists that no
xxx  =  DocumentFormat.CURRENT;
assignments are allowed in master.
On Thu, Jun 18, 2020 at 2:57 PM Brendan MacLean<EMAIL_ADDRESS>wrote:

I think Nick is saying that it doesn't change our use of constants at all.
Just that there is a new XSD file, which always describes the
DocumentFormat which equals VERSION_CURRENT. So, when we do our XSD check
in testing, the code would look at the document version and if it is equal
to VERSION_CURRENT, then it gets checked against Skyline_Current.xsd.
Then, I think you are right that we need to understand when we copy
Skyline_Current.xsd to Skyline_###.xsd before making a modification. That
should be any time we create a new version constant and set it to
VERSION_CURRENT. As developers, we still need to keep an eye on when that
is necessary, which would be any time we make a change that would be
incompatible with what has already been released.
I am not sure this is much different. To me it seems you will end up
working as you have in the past, but when you create VERSION_20_13, instead
of creating Skyline_20.13.xsd, you would:

Copy Skyline_Current.xsd to Skyline_20.12.xsd and add it to the
project.
Apply any necessary modifications to Skyline_Current.xsd and commit
them.

In this way Skyline_Current.xsd will accumulate diffs of what is changing.
Otherwise, I don't think much is changing. Do I have this right, Nick?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/ProteoWizard/pwiz/pull/1121#issuecomment-646326025,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJFE6JJEDTIRVT4S2QYACDRXKET3ANCNFSM4OAZUEIQ
.

Can the enum have an overridden operator= that checks whether the rhs is CURRENT and throws an exception if so? Probably only used if lhs if also the same type rather than casting to int or something.

Master has been updated to have a Skyline_Current.xsd file with a complete version history, and has been merged into this branch.


Having chart inside a custom element breaks check

I'm doing a custom element with apexcharts, but doing so makes this check fail:
if (!document.documentElement.contains(element.node))

on a second notice, I get this Exception is not defined when the check tries to throw this error
throw new Exception('Element not in the dom');

Just to clarify, removing this check, and chart works all fine.

ApexCharts has a dependency on SVG.js and the error you are getting is part of the SVG.js checks.
I will raise an issue on svg.js and see what can be the solution to it.
Can you please post the steps to reproduce the error on my side?
Thanks.

import * as ApexCharts from 'apexcharts';

class CustomCharts extends HTMLElement {

  constructor() {
    super();

    this.attachShadow({ mode: 'open' });

    this.updateDom();
  }

  updateDom() {
    this.shadowRoot.innerHTML = `

    `;

    this.RenderChart();
  }

  RenderChart() {
    const options = {
      chart: {
        type: 'line',
        width: 598,
        height: 300
      },
      series: [{
        name: 'sales',
        data: [30,40,35,50,49,60,70,91,125]
      }],
      xaxis: {
        categories: [1991,1992,1993,1994,1995,1996,1997, 1998,1999]
      }
    }

    const apexCharts = new ApexCharts(this.shadowRoot.querySelector('#apexCharts'), options);

    apexCharts.render();
  }

  connectedCallback() {
  }
}

window.customElements.define('custom-charts', CustomCharts);

Thank you @tcarlsen,
I see that you are using React, so have you given react-apexcharts a try if it solved your issue?
Let me know if you already tried that.

This ain't React. This is a normal custom element (https://developers.google.com/web/fundamentals/web-components/customelements)

for the html:

<custom-charts></custom-charts>

any progress on this one? did you hear from the svg.js team?

Hi @tcarlsen
Sorry for the late response.
I tried to create a codepen or codeSandbox demo before creating an issue on svg.js repo but failed to do so - https://codesandbox.io/s/z2k27n9p9m
It's just a demo of the SVG element using custom-element. We are keeping apexcharts out of the question as the issue seems to be just with SVG.
So, can you try creating a live demo of what you're trying? If just that 1 line if (!document.documentElement.contains(element.node))  causing issue, then maybe we will remove that line with gulp while bundling ApexCharts.
Thanks

It seems to be this line alone because of the chart ain't part of the document but part of shadowRoot.
removing the line with gulp could be a way I think.
Another issue I just came across is that the style element is appended to document as well. so the chart inside the custom element ain't affected by this. Is there a way to tell Apexcharts where to append the style element? (this question may need a new issue)

I will try importing the CSS directly inline instead of attaching it to document. Not sure if it is possible with Webpack, but I will give a shot.

@tcarlsen Unfortunately, there is no easy way to disable style append in the final build file.
You will have to do a custom build of apexcharts if you want to avoid injecting CSS into the document. As removing it from the current build file and providing it as an additional import will break every existing installation.

@tcarlsen I had to move svg.js dependency to ApexCharts /src as there are other issues arising in the core svg.js code. I have removed that check which was causing issues in the custom element. Let me know if any more issues arise when using ApexCharts in custom elements.

I will keep testing having appex inside custom elements and report back to you.
Thx for an awesome tool!

@tcarlsen did you ever manage to get this to work ? if so could you give a simple example that works ?

@rom1504 the element I was creating got canceled, so I stopped trying.
But i got it working kinda by doing as I wrote some comments back
"As of now I have extracted the style and adding it directly to my own stylesheet."

Ok I see, I'll give it a try
On Thu, Oct 24, 2019, 09:27 Thomas Carlsen<EMAIL_ADDRESS>wrote:

@rom1504 https://github.com/rom1504 the element I was creating got
canceled, so I stopped trying.
But i got it working kinda by doing as I wrote some comments back
"As of now I have extracted the style and adding it directly to my own
stylesheet."
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apexcharts/apexcharts.js/issues/76?email_source=notifications&email_token=AAR437QPQSCTGAIW5VLINJTQQFE7BA5CNFSM4FTLUZWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECEAGUY#issuecomment-545784659,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAR437XXDVE5XL72FKP3Q63QQFE7BANCNFSM4FTLUZWA
.


⚠ St. Lawrence Global Observatory CKAN has degraded performance

In 6964fa3, St. Lawrence Global Observatory CKAN (https://catalogue.ogsl.ca/en/) experienced degraded performance:

HTTP code: 200
Response time: 6772 ms

Resolved: St. Lawrence Global Observatory CKAN performance has improved in 7830683 after 5 minutes.


[Bug] Property pane with long text values behaves weirdly

Description
Steps to reproduce the behaviour:
Add steps to reproduce this behaviour, include console / network logs & screenshots

In the Button widget's property pane, add a long text to the onClick Action selector.
Scroll horizontally on the property pane to try & view the entire text

Refer: https://www.loom.com/share/33bbcec9fe44441a86328687644881f1
This interaction seems weird and should be handled better.
Important Details

Version: [Cloud / Self-Hosted vx.x]
OS: [e.g.MacOSX]
Browser [e.g. chrome, safari]
Environment [production, release, deploy preview]

This is fixed on release. Duplicate of #6037


Extract flood fill algorithm from FillTilemapTool

At the moment the flood fill alogrithm is implemented directly in the fill tilemap tool.
It would be clever if this alogrithm would be extracted, because you could reuse this code for other tilemap tools like a magic wand selection tool.

This one is done, right? (https://github.com/AdamsLair/duality/pull/627)

It has. Thanks! Closing this.


Give better error message when kubernetes env vars collide with locust's

doh, didnt base this on master...


Uneven distribution bug fix

Fixed bug causing uneven icon distribution for 7 element menus.

There were the following issues with your Pull Request

Commit: c7d264d7a840482e59581b0c8c34014ef77103bd
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/thestonefox/SteamVR_Unity_Toolkit

This message was auto-generated by https://gitcop.com

Superseded by https://github.com/thestonefox/VRTK/pull/1475


Bug: emits aren't catch in prod mode

Describe the bug

After setting the environment variable NODE_ENV=production, execute yarn test:unit until the emitted("foo") is undefined.
example.spec.js
import { shallowMount } from '@vue/test-utils'
describe("example", () => {
  it("test emitted", async() => {
    console.log(process.env.NODE_ENV)
    const com = {
      template: `<div data-test="test" @click="$emit('foo', 'bar')"></div>`,
      emits: ["foo"],
    };
    const wrapper = shallowMount(com);
    await wrapper.find("[data-test=test]").trigger("click");
    expect(wrapper.emitted("foo")).toHaveLength(1);
    expect(wrapper.emitted("foo")[0]).toEqual(["bar"]);
  });
})

result

To Reproduce

Expected behavior

Emitted works normally.
Related information:

@vue/test-utils version: 2.0.0-rc.19
Vue version: 3.2.31
node version: v14.17.4
npm (or yarn) version: yarn 1.22.11

Additional context

@wukang0718 I think this is expected: some parts of VTU relies on the devtools, and devtools are disabled in prod mode by default.
Have you tried running this test with the devtools enabled (IIRC you need to set __VUE_PROD_DEVTOOLS__ to true)?

I set __VUE_PROD_DEVTOOLS__ in vue.config.js to be true, but the result is still wrong.
{
  chainWebpack: (config) => {
     config
       .plugin('feature-flags')
       .tap(() => {
          return [{ __VUE_OPTIONS_API__: true, __VUE_PROD_DEVTOOLS__: true  }]
       })
  }
}

Can you provide us a simple reproduction, ideally in a github repository, so we can investigate and help you?

https://github.com/wukang0718/v3-test-demo

I don't think this can work sadly: if you use the production mode, then the CLI uses runtime-core.prod.cjs in which the devtools are already removed. So setting __VUE_PROD_DEVTOOLS__ has no effect.
I think you'll have to use dev mode in your tests if you use the CLI, as we usually do. Or you can open an issue on the CLI side, maybe there is a configuration that I don't know about that could help.
In the meantime, I'm going to close the issue here, as there is nothing we can do on VTU side.


Icon Typing is not Compatible with Svelte 5

Hi,
With the update to Svelte 5, the type signature for base Svelte components is a function rather than a class. See this paragraph for details.
This means that when trying to pass Carbon Icons as a prop/field in an object, they cannot be typed correctly, as the Carbon icons extend from CarbonIcon which descends from the deprecated SvelteComponentTyped.
The suggested approach is to change the typing of each generated icon from:
export declare class ExampleIcon extends CarbonIcon {}

to
export declare const ExampleIcon: Component<CarbonIconProps>

This ensures that the correct typings are inferred.

Not sure the best way of including this sort of typing. I've generally only used Svelte's automatic typing in the past.
Kind regards,
James

Hello, thank you for reporting this, with a detailed repro and docs source.
I think it makes sense to move away from SvelteComponentTyped. I'll triage this and see if the const Component approach is backwards-compatible (it should be).


Can not use tailwind.config.js Custom plugin on nativewind & React-Native

Describe the bug
A clear and concise description of what the bug is.
So I tried using the tailwind.config.js to add a custom plugin, using the addBase, I tried adding a custom class ".paper" which I set it background color to "green". Upon using the class in a View tag, nothing happens. I tried using both addUtilities and addComponents and nothing works as well.
To Reproduce
Initialize a nativewind react-native project, and tried adding a custom class using plugin.
Expected behavior
A clear and concise description of what you expected to happen.
Expo Snack
If applicable, add a link to an Expo snack demonstrating the issue. There are multiple example snacks available at nativewind.dev.
Here is sample code
 plugin(function ({ addBase, config, theme, addComponents, addUtilities }) {       addBase({         ".paper": {           backgroundColor: "green",         },       });     })
I will also appreciate it, if someone can point me in the right direction, I am trying to find a way to assign classes to custom classes, just like in tailwindcss @apply.
For example something like this;
{ ".text": "text-black text-base font-semibold" }

👍🏻 same issue, here!

is this feature still not support?
so far i can use twrnc to work it out, however, i prefer use a className way directly.
check my question here
https://stackoverflow.com/questions/78689359/does-nativewind-support-custom-plugin-defined-in-tailwind-config-js

We are closing all pre-v4.1 issues now that v4.1 is released. If the problem is still happening with the latest v4.1, please open a new issue and reference this one in the description.


frontend homework 16

Local storage:

Cypress (Component testing):

Vite (Unit testing):

Cypress(Integration testing):

Metric
Value

alert_status
:white_check_mark: OK

bugs
1

code_smells
1

reliability_rating
C (at least 1 Major Bug)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0

Metric
Value

alert_status
:x: ERROR

bugs
1

code_smells
1

reliability_rating
C (at least 1 Major Bug)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0


RO-3093 Update newton dependencies

This change is the result of running gating/update_dependencies/*
See update_dependencies in https://rpc-openstack.atlassian.net/wiki/spaces/RE/pages/19005457/RE+for+Projects for more details.
Issue: RO-3093

This patch should resolve the artifact build failures due to the python-ldap incompatibilities.


Complete uninstall documentation missing

Proposed documentation enhancement
For installations on linux using "sh ./MNE-Python-1.6.1_0-Linux.sh", there is no documentation to uninstall the application completely. doing "pip uninstall men" only removes the package and not the conda environment auto created.

Cross-ref https://github.com/mne-tools/mne-installers/issues/89
The short version is that deleting the installation directory, possibly modifying your .bashrc (or equivalent for your shell), and deleting some ~/.local/share/applications/mne-python-*.desktop files should do it.

... but yes +1 for adding this to https://github.com/mne-tools/mne-python/blob/main/doc/install/installers.rst which renders to https://mne.tools/dev/install/installers.html#installers


Moment-jalali.js having month names with wrong spelling names

Hi, Moment-jalali.js having month names with wrong spelling names. fixed it with replacing after reading the value in my controller. any other options ...?

You could create an issue / raise a pull request in the moment-jalaali project.

thanks ashsearle :)


Adds Dev Container Configuration

Thank you for submitting this pull request! We appreciate you spending the time to work on these changes.
What is the motivation?
Makes it easier to start contributing to the project. The steps for setting up the development environment are not mentioned in CONTRIBUTING.md as mentioned in #95 , so I thought it would be much easier to add this setup as well.
Type of Change

[ ] 📚 Examples / docs / tutorials / dependencies update
[ ] 🔧 Bug fix (non-breaking change which fixes an issue)
[ ] 🥂 Improvement (non-breaking change which improves an existing feature)
[X] 🚀 New feature (non-breaking change which adds functionality)
[ ] 💥 Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🔐 Security fix

What does this change do?

Adds Dev Container configuration setup for this project
Adds badge for 'Open in GitHub Codespaces'
Adds basic script for installing all pip dependencies and cargo as mentioned by @Wouterkoorn in #95

This makes it a lot easier to jump straight into development, along with clearly defined port forwarding for running any tests.
What is your testing strategy?

Is this related to any issues?

Fixes #95
Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

You can view the changes yourself in the codespace by clicking on the Code button on the top-right.


transaction @question

How to do batch operations or transactions?
Shall I just concatenate query strings?

nevermind, https://github.com/influxdb/influxdb-ruby/blob/master/lib/influxdb/client.rb#L152


Missing response parameters in SDK RDS v3 flavor.py

Need to update SKD  RDS v3 flavor.py
https://github.com/opentelekomcloud/python-otcextensions/blob/master/otcextensions/sdk/rds/v3/flavor.py
Response parameter of the SDK does not provide all parameters as API response do. Especially "group_type" is missing.
API response:

SDK response:

fix in https://github.com/opentelekomcloud/python-otcextensions/pull/471

I can confirm that the issue was fixed.  Thanks for the support.

closing this issue now. Thanks.


/external-site/ is receiving common.js, but is not a full page.

Current behavior

/external-site/ is receiving common.js, but is not like the other pages since it doesn't have a header and footer.

Expected behavior

/external-site/ should not receive common.js or should have a global header and footer like the rest of the site.

Steps to replicate behavior

visit /external-site/ and check the JS console. Find an error.

Screenshots
Current

Expected
Should not have JS errors.

This has been fixed.


Import core go libraries from anywhere

We need to make our go libraries importable from anywhere.

This is already part of #466


Is it possible to create a non-rectangular shape from a rectangular image? Or join rectangular images together at a slant?

Question about an existing feature
What are you trying to achieve?
I am trying to create a larger, rectangular image that is a composite of 5 images. The images appear as slanted parallelograms when they are joined together.
My initial thinking was to "extract" a parallelogram for each of the 5 and then join the 5 together. But I am not sure the best way to achieve this and if it's even possible with sharp.
When you searched for similar issues, what did you find that might be related?
I did not find anything that seemed related.
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this question
Not sure what to put here.

This is essentially the effect that I am trying to achieve, but starting with typical rectangular images for each individual

Hi, have you considered the use of SVG as a way of building such an image?

Would your recommendation to be turn each individual photo into an SVG
and then combine them? Or am I missing something
On August 13, 2022, Cosma Damiano Trimboli @.***>
wrote:

Hi, have you considered the use of SVG as a way of building such an
image?

—
Reply to this email directly, view it on GitHub
https://github.com/lovell/sharp/issues/3329#issuecomment-1214246961,
or unsubscribe <https://github.com/notifications/unsubscribe-
auth/AUEC7J56R42DYTBPSQZ4RADVZAWZVANCNFSM56BLSGJA>.
You are receiving this because you authored the thread.Message ID:
@.***>

You should be able to do this in a single SVG file. Perhaps try embedding base64-encoded images and apply a clipPath containing the parallelogram shape to them.
<image xlink:href="data:image/jpeg;base64,..." clip-path="..." />

https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath

I hope this information helped. Please feel free to re-open with more details if further assistance is required.


CMS_PLACEHOLDER_CONF[‘template placeholder’]['name'] seems to be ignored in 3.4.x (worked in 3.3.x)

Hey there...
after updating to 3.4.2 from 3.3.x the follwing pattern doesnt result in displaying the given name in dragbar.html.
CMS_PLACEHOLDER_CONF[‘template placeholder’]: {
'name': u 'some name',
},
I couldn't find any recent changes causing this but follwing the request for the placeholder label it appears to me that the template name is not being passed as needed:

Render the dragbar
https://github.com/divio/django-cms/blob/release/3.4.x/cms/templates/cms/toolbar/dragbar.html#L27

Call for the placeholder label (no mention of the template!!!)
https://github.com/divio/django-cms/blob/release/3.4.x/cms/models/placeholdermodel.py#L71

Here the template name would be required but isn't passed in step 2.
https://github.com/divio/django-cms/blob/release/3.4.x/cms/utils/placeholder.py#L37

After reverting back to 3.3.2 the get_label method passes the template name!!!!!
def get_label(self):
        from cms.utils.placeholder import get_placeholder_conf
        if self.page:
            template = self.page.get_template()
        else:
            template = None
        name = get_placeholder_conf("name", self.slot, template=template, default=title(self.slot))
        name = _(name)
        return name

Somehow this fix got lost
ISSUE: https://github.com/divio/django-cms/issues/5492

Ouch.. looks like it never got forward ported to 3.4.x https://github.com/divio/django-cms/pull/5534#issuecomment-232064769 /cc @yakky.
Thanks for reporting, I'm pushing the fix now.

Fixed by https://github.com/divio/django-cms/pull/5877


Composition documentation

Compositions open up the possibility to create advanced OpenWhisk actions and help in code re-use throughout a project. Getting is to work with wskdeploy is not completely straightforward so it would be good to have documentation on the subject. In particular, this should include:

conductor actions
composer actions and the composer compile step
composition + HTTP response to bring it all together with #975

Hi @brunogirin - I'm just wondering what the blocker is to make a PR against this repo containing the documentation you wrote in your fork.  When I skimmed through it, it seemed like it'd be a good addition to the official docs (esp since it clarified how to use the conductor key as opposed to me having to look around in issues and prs to figure out it existed and how to make it work).

Hi @Amndeep7 if I remember correctly (it was more than 2 years ago so I'm not sure anymore), I was thinking of adding more stuff to it. However, if what is there already is useful, I'm happy to file a PR to get things moving.

@brunogirin "Perfect is the enemy of good" and all that - I think getting at least something on to the documentation site is better than the nothing that exists atm.

@Amndeep7 OK I'll have a look when I have the time.


Fix bugbash SQL-Migration extension migration load issues

This PR fixes:

spelling error view service menu
use MigrationStatus and ProvisionState enums
add more and refactor dialog error notifications
allow migration cancel for more migration states
handle undefined migration sessionId causing runtime errors in telemetry calls and content load failures
add migration azureAccount isStale validation and refresh logic to allow migrations to refresh azure credentials when the migration is loading state and the cached credential is stale/invalid blocking the migration context refresh.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
26385

Relevant Lines:
57354

💛  - Coveralls


[#5639] Refactor Agent-channel

Codecov Report

Merging #5664 into master will increase coverage by <.01%.
The diff coverage is 10.52%.

@@            Coverage Diff             @@
##           master    #5664      +/-   ##
==========================================
+ Coverage   40.56%   40.56%   +<.01%
==========================================
  Files        2902     2905       +3
  Lines       87342    87358      +16
  Branches    11550    11550
==========================================
+ Hits        35426    35433       +7
- Misses      48837    48844       +7
- Partials     3079     3081       +2

Impacted Files
Coverage Δ

...collector/receiver/grpc/ShutdownEventListener.java
0% <0%> (ø)

...oint/profiler/sender/grpc/AgentGrpcDataSender.java
0% <0%> (ø)
:arrow_up:

...nt/collector/receiver/grpc/GrpcServerResponse.java
0% <0%> (ø)
:arrow_up:

...llector/receiver/grpc/service/MetadataService.java
0% <0%> (ø)

...lector/receiver/grpc/service/KeepAliveService.java
13.72% <0%> (ø)
:arrow_up:

.../receiver/grpc/service/AgentLifecycleListener.java
18.75% <12.5%> (-1.25%)
:arrow_down:

.../receiver/grpc/service/RequestResponseAdaptor.java
30.76% <30.76%> (ø)

.../collector/receiver/grpc/service/AgentService.java
18.18% <50%> (+13.3%)
:arrow_up:

...rc/main/java/com/navercorp/pinpoint/test/Item.java
70% <0%> (-3.34%)
:arrow_down:

...vercorp/pinpoint/web/vo/ApplicationAgentsList.java
66.66% <0%> (-2.57%)
:arrow_down:

... and 8 more

Continue to review full report at Codecov.

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


Sub-Menu options can't be selected in Chrome

Hi,
In Chrome, navigating to the hamburger menu > Export > Terraform the "Local Zip" and "Git" options appear detached from the menu and cannot be easily accessed.
In Safari the sub-menu is initially detached from the main menu and then connects to the main menu allowing the options to be easily selected.
I'm using V0.24.0 (7th July 2021)
Thanks

@rizwanarshad1980 this is usually associated with a scroll issue and can often be resolved by maximising your browsers / closing any download information / zooming the view.
I will be working on a resolution to this issue although I have never managed to reproduce it.

@toxophilist - thanks - maximising the browser does resolve the problem

@rizwanarshad1980 I added some adjustment to the 0.25.0 release to remove scrollbar width from placement so hopefully this should resolve the issue.


Dark mode css?

Greetings... This component has been lovely to use, thank you for building it.
For adding dark-mode shadowing to my app (lighter shadows), I've tried the usual @media (prefers-color-scheme: dark) { ... } css, trying on both the component and the
 element it's applied to, and I haven't stumbled on the right combination.
Do you have any recommendation?

Hi @galtenberg,
I‘m glad to hear that the component is useful for you, and thanks for your question.
You can use CSS Custom Properties to change the appearance of the shadows. You could copy the default values and adjust them so that the shadows look good with the dark scheme colors of your app. Any valid background-image value should work for the shadow custom properties.
Here is an example using the default appearance but with adapted linear color stop, rgba(255,255,255,.2):
@media (prefers-color-scheme: dark) {
  :root {
    --scroll-shadow-top: radial-gradient(farthest-side at 50% 0%, rgba(255,255,255,.2), rgba(0,0,0,0));
    --scroll-shadow-bottom: radial-gradient(farthest-side at 50% 100%, rgba(255,255,255,.2), rgba(0,0,0,0));
    --scroll-shadow-left: radial-gradient(farthest-side at 0%, rgba(255,255,255,.2), rgba(0,0,0,0));
    --scroll-shadow-right: radial-gradient(farthest-side at 100%, rgba(255,255,255,.2), rgba(0,0,0,0));
  }

  .container {
    background: #021d1c;
    color: #efefef;
    /* ... */
  }
}

<scroll-shadow>

Content

</scroll-shadow>

Note: The custom properties need to be applied to the scroll-shadow element, and not to the actual scrolling/overflowing child element. In the above example, instead of :root {  }, you could also use the scroll-shadow {} selector to set them, but not .container {  }.
Of course, the right color combination depends on the dark scheme colors of your app, so when taking the above example you might need to adjust the color stop value in order that it looks good for your use case. I hope that helps!

@ingmarh Thank you so much for the reply –
My issue was actually that I believe the variables can only be set once. This wasn't working:
scroll-shadow {
  --scroll-shadow-top: radial-gradient(farthest-side at 50% 0%, rgba(0,0,0,.2), rgba(0,0,0,0));
  --scroll-shadow-bottom: radial-gradient(farthest-side at 50% 100%, rgba(0,0,0,.2), rgba(0,0,0,0));
  --scroll-shadow-left: radial-gradient(farthest-side at 0%, rgba(0,0,0,0), rgba(0,0,0,0));
  --scroll-shadow-right: radial-gradient(farthest-side at 100%, rgba(0,0,0,0), rgba(0,0,0,0));
}

@media (prefers-color-scheme: dark) {
  scroll-shadow {
    --scroll-shadow-top: radial-gradient(farthest-side at 50% 0%, rgba(255,255,255,.2), rgba(0,0,0,0));
    --scroll-shadow-bottom: radial-gradient(farthest-side at 50% 100%, rgba(255,255,255,.2), rgba(0,0,0,0));
    --scroll-shadow-left: radial-gradient(farthest-side at 0%, rgba(255,255,255,.2), rgba(0,0,0,0));
    --scroll-shadow-right: radial-gradient(farthest-side at 100%, rgba(255,255,255,.2), rgba(0,0,0,0));
  }
}

The dark mode settings were never used.
After your post here, an obvious solution came to mind:
@media (prefers-color-scheme: light) {
  scroll-shadow {
    --scroll-shadow-top: radial-gradient(farthest-side at 50% 0%, rgba(0,0,0,.2), rgba(0,0,0,0));
    --scroll-shadow-bottom: radial-gradient(farthest-side at 50% 100%, rgba(0,0,0,.2), rgba(0,0,0,0));
    --scroll-shadow-left: radial-gradient(farthest-side at 0%, rgba(0,0,0,0), rgba(0,0,0,0));
    --scroll-shadow-right: radial-gradient(farthest-side at 100%, rgba(0,0,0,0), rgba(0,0,0,0));
  }
}

@media (prefers-color-scheme: dark) {
  scroll-shadow {
    --scroll-shadow-top: radial-gradient(farthest-side at 50% 0%, rgba(255,255,255,.2), rgba(0,0,0,0));
    --scroll-shadow-bottom: radial-gradient(farthest-side at 50% 100%, rgba(255,255,255,.2), rgba(0,0,0,0));
    --scroll-shadow-left: radial-gradient(farthest-side at 0%, rgba(255,255,255,.2), rgba(0,0,0,0));
    --scroll-shadow-right: radial-gradient(farthest-side at 100%, rgba(255,255,255,.2), rgba(0,0,0,0));
  }
}

😄 Which works just fine.

I see!
Actually, your first example should also work (just tested it to be sure). Could it be that the order of the rulesets were swapped when the styles are loaded in the browser? If the media query ruleset is not last, then the other ruleset wins for dark mode. It should not matter if you only overwrite for dark mode and leave the component default styles for light mode. Then, you could omit the light mode ruleset–for example:
@media (prefers-color-scheme: dark) {
  scroll-shadow {
    --scroll-shadow-top: radial-gradient(farthest-side at 50% 0%, rgba(255,255,255,.2), rgba(0,0,0,0));
    --scroll-shadow-bottom: radial-gradient(farthest-side at 50% 100%, rgba(255,255,255,.2), rgba(0,0,0,0));
    --scroll-shadow-left: radial-gradient(farthest-side at 0%, rgba(255,255,255,.2), rgba(0,0,0,0));
    --scroll-shadow-right: radial-gradient(farthest-side at 100%, rgba(255,255,255,.2), rgba(0,0,0,0));
  }
}

In any case, good that you found a solution for your use case. 👍


Keeps saying can't connect to the server

After the 2.8 update when i try to run cultivation it keeps saying "Failed to parse response: missing field bg_file at line 1 column 304904" in the cmd.

That message is fine and doesn't mean anything, 2.8 is currently not supported though. There is currently a draft PR open to implement the new changes.

And if you are not comfortable with compiling stuff yourself and patching stuff in the game files, I advise you to just wait for Cultivation to update Grasscutter

That message is fine and doesn't mean anything, 2.8 is currently not supported though. There is currently a draft PR open to implement the new changes.

Oh i see. Thank you. Does it mean i can still play if i have a copy of the 2.7 gamefiles?

Yep, you can still play just fine on 2.7


image-rs failing to pull "quay.io/opendatahub/caikit-tgis-serving@sha256:794adc22d52cb3ac4b5aadfb286e8431cca829acdc4909719329cf8c4fabb4ec

Error from kata-agent received
{"msg":"pull and unpack image \"quay.io/opendatahub/caikit-tgis-serving@sha256:794adc22d52cb3ac4b5aadfb286e8431cca829acdc4909719329cf8c4fabb4ec\", cid: \"5a1ef1382aff765c8778051da2cf054bfca0b9ce587cb4eba3ce5375fc26d3d1\", with image-rs failed with \"failed to handle layer: hasher sha256: failed to unpack `/run/image/layers/sha256_32ad89a311d48e8bc1ba4bb05b1eedf2039cadb01c67494ee6c4c8a3e1e7931a/opt/miniconda/pkgs/boltons-23.0.0-py39h06a4308_0/lib/python3.9/site-packages/boltons-23.0.0.dist-info/INSTALLER`\\n\\nCaused by:\\n    No such file or directory (os error 2) while canonicalizing

Ran the test test_pull_image with the image, and following is the trace output:
---- image::tests::test_pull_image stdout ----
Got error on function call attempt 0. Will retry in 1s: failed to handle layer: hasher sha256: channel: read failed Custom { kind: Other, error: reqwest::Error { kind: Body, source: hyper::Error(Body, Error { kind: Reset(StreamId(11), INTERNAL_ERROR, Remote) }) } }
Got error on function call attempt 1. Will retry in 1s: failed to handle layer: hasher sha256: channel: read failed Custom { kind: Other, error: reqwest::Error { kind: Body, source: hyper::Error(Body, Error { kind: Reset(StreamId(11), PROTOCOL_ERROR, Remote) }) } }
Got error on function call attempt 2. Will retry in 1s: failed to handle layer: hasher sha256: channel: read failed Custom { kind: Other, error: reqwest::Error { kind: Body, source: hyper::Error(Body, Error { kind: Reset(StreamId(11), INTERNAL_ERROR, Remote) }) } }
Got error on function call attempt 3. Will retry in 1s: failed to handle layer: hasher sha256: channel: read failed Custom { kind: Other, error: reqwest::Error { kind: Body, source: hyper::Error(Body, Error { kind: Reset(StreamId(11), PROTOCOL_ERROR, Remote) }) } }
Got error on function call attempt 4. Will retry in 1s: failed to handle layer: hasher sha256: channel: read failed Custom { kind: Other, error: reqwest::Error { kind: Body, source: hyper::Error(Body, Error { kind: Reset(StreamId(11), PROTOCOL_ERROR, Remote) }) } }
thread 'image::tests::test_pull_image' panicked at 'Function did not return Ok after retries: last_err Some(failed to handle layer: hasher sha256: channel: read failed Custom { kind: Other, error: reqwest::Error { kind: Body, source: hyper::Error(Body, Error { kind: Reset(StreamId(11), PROTOCOL_ERROR, Remote) }) } })', image-rs/src/image.rs:542:13
stack backtrace:
   0: rust_begin_unwind
             at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:593:5
   1: core::panicking::panic_fmt
             at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/panicking.rs:67:14
   2: image_rs::image::tests::test_pull_image::{{closure}}
             at ./src/image.rs:542:13
   3: <core::pin::Pin<P> as core::future::future::Future>::poll
             at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/future/future.rs:125:9
   4: <core::pin::Pin<P> as core::future::future::Future>::poll
             at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/future/future.rs:125:9
   5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
             at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.32.0/src/runtime/scheduler/current_thread/mod.rs:665:57
   6: tokio::runtime::coop::with_budget
             at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.32.0/src/runtime/coop.rs:107:5
   7: tokio::runtime::coop::budget
             at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.32.0/src/runtime/coop.rs:73:5

cc @arronwy @Xynnn007

@bpradipt Insufficient memory may cause this error.

@bpradipt Insufficient guest memory may cause this error.

That was our first guest, but memory was significant in the environment. Also creating a new image worked. So something specific with handling of this image.

This can be pulled w/o error now. I just test locally


.xcworkspace warning to avoid breaking CocoaPods

Fixes #273 - “library not found for -lPods-iosApp-j2objc-shared”

@confile, @advayDev1 - PTAL

comment + LGTM

LGTM