migrating from Travis to GitHub Actions

Do we want to migrate from Travis to GitHub Actions? If so, I am happy to do the work. I converted Luca's pipeline to run with all of the same coverage metrics for my repositories and am happy to do the same for this repo (examples here and here).
Given the permissions needed to make transformation, I'd likely need to do some of the work with @pnrobinson, but now that I have done the conversion on a few repos it should be pretty painless!

Not that familiar with GitHub actions, does it do about the same thing as Travis? After a quick glance at PheKnowLator it does look powerful

It provides a nice free alternative to Travis since it's now moved to being a paid service. I have tried to configure it to shadow @LucaCappelletti94's original Travis configuration, so you shouldn't notice any feature loss. I am really loving it for how easy it is to build in other functionality (e.g. deploying containers and integration with cloud-based storage services) and it seems to run faster than Travis did (at least for my repos).

Good idea Tiffany - I did the conversion from Travis to GH actions to run
unit tests and linters for KG-COVID-19 and NEAT, I might be able to help a
bit too.
Not sure if I’m admin on Embiggen, but if not yeah we’d need Peter or
someone else with admin to help
On Tue, Dec 29, 2020 at 08:59 Peter Robinson<EMAIL_ADDRESS>wrote:

Not that familiar with GitHub actions, does it do about the same thing as
Travis? After a quick glance at PheKnowLator it does look powerful
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/monarch-initiative/embiggen/issues/236#issuecomment-752159473,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABEWJ4QFRZTSWORCDMZUEDSXIDFZANCNFSM4VNL3LTA
.

--
Justin Reese, Ph.D.
Berkeley Bioinformatics Open-source Projects
Lawrence Berkeley National Laboratory
phone<PHONE_NUMBER> |<PHONE_NUMBER>

@justaddcoffee  has some experience and I have done this in some other projects. Poorly documented. We could hack on it.

I'm not terrible at github actions - maybe we can hack on this tomorrow @LucaCappelletti94

If it is helpful, I converted a very similar set-up from Tavis to GitHub Actions. You might be able to start from this.
https://github.com/callahantiff/PheKnowLator/blob/master/.github/workflows/build-qa.yml


Support client.getManifest(...) and client.getFile(...)

Create a method on the Web3API Client for fetching known manifest file types.
Some implementation details:
type ManifestFile = "web3api.yaml" | "web3api.meta.yaml" | "other..."
type ManifestType = Manifest | ... // will extend in the future when issue #207 is complete
interface GetManifestOptions {
  uri: string
  manifest: ManifestFile
}

class Web3ApiClient {
  ...
  public async getManifest(options: GetManifestOptions): Promise<Manifest> {
    const uri = new Uri(options.uri);
    const api = await this.getApi(uri);
    // TODO: need to parse return result using manifest parser, which has validation built in
    return await api.getFile(options.manifest);
  }
}

related: #207

Additionally we should add support for getFile. Here are some example use-cases for these two functions:
Get Schema
const manifest = client.getManifest({
   uri: "/ens/domain.eth",
   type: "web3api"
});

client.getFile({
   uri: "/ens/domain.eth",
   path: manifest.schema
});

Get Metadata
const manifest = client.getManifest({
   uri: "/ens/domain.eth",
   type: "meta"
});

const exampleQuery = client.getFile({
   uri: "/ens/domain.eth",
   path: manifest.queries...
});

Does client.getFile(...) need to be implemented for plugins?


Expand echo_current_song setting

Currently "echo_current_song" only allows for true/false.
It would be good if it had something like "commands_only" meaning that it will echo if it's the result of a command in chat (e.g. !skip), but it won't echo by itself at the end of a track.

This one is a bit more involved since the current notification flow is asynchronous. I.e. the playback component is unaware of what causes certain commands to be sent to it.

Obsolete.


Add BepInEx as a dependency in manifest

While for modpacks its not noticeable, if the mod is installed alone a lot of people will just think its broken when it doesnt load with no error message

fixed


Several tools require seekable event sources

I think this is unecessary.
This tools should simply check if an event source is seekable or not, and then either provide or not provide the possibility to go backwards.

see #1076  - they should still be able to forward-seek, I think. Backward is optional.

In the case of a source that can't seek backward, a GUI could for example just disable the "back event" button, or implement a local event buffer if it's needed.


Exported properties of parent class not showing on derived class in editor

Tested versions
4.3 modules
System information
Windows 10, godot 4.3, RTX3070TI
Issue description
Class A, class B inherits A:
Class A exported properties not showing in Class B in the editor (C++ modules)
Steps to reproduce
Create a class A.
create a class B that inherits from A.
Export a variable in A.
Export a variable in B.
Build, go to editor, Class B doesn't have Class A exported var
Minimal reproduction project (MRP)
MRP.zip

I created modules with your provided MRP scripts, and I don't see this bug. Tested it on 4.3 and 4.4.

I created modules with your provided MRP scripts, and I don't see this bug. Tested it on 4.3 and 4.4.

Thank you for the response, I tested again in 4.3

Is there anything I can do to help test this or provide info or anything?

That's really interesting. Two things that might be helpful to make sure that we have the same setup is A) the exact command you're using to compile Godot and B) A zip containing all of the files in your custom module folder.


Docker

Docker image builds from GH repo. Runs gradlew. Installs node + npm modules for UI

Caught this in the compose logs, looks like there is something wrong with my elastic configuration:
conductor_1      | 8560 [main] ERROR com.netflix.conductor.server.ConductorServer  - Error starting embedded elasticsearch.  Search functionality will be impacted: file:/conductor-server-1.6.0-SNAPSHOT-all.jar!/es_template.json.
If anything jumps out at you as to what I configured wrong, please let me know. Does this impact the use of dynomite? I will be taking a closer look at it tomorrow

Now that elasticsearch is not falling back to the in-memory instance, I am seeing an issue connecting to dynomite. startup.sh waits for the dynomite machine to be up and the port 22122 to be open on it before starting the server. I assume I have some configuration wrong here as well.
Docker output:
conductor_1      | com.netflix.dyno.connectionpool.exception.DynoConnectException: DynoConnectException: [host=Host [hostname=UNKNOWN, ipAddress=UNKNOWN, port=0, rack: UNKNOWN, datacenter: UNKNOW, status: Down], latency=0(0), attempts=0]Unable to make ANY successful connections to host Host [hostname=dynomite, ipAddress=null, port=8102, rack: a, datacenter: , status: Up]

API Response:
{
 "code": "INTERNAL_ERROR",
 "message": "INTERNAL_ERROR - PoolOfflineException: [host=Host [hostname=UNKNOWN, ipAddress=UNKNOWN, port=0, rack: UNKNOWN, datacenter: UNKNOW, status: Down], latency=0(0), attempts=0]host pool is offline and no Racks available for fallback",
 "instance": "f83f92150c88"
}

I have the docker compose working with bit of changes in Conductor's compose configuration and Docker image for dynomite.    Let me merge this PR and apply changes on top of it to get it working.

@v1r3n Thanks, let me know if there is anything further you need from me WRT these changes. I may open and begin working on a few docker related enhancements I came across when writing this (using published jar, separating conductor server and ui into 2 containers, separating layers for better local caching/building)

@jcantosz Thanks for the PR, I am going to setup a pipeline that will do automatic publishing to Docker hub for each release.
Separate docker file for UI a good idea, UI connects to the workflow server running on env variable WF_SERVER.  Other than that  no other configs are required.
One more thing, if you are interested is to make the server module expose more jetty fine grained control for a production ready deployment.  I have some ideas, maybe we can start a project  and discuss on that.  But in the meantime, separate containers is a good one.

@v1r3n Great, I'll get started on UI/backend split. Thanks for letting me know about the env config.
Yeah, I'd like to hear what you are thinking for jetty configuration, lets take a look at that after this is completed.


Fix: ASB-2249 - Problem displaying Projects in withdrawn stage

Describe your changes
https://pins-ds.atlassian.net/browse/ASB-2249?atlOrigin=eyJpIjoiZjY2MzQ5MGRhNjI2NDE0MWFkOGI1YWU2OTlmNTNkZmQiLCJwIjoiaiJ9
Type of change 🧩

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[x] I have performed a self-review of my own code
[x] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[ ] I have referenced the ticket number above
[ ] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

:tada: This PR is included in version 1.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.17.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.22.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Use of wrong domain in Response Access-Control-Allow-Origin header

Request type

[x] Correction or update

Page to change
If this request relates to an existing article, please give its URL:
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
Details
Please describe the change you are requesting. If you know of technical experts who can review the change, please mention them.
This is a simple issue but it could be confusing for people trying to understand how CORS works.
The Access-Control-Allow-Origin should return the value of the Origin header in the preflight request for a successful authorized response as meant in this example.
You state the following only a few paragraphs before this image:
"Note that now, no domain other than http://foo.example (identified by the ORIGIN: header in the request, as in line 10 above) can access the resource in a cross-site manner. The Access-Control-Allow-Origin header should contain the value that was sent in the request's Origin header."
Related issues
If this request relates to other issues in Bugzilla or GitHub, please provide links:
I couldn't find any reports of this issue.
BTW, Love MDN guys!

This issue was posted some time ago, and it is quite possible that this was fixed in the interim.  As is it looks now I do not see any problem with the document with respect to the use of the Origin and Access-Control-Allow-Origin headers (though I did make some minor modifications to make it even more clear).
Essentially the first example first shows a simple case where the allowed origin returned is a wildcard, but at that point explains that you can instead return the domain IFF you want to restrict access. It also points to the fact that you have to set a real domain if you want to use "credentials" (and links to the appropriate sections).
Later one, when we return an actual domain this is noted.
I'll mark this as closed. If you disagree, could you please reopen this issue and make the modifications you think are necessary (we can then review!).
Thanks!


Point to the official conan recipe repo

The original gregmedd/up-conan-recipes repo has been deprecated.
Fixes #163

Forgive me: this is preventing other PRs from progressing, so I'm going to merge it without further review. It's a very small change.


Asset compilation fails on require('moment')

In the project I use number of JS plugins dependent on moment.js library. Some of them (e.g. Pikaday, Angular datepicker or Bootstrap daterangepicker) try to load moment.js module with requireJS using the following code
require('moment')
Since Grails Asset Pipeline 2.10.0 this particular code causes that my build fails with error:
Execution failed for task ':Consult:assetCompile'.
> Cannot cast object '[Digest Input Stream] MD5 Message Digest from SUN, <initialized>
  ' with class 'java.security.DigestInputStream' to class 'java.io.ByteArrayInputStream'

Everything works fine with asset pipeline version 2.9.5 and older. Also other uses of require function in JS code - e.g. require('jquery') - do not cause any issues.

Use latest 2.11.6
Sent from my iPhone

On Nov 10, 2016, at 5:25 AM, Pawel<EMAIL_ADDRESS>wrote:
In the project I use number of JS plugins dependent on moment.js library. Some of them (e.g. Pikaday, Angular datepicker or Bootstrap daterangepicker) try to load moment.js module with requireJS using the following code
require('moment')
Since Grails Asset Pipeline 2.10.0 this particular code causes that my build fails with error:
Execution failed for task ':Consult:assetCompile'.

Cannot cast object '[Digest Input Stream] MD5 Message Digest from SUN,
' with class 'java.security.DigestInputStream' to class 'java.io.ByteArrayInputStream'
Everything works fine with asset pipeline version 2.9.5 and older. Also other uses of require function in JS code - e.g. require('jquery') - do not cause any issues.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I'm using 2.11.6 and mine fails too:
Execution failed for task ':assetCompile'.

Cannot cast object '[Digest Input Stream] MD5 Message Digest from SUN,
' with class 'java.security.DigestInputStream' to class 'java.io.ByteArrayInputStream'


refactor(CategoryTheory): simplicial categories are generalized to enriched "ordinary" categories

The API for simplicial categories is refactored. It fits more generally in the context of ordinary categories C (a type C and an instance [Category C]) that are also enriched over a monoidal category V (EnrichedCategory V C) in such a way that types of morphisms in C identify to types of morphisms 𝟙_ V ⟶ (X ⟶[V] Y) in V. This defines a new class EnrichedOrdinaryCategory, and SimplicialCategory is made an abbreviation for the particular case V is the category of simplicial sets.

Ok, fair enough. Thanks!
maintainer merge

bors merge


Can not parse row data with a “SHIFT_JIS” SAS file.

Hi contributors:
I found my SAS file was not parsed correctly under "SHIFT_JIS" encoding.
This file seems has the compression method "SASYZCRL" however under this encoding the method name can not be recognized correctly. (The currengPageType is 0 so the subheader count is required not equal to 0.)

However , overriding "UTF-8" encoding to it I can import row data:
SasFileReaderImpl sasFileReader = new SasFileReaderImpl(fis, "UTF-8");
I found the compression method substring is correct.

By assigning "UTF-8" encoding I can import row data:
SasFileReaderImpl sasFileReader = new SasFileReaderImpl(fis, "UTF-8");
But I am still confused about the reason.

@printsev  @TimurMikhaliov
Could you please help to take a look? Thanks.

Hi @nixiejun  -- would it be possible for you to share the source file? Then we would be able to take a look. Thanks.

we cannot do much here unfortunately without the data set so I'm putting the "nodataset" label to the issue

Here are some datasets for this.  I haven't got time to look into the issue more closely, but hopefully this is helpful to others.
charset-sjis.zip

This issue can be marked again as "nodataset".
Provided "charset-sjis.zip" contains a copy of existing file "https://github.com/epam/parso/blob/master/src/test/resources/sas7bdat/charset_sjis.sas7bdat", and Parso successfully reads it.
As I see, the problem reported by @nixiejun is in a combination of SASYZCRL compression and SHIFT_JIS encoding (looks like compression method name is broken in a first character after the parsing).

It is not correct to check compression method using String.contains() method over the header bytes converter to a multibyte string. Octets, related to different things, combined together and then converted to a multibyte string may form unpredictable characters.
See:
new String(new byte[]{-104, 'S', 'A', 'S', 'Y', 'Z', 'C', 'R', 'L'}, "Shift_JIS").contains("SASYZCRL"); //false for "牢ASYZCRL"
new String(new byte[]{-104, 'S', 'A', 'S', 'Y', 'Z', 'C', 'R', 'L'}, "UTF-8").contains("SASYZCRL"); //true for "�SASYZCRL"
new String(new byte[]{-104, 'S', 'A', 'S', 'Y', 'Z', 'C', 'R', 'L'}, "US-ASCII").contains("SASYZCRL"); //true for "�SASYZCRL"

So, the compression method like any other fields should be extracted from an explicit position.

closed thanks to xantorohara


Add wiki page on how to translate

I have a crowdin setup here: https://crowdin.com/project/lethal-company-modding-wiki
In the past I've done the majority of translation work in discord, but there's no reason there can't be a wiki page detailing the basics of how to get started with translation

added in #13


iced_web

Is your issue REALLY a bug?

[X] My issue is indeed a bug!
[X] I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.

Is there an existing issue for this?

[X] I have searched the existing issues.

Is this issue related to iced?

[X] My hardware is compatible and my graphics drivers are up-to-date.

What happened?
https://github.com/iced-rs/iced_web gets referenced from main README but is archived.
I think it deserves a comment even more that iced-rs/* is common Github account about the why even if its only a small issue somewhere which can be found
What is the expected behavior?
Status should be clarified in README.md. https://github.com/iced-rs/iced?tab=readme-ov-file -> search for "A web runtime"
Version
crates.io release
Operating System
Windows
Do you have any log output?
x

I am also curious about this. Just from clicking around the website and README, it's not clear what the state of WASM support is. Not complaining either way, but a little clarity (or removal of the links) I think could save people some time.

yes, please add some documentation regarding web

yes, please add some documentation regarding web

The iced_web repository is out of date and unmaintained as of today.
But it is still possible to run iced with wasm on the web. The current way is to simply render the application into a canvas.
If you want to know how you can do that, I put this guide together that explains the brief steps. https://jl710.github.io/iced-guide/wasm/wasm.html


Documentation for specifying custom atlas or parcellation?

I assumed from ndmg documentation that structural connectomes can be created using many pre-defined atlases. However, the README doesn't mention how to specify location of an atlas as an input.

Hi! We currently support 24 parcellations within the container, including
many of the popular ones distributed with tools like FSL, but the BIDs app
doesn't allow users to specify other parcellations - this is done so that
we can ensure the quality of the parcellations used, and users won't
accidentally use atlases that are not aligned to the MNI152 space.
If you want to send me your atlas I can test it, ensure it aligns, and
integrate it into the pipeline.
Alternatively, if you bypass the entrypoint in this container and run the
pipeline directly, without the BIDS directory crawling, I can help you use
your own parcellation. This solution is much uglier and more annoying to
parallellize, so I suggest the former.
Let me know how you'd like to proceed!
Greg
--
Greg Kiar<EMAIL_ADDRESS>On Thu, Aug 31, 2017 at 8:58 AM, mnarayan<EMAIL_ADDRESS>wrote:

I assumed from ndmg documentation that structural connectomes can be
created using many pre-defined atlases. However, the README doesn't mention
how to specify location of an atlas as an input.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BIDS-Apps/ndmg/issues/13, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEqDWAChyBXSE9fluxfiyMmWo4WeD_8jks5sdtg2gaJpZM4PJDG2
.

Hi Greg,
Does ndmg produce outputs for all 24 parcellations by default? I just assumed there would be an option to choose some subset of them (and/or specify a custom one) but the predefined ones should suffice for me.
Thanks,
Manjari

Yup - all connectomes will be generated automatically :) They range from ~48 to ~72,000 nodes. Please close the issue if you're happy, and let me know if you have more questions!

As a shameless plug I just mention that you can run ndmg in the cloud for free on your data using http://OpenNeuro.org. Here's ana example output with all 24 parcellations: https://openneuro.org/datasets/ds000108/versions/3030303130382d3030303031?app=ndmg&version=14


Remove deadcode

And add linters to prevent new commits leaving dead code around.

Codecov Report

Merging #1751 into master will increase coverage by 0.24%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1751      +/-   ##
==========================================
+ Coverage   48.58%   48.82%   +0.24%
==========================================
  Files          28       28
  Lines        4250     4229      -21
==========================================
  Hits         2065     2065
+ Misses       1750     1729      -21
  Partials      435      435

Impacted Files
Coverage Δ

fs/diff_unix.go
51.61% <ø> (+16.83%)
:arrow_up:

metadata/buckets.go
56% <ø> (ø)
:arrow_up:

snapshot/overlay/overlay.go
47.4% <ø> (ø)
:arrow_up:

metadata/snapshot.go
49.62% <ø> (+0.55%)
: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 f9933e9...bade4d0. Read the comment docs.

Overall I think this is good.  There is no need to keep deadcode around and we use source control to always get back what we need later.  No reason to be on the next episode of hoarders.

LGTM

Thanks for the review @darrenstahlmsft

Rebase, pls.

Rebased, and removed a couple more unused functions that were found after the rebase

LGTM


float value to int conversion errror

Hi. The Backend died on this:
Should be easy to fix.
2023-08-08 15:38:48 DEBUG Recieved checksum:0x32 Calced checksum: 0x32
2023-08-08 15:38:48 DEBUG Backend: Calc data from stats data frame
2023-08-08 15:38:48 INFO Backend: Performing get state http-request
2023-08-08 15:38:48 DEBUG Calced checksumme: 0x13
2023-08-08 15:38:48 DEBUG Encryption: true
2023-08-08 15:38:48 DEBUG Data to be send: M`7_8<%=?
2023-08-08 15:38:48 DEBUG Starting new HTTP connection (1): <IP_ADDRESS>:80
2023-08-08 15:38:50 DEBUG http://<IP_ADDRESS>:80 "POST / HTTP/1.1" 200 0
2023-08-08 15:38:50 DEBUG Status code: 200
2023-08-08 15:38:50 DEBUG Content:
2023-08-08 15:38:50 WARNING Backend: HTTP request for state delivered implausible string
2023-08-08 15:38:50 INFO Backend: Try initial HTTP request
2023-08-08 15:38:50 DEBUG Calced checksumme: 0x16
2023-08-08 15:38:50 DEBUG Data to be send: AT+V,0x16
2023-08-08 15:38:50 DEBUG Starting new HTTP connection (1): <IP_ADDRESS>:80
2023-08-08 15:38:51 DEBUG http://<IP_ADDRESS>:80 "POST / HTTP/1.1" 200 185
2023-08-08 15:38:51 DEBUG Status code: 200
2023-08-08 15:38:51 DEBUG Content: S,24.27,-1.34,6.77,-1.11,1,1,1764,4.98,9,-1.23,6.50,0.04,38,0.34,27,-294138,0.00,0x6a
V,Sunray,1.0.305,1,162,Arduino Due,AM,XX,XX,51:20:31:20:38:32:54:50:31:30:33:32:32:31:30:35,0x39
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/home/pi/cassandra/CaSSAndRA/CaSSAndRA/src/backend/backendserver.py", line 28, in connect_http
connection = httpcomm.connect_http(connect_data)
File "/home/pi/cassandra/CaSSAndRA/CaSSAndRA/src/backend/comm/httpcomm.py", line 86, in connect_http
encrypt = int(reslist[3])
ValueError: invalid literal for int() with base 10: '6.77'

It's on to do list

https://github.com/EinEinfach/CaSSAndRA/commit/7ef713d53e1d31c80eeeaba2a64caef78ea4e56f


Invalidated Event(['variables']) does not refresh the variables view

My extension makes changes to variables and I can see from the debugger log in the Debug console that they are changing. However, refreshing Variables does not occur until the user interacts with the panel, for example, add watch variable or something like that. To force refresh, I tried to use InvalidatedEvent like this:
import * as vscode from "vscode";
import { DebugSession, InvalidatedEvent } from 'vscode-debugadapter';

export class SimdProvider  extends DebugSession{
    blablabla
    constructor(
        blablabla
    ) {
    super();
    blablabla
    }
    public async refresh(): Promise<void> {
        blablalba
        this.sendEvent(new InvalidatedEvent(['variables']));
}

Sending the event successfully occurs, however, has no effect.
@connor4312, @isidorn Could you help me figure out what I'm doing wrong or is it a problem with InvalidatedEvent?

Having troubles with same issue

I believe that this event should work on the adapter side, but for some reason this does not happen despite the fact that the data in the debugger does not match the data displayed in vscode.
I would really like to be able to update the data displayed in vscode.

I hacked something into js-debug, and it seems to work fine for me. vscode will only refresh if that debug session is the selected debug session. Are you getting the variables request at all?

Are you getting the variables request at all?

hmm, I haven't tried it, but I can do it if you describe what I need to do.

I got the impression that the event simply does not reach the listener, since the debugging session is not started from the extension. I think there must be some way to refer specifically to the current active debugging session.
@roblourens Could you advise me any other way to trigger an event from the extension side so that I can make sure of it?

Are you getting the variables request at all?

hmm, I haven't tried it, but I can do it if you describe what I need to do.

I just mean, does your debug adapter get a variables request from vscode after sending this event or not?

@roblourens I'll try to show by example:
I change the state of variables with something like this:
await session.customRequest("evaluate", { expression: "-exec thread "+ newSimdLane, context: "repl"
and then I send the InvalidatedEvent.
Here is the full code of the example:
        const session = vscode.debug.activeDebugSession;

        if (session) {
            await session.customRequest("threads");
            let resStackTrace = await session.customRequest('stackTrace', { threadId: 4 })

            let frameId = resStackTrace.stackFrames[0].id;
            let resID0 = await session.customRequest('evaluate', { expression: 'id0', frameId: frameId });
            console.log(resID0.result);
            const evalresult = await session.customRequest("evaluate", { expression: "-exec thread 2.1:1", context: "repl" });

            if (evalresult.result === 'void') {
                return;
            }

            this.sendEvent(new InvalidatedEvent(['variables']));

            resStackTrace = await session.customRequest('stackTrace', { threadId: 4 })
            frameId = resStackTrace.stackFrames[0].id;
            resID0 = await session.customRequest('evaluate', { expression: 'id0', frameId: frameId });

            console.log(resID0.result);
        }

According to the logs, I see that the state has changed (it was 8 became 9), however, the event did not help to update the value in the interface:

But, for example, if I add Watch, the view will be updated:

That's my problem, I send this.sendEvent(new InvalidatedEvent(['variables'])) but nothing happens)
If you need more information, I will be happy to share it.

I thought you were implementing a debug adapter, now it sounds like you are trying to trigger a refresh from outside the debug session. debug events originate from a debug adapter, I don't think it's possible to send a fake event to the client from an extension. What does this.sendEvent actually do? How is that sending an event to the client?

The expected flow would be for the debug adapter to send this event, not for some other extension to say that something changed inside a debug session that it does not own.

@roblourens  At the very beginning, something like export class SimdProvider  extends DebugSession{ is written and I hoped that this would be enough, but obviously you are right and I am trying to report a change in the debugging session that I do not own. Is there any way to inform the debugging session about the change?

Not in general for an extension - you would have to file an issue on the debug adapter for that


MINOR: Fix broken picking for non 0 tile offsets

Codecov Report

Merging #1537 into master will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1537      +/-   ##
==========================================
- Coverage   60.61%   60.61%   -0.01%
==========================================
  Files         278      278
  Lines       24537    24541       +4
  Branches     5524     5524
==========================================
+ Hits        14874    14876       +2
- Misses       9663     9665       +2

Impacted Files
Coverage Δ

@here/harp-mapview/lib/PickHandler.ts
75.75% <100.00%> (+0.49%)
:arrow_up:

@here/harp-mapview/lib/MapView.ts
65.73% <0.00%> (-0.10%)
:arrow_down:

Continue to review full report at Codecov.

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


Added security to the API server

Why are these changes needed?
Right now API server access is completely opened. This defines the approach to secure API server and provides a very simple implementation.

Securing API server endpoint
Related issue number
Closes https://github.com/ray-project/kuberay/issues/1376
Checks

[ x] I've made sure the tests are passing.
Testing Strategy

[ x] Unit tests
[ x] Manual tests
[ ] This PR is not tested :(

@astefanutti , @z103cb , please take a look
cc: @kevin85421 , @architkulkarni

@kevin85421 I think its ready for you

@kevin85421 we'd like to have your advice / guidance where you think this could be maintained. Could this be in a dedicated repository in the ray-project organisation? I could also propose we create a ray-contrib organisation, if the former is not an option, to hosts incubating or extension projects.

cc @architkulkarni do you have any suggestions?

I don't have any special insight here but I can check with the Ray maintainers.  What's the main advantage of having the security directory in a separate repository? Sorry if I missed some of the previous discussion around this.

@kevin85421 @architkulkarni The reason for the question is that security directory contains a very simple implementation, that is easily breakable and as such should never be used in production. The point of PR is to show how the security fits in the overall API server implementation. So provided implementation is really for people to experiment with and then roll out their own implementation. We discussed that on one hand we wanted to give people something to try security with but wanted to make sure that they understand, that this is a very simple example.

This will work for me. We were looking for your suggestion on the matter

@kevin85421 @architkulkarni @blublinsky besides the maturity level of this reverse-proxy component, it's also that it's completely independent from KubeRay. Even if it would become mature enough (which is not the goal as @blublinsky stressed), it would still be as if a project like oauth2-proxy would be pull in-tree into KubeRay.
That being said, that was more to raise awareness so you guys can decide, and if you don't have any objections to having it in-tree, moving that component into an experimental folder sounds like a good compromise as @architkulkarni suggested, and this can still be revisited in the future anyway.

@kevin85421 @architkulkarni @blublinsky besides the maturity level of this reverse-proxy component, it's also that it's completely independent from KubeRay. Even if it would become mature enough (which is not the goal as @blublinsky stressed), it would still be as if a project like oauth2-proxy would be pull in-tree into KubeRay.
That being said, that was more to raise awareness so you guys can decide, and if you don't have any objections to having it in-tree, moving that component into an experimental folder sounds like a good compromise as @architkulkarni suggested, and this can still be revisited in the future anyway.

I agree with @astefanutti's comments. Using the experimental folder name is slightly better than using the security folder name. I will be fine with your decision @architkulkarni and @kevin85421.

@kevin85421 @architkulkarni, please let me know final decision and I will update the PR, which is otherwise ready to merge


feat(docker): make pull optional

:tada: This PR is included in version 4.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Tabs - rename the "visible" properties to "active"

"active" is more accurate (and consistent with the help text).  All the tabs are "visible".

Are you talking about the CSS variable names?  If so, I tend to agree.

I am not disagreeing but be aware that this would be a breaking change for consumers, we are still in v0.x.x phase so it is technically possible but the project is already being used in multiple modules... Just if a PR comes in to change it, we need to call attention to it in the release notes.

IMHO, people using a v0 product should expect breaking changes.  Better to fix it now than when it has wide spread adoption.

I don't think anyone is refuting that @X3Technology.  We just need to treat it semantically as a breaking change (because it is) and call attention to it in the release notes so that developers that are consuming these can update accordingly.
These components have been in use in production extensions for a long time now.  So, even though it is pre-v1 and many people are just now taking notice of the project, it has actually been in existence for almost three years now.  :)


Fixes #336 Do not recognise generator_stop future

Fixes #336 Do not recognise generator_stop future
Stops reporting an error for generator_stop on Python 3.5
(Meets the bar because it's a trivial fix for recent Python 3.5 additions.)

test?

:+1:


Various cleanups

Current coverage is 83.29% (diff: 100%)

Merging #840 into master will not change coverage

@@             master       #840   diff @@
==========================================
  Files            34         34
  Lines          2771       2771
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           2308       2308
  Misses          463        463
  Partials          0          0

Powered by Codecov. Last update 67b02ae...d23c184

Just saw that in the NetworkLoggerPlugin, there a non is-bool (verbose) that should be updated. Let's do that in a separate PR.

          1 Error

:no_entry_sign:
Any changes to library code need a summary in the Changelog.

          1 Warning

:warning:
Consider adding supporting documentation to this change. Documentation can be found in the docs directory.

  Generated by :no_entry_sign: danger


What is polling exactly?

Great plugin! However I struggle to understand what polling is exactly for, when to use, when not to use.
I guess it is only needed if a device works async? How to configure a normal device then, that works sync and should set the state once the command was handled e.g. with State.js?

Hi,
By default HomeKit only gets the status of any device when you access the App.  This is the closest you can get to push notifications.  I hope that helps.
TTFN,
John
Sent from Zarf’s iPad Air 2

On Aug 16, 2020, at 8:18 AM, hunhejj<EMAIL_ADDRESS>wrote:

Great plugin! However I struggle to understand what polling is exactly for, when to use, when not to use.
I guess it is only needed if a device works async? How to configure a normal device then, that works sync and should set the state once the command was handled e.g. with State.js?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Output skipped tests from qunit to xunit

Outputs skipped tests with  tag

Thanks :-) Looks like the test failure is related to your changes, could you take a look?

I'm getting several failed tests on master without my changes but no test
failures when I apply my changes to the 8.x branch
Bryan Crotaz
Silver Curve
On 19 Jul 2015, at 21:15, "Johannes Würbach"<EMAIL_ADDRESS>wrote:
Thanks :-) Looks like the test failure is related to your changes, could
you take a look?
—
Reply to this email directly or view it on GitHub
https://github.com/airportyh/testem/pull/606#issuecomment-122700427.

Interesting - on my local windows machine I get two tests failing, but Travis gets none

Thanks, could you squash your commits?

Any chance rebasing those commits?


Make it silent MSVC's trivial compilation warnings.

@Issue: https://github.com/thorvg/thorvg/issues/1381

there is also a malloc which returned value is not checked

there is also a malloc which returned value is not checked

Currently, thorvg doesn't take care of OOM.


shell-hook doesn't create the same environment variables as shell or run

Checks

[X] I have checked that this issue has not already been reported.

[X] I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example
pixi shell-hook

this gives you a list of environment variables and scripts, which don't 100% align with the code from the shell and run environments.
Issue description
We have run::get_run_env and shell::get_shell_env functions the logic in there is almost identical but this is not used in the shell-hook code. I would like these commands to all use the same logic to create activation scripts so that we don't miss bugs when we fix one of the commands.
Expected behavior
All commands pixi run pixi shell pixi shell-hook will result in the same environment for the user

Fixed in https://github.com/prefix-dev/pixi/pull/701


Add OpenShift security section for anyuid security context

Update the published documentation with more details of the requirement with OpenShift to use the anyuid security context.

also updated develop in 2b3b19e0a


Create docs and use Readthedocs for hosting

Let's see if this works :)

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 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
349

Relevant Lines:
349

💛  - Coveralls

@Pierre-Sassoulas Let's get some SEO 😄


Doc comments not picked up with ES2015 export statement #769

https://github.com/ternjs/tern/issues/769
Adds support in the doc_comment plugin to attach comments to, and process the comments on ExportNamedDeclaration and ExportDefaultDeclaration nodes.

Thanks for looking into that! merged as 453f6fd


translation banner

The translation banner comes up on this page https://vega.xyz/community/
Is it possible to hard code it so that no english page can get the translation banner?


getters & inheritance don't work (gets evaluated while inheriting)

Consider the following code:

// define a class with a getter
var test1 = Class({

    constructor: function(socket)
    {
        this._should_exist = {yep: true};
    },

    // this getter will mess things up...
    should_exist: {
        get: function() {
            return this._should_exist.yep;
        }
    },
});

// then inherit from it.
// this part will evaluate the 'should_exist' getter and will cause exception, since _should_exist is not yet defined.
var test2 = Class(test1, {

});

The code above will invoke exception: TypeError: Cannot read property 'yep' of undefined. The reason for that, I assume, is because probably somewhere inside jsface tries to copy the prototype attribute should_exist, but instead of copying the definition it tries to evaluate it to return the value.
I didn't look too deep into it though.

Thank you for reporting. This is a very interesting bug. I'm working on it.


Fix suspend on non-Boinc application

Fixes https://github.com/hectorespert/boinc-addons/issues/27
Boinc images use pid host for non boinc applications: https://github.com/BOINC/boinc-client-docker?tab=readme-ov-file#parameters

Awesome, thank you for that! If you like me to verify that the fix works please let me know what to do :) .
Cheers


MSBuild: SkipNonexistentTargets on MSBuild task

Short blurb for this MSBuild 15.5 addition.
cc @ghogen

@rainersigwald : Thanks for your contribution! The author(s) have been notified to review your proposed change.


EDU-1531 Reset migration scripts

Closes https://educandu.atlassian.net/browse/EDU-1531

I cannot find the approve button on the mobile app, but I hereby approve this PR 👍

I cannot find the approve button on the mobile app, but I hereby approve this PR 👍

I hereby register the approval 😆


use composition on wasm.

simply use composition on wasm backend.

You can test this PR using the following package version. 11.0.999-cibuild0023612-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


Mast: Watch tradologie.com

Mast requests the watch of the watch_keyword tradologie\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

tradologie\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


New version: vim.vim version 9.0.0378

Pull request has been automatically created using 🛫 WinGet Releaser.
Microsoft Reviewers: Open in CodeFlow

@wingetbot run

@wingetbot run


Findbugs issue with Gobblin build

Hi
I am getting the following while trying to do ./gradlew build -x test
Any pointers on how to fix this?
:gobblin-runtime:findbugsMain FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':gobblin-data-management:compileJava'.

Compilation failed; see the compiler error output for details.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

./build/gobblin-runtime/reports/findbugs/main.html should have more info.
On Sat, Jul 23, 2016 at 4:02 PM, geek311<EMAIL_ADDRESS>wrote:

Hi
I am getting the following while trying to do ./gradlew build -x test
Any pointers on how to fix this?
:gobblin-runtime:findbugsMain FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':gobblin-data-management:compileJava'.
Compilation failed; see the compiler error output for details.

Try:
Run with --stacktrace option to get the stack trace. Run with --info
or --debug option to get more log output.
BUILD FAILED
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/linkedin/gobblin/issues/1137, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4sG7MrKA_flRnswzKdYeHr9AvjR29Sks5qYp2JgaJpZM4JTdm0
.


ocean.js has criticial security vulnerabilities

+<EMAIL_ADDRESS>added 2620 packages from 1149 contributors, removed 508 packages, updated 2131 packages and audited 4809 packages in 569.533s

243 packages are looking for funding
  run `npm fund` for details

found 187 vulnerabilities (20 low, 102 moderate, 60 high, 5 critical)

if you install ocean.js, you'll find that it has critical vulnerabilities. These are not a joke as it could mean that millions of dollars could be stolen in a single attack.

just like every package importing web3.js or OpenZeppelin contracts. Welcome to the Node.js community.


4.0.6 - SourcePath source-path for .war application is not updated in manager-servers

i am facing an inconsistency between the source-path and the .war path - correct, when doing images updates of the application.
When looking for my app file:
grep -rIn 'APP_OLD_VERSION.war'
/u01/domains/my-application/config/config.xml:89:    <source-path>wlsdeploy/applications/APP_OLD_VERSION.war</source-path>

  <app-deployment>
    <name>APP</name>
    <target>my-cluster-x</target>
    <module-type>war</module-type>
    <source-path>wlsdeploy/applications/APP_OLD_VERSION.war</source-path>
  </app-deployment>

but /u01/domains/my-application/wlsdeploy/applications contains the correct new .war version.
I am using the wko 4.0.6, wdt 3.2.1 and wit 1.11.11;
I saw that in https://github.com/oracle/weblogic-toolkit-ui/releases/tag/v1.5.3 (not the latest, and not using it, using ArgoCD) is talking about an open issue dealing with it:
"Known Issues
In the Model Design View when creating an App Deployment or Shared Library, changing the Source field back to an empty value
results in a bogus error message about not removing the deployment from the archive file. This error is harmless so simply
dismiss the error dialog and continue."

Which components versions (wko, wit, wdt) are involved by this issue?
I am planning to revert to wko 4.0.5
i saw also an error when the domain introspector is launched on the new version update:
Directory trace for CUSTOM_DIR=/u01/domains/app-application/wlsdeploy/custom (before)
│ app-application-introspector   ls -ld /u01/domains/app-application/wlsdeploy/custom/:
│ app-application-introspector     ls: cannot access /u01/domains/app-application/wlsdeploy/custom/: No such file or directory
│ app-application-introspector   ls -ld /u01/domains/app-application/wlsdeploy/custom:
│ app-application-introspector     ls: cannot access /u01/domains/app-application/wlsdeploy/custom: No such file or directory
│ app-application-introspector   ls -ld /u01/domains/app-application/wlsdeploy:
│ app-application-introspector     ls: cannot access /u01/domains/app-application/wlsdeploy: No such file or directory
│ app-application-introspector   ls -ld /u01/domains/app-application:
│ app-application-introspector     drwxr-x--- 12 oracle root 214 Jun 21 08:47 /u01/domains/app-application
│ app-application-introspector   ls -ld /u01/domains:
│ app-application-introspector     drwxr-xr-x 3 oracle root 29 Jun 21 08:46 /u01/domains
│ app-application-introspector   ls -ld /u01:
│ app-application-introspector     drwxrwxr-x 1 oracle root 60 Jun 21 08:46 /u01
│ app-application-introspector   ls -ld /:
│ app-application-introspector     drwxr-xr-x 1 root root 119 Jun 21 08:46 /

YAML 4 spaces indentation and quote around the application below appDeployments: Application: , seems to fix WLSDPLY-20035: updateDomain encountered
now facing
WLSDPLY-05026: my-cluster-x-template is not one of the folder names allowed in model location topology:/Server/ServerTemplate.
Valid names are WebServer, SingleSignOnServices, ServerDiagnosticConfig, DefaultFileStore, ServerStart, DataSource, COM, CoherenceMemberConfig,
NetworkAccessPoint, TransactionLogJDBCStore, IIOP, ConfigurationProperty, SSL, ServerDebug, FederationServices, ExecuteQueue, Log, WebService,
JTAMigratableTarget, OverloadProtection

@good92 I don't understand the issue.
The WKTUI issue has nothing to do with the underlying tools--it is related to the WKTUI and WebLogic Remote Console integration.  If you are not using WKTUI, this issue does not impact you.
If you are using the WDT model to submit a change to the application to point to a different WAR file, did you update the SourcePath for the application in the model file?  The managed servers get their configuration at startup from the admin server so I don't understand what you mean by the "SourcePath is not updated in the managed servers".  In terms of application deployment, the managed servers get a copy of the application WAR file pushed to them from the AdminServer.  What is the behavior you are seeing that led you to try to start looking at config.xml on the managed servers?
I suspect that the issue might be that you added a new application WAR file with a different name and forgot to update the model SourcePath element to account for the new file name.

WLSDPLY-05026: my-cluster-x-template is not one of the folder names allowed in model location topology:/Server/ServerTemplate.
Valid names are WebServer, SingleSignOnServices, ServerDiagnosticConfig, DefaultFileStore, ServerStart, DataSource, COM, CoherenceMemberConfig,
NetworkAccessPoint, TransactionLogJDBCStore, IIOP, ConfigurationProperty, SSL, ServerDebug, FederationServices, ExecuteQueue, Log, WebService,
JTAMigratableTarget, OverloadProtection

I would need to see the model to comment but it looks like your model is not valid.  If you are trying to specify the ServerTemplate for a particular server, it should look something like this:
topology:
    Server:
        myserver:
            ServerTemplate: mytemplate
    ServerTemplate:
        mytemplate:
            ListenPort: 8888

The error tells me that you probably don't have a value for the ServerTemplate attribute so WDT is trying to treat it as a folder because it looks something like this:
topology:
    Server:
        myserver:
            ServerTemplate:

@robertpatrick Thanks, I did not changed the app name.
After generating a new image with WDT, I only change the image version with the model.image.image[0] in a git repo GitOpsed by ArgoCD.
On WLSDPLY-05026, you are right, it is another indentation issue: ServerTemplate was under Server
it would be great to have cue YAML spec to validate the files.  https://cuelang.org/docs/integrations/yaml/

i see also "[SEVERE] Online update failed (the Domain resource specified 'spec.configuration.model.onlineUpdate.enabled=true').
Depending on the type of failure, the model may have an unsupported change, you may need to try an offline update, or you may need to shutdown the entire domain and then restart it."
checking https://oracle.github.io/weblogic-kubernetes-operator/managing-domains/model-in-image/runtime-updates/#online-update-handling-of-non-dynamic-weblogic-configuration-changes

YAML 4 spaces indentation and quote around the application below appDeployments: Application: , seems to fix WLSDPLY-20035: updateDomain encountered
the indentation error is caused by example here: https://oracle.github.io/weblogic-kubernetes-operator/managing-domains/model-in-image/model-files/

@good92 I cannot reproduce this problem.  I copied and pasted the model into a YAML file and ran validateModel on it.
weblogic-deploy/bin/validateModel.sh -oracle_home $MW_HOME -method lax -model_file wkomodel.yaml
...
Issue Log for validateModel version 3.2.2-SNAPSHOT running WebLogic version <IP_ADDRESS>.0.210930 offline mode:

Total:   SEVERE :    0  WARNING :    0

validateModel.sh completed successfully (exit code = 0)

It would be great to have CUE YAML specifications to validate the files. https://cuelang.org/docs/integrations/yaml/

@good92 Unfortunately, it is not that simple.  What is allowed depends on the WLS version/patch level and whether it is online versus offline.  Have you tried the modelHelp tool?
weblogic-deploy/bin/modelHelp.sh -oracle_home $MW_HOME topology:/Machine
...
Attributes and sub-folders for topology:/Machine

topology:
    Machine:
        'NM-1':
            Address: # delimited_string  (default='') -
            Notes:   # string            +

            NodeManager:
                # see /Machine/NodeManager

This bean represents a machine on which servers may be booted.
A server is bound to a machine by calling to 'ServerMBean.setMachine()'.
Although it is typical that one 'MachineMBean' refers to one
physical machine and vice versa, it is possible to have a multihomed
machine represented by multiple 'MachineMBeans'. The only restriction
is that each 'MachineMBean' be configured with non-overlapping
addresses. A configuration may contain one or more of 'MachineMBeans'
which may be looked up by their logical names.

Issue Log for modelHelp version 3.2.2-SNAPSHOT running WebLogic version <IP_ADDRESS>.0.210930 offline mode:

Total:   SEVERE :    0  WARNING :    0

modelHelp.sh completed successfully (exit code = 0)

On YAML 4 spaces, I saw that there examples with 2 spaces indentations and 4 indentations in the documentation.
I will retry with 2 spaces indentation.
I missed the weblogic-deploy/bin/modelHelp.sh, thanks.

In terms of the YAML indention, the SnakeYAML parser is picky so it doesn't like it when one subsection uses 2 spaces and a peer subsection uses 4.  We don't really have much control over that but if you find samples that generate parse errors, please file separate issues to let us know.
@good92 We should focus on the application problem in this issue.  If there are new issues, I will ask you to create a separate issues if I feel they are not related.

offline updates, are used with spec.image change.

The issue is that the SourcePath is correct in /aux/models/model.yaml
and in /u01/domains/dmt-application/config/config.xml, it seems not updated.
It then produce the errors:

Deployment service servlet encountered an Exception while handling the deployment datatransfer message for request id "0" from server "managed-server1".
Exception is: "java.io.IOException: Invalid source path : /u01/domains/my-application/wlsdeploy/applications/APP_OLD.war

Deployment service servlet encountered an Exception while handling the deployment datatransfer message for request id "0" from server "managed-server2".
Exception is: "java.io.IOException: Invalid source path : /u01/domains/my-application/wlsdeploy/applications/APP_OLD.war

Can you provide me the steps needed (or some other way) to reproduce this issue?

@robertpatrick it will be really hard to have simple way to reproduce, as i am using Terraform to create the argocd and apps of apps and argocd vault plugin.
On the oracle@app-application-admin-server
/aux/weblogic-deploy/bin/modelHelp.sh -oracle_home /u01/oracle/wlserver/server/ topology:/Machine
JDK version is 1.8.0_361-b09
JAVA_HOME = /u01/jdk
CLASSPATH = /aux/weblogic-deploy/lib/weblogic-deploy-core.jar:/u01/oracle/wlserver/server//wlserver/server/lib/weblogic.jar
JAVA_PROPERTIES = -Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployLoggingConfig -Dpython.cachedir.skip=true -Dpython.console=
/u01/jdk/bin/java -cp /aux/weblogic-deploy/lib/weblogic-deploy-core.jar:/u01/oracle/wlserver/server//wlserver/server/lib/weblogic.jar           -Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployLoggingConfig -Dpython.cachedir.skip=true -Dpython.console=            -Dpython.path=/u01/oracle/wlserver/server//wlserver/common/wlst/modules/jython-modules.jar/Lib           org.python.util.jython           /aux/weblogic-deploy/lib/python/model_help.py -oracle_home /u01/oracle/wlserver/server/ topology:/Machine
Error: Could not find or load main class org.python.util.jython

i have the same issue with wko 4.0.5.
error
<Error> <Deployer> <BEA-149205> <Failed to initialize the application "APP" due to error
weblogic.management.DeploymentException: Exception occured while downloading files
	at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:50)
	at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:59)
	at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:126)
	at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:907)
	at weblogic.deploy.internal.targetserver.BasicDeployment.stageFilesForStatic(BasicDeployment.java:960)
	Truncated. see log file for complete stacktrace

Caused By: java.io.IOException: [DeploymentService:290066]Error occurred while downloading files from Administration Server for deployment request "0".
 Underlying error is: "[DeploymentService:290065]Deployment service servlet encountered an Exception while handling the deployment datatransfer message
 for request id "0" from server "managed-server2". Exception is: "Invalid source path : /u01/domains/app-application/wlsdeploy/applications/APP_OLD_VERSION.war"."
	at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.getDataAsStream(HttpDataTransferHandler.java:92)
	at weblogic.deploy.service.datatransferhandlers.DataHandlerManager$RemoteDataTransferHandler.getDataAsStream(DataHandlerManager.java:175)
	at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:46)
	at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:59)
	at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:126)
	Truncated. see log file for complete stacktrace

@good92 Likewise, it will be virtually impossible for us to help you based on little snippets of information.  My suggestion is to eliminate terraform and ArgoCD from the equation and try running the process manually.  Once we identify the issue and correct it, you can add back the automation software.

@good92 As for the modelHelp error, notice the double slash in the path you provided?  This was a bug that has already been fixed.  You just need to upgrade WDT to the latest version.

export WLSDEPLOY_HOME=/aux/weblogic-deploy;
export WLSDEPLOY_PROPERTIES=/aux/models;
/aux/weblogic-deploy/bin/modelHelp.sh -oracle_home /u01/oracle/wlserver/server topology:/Machine;

JDK version is 1.8.0_361-b09
JAVA_HOME = /u01/jdk
CLASSPATH = /aux/weblogic-deploy/lib/weblogic-deploy-core.jar:/u01/oracle/wlserver/server/wlserver/server/lib/weblogic.jar
JAVA_PROPERTIES = -Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployLoggingConfig -Dpython.cachedir.skip=true -Dpython.console= /aux/models
/u01/jdk/bin/java -cp /aux/weblogic-deploy/lib/weblogic-deploy-core.jar:/u01/oracle/wlserver/server/wlserver/server/lib/weblogic.jar           -Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployLoggingConfig -Dpython.cachedir.skip=true -Dpython.console= /aux/models           -Dpython.path=/u01/oracle/wlserver/server/wlserver/common/wlst/modules/jython-modules.jar/Lib           org.python.util.jython           /aux/weblogic-deploy/lib/python/model_help.py -oracle_home /u01/oracle/wlserver/server topology:/Machine
Error: Could not find or load main class .aux.models

modelHelp.sh completed but with some issues (exit code = 1)

weblogic log
####<Jun 22, 2023 12:29:23,641 PM UTC> <Info> <JDBC> <dmt-application-managed-server1> <managed-server1> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'>
 <<WLS Kernel>> <> <d23e0595-3851-42db-97bb-5d4b83296325-00000008> <1687436963641> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-001512> <Data source Quartz has been successfully created.>
####<Jun 22, 2023 12:29:23,730 PM UTC> <Error> <Deployer> <dmt-application-managed-server1> <managed-server1> <[STANDBY] ExecuteThread: '1' for queue:
 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <d23e0595-3851-42db-97bb-5d4b83296325-00000008> <1687436963730> <[severity-value: 8] [rid: 0]
 [partition-id: 0] [partition-name: DOMAIN] > <BEA-149205> <Failed to initialize the application "APP" due to error weblogic.management.DeploymentException: Exception occured while downloading files
	at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:50)
	at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:59)
	at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:126)
	at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:907)
	at weblogic.deploy.internal.targetserver.BasicDeployment.stageFilesForStatic(BasicDeployment.java:960)
	at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:116)
	at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:41)
	at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:193)
	at weblogic.management.deploy.internal.AppTransition$1.transitionAppInternal(AppTransition.java:32)
	at weblogic.management.deploy.internal.AppTransition.transitionApp(AppTransition.java:138)
	at weblogic.management.deploy.internal.ConfiguredDeployments$2.doItem(ConfiguredDeployments.java:741)
	at weblogic.management.deploy.internal.parallel.BucketInvoker.invoke(BucketInvoker.java:138)
	at weblogic.management.deploy.internal.ConfiguredDeployments.transitionAppsParallel(ConfiguredDeployments.java:749)
	at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:363)
	at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:232)
	at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:219)
	at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:133)
	at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1287)
	at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:333)
	at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:375)
	at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
	at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
	at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
	at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)
	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)
	at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:698)
	at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:78)
	at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:212)
	at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:235)
	at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:358)
	at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
	at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
	at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
	at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)
	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)
	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:90)
	at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1237)
	at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1168)
	at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:681)
	at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
	at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
	at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
	at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
	at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)

Caused By: java.io.IOException: [DeploymentService:290066]Error occurred while downloading files from Administration Server for deployment request "0". Underlying error is:
 "[DeploymentService:290065]Deployment service servlet encountered an Exception while handling the deployment datatransfer message for request id "0" from server "managed-server1".
 Exception is: "Invalid source path : /u01/domains/app-application/wlsdeploy/applications/APP_OLD.war"."
	at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.getDataAsStream(HttpDataTransferHandler.java:92)
	at weblogic.deploy.service.datatransferhandlers.DataHandlerManager$RemoteDataTransferHandler.getDataAsStream(DataHandlerManager.java:175)
	at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:46)
	at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:59)
	at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:126)
	at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:907)
	at weblogic.deploy.internal.targetserver.BasicDeployment.stageFilesForStatic(BasicDeployment.java:960)
	at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:116)
	at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:41)
	at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:193)
	at weblogic.management.deploy.internal.AppTransition$1.transitionAppInternal(AppTransition.java:32)
	at weblogic.management.deploy.internal.AppTransition.transitionApp(AppTransition.java:138)
	at weblogic.management.deploy.internal.ConfiguredDeployments$2.doItem(ConfiguredDeployments.java:741)
	at weblogic.management.deploy.internal.parallel.BucketInvoker.invoke(BucketInvoker.java:138)
	at weblogic.management.deploy.internal.ConfiguredDeployments.transitionAppsParallel(ConfiguredDeployments.java:749)
	at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:363)
	at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:232)
	at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:219)
	at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:133)
	at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1287)
	at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:333)
	at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:375)
	at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
	at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
	at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
	at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)
	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)
	at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:698)
	at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:78)
	at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:212)
	at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:235)
	at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:358)
	at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
	at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
	at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
	at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)
	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)
	at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:90)
	at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1237)
	at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1168)
	at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:681)
	at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
	at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
	at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
	at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
	at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)

the log before sounds ok:
managed-server1 auxiliaryImageLogs]$ cat operator-aux-container1.out
@[2023-06-22T12:28:01.%NZ][auxImage.sh:64][FINE] Auxiliary Image: About to copy WDT installation files from '/auxiliary/weblogic-deploy'  in container image='xxxxxxx.dkr.ecr.REGION.amazonaws.com/APP:NEW'.
@[2023-06-22T12:28:01.%NZ][auxImage.sh:64][FINE] Creating folder '/tmpAuxiliaryImage/weblogic-deploy' using command 'mkdir -m 750 -p /tmpAuxiliaryImage/weblogic-deploy'. This is the target directory for WDT installation files.
@[2023-06-22T12:28:01.%NZ][auxImage.sh:64][FINE] Auxiliary Image: About to copy WDT model files from '/auxiliary/models'  in container image='xxxxxxxxx.dkr.ecr.REGION.amazonaws.com/APP:NEW'.
@[2023-06-22T12:28:01.%NZ][auxImage.sh:64][FINE] Creating folder '/tmpAuxiliaryImage/models' using command 'mkdir -m 750 -p /tmpAuxiliaryImage/models'. This is the target directory for WDT model files.
@[2023-06-22T12:28:01.%NZ][auxImage.sh:64][FINE] Auxiliary Image: Commands executed successfully.

Can you show us the admin server log file to see if it has anything more about why the download failed?

@good92  Are you using online or offline update - online update to deploy/update an application is not supported.   Can you check the domain resource YAML in memory to verify?  (e.g.  k get domain  -o yaml)
i see also "[SEVERE] Online update failed (the Domain resource specified 'spec.configuration.model.onlineUpdate.enabled=true').
Depending on the type of failure, the model may have an unsupported change, you may need to try an offline update, or you may need to shutdown the entire domain and then restart it."

application-introspector-vv8bl oracle]$ cat ps.log
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
oracle       1  0.2  0.0 119884  4112 ?        Ss   15:00   0:00 /bin/bash /weblogic-operator/scripts/introspectDomain.sh
oracle     556  0.2  0.0 120016  3840 ?        S    15:00   0:00 /bin/bash /weblogic-operator/scripts/introspectDomain.sh
oracle     557  0.0  0.0 109540  1724 ?        S    15:00   0:00 tee /tmp/introspector_script.out
oracle    1069  0.0  0.0 119096  3328 pts/0    Ss   15:00   0:00 bash
oracle    1383  0.0  0.0 119092  3272 ?        S    15:01   0:00 /bin/sh /aux/weblogic-deploy/bin/compareModel.sh -oracle_home /u01/oracle -output_dir /tmp /tmp/new_merged_model.json /tmp/decrypted_merged_model.json
oracle    1410 78.0  1.1 3888680 92592 ?       Sl   15:01   0:00 /u01/jdk/bin/java -cp /aux/weblogic-deploy/lib/weblogic-deploy-core.jar:/u01/oracle/wlserver/server/lib/weblogic.jar
-Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployLoggingConfig -Dpython.cachedir.skip=true -Dpython.console=
-Dpython.path=/u01/oracle/wlserver/common/wlst/modules/jython-modules.jar/Lib org.python.util.jython /aux/weblogic-deploy/lib/python/compare_model.py
-oracle_home /u01/oracle -output_dir /tmp /tmp/new_merged_model.json /tmp/decrypted_merged_model.json
oracle    1420  0.0  0.0 156912  3760 pts/0    R+   15:01   0:00 ps -aux

@good92 We need to see the WDT updateDomain.log file from the introspector pod.  While you are in there, please grab the entire appDeployments section of the model file.

[oracle@APP-application-introspector-zzh8n oracle]$ cat /tmp/decrypted_merged_model.json
...
"appDeployments" : {
"Application" : {
"DMTSec" : {
"SourcePath" : "wlsdeploy/applications/APP_OLD.war",
"ModuleType" : "war",
"Target" : "mcluster-1"
}
}
},
..
oracleAPP-application-introspector-8qqx5 oracle]$ cat /tmp/diffed_model.yaml;
appDeployments:
Application:
DMTSec:
# SourcePath: 'wlsdeploy/applications/APP_OLD.war'
SourcePath: wlsdeploy/applications/APP_NEW.war
ModuleType: war
Target: mcluster-1

You are using online update
application-introspector ####<Jun 22, 2023 1:57:47 PM>   <__update_online>  <Connected to domain at t3://app-application-admin-server:7001>                                                               │
Can you show
kubectl -n  get domain  -o jsonpath="{.spec.configuration.model}"

@jshum2479 yes, you are right.

You should try to disabled it when deploying/updating app from your new image.  A running pod will never have the bits from new image(s) until it is recycled.  You should use offline update (disable the onlineUpdate) instead.

Many thanks it is now solved.


sgompertz is stochastically unstable (even with the same data!)

library(ssdtools)
#> Please replace the following in your scripts:
#> - `ssdtools::boron_data` with `ssddata::ccme_boron`
#> - `ssdtools::ccme_data` with `ssddata::ccme_data`

x <- c(3.15284072848962, 1.77947821504531, 0.507778085984185, 1.650387414067,
       1.00725113964435, 7.04244885481452, 1.32336941144339, 1.51533791792454
)
data <- data.frame(left = x, right = x, weight = 1)
set.seed(94)
ssdtools:::sgompertz(data)
#> $log_location
#> [1] -0.809752
#>
#> $log_shape
#> [1] -301.1263
set.seed(99)
ssdtools:::sgompertz(data)
#> $log_location
#> [1] -0.9652865
#>
#> $log_shape
#> [1] -2.604744
set.seed(100)
ssdtools:::sgompertz(data)
#> Error in checkwz(wz, M = M, trace = trace, wzepsilon = control$wzepsilon): Some elements in the working weights variable 'wz' are not finite

Created on 2021-08-11 by the reprex package (v2.0.0)

David Fox has demonstrated through examination of the likelihood profile that the distribution is inherently unstable.


Querystring widget

Tested with https://github.com/plone/plone.restapi/pull/759 and it works well.
I know it's still WIP, but I identified this things that should be addressed or at least have them in mind:

[] As stated in the https://github.com/plone/plone.restapi/pull/759 comments, the vocabularies are set "inline" as we did before the spring breaking change. We might want to change that.
[] The dates widget is the HTML5 one, at some point we might want to improve it to show a decent one.
[] The path criteria in plone was one showing the Object browser and you were able to choose one by navigating into it. We might want to do that as well.
[] The sort_on field is empty, as it's only a string, I guess that controlled by a zc3.form hint that we are missing. It should show the sortable fields.

Tested with plone/plone.restapi#759 and it works well.
I know it's still WIP, but I identified this things that should be addressed or at least have them in mind:

[ ]  As stated in the plone/plone.restapi#759 comments, the vocabularies are set "inline" as we did before the spring breaking change. We might want to change that.
[ ]  The dates widget is the HTML5 one, at some point we might want to improve it to show a decent one.
[ ]  The path criteria in plone was one showing the Object browser and you were able to choose one by navigating into it. We might want to do that as well.
[ ]  The sort_on field is empty, as it's only a string, I guess that controlled by a zc3.form hint that we are missing. It should show the sortable fields.

@sneridagh I see both the endpoint in restapi and the widget here have been merged. Does this mean that the things quoted here are solved?
Can we consider https://github.com/plone/volto/pull/747 unlocked and try that tile with the new widget?


Enable ENABLE_EXPERIMENTAL_COREPACK=1 by default

This change enables Corepack on Vercel by default. As a result<EMAIL_ADDRESS>is always used as expected.
Fixes #445
Related: #399

@2can can you please check if this unblocks https://github.com/saleor/saleor-cli/pull/290


Intermittent availibility of external metrics

Getting the status from the agent.
==============================
Datadog Cluster Agent (v1.0.0)
==============================

  Status date: 2019-06-17 20:53:45.078727 UTC
  Pid: 1
  Check Runners: 4
  Log Level: INFO

  Paths
  =====
    Config File: /etc/datadog-agent/datadog-cluster.yaml
    conf.d: /etc/datadog-agent/conf.d

  Clocks
  ======
    System UTC time: 2019-06-17 20:53:45.078727 UTC

  Hostnames
  =========
    host_aliases: [REDACTED.REDACTED]
    hostname: REDACTED.c.REDACTED.internal
    socket-fqdn: datadog-cluster-agent-644896fcbf-rzbkh
    socket-hostname: datadog-cluster-agent-644896fcbf-rzbkh
    hostname provider: gce
    unused hostname providers:
      configuration/environment: hostname is empty

  Leader Election
  ===============
    Leader Election Status:  Running
    Leader Name is: datadog-cluster-agent-644896fcbf-rzbkh
    Last Acquisition of the lease: Fri, 14 Jun 2019 00:08:54 UTC
    Renewed leadership: Mon, 17 Jun 2019 20:53:40 UTC
    Number of leader transitions: 2 transitions

  Custom Metrics Server
  =====================
    ConfigMap name: datadog/datadog-custom-metrics

    External Metrics
    ----------------
      Total: 1
      Valid: 1

=========
Collector
=========

  Running Checks
  ==============

    kubernetes_apiserver
    --------------------
        Instance ID: kubernetes_apiserver [OK]
        Total Runs: 22,266
        Metric Samples: 0, Total: 0
        Events: 0, Total: 0
        Service Checks: 4, Total: 89,040
        Average Execution Time : 21ms

=========
Forwarder
=========

  CheckRunsV1: 22,265
  Dropped: 0
  DroppedOnInput: 0
  Events: 0
  HostMetadata: 0
  IntakeV1: 1
  Metadata: 0
  Requeued: 0
  Retried: 0
  RetryQueueSize: 0
  Series: 0
  ServiceChecks: 0
  SketchSeries: 0
  Success: 44,531
  TimeseriesV1: 22,265

  API Keys status
  ===============
    API key ending with ac197 on endpoint https://app.datadoghq.com: API Key valid

Getting the status from the agent.
==============================
Datadog Cluster Agent (v1.0.0)
==============================

  Status date: 2019-06-17 20:54:15.779667 UTC
  Pid: 1
  Check Runners: 4
  Log Level: INFO

  Paths
  =====
    Config File: /etc/datadog-agent/datadog-cluster.yaml
    conf.d: /etc/datadog-agent/conf.d

  Clocks
  ======
    System UTC time: 2019-06-17 20:54:15.779667 UTC

  Hostnames
  =========
    host_aliases: [REDACTED.REDACTED]
    hostname: REDACTED.c.REDACTED.internal
    socket-fqdn: datadog-cluster-agent-644896fcbf-rzbkh
    socket-hostname: datadog-cluster-agent-644896fcbf-rzbkh
    hostname provider: gce
    unused hostname providers:
      configuration/environment: hostname is empty

  Leader Election
  ===============
    Leader Election Status:  Running
    Leader Name is: datadog-cluster-agent-644896fcbf-rzbkh
    Last Acquisition of the lease: Fri, 14 Jun 2019 00:08:54 UTC
    Renewed leadership: Mon, 17 Jun 2019 20:54:10 UTC
    Number of leader transitions: 2 transitions

  Custom Metrics Server
  =====================
    ConfigMap name: datadog/datadog-custom-metrics

    External Metrics
    ----------------
      Total: 1
      Valid: 0

=========
Collector
=========

  Running Checks
  ==============

    kubernetes_apiserver
    --------------------
        Instance ID: kubernetes_apiserver [OK]
        Total Runs: 22,268
        Metric Samples: 0, Total: 0
        Events: 0, Total: 0
        Service Checks: 4, Total: 89,048
        Average Execution Time : 21ms

=========
Forwarder
=========

  CheckRunsV1: 22,267
  Dropped: 0
  DroppedOnInput: 0
  Events: 0
  HostMetadata: 0
  IntakeV1: 1
  Metadata: 0
  Requeued: 0
  Retried: 0
  RetryQueueSize: 0
  Series: 0
  ServiceChecks: 0
  SketchSeries: 0
  Success: 44,535
  TimeseriesV1: 22,267

  API Keys status
  ===============
    API key ending with ac197 on endpoint https://app.datadoghq.com: API Key valid

 ~ $ kubectl get --raw "/apis/external.metrics.k8s.io/v1beta1"
{"kind":"APIResourceList","apiVersion":"v1","groupVersion":"external.metrics.k8s.io/v1beta1","resources":[]}
 ~ $ kubectl get --raw "/apis/external.metrics.k8s.io/v1beta1"
{"kind":"APIResourceList","apiVersion":"v1","groupVersion":"external.metrics.k8s.io/v1beta1","resources":[{"name":"gcp.pubsub.subscription.num_undelivered_messages","singularName":"","namespaced":true,"kind":"ExternalMetricValueList","verbs":["get"]}]}

The value and valid fields both change occasionally. (There's not a lot of traffic in our dev environment so the 0 value isn't an indicator of anything being wrong).
+ eval 'kubectl --namespace datadog get configmap datadog-custom-metrics -ojson | jq -C "${JQ_CMD}"'
++ kubectl --namespace datadog get configmap datadog-custom-metrics -ojson
++ jq -C '.data = (.data | map_values(fromjson))'
{
  "apiVersion": "v1",
  "data": {
    "external_metric-platform-[REDACTED]-v1-gcp.pubsub.subscription.num_undelivered_messages": {
      "metricName": "gcp.pubsub.subscription.num_undelivered_messages",
      "labels": {
        "project_id": "[REDACTED]",
        "subscription_id": "[REDACTED]"
      },
      "ts":<PHONE_NUMBER>,
      "hpa": {
        "name": "[REDACTED]-v1",
        "namespace": "platform",
        "uid": "adee8919-8eed-11e9-a60b-42010a800128"
      },
      "value": 0,
      "valid": false
    }
  },
  "kind": "ConfigMap",
  "metadata": {
    "annotations": {
      "custom-metrics.datadoghq.com/last-updated": "2019-06-17T21:09:23Z"
    },
    "creationTimestamp": "2019-06-13T23:55:10Z",
    "name": "datadog-custom-metrics",
    "namespace": "datadog",
    "resourceVersion": "74849935",
    "selfLink": "/api/v1/namespaces/datadog/configmaps/datadog-custom-metrics",
    "uid": "ad830eb8-8e36-11e9-a60b-42010a800128"
  }
}

Describe what happened:
The external metric is valid intermittently. Most of the time it is invalid
 ~ $ kubectl describe hpa [REDACTED]-v1
Name:                                                                         [REDACTED]-v1
Namespace:                                                                    platform
Labels:                                                                       app=[REDACTED]
                                                                              chart=[REDACTED]-1.5.0
                                                                              heritage=Tiller
                                                                              release=[REDACTED]-v1
Annotations:                                                                  <none>
CreationTimestamp:                                                            Fri, 14 Jun 2019 16:45:08 -0500
Reference:                                                                    Deployment/[REDACTED]-v1
Metrics:                                                                      ( current / target )
  "gcp.pubsub.subscription.num_undelivered_messages" (target average value):  1 / 20
Min replicas:                                                                 1
Max replicas:                                                                 5
Deployment pods:                                                              1 current / 1 desired
Conditions:
  Type            Status  Reason                   Message
  ----            ------  ------                   -------
  AbleToScale     True    SucceededGetScale        the HPA controller was able to get the target's current scale
  ScalingActive   False   FailedGetExternalMetric  the HPA was unable to compute the replica count: unable to get external metric platform/gcp.pubsub.subscription.num_undelivered_messages/&LabelSelector{MatchLabels:map[string]string{project_id: [REDACTED],subscription_id: [REDACTED],},MatchExpressions:[],}: no metrics returned from external metrics API
  ScalingLimited  False   DesiredWithinRange       the desired count is within the acceptable range
Events:
  Type     Reason                        Age                      From                       Message
  ----     ------                        ----                     ----                       -------
  Warning  FailedComputeMetricsReplicas  35m (x14177 over 2d23h)  horizontal-pod-autoscaler  failed to get gcp.pubsub.subscription.num_undelivered_messages external metric: unable to get external metric platform/gcp.pubsub.subscription.num_undelivered_messages/&LabelSelector{MatchLabels:map[string]string{project_id: [REDACTED],subscription_id: [REDACTED],},MatchExpressions:[],}: no metrics returned from external metrics API
  Warning  FailedGetExternalMetric       30s (x14296 over 2d23h)  horizontal-pod-autoscaler  unable to get external metric platform/gcp.pubsub.subscription.num_undelivered_messages/&LabelSelector{MatchLabels:map[string]string{project_id: [REDACTED],subscription_id: [REDACTED],},MatchExpressions:[],}: no metrics returned from external metrics API

Describe what you expected:
The external metric should be valid and available to the cluster most of the time.
Steps to reproduce the issue:
Created an autoscaler using a GCP pubsub subcription metric
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
  name: service-v1
  labels:
    app: SERVICE_NAME
spec:
  minReplicas: 1
  maxReplicas: 100
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: SERVICE_NAME
  metrics:
  - type: External
    external:
      metricName: gcp.pubsub.subscription.num_undelivered_messages
      metricSelector:
        matchLabels:
          project_id: "[PROJECT_ID]"
          subscription_id: "[SUBSCRIPTION_ID]"
      targetAverageValue: 20

Additional environment details (Operating System, Cloud provider, etc):
Cloud Provider: Google
Master version: 1.11.8-gke.6
Node version: 1.10.2-gke.1
OS: Container-Optimized OS (cos) (current)

Hey @agosto-calvinbehling, thanks for opening the issue here. In this case, metrics coming from the GCP integration are slightly delayed. It may be worth applying the environment variables DD_EXTERNAL_METRICS_PROVIDER_MAX_AGE and DD_EXTERNAL_METRICS_PROVIDER_BUCKET_SIZE to account for that. There was a similar issue that was addressed here as well if you would like a reference point: https://github.com/DataDog/datadog-agent/pull/3005#issuecomment-462532444.
Otherwise, if adjusting the external metrics provider settings doesn't seem to help, could you open up a ticket with our support team so we can get a flare and start to investigate there?

Thanks. I'll look into this.

This link should be helpful for anyone else that finds this issue:

https://docs.datadoghq.com/integrations/faq/cloud-metric-delay/#gcp
For GCP, Datadog runs the default crawler every 5 minutes.
GCP emits metrics with 1-minute granularity. Therefore, expect metric delays of ~7-8 minutes.

I used a 10 minute window to be conservative.
helm upgrade --install \
        --set clusterAgent.env[0].name=DD_EXTERNAL_METRICS_PROVIDER_MAX_AGE \
        --set-string clusterAgent.env[0].value=600 \
        --set clusterAgent.env[1].name=DD_EXTERNAL_METRICS_PROVIDER_BUCKET_SIZE \
        --set-string clusterAgent.env[1].value=600 \
        ...


Github page build failure

Hello!
Firstly, thank you so much for your work on this repo, I'm immensely enjoying using it.  Recently I have begun to notice some page build failures, a few of them I've managed to circumvent but this one is really giving me problems.
So the below code is the offender:
{% highlight ruby linenos %}
require 'capybara/rspec'
require 'airport'
feature 'Grand Finale' do
airport = Airport.new
planes = []
6.times { planes << Plane.new }
p = Plane.new
scenario '6 planes can be created' do
expect(planes.length).to eq 6
end
scenario 'airport knows planes are in the air' do
planes.each do |plane|
expect(plane.location).to eq('air')
end
end
scenario '6 planes can land at specified airport' do
Airport.any_instance.stub(:weather_good).and_return(true)
planes.each { |plane| plane.request_land airport }
expect(airport.landed_planes.length).to eq 6
end
scenario 'airport knows planes are in the airport' do
planes.each do |plane|
expect(plane.location).to eq('airport')
end
end
scenario 'plane is denied landing permission when airport is full' do
Airport.any_instance.stub(:weather_good).and_return(true)
expect { (p.request_land airport) }.to raise_error 'permission denied'
end
scenario '6 landed planes have status: landed' do
airport.landed_planes.each do |plane|
expect(plane.status).to eq 'landed'
end
end
scenario 'after all 6 planes takeoff there are no more landed planes' do
Airport.any_instance.stub(:weather_good).and_return(true)
planes.each do |plane|
airport.order_plane_takeoff plane
end
expect(airport.landed_planes.length).to eq 0
end
scenario 'after all 6 planes takeoff their status is 'flying'' do
planes.each do |plane|
expect(plane.status).to eq 'flying'
end
end
end
{% endhighlight %}

And this is the error email I get from Git:
The page build failed with the following error:
The tag highlight in _posts/2015-03-22-Week was not properly closed with {% endhighlight %}. For more information, see https://help.github.com/articles/page-build-failed-tag-not-properly-closed.
If you have any questions you can contact us by replying to this email.

This is really strange. I've got it working on a page here with no issues or changes:
http://koxzi.me/Hello-World/
https://github.com/Koxzi95/koxzi95.github.io/blob/master/_posts/2014-10-04-Hello-World.md

HI, thanks very much for testing this out.  Very strange I had issues with it, I'll see if I can try it again and see if still fails for me.

How did it go @sanjsanj?

@barryclark Sorry but I've yet to revisit this issue, I've conditioned myself to use safer syntax and avoid problematic snippets so I've not encountered a page build in a while.  If I have any more light to shed I'll update here.
My Thanks to you and @Koxzi95

:+1:

Excerpts
Since v1.0.0, Jekyll has had automatically-generated post excerpts. Since v1.1.0, Jekyll also passes these excerpts through Liquid, which can cause strange errors where references don’t exist or a tag hasn’t been closed. If you run into these errors, try setting excerpt_separator: "" in your _config.yml, or set it to some nonsense string.
This works for me.
For more:  https://jekyllrb.com/docs/troubleshooting/


Allow users to run examples in stan-dev/example-models from Stata's Viewer

I've added a bunch of Stata help files mapping the folder structure of https://github.com/stan-dev/example-models/ so that the user could now navigate (and I hope eventually run) the various examples in the Stata Viewer, in which any files can be viewed and downloaded if not already from the master repo, and any subdirectory has a link to its own help file. This is done recursively, with the "root" help file at fork/example-models.sthlp. (The fork is here: https://github.com/felixleungsc/statastan.)
Would be nice if the examples can also be run from within the Viewer with a click! And I think it might be just an extra line to call stan...

We're going to be reorganizing this into demo
models with data to run.  But whatever works now
should work into the future.

Bob

On May 23, 2016, at 11:29 AM, Felix Leung<EMAIL_ADDRESS>wrote:
I've added a bunch of Stata help files mapping the folder structure of https://github.com/stan-dev/example-models/ so that the user could now navigate (and I hope eventually run) the various examples in the Stata Viewer, in which any files can be viewed and downloaded if not already from the master repo, and any subdirectory has a link to its own help file. This is done recursively, with the "root" help file at fork/example-models.sthlp. (The fork is here: https://github.com/felixleungsc/statastan.)
Would be nice if the examples can also be run from within the Viewer with a click! And I think it might be just an extra line to call stan...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

Thanks for the heads up. I wrote a little script that takes a directory
location and makes it browsable from within Stata, and then ran the script
on a local clone of stan-dev/example-models. So any changes to that repo or
a new folder on its own, I'd just run the script again so stata users
always see the latest examples.
On Tue, 24 May 2016 at 04:40, Bob Carpenter<EMAIL_ADDRESS>wrote:

We're going to be reorganizing this into demo
models with data to run. But whatever works now
should work into the future.

Bob

On May 23, 2016, at 11:29 AM, Felix Leung<EMAIL_ADDRESS>wrote:
I've added a bunch of Stata help files mapping the folder structure of
https://github.com/stan-dev/example-models/ so that the user could now
navigate (and I hope eventually run) the various examples in the Stata
Viewer, in which any files can be viewed and downloaded if not already from
the master repo, and any subdirectory has a link to its own help file. This
is done recursively, with the "root" help file at
fork/example-models.sthlp. (The fork is here:
https://github.com/felixleungsc/statastan.)
Would be nice if the examples can also be run from within the Viewer
with a click! And I think it might be just an extra line to call stan...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/stan-dev/statastan/issues/14#issuecomment-221052070

That's great.

On May 23, 2016, at 8:00 PM, Felix Leung<EMAIL_ADDRESS>wrote:
Thanks for the heads up. I wrote a little script that takes a directory
location and makes it browsable from within Stata, and then ran the script
on a local clone of stan-dev/example-models. So any changes to that repo or
a new folder on its own, I'd just run the script again so stata users
always see the latest examples.
On Tue, 24 May 2016 at 04:40, Bob Carpenter<EMAIL_ADDRESS>wrote:

We're going to be reorganizing this into demo
models with data to run. But whatever works now
should work into the future.

Bob

On May 23, 2016, at 11:29 AM, Felix Leung<EMAIL_ADDRESS>wrote:
I've added a bunch of Stata help files mapping the folder structure of
https://github.com/stan-dev/example-models/ so that the user could now
navigate (and I hope eventually run) the various examples in the Stata
Viewer, in which any files can be viewed and downloaded if not already from
the master repo, and any subdirectory has a link to its own help file. This
is done recursively, with the "root" help file at
fork/example-models.sthlp. (The fork is here:
https://github.com/felixleungsc/statastan.)
Would be nice if the examples can also be run from within the Viewer
with a click! And I think it might be just an extra line to call stan...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/stan-dev/statastan/issues/14#issuecomment-221052070

—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub

Very cool. I'll merge this in later today.


Image doesn't run with 2 cpu cores

I just pulled the latest version of the image and tried to start a server, but it seems to fail based on some java arguments. An older version of the image that's running on another Docker host is working fine.
This is the log:

[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxrwx   12 1000     1000          4096 Mar 23 02:07 /data'
[init] Checking version information.
[init] Checking type information.
[init] Checking Forge version information.
[init] server.properties already created, skipping
[init] log4j2.xml already created, skipping
[init] Checking for JSON files.
[init] Copying any mods over...
[init] Setting initial memory to 2G and max to 2G
[init] Starting the Minecraft server...
Error occurred during initialization of VM
The flag -XX:+UseG1GC can not be combined with -XX:ParallelGCThreads=0
2020/03/23 02:07:45 Done

I've been trying to work around it some more, but I don't seem to be able to fix it. Maybe it's my docker host, and not the image? Can anyone confirm this?
If that's the case I'm really sorry for this unnecessary issue

The error was on my side, I'm sorry. It has nothing to do with the latest image
I was running the container in a docker instance inside a proxmox container and the container only had 2 cpu cores assigned. I was looking at #321 and a solution mentioning cpu cores, so I tried out increasing the core count for the container. This seems to have fixed it.
Still weird, that it doesn't work with 2 cpu cores, might be worth further investigating

Set the core count back down to see if my claim was right, but since the last restart it seems to be working every time with any core count. Seems a bit inconsistent, but it might still be due to my system setup.

I have run this on various multi-core systems. The issue your in description is simply because the JVM doesn't allow mixing the G1GC garbage collector with the parallel GC option since they are from two different GC implementations. If you need further assistance please provide a snippet showing how the container is being started. Specifically I was curious if JVM_XX_OPTS was getting reconfigured correctly from the default value of "-XX:+UseG1GC"

I start the container with this docker run command:

docker run -d
--name mc \
--restart unless-stopped \
-v /root/mc:/data \
-p 25567:25565 \
-e ONLINE_MODE=TRUE \
-e MEMORY=2G \
-e EULA=TRUE \
itzg/minecraft-server

Like I mentioned, strangely enough, it is working completely fine since the last restart and I have not changed anything about the way I start the container.

I just heard of someone else with a similar problem and I was wondering if the solution here also works for you:
https://github.com/itzg/docker-minecraft-server/issues/466#issuecomment-605677829