Custom form

Is there a way to add a custom form?

Not yet, but this is definitely something we want to add in! Can you tell me a bit more about what information you'd want to get and where you'd want the form submission to go?

I was thinking about creating a simple form and send the result to a POST
HTTP endpoint (for example hosted on AWS Lambda, Azure Cloud function or
Vercel).
I know that I can make it embedding HTML, but having something already
baked will be great
Il mar 25 mag 2021, 17:13 Travis Kaufman @.***> ha
scritto:

Not yet, but this is definitely something we want to add in! Can you tell
me a bit more about what information you'd want to get and where you'd want
the form submission to go?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/true3dco/splashgen/issues/2#issuecomment-847951241,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMUJC7656WS4NPHO4HD4VDTPO5BLANCNFSM45OZ4SLQ
.

Something like this maybe?
site.call_to_action = Form(
  inputs={
    "firstname": TextInput("First Name", required=True),
    "lastname": TextInput("Last Name", required=True),
    "email": EmailInput("Email Address", required=True),
    "role": SelectInput("Your Role", options=["CEO/Founder", "Engineer", "Finance", "Other"]),
  },
 submit_text="Join our waitlist")

Yes, this will be great 😊
Il mer 26 mag 2021, 18:48 Travis Kaufman @.***> ha
scritto:

Something like this maybe?
site.call_to_action = Form(
inputs={
"firstname": TextInput("First Name", required=True),
"lastname": TextInput("Last Name", required=True),
"email": EmailInput("Email Address", required=True),
"role": SelectInput("Your Role", options=["CEO/Founder", "Engineer", "Finance", "Other"]),
},
submit_text="Join our waitlist")
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/true3dco/splashgen/issues/2#issuecomment-848940415,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMUJC66KWSABBSDTMLGSVDTPUQ7HANCNFSM45OZ4SLQ
.

Should be added in as of v0.0.28! pip install -U splashgen 👯 Let me know if you run into any issues!


[RFC] REST API Versioning

Is your feature request related to a problem? Please describe.
Originally posted in https://github.com/opensearch-project/opensearch-clients/issues/17, this RFC aims to solve the broader problem but using a REST API Version mechanism:
"Coming from https://github.com/opensearch-project/opensearch-clients/issues/12, clients are being upgraded to support OpenSearch 2.0 while breaking compatibility with 1.0. For example, opensearch-java 1.0 works against OpenSearch 1.x, opensearch-java 2.0 works against OpenSearch 2.x, but there's no version of client that works against both OpenSearch 1.x and 2.x. Thus, in order to upgrade from OpenSearch 1.x to 2.x one needs to either run a cluster in mixed mode for a long time, or take downtime."
Describe the solution you'd like
Think Big:  An API version mechanism to enable users to specify their desired API version to ensure client compatibility is independent of server upgrades while providing full compatibility across clients without requiring to carry deprecated features or tech debt across more than one major server version.
User obsession: User's have control over what API their client is requesting for compatibility.. no down time.
Bias For Action: Start with a simple rest-high-level-compatibility module that provides Version.onOrAfter checks to ensure endpoint compatibility. Let's not "boil the ocean" and handle every corner case. We can release the first version in a 2.x minor.
High Standards: Do not require tech debt or deprecated feature maintenance across more than one version.
Frugality: One module to solve the client compatibility issues. Can even be a plugin and require users to install if they don't need the compatibility
Describe alternatives you've considered
Limit to two major version compatibilty
Additional context
This is also described in #2447 but there was confusion on whether that API versioning was specific to Plugin SDKs.

Is this proposal to have OpenSearch provide backward compatible APIs after breaking changes? Would the clients supply a field indicating the version it expects to be compatible with and the server allows that?
So for example, a client can make a "v1" request to an OpenSearch 2.0 cluster to get a document and the type parameter which was removed with mapping types is thus populated?

The client would supply an Accept header, e.g. Accept: application/vnd.opensearch.api+json;version=1.1 and the server would be able to handle that by either implementing a working compatibility layer, but also by rejecting the request in case server-side behavior has changed and would be unexpected by an older client. In your example it would probably make sense to return type.

I think this proposal would be fairly easy to implement if we can mechanize the generation of two separate RESTful API versions (https://github.com/opensearch-project/OpenSearch/issues/3090). This way we'd author separate specs, generate the interfaces, then provide implementations underneath for compatibility.

The 2.x java client now has backward compatibility with the 1.x server: https://github.com/opensearch-project/opensearch-java/issues/152
This is a critical feature of any client, given that double incompatibility (v1 can only talk to v1 and v2 can only talk to v2) prevents a zero-downtime upgrade of a server version.
The clients are moving toward a spec-generated API layer, which allows for several solutions to achieve this. But the solution can't be, generate a new client for the new API, as that reinforces double incompatibility.
If an API on the server changes, maybe it makes sense to rename the route and carefully deprecate the old route.


Dynamic styling's not working on class level

In your example in the docs it seems like you can use dynamic styling within class level:
https://github.com/cssinjs/react-jss#dynamic-values
look at the label class:
const styles = {
  button: {
    background: props => props.color
  },
  label: (props) => ({
    display: 'block',
    fontWeight: props.fontWeight
  })
}

const Button = ({classes, children}) => (
  <button className={classes.button}>
    <span className={classes.label}>
      {children}
    </span>
  </button>
)

Button.defaultProps = {
  fontWeight: 'bold',
  color: 'red'
}

It's not working. here is an example:
https://codesandbox.io/s/6x0n532y3k
Look at the wrapper class, it should be yellow background, padded with 40px and aligned to the center.

It got fixed is the 8.3.3 version
Sorry


air: 1.15.1 -> 1.25

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/cosmtrek/air/releases.
meta.description for air is: "Live reload for Go apps"
meta.homepage for air is: "https://github.com/cosmtrek/air"
meta.changelog for air is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/nhndb0qak6d5p8n921h0nrd14ym9lr48-air-1.25/bin/air passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 1.25 with grep in /nix/store/nhndb0qak6d5p8n921h0nrd14ym9lr48-air-1.25

found 1.25 in filename of file in /nix/store/nhndb0qak6d5p8n921h0nrd14ym9lr48-air-1.25

directory tree listing: https://gist.github.com/6bf8597840333b1e8ebfd83bde65579e

du listing: https://gist.github.com/aba0a24c8b38e7b0b14e19d583fd860f

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
air

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nhndb0qak6d5p8n921h0nrd14ym9lr48-air-1.25 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A air https://github.com/r-ryantm/nixpkgs/archive/6b4de5afecd074a96f1c459acc12ad5e5ef6d540.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/nhndb0qak6d5p8n921h0nrd14ym9lr48-air-1.25
ls -la /nix/store/nhndb0qak6d5p8n921h0nrd14ym9lr48-air-1.25/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

air

Maintainer pings
cc @Gonzih @kalbasit for testing.

Result of nixpkgs-review pr 119099 run on x86_64-darwin 1

1 package built:

air


Why doesn't logo show up on pypi?!

https://pypi.org/project/crosszip/

Probably because it's a beta release?


Expose server-side error description for non-fulfilled requests

The extra information that server-side often sends back when a request could not be fulfilled can save a lot of time. (Read: I wasted a lot of time and inconvenienced some server-side folks.)
Normally this information has already been received by STHTTPRequest when it creates an NSError, but is not used, so I added code to include it in a readable way and give the option for some heavier debugging; this is via new function -errorDescribingRequestNonfulfillment which is used by -URLSession:task:didCompleteWithError: and -startSynchronousWithError:.
The simple use-case that I catered for is for REST servers that return a dictionary in JSON with an error key, and I just append the value description to the status code description, hence, you now see something like "HTTP Status 401: Unauthorized (OBP-20004: Invalid login credentials. Check username/password.)" - enormously valuable for the less trivial cases. I just did the simplest of checks, so there may be small variations that get missed. And the logic for local bool serverSideDescriptionPossible is not clever enough to eliminate the case where quite some data was normally received before an error caused the request to fail; however, better to try all than falsely eliminate.
Also, if you know of other common use-cases, please add, or make extensible. The fallback for the other cases is to include the header and data in the error userInfo, but as this can get a bit verbose when logged to the console, I made this conditional on a new defaults key STHTTPRequestIncludeHeaderAndDataInError; maybe the default should be on and the key should work with opposite sense? (Its useful to see this information, but for trivial cases, it looks like spam, so maybe its best as an opt-in.)
Hope its to your liking. If not, please adjust.
Cheers,
Torsten

...also forgot to add: if you accept the pull request, please could you also bump the version and add a new tag so that Carthage and CocoaPods can pull it. Cheers, Torsten

So, if I get your PR correctly, it basically adds "headers" and "data" into NSError userInfo when HTTP status is >= 400.
I totally agree that STHTTPRequest lacks access to headers and data in case of error.
However, I'm not very comfortable with the fact the code assumes that the error format is
{ "error" = "my error" }

since it's not defined in any standard. I regulary meet APIs like:
{ "error_string" = "my error", "error_code" = 123 }

or like:
{ "errors" = ["bad id", "unknown stuff"] }

So, maybe we could simply update the errorBlock to return headers and data, so that we could write:
r.errorBlock = ^(NSDictionary *headers, NSData *data, NSError *error) {
    // ...
};

since completion block is pretty similar:
r.completionDataBlock = ^(NSDictionary *headers, NSData *data) {
    // ...
};

This alternative solution would allow any user to extract the errors the way he wants.
What do you think?

So, if I get your PR correctly, it basically adds "headers" and "data"
into NSError userInfo when HTTP status is >= 400.

...that's the fallback option (and on reflection I would have it enabled by default, with an option to suppress it), but my main preference was to identify the server's message and get it into the error description if possible.
I've often seen REST servers return {"error" : "some added-value description"}, which is not a standard, but just a fairly common occurrence, as are other formats I would expect. One server I am working with is sending back error messages in HTML, which is even more tricky to extract. Rather than attempting to be comprehensive, I was just trying to catch one of the cases, which while imperfect, would save a lot of hassle from unnoticed server-side help.
I'm not very keen on adding header and data to the error block because it would break a lot of usage, and in any case, the responseData and responseHeaders can be accessed via the original request instance captured in the error handling block. However, it took me the lost time of server help going under my radar, wasting the time of server side guys, then a bit of investigation to find out how I could access this server help, that made me think other people shouldn't also have to pay this high price.
So...

quickest solution would be to leave the code unchanged, but somewhere in the header, describe the technique of accessing and inspecting headers and data in the error handler block and why, or

have imperfect handling of common cases ("error", "error_string", ...), together with an invitation for people to notify if there are more common cases to be added, or

add an extensible, configurable mechanism to extract server-side error descriptions, e.g.
typedef NSString*(^serverErrorDescriberBlock_t)(NSDictionary *headers, NSData *data)
@property (copy) serverErrorDescriberBlock_t serverErrorDescriberBlock;

...looks a bit klunky. Alternatively, expose -errorDescribingRequestNonfulfillment so it can be overriden. Needs more thinking about.  The imperfect solutions are pragmatic - if they cover 60%, that's a real benefit, and the other cases are caught by the fallback.

From your comments, I think the solution ideas need time to evolve and mature a bit. Maybe you could try it your side and see what direction comes of it.
I can continue to use my own solution in a bottleneck error handler in the library I'm working on, but it would be good to eventually share something with other users.

I agree that adding more info into NSError may save debugging time, but I would prefer the solution to cover all the cases. So, I think I will merge your PR and change it so that, in case of HTTP error status, the userInfo is added a "JSON" key with the JSON contents inside, or a "text" key with the text as a fallback. Let me know what you think.

I think that would be fine. Visibility is the main thing, as in, once users can see that there is extra info to look at while debugging an error, they can proceed from there in whatever way suits them best.

Hi Nicolas, any chance of a new podspec version to expose this (and your latest) to pod users? Cheers & Bests, Torsten

done


Fix literal pattern availability

This corrects the availability for the _literalPattern symbol, and fixes a few odd failing tests along the way!

@swift-ci Please test

@swift-ci Please test


DC: TODO: checker for proper italic names in name table

    # ----------------------------------------------------
    # TODO: checker for proper italic names in name table
    # Dave Crossland said: THIS IS URGENT!

this is probably tightly related to issue #930 and #931
(issue #924)

@felipesanches what should be done? Want to help and got FontForge up and running on my macbook!

Hi @vmesel :) This is a tricky one for a new contributor to tackle, it requires some understanding of context that would take longer to explain than for Felipe to fix directly :) If you'd like to contribute, I suggest https://github.com/googlefonts/fontbakery/issues/831 might be a good issue to work on

@davelab6 it doesnt look like too creepy! I think you mean that the font file, in the header, has the name info, and if the name contains Italic, it should fill a new place in the table. Right?

@davelab6 I believe that the check called "Assure valid format for the main entries in the name table." already takes care of validating the correctness of all name table strings. The italic name entries are a specific case of that.
The "Assure valid format for the main entries in the name table." check starts at https://github.com/googlefonts/fontbakery/blob/7d284ab1777bc13bd48c500faacfa4f263c1a642/fontbakery-check-ttf.py#L971
Unless I am missing something, there's nothing left to be done here other than deleting this TODO comment from the source code.

@davelab6 if you agree, please close this issue.
I just deleted that comment from the sources.
I consider this an invalid issue unless there's some special check for italics that we still do not perform and I may be not aware of.


JBPM-5071 - additional changes for group and datasets

required extension for removing runtime from workbench to support dashboards in workbench based on data provided by kie server

AggregateColumnFilter class is misspelled.

thanks @manstis, fixed

+1


HTML attributes will also set a HTMLElement property of the same name (shadowing)

Version
3.2.30
Reproduction link
sfc.vuejs.org/
Steps to reproduce
Set an attribute that matches on a plain HTML element inside the template.
A quick example:
<template>

</template>

What is expected?
The output matches the input, in this example it should return

What is actually happening?
It overrides the property of that element, and for the anchor element text works like innerText.
The result is:
  something

The first time I've encountered this behaviour was setting focus attribute on the input element, resulting in the focus() method being shadowed. I was using Vue 2 at that time.

<component :is="tag" v-for="tag in tags" :^text="tag" :innerText="tag" />

It doesn't play nice with typescript and I kind of need to use text attribute name.
I'm using windicss / unocss and those have this thing called attributify mode, that lets you group tailwind classes under one attribute (text | bg | border | font etc).
It can be set up, so those attributes have some prefix, and I've actually had it already setup that way.
I just don't think that the way this behaves now is "correct". Especially since this happens only for existing properties - other attributes won't create new properties.

Setting properties when they exist is intended behavior, you can force an attribute with .attr:
 <component :is="tag" v-for="tag in tags" :text.attr="tag" :innerText="tag" />

https://vuejs.org/api/built-in-directives.html#v-bind


Create integration command gives error

Hi,
The following command throws error.
 npx @vue-storefront/cli create integration

Error:
›   Error: command create:integration not found

Hi @tajdev1 👋 ,
Please ensure you're using<EMAIL_ADDRESS>or higher.
To check your version run npx @vue-storefront/cli

Update the version by runing
 npx @vue-storefront/cli update
and try once more. Please let me know if that fixes it. 😄


Any way to obtain a BUILD.overlay file for  onnx-mlir?

I want to use onnx-mlir rep as third_party when building my project with bazel.  Any way to obtain a BUILD.overlay/BUILD  file for  onnx-mlir?

Is it something that you would be willing to contribute?

Please ref to overlay methods use  by llvm project: https://github.com/llvm/llvm-project/tree/main/utils/bazel/llvm-project-overlay

Is it something that you would be willing to contribute?

I'm very willing to try it.

That would be great. On our end @gongsu832 is our expert on build, so ping him if you need help understanding our build.


pkg/cidr: Move linux specific variable references from netlink

Commit e731cbe27e added references to linux specific consts from the netlink package, and it broke the ginkgo compilation on darwin targets - https://github.com/cilium/cilium/actions/runs/5944152105/job/16120804454?pr=27520.
/cc @borkmann
Reported-by: Tim Horner<EMAIL_ADDRESS>Fixes: e731cbe27e "cilium, iptables: Support option to masquerade source IP from routing layer"

Ginkgo GHA ran successfully - https://github.com/cilium/cilium/actions/runs/5945229937/job/16123944232?pr=27638.
Dropping the commit.

Changes LGTM. I wonder if we also need something like this since we clearly have test code depending on pkg/:
diff --git a/.github/workflows/lint-build-commits.yaml b/.github/workflows/lint-build-commits.yaml
index 32d9fe21254d..c27c724f1ed3 100644
--- a/.github/workflows/lint-build-commits.yaml
+++ b/.github/workflows/lint-build-commits.yaml
@@ -96,6 +96,7 @@ jobs:
         with:
           filters: |
             src:
+              - 'pkg/**'
               - 'test/**'

       # Runs only if code under test/ is changed.

Yes, I was going to suggest running the GHA unconditionally, but your suggestion is better. I can push the commit to this PR.


Add query and methods for updated ReCAP records

Make date criteria for ReCAP diffs more precise
Allow for suppressed records in ReCAP lookups, add tag to indicate whether request is for SCSB

@tampakis do you want to give this a quick look. I think it is ready to go.


Close other scenes (other than the current opened scene)

Godot version:
3.1
Issue description:
As a Godot contributor, I am working on the asset importer and I open many scenes. Having a button to close other scenes than the open one would help my workflow. Imagine 40 scenes open but only the open scene is relevant.
The feature is right clicking on the scene tab and then clicking close to close other scenes. The wording can be different.

Similar to Web browsers, we can offer two options: one that closes all other tabs, and one that closes all tabs to the right (so you can close many tabs in a more selective manner).

Duplicate of https://github.com/godotengine/godot/issues/19701.


issues #53 and #54

Hi!
I added lowercase conversion and center tag processing to formatTable function. There is a test case that covers both issues.
The .fromFile() test does not pass as it did not before I made the changes.
Regards,
Alexander

+1 here, @mlegenhausen is it possible that you look into this PR?

I will take a look.

Merged and published. Thanks for the pull request.


ADDED HOVERING EFFECT ON CARDS

FIXED ISSUE : #141
https://github.com/Anushkabh/krishiconnect/assets/119615342/8dea816d-f7bf-4d1f-a25e-a3b7cabae9b7
I have successfully added hovering effect on cards.

share the ss

I also attached the video above, please see that also.
Here is the ss

Fixes #141


"comment" command throws 403 error

I use a maintainer personal access token with full API and Repository access.
After running the commit command I get:
HTTPError: Response code 403 (Forbidden)
    at Request.<anonymous> (./node_modules/got/dist/source/as-promise/index.js:117:42)
    at processTicksAndRejections (internal/process/task_queues.js:95:5) {
  code: 'ERR_NON_2XX_3XX_RESPONSE',
  description: '403 Forbidden'
}

I just found the issue and fixed it in #23


run example for  openresty

env:
os: CentOS Linux release 7.6.1810 (Core)
nginx version: openresty/<IP_ADDRESS>
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)
built with OpenSSL 1.0.2k-fips  26 Jan 2017
TLS SNI support enabled
nginx.conf :
location / {
root   html;
index  index.html index.htm;
content_by_lua_block {
local radix = require("resty.radixtree")
local rx = radix.new({
{
path = "/aa",
metadata = "metadata /aa",
host = "foo.com",
method = {"GET", "POST"},
remote_addr = "<IP_ADDRESS>",
},
{
path = "/bb*",
metadata = "metadata /bb",
host = {"*.bar.com", "gloo.com"},
method = {"GET", "POST", "PUT"},
remote_addr = "fe80:fe80::/64",
}
})
            ngx.say(rx:match("/aa", {host = ngx.var.host,
                                     method = ngx.req.get_method,
                                     remote_addr = ngx.var.remote_addr}))
        }
    }

error.log
radixtree.lua:338: bad argument #2 to 'band' (number expected, got nil)
stack traceback:
coroutine 0:
[C]: in function 'band'
lualib/resty/radixtree.lua:338: in function 'match_route_opts'
lualib/resty/radixtree.lua:414: in function 'match_route'
lualib/resty/radixtree.lua:474: in function 'match'
test:
curl   <IP_ADDRESS>/aa

method = ngx.req.get_method -> method = ngx.req.get_method()

and I added more check to crash: https://github.com/iresty/lua-resty-radixtree/commit/78dd8bc070f87b3590bc6bc6940fcdec9905a49e


Addition of CVManagedUniqueStruct

This is slightly bigger pull request. The idea is to - instead of NSManagedObjectID connect the struct using unique identifier.  It is especially useful in connection with Argo for decoding JSON. If the struct with an existing id is in the CoreData it is pulled (using fetch request) and updated. Otherwise new object is created.
This has the advantage of getting rid of NSManagedObjectID and all the mutating functions that are sometimes causing weird behaviour.
The disadvantage is obviously slower performance as every struct have to find its corresponding nsmanagedobject based on identifier predicate. Based on tests, the performance is roughly worse by 1/3 of the original time (0.181 to 0.267), so I think it is manageable.
I am using this for some time already in my projects and I am pretty happy with it so far.
Let me know what you think

Hey,
thanks for this! I've merged it into the Swift 3 version (CoreValue 0.3). I do like the idea, especially that it is optional and that the NSManagedObjectID way is still possible. I did change some of the query code and could improve the performance by around 17% (according to Xcode), though I think the performance penalty will be worse by O(n) depending on the amount of objects to process.
Could you have a look at the Readme.md and check if I explained the rationale behind this implementation correctly?
Again, thanks! And sorry for taking such a long time to merging this but I wanted to do it in one fell swoop with Swift 3 and when Swift 3 finally hit I was busy and couldn't update this right away.

Hello!
thanks for merging this. I checked the Readme and it looks alright.


[Feature] Need support SecurityContext Trait.

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Like affinity, add securityContext trait for param injecting.
Describe alternatives you've considered
Only add new trait.
Additional context
Some application may cover more connection and need to modify netns's sysctls with custiom value.
Privilege, asRoot or other hacking(ip netns exec) were not safe.

@fly3366  hi I want to work on this issue van you please guide me through it

Hi @chivalryq can u assign me that issue? seems like a good first issue to try

Hi @fly3366 Do you have any expectations that security-context can do for you?
Configuring the security-context in K8s can be quite intricate, requiring a certain level of expertise to get it right. We should consider the use-case carefully to make this trait.
@swastik959 @fly3366 Glad you want to get start from this. I'm gonna assign @swastik959 because he's the first. Sorry to @Freedisch You can look into any other good first issues.

I'm sorry @chivalryq @Freedisch @swastik959 . This is not a good first issue. Instead, it's require large real world experiences to see if we really need this trait.
We should not start until we find the trait is necessary.

I will collect some another awesome impl for this.

Hi @fly3366 Do you have any expectations that security-context can do for you?
Configuring the security-context in K8s can be quite intricate, requiring a certain level of expertise to get it right. We should consider the use-case carefully to make this trait.
@swastik959 @fly3366 Glad you want to get start from this. I'm gonna assign @swastik959 because he's the first. Sorry to @Freedisch You can look into any other good first issues.

Some sysctl configure for kernel was namespaced, such as net.ipv4.tcp_tw_reuse. It's better to change when application need cover more short connection.
May not need an extra trait? Just export securityContext from PodSpec to WebService.

Is there is any way to vote for this issue? We really need this feature to be able to add securityContext to deployment either by adding as trait or as extra property to webservice.

@bguruprasad You can list what securityContext you want to add to deployment. It helps this issue to get a reachable implementation more quickly.

Configuring the security-context in K8s can be quite intricate, requiring a certain level of expertise to get it right. We should consider the use-case carefully to make this trait.

Not sure I follow the logic of this part of the response @chivalryq ?
Sure, it needs thought to set the right params, but that's up to the consumer of the trait to get right surely?  ISTM Kubevela should support this as a trait.  It's worth a though about which fields are to be initially supported and I support you asking that of posters, though sadly none have replied.
FWIW, I'd think as a minimum:

pod spec.securityContext.runAsNonRoot
pod spec.securityContext.runAsUser
container: securityContext:

          allowPrivilegeEscalation: false
            capabilities:
              drop:
                - ALL
            seccompProfile:
              type: RuntimeDefault

But back to my point pretty much any field in k8s and therefore in current kubevela components/traits can mess things up if set wrong.  Not seeing why that makes a case not to do it?
Setting security context is surely an important thing to do in many cases.  Am I missing something?

In my opinion, it would be really important to make the securityContext configurable, it would also support some of the points mentioned here: https://kubernetes.io/docs/concepts/security/application-security-checklist/.
IMHO, following things should be configurable:

runAsNonRoot
allowPrivilegeEscalation
runAsUser, runAsGroup
readOnlyRootFilesystem

I'm glad to review/merge if anyone can contribute to it, thanks

@wonderflow: I would like to work on this


Add dtype and casting arguments to cupy.concatenate()

Close #5700. Blocked by #5764.

Jenkins, test this please

Jenkins CI test (for commit 19d05f98e851a8d83a9835497e0ffabd74360f79, target branch master) succeeded!


Gateway Date picker initial settings

The gateway date picker currently defaults to showing only one day, in a strange timezone. When using the gateway in time zone A, it seems to consider only transactions that fall into a time window in a different time zone? Is the date picker aware of local time zones?
2/ The date picker defaults got showing only one day. Please default the date picker to show one week and add a checkbox that says "Show All"?

Fixed in https://github.com/omgnetwork/optimism/pull/552


Use proxy

Is it possible to use http/https proxy set in env var, or as a command-line option? I still can't get ytcog and ytcog-dl to work in my home, and I suspect it having something to do with the way I set up system-wide proxy/VPN. Maybe making ytcog do this itself will solve the problem.

Code:
const ytcog = require('ytcog');
var ProxyAgent = require('proxy-agent');
let proxyUri = process.env.http_proxy || 'http://<IP_ADDRESS>:1087';
let minigetOptions = { agent: new ProxyAgent(proxyUri) };

let videoOptions = {
id: 'rB83DpBJQsE',
filename: '${channelId} - ${datetime} - ${id} - ${videoQuality}',
container: 'mkv',
videoQuality: 'highest',
audioQuality: 'highest',
mediaBitrate: 'highest',
metadata: 'author,title,genre=sport,year=2021'
}
ytcog.dl(videoOptions,'','',minigetOptions);

Output:
{
  "minigetOptions": {
    "agent": {
      "proxy": {
        "protocol": "http:",
        "slashes": true,
        "auth": null,
        "host": "<IP_ADDRESS>:1087",
        "port": "1087",
        "hostname": "<IP_ADDRESS>",
        "hash": null,
        "search": null,
        "query": null,
        "pathname": "/",
        "path": "/",
        "href": "http://<IP_ADDRESS>:1087/"
      },
      "proxyUri": "http://<IP_ADDRESS>:1087"
    }
  },
  "id": "rB83DpBJQsE",
  "channelId": "UCYO_jab_esuFRV4b17AJtAw",
  "duration": 942,
  "views": 2546148,
  "rating": 4.971737,
  "updated": "now",
  "published": "2y1m ago",
  "title": "Divergence and curl:  The language of Maxwell's equations, fluid flow, and more",
  "category": "Education",
  "description": "Visualizing two core operations in calculus.  (Small error correction below) \nHelp fund future projects: https://www.patreon.com/3blue1brown\nAn equally valuable form of support is to simply share some of the videos.\nSpecial thanks to these supporters: http://3b1b.co/divcurl-thanks\n\nMy work on this topic at Khan Academy: https://www.khanacademy.org/math/multivariable-calculus/multivariable-derivatives\n\nError: At 4:55, the narration should say \"counterclockwise rotation gives positive curl, clockwise rotation gives negative curl\".  The diagram is correct, though.\n\nFor more fun fluid-flow illustrations, which heavily influenced how I animated this video, I think you'll really enjoy this site: \nhttps://anvaka.github.io/fieldplay/\n\nMusic by Vincent Rubinetti: \nhttps://vincerubinetti.bandcamp.com/album/the-music-of-3blue1brown\n\n------------------\n\n3blue1brown is a channel about animating math, in all senses of the word animate.  And you know the drill with YouTube, if you want to stay posted on new videos, subscribe, and click the bell to receive notifications (if you're into that).\n\nIf you are new to this channel and want to see more, a good place to start is this playlist: http://3b1b.co/recommended\n\nVarious social media stuffs:\nWebsite: https://www.3blue1brown.com\nTwitter: https://twitter.com/3blue1brown\nPatreon: https://patreon.com/3blue1brown\nFacebook: https://www.facebook.com/3blue1brown\nReddit: https://www.reddit.com/r/3blue1brown",
  "author": "3Blue1Brown",
  "keywords": [
    "brown",
    "complex analysis",
    "multivariable calculus",
    "vector calculus",
    "three blue one brown",
    "three brown one blue",
    "3 blue 1 brown",
    "3 brown 1 blue",
    "Mathematics",
    "3b1b",
    "one",
    "divergence",
    "three",
    "blue",
    "3brown1blue",
    "curl"
  ]
}
_http_client.js:134
    throw new ERR_INVALID_ARG_TYPE('options.agent',
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "options.agent" property must be one of Agent-like Object, undefined, or false. Received an instance of Object
    at new ClientRequest (_http_client.js:134:11)
    at Object.request (https.js:310:10)
    at doDownload (/private/var/root/ytd/node_modules/miniget/dist/index.js:174:33)
    at processTicksAndRejections (internal/process/task_queues.js:79:11) {
  code: 'ERR_INVALID_ARG_TYPE'
}


Add more citing links

refs #0

Job VTB Documentation on 59479f4 wanted to post the following:
View the site here
This comment will be updated on new commits.


Update bettertouchtool to 2.20

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for the contribution. It was merged directly as 3ad48a98b552f69571b5d0a9c7e749f796fd345f. Your contribution is still credited to you.


Refactor: move pluginRegistry in private area

all core components should import ./util/pluginsRegistry to read all registered plugins
pluginsApi is now file only for export public apis (as it should be by its name)
plugins from plugins folder now also use global allure.api to register

thanks!


Circuit ID collisions

When reading your code I noticed for circuit IDs you simply increment an int:
https://github.com/wbenny/mini-tor/blob/5d39011e632be8e2b6b1819ee7295e8bd9b7a769/mini/tor/circuit.cpp#L1202-L1209
5.1.1. Choosing circuit IDs in create cells

   The CircID for a CREATE/CREATE2 cell is an arbitrarily chosen
   nonzero integer, selected by the node (OP or OR) that sends the
   CREATE/CREATE2 cell.  In link protocol 3 or lower, CircIDs are 2
   bytes long; in protocol 4 or higher, CircIDs are 4 bytes long.

When using an incrementing number, if the circuit ID is already in use, guard relays respond with RELAY_CONNECTED when performing the NTOR handshake instead of RELAY_RESOLVE (NTOR server handshake reply), this will cause issues.
I think it would be a good idea to make circuit IDs a random int with a maximum value of 2^31 (max C int value range for 4 bytes). Or am I missing something here?

Circuit ID should be unique per your own single TCP connection. If you make 2^31 circuits without closing, then yeah, you'll run out of them (I assume you'd be kicked out by the relay waaay earlier). Using random numbers is recommended for security reasons and I'm aware of it. I used this approach for easier debugging.

Thanks.


Fixes issue #25064

Fixed code style issue.

This isn't fixing #25064, it's adding an error message (which is a good thing).
Could you please include Fixes #25064 on a line by itself in the commit message.


feat(coordinator): enhance batch proof sanity check

Purpose or design rationale of this PR
PR title
Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:

[x] feat: A new feature

Deployment tag versioning
Has tag in common/version.go been updated or have you added bump-version label to this PR?

[x] Yes

Breaking change label
Does this PR have the breaking-change label?

[x] No, this PR is not a breaking change

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

Project coverage is 54.31%. Comparing base (a2536d5) to head (cd0e780).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1408   +/-   ##
========================================
  Coverage    54.31%   54.31%
========================================
  Files          156      156
  Lines        11918    11918
========================================
  Hits          6473     6473
  Misses        4950     4950
  Partials       495      495

Flag
Coverage Δ

database
42.85% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Update to go1.11.1 and move to modules

Changes
Updating to go1.11.1 and modules ... experimental change. Locally works well but want to test CI.

also had to update the recent azure and ignoring an error check ... may fail the build

Verification
Currently able to run make all locally

Currently blocked on our usage of errcheck as it currently does not support go mod ... issue has been filed https://github.com/kisielk/errcheck/issues/155

Hey @domgreen, could we move forward with this ?

@sylr feel free to pick this up, the errcheck issue seems to be fixed now 👍

Should also look at bumping to go1.11.5

All right I'll see what I can do tomorrow 👍


Fix recognize complete event result

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Communication.CallAutomation


Selenoid GGR configuration

Dear team,
We have around 10000 tests which needs to be completed with in a day and planning to set up selenoid with multiple GGRs. Could you please help us with the effective configuration reuired for that.

Machine configuration for GGR
How many selenoid machines can a single GGR can handle?
Selenoid machine configuration.
I have read that 1.5 * core, is the optimum thread size.

Second scenario: if i have a datadriven/keyword framework without using any runners like testNG and triggering from the Main method, what is the effective way of handling that in selenoid.

Actually ggr is old project and soon will be obsolete... Could you please
consider our new project designed to be scalable and resource efficient:
https://aerokube.com/moon/
https://aerokube.com/moon/latest/
сб, 21 мар. 2020 г., 12:15 ashanirmala7<EMAIL_ADDRESS>
Dear team,
We have around 10000 tests which needs to be completed with in a day and
planning to set up selenoid with multiple GGRs. Could you please help us
with the effective configuration reuired for that.

Machine configuration for GGR
How many selenoid machines can a single GGR can handle?
Selenoid machine configuration.
I have read that 1.5 * core, is the optimum thread size.

Second scenario: if i have a datadriven/keyword framework without using
any runners like testNG and triggering from the Main method, what is the
effective way of handling that in selenoid.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aerokube/selenoid/issues/886, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKY23PC2CMZLOPCHLDHVMTRISASVANCNFSM4LQ3ERWQ
.

Thanks for the quick response. Moon is a paid solution?
On Sat, Mar 21, 2020 at 3:25 PM Alexander Andryashin <
<EMAIL_ADDRESS>wrote:

Actually ggr is old project and soon will be obsolete... Could you please
consider our new project designed to be scalable and resource efficient:
https://aerokube.com/moon/
https://aerokube.com/moon/latest/
сб, 21 мар. 2020 г., 12:15 ashanirmala7<EMAIL_ADDRESS>
Dear team,
We have around 10000 tests which needs to be completed with in a day and
planning to set up selenoid with multiple GGRs. Could you please help us
with the effective configuration reuired for that.

Machine configuration for GGR
How many selenoid machines can a single GGR can handle?
Selenoid machine configuration.
I have read that 1.5 * core, is the optimum thread size.

Second scenario: if i have a datadriven/keyword framework without using
any runners like testNG and triggering from the Main method, what is the
effective way of handling that in selenoid.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aerokube/selenoid/issues/886, or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAKY23PC2CMZLOPCHLDHVMTRISASVANCNFSM4LQ3ERWQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aerokube/selenoid/issues/886#issuecomment-602021404,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALRLI7IZ2XZ23KILWRQG3ZDRISFJLANCNFSM4LQ3ERWQ
.

Will there be any support for ggr once that is obsolete.

Yes, it is our flagship product, it helps to reduce infrastructure cost and
has zero effort. You can try it for free, just receive trial license from
its site:
https://aerokube.com/moon/
Also please look at moon vs selenoid comparison:
https://aerokube.com/moon/latest/#_moon_vs_selenoid
And this video with detailed analysis:
https://www.youtube.com/watch?v=13OxAUuQ5q4
сб, 21 мар. 2020 г., 13:57 ashanirmala7<EMAIL_ADDRESS>
Thanks for the quick response. Moon is a paid solution?
On Sat, Mar 21, 2020 at 3:25 PM Alexander Andryashin <
<EMAIL_ADDRESS>wrote:

Actually ggr is old project and soon will be obsolete... Could you please
consider our new project designed to be scalable and resource efficient:
https://aerokube.com/moon/
https://aerokube.com/moon/latest/
сб, 21 мар. 2020 г., 12:15 ashanirmala7<EMAIL_ADDRESS>
Dear team,
We have around 10000 tests which needs to be completed with in a day
and
planning to set up selenoid with multiple GGRs. Could you please help
us
with the effective configuration reuired for that.

Machine configuration for GGR
How many selenoid machines can a single GGR can handle?
Selenoid machine configuration.
I have read that 1.5 * core, is the optimum thread size.

Second scenario: if i have a datadriven/keyword framework without using
any runners like testNG and triggering from the Main method, what is
the
effective way of handling that in selenoid.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aerokube/selenoid/issues/886, or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AAKY23PC2CMZLOPCHLDHVMTRISASVANCNFSM4LQ3ERWQ

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/aerokube/selenoid/issues/886#issuecomment-602021404
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ALRLI7IZ2XZ23KILWRQG3ZDRISFJLANCNFSM4LQ3ERWQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aerokube/selenoid/issues/886#issuecomment-602026931,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKY23LMRQ5SG22HN2TRJJDRISMTDANCNFSM4LQ3ERWQ
.

@aandryashin Will Ggr still be supported in the long term, or will you be declaring an 'end of support'?

Ggr is working well and is exploited in many big companies with years of
uptime. It solves tasks that was developed for. What do you mean end of
support, what kind of features missing in ggr?
ср, 13 мая 2020 г., 11:05 timothyjmtan<EMAIL_ADDRESS>
@aandryashin https://github.com/aandryashin Will Ggr still be supported
in the long term, or will you be declaring an 'end of support'?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aerokube/selenoid/issues/886#issuecomment-627821008,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKY23NPKMKLWYV2UNU5VNDRRJIDPANCNFSM4LQ3ERWQ
.

@timothyjmtan we have no plans to abandon Ggr development. Not every team will work with Kubernetes.

Hi @vania-pooh , thanks for the clarification. Good to hear that Ggr will still be in development.
@aandryashin, apologies but I initially thought when you said 'ggr is old project and soon will be obsolete', it meant that you folks will stop maintaining Ggr in favour of moving everyone to Moon. I believe that was why @ashanirmala7 was also asking about Ggr support once it is obselete.


Add image pull with signature integration test

Signed-off-by: Aaron Weitekamp<EMAIL_ADDRESS>

i signed it

@aweiteka Merge your pulls together and or sign your second pull.

@rhatdan commits squashed

LGTM

@mrunalp @runcom PTAL

LGTM

retest

All the tests didn't pass on jenkins CI.

@aweiteka Looks like one of your signature tests are failing on e2e

It's actually most of the tests timing out

[retest]

[retest]


Add jail compatibility

closes #342
Adds TOS page

Just now need help with the setState after unmounting as mentioned above.

Everyone happy with this now?


create-infrastructure - deleting ssl cert

google_sql_user.locket: 1 error(s) occurred:

google_sql_user.locket: Error, failed to insert user  into instance [INSTANCE]: googleapi: Error 400: Missing parameter: Missing user name., required

google_compute_ssl_certificate.ssl-cert (destroy): 1 error(s) occurred:

google_compute_ssl_certificate.ssl-cert: Error deleting ssl certificate: googleapi: Error 400: The ssl_certificate resource 'projects/[PROJECT]/global/sslCertificates/[PREFIX]-lb-cert' is already being used by 'projects/[PROJECT]/global/targetHttpsProxies/[PREFIX]-https-proxy', resourceInUseByAnotherResource

there was no CHANGEME for db_silk and db_locket - I tried leaving them blank, but the are required - params.yml should have CHANGEME
cannot get past the google_compute_ssl_certificate.ssl-cert (destroy) error

See https://github.com/pivotal-cf/pcf-pipelines/issues/106

Closing this as a duplicate issue to #106


Robot heart broken

Sitting here all
On my lonesome
It's not like these lasers
make for good neighbors
Won't you fix my lingering issues
A small broken heart
with an inter-dimensional fungal infection of my quantum compressor
and those hideous lights
that are supposed to pass
for human-like eyes.
No complaints from me. Just nudging your highness
oh creator of beautiful bits.

Migration took a couple of minutes.
Install tilemaps package (in package manager, etc.)
Follow error trail. Add the tilemap using statements (using UnityEditor.Tilemaps;
using UnityEngine.Tilemaps;) where appropriate.
Done. Seems to work fine.


requires the ipykernel package

Environment data

VS Code version: 1.94.2
Jupyter Extension version (available under the Extensions sidebar): v2024.9.1 (tried various versions)
Python Extension version (available under the Extensions sidebar): 3.9.13 (tried various versions)
OS (Windows | Mac | Linux distro) and version:  Windows
Python and/or Anaconda version: 3.9.13 (tried various versions)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Jupyter server running: Local | Remote | N/A

Expected behaviour
The python kernel to work. I've ran pip force install like it asks
Actual behaviour
Running cells with 'Python 3.9.13' requires the ipykernel package.
Run the following command to install 'ipykernel' into the Python environment.
Command: 'c:/Users/{user}/AppData/Local/Microsoft/WindowsApps/python3.9.exe -m pip install ipykernel -U --user --force-reinstall'
I have tried it with a non microsoft store version of python too.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

The code doesn't matter, the fact is that the kernel isn't working no matter what i do. I have reinstalled everything so many times, including libraries, python, jupyter extension. I'm very confused. If i knew a way to recreate this, i would.

Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

00:32:22.425 [error] Error in execution (get message for cell) Error: The kernel died. Error: C:\Users\~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher... View Jupyter [log](command:jupyter.viewOutput) for further details.
    > Kernel Id = .jvsc74a57bd0dfe038eecb874360894ce776203bb4915e5178ab37b222d416b3884fedf0d40a.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.9.exe.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.9.exe.-m#ipykernel_launcher
    > Interpreter Id = c:\USERS\~\APPDATA\LOCAL\MICROSOFT\WINDOWSAPPS\PYTHON3.9.EXE
    > at ChildProcess.<anonymous> (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:299:44598)
    > stdErr = C:\Users\~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher
00:32:22.437 [info] Process Execution: ~\AppData\Local\Microsoft\WindowsApps\python3.9.exe -c "import ipykernel;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"

Please could you enable logging as follows:

Open settings & go into Jupyter->Logging
Change the value to trace
Reload VS Code,
Attempt to repro the issue & then copy the output from the Jupyter output panel (use the command Jupyter: Show Output to get to the logs).

I think i did it correctly.
Does this give more info? I have tried a few more things to get it working this afternoon but no progress. I'm thinking this may be a problem with visual studio. I also recently tried changing the version of pylance I'm using but i don't think that did anything.
19:27:01.292 [error] Error in execution (get message for cell) Ll [Error]: The kernel died. Error: C:\Users~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher... View Jupyter log for further details.
at ChildProcess. (c:\Users~.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:299:44598)
at ChildProcess.emit (node:events:531:35)
at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12) {
category: 'kerneldied',
isJupyterError: true,
kernelConnectionMetadata: n {
kind: 'startUsingPythonInterpreter',
kernelSpec: id {
specFile: 'c:\Users\~\AppData\Roaming\Code\User\globalStorage\ms-toolsai.jupyter\version-2024.9.1\jupyter\kernels\python3913jvsc74a57bd0dfe038eecb874360894ce776203bb4915e5178ab37b222d416b3884fedf0d40a\kernel.json',
interpreterPath: 'c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.9.exe',
isRegisteredByVSC: 'registeredByNewVersionOfExt',
name: 'python3913jvsc74a57bd0dfe038eecb874360894ce776203bb4915e5178ab37b222d416b3884fedf0d40a',
argv: [Array],
language: 'python',
executable: 'python',
display_name: 'Python 3',
metadata: [Object],
env: {},
interrupt_mode: undefined
},
interpreter: {
id: 'C:\USERS\~\APPDATA\LOCAL\MICROSOFT\WINDOWSAPPS\PYTHON3.9.EXE',
uri: [ta]
},
id: '.jvsc74a57bd0dfe038eecb874360894ce776203bb4915e5178ab37b222d416b3884fedf0d40a.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.9.exe.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.9.exe.-m#ipykernel_launcher'
},
exitCode: 1,
stdErr: 'C:\Users\~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher\r\n'
}
19:27:01.306 [info] Process Execution: ~\AppData\Local\Microsoft\WindowsApps\python3.9.exe -c "import ipykernel;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"
19:27:01.621 [debug] Checking if product is installed, Class name = Ux, completed in 327ms, has a truthy return value, Arg 1: 19, Arg 2: undefined, Return Value: true
19:27:01.621 [debug] Are Dependencies Installed, Class name = zd, completed in 327ms, has a truthy return value, Arg 1: "~\AppData\Local\Microsoft\WindowsApps\python3.9.exe.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.9.exe.-m#ipykernel_launcher", Arg 2: undefined, Arg 3: true, Return Value: true
19:27:01.636 [trace] Cell 2 completed in 0s (start: undefined, end: undefined)

Tried with python 3.12.7 too just now. It's still saying there it can't find ipykernel. I've checked the file (screenshot below), i see a lot relating to jupyter so i think it installed correctly. I've even forced the install of ipykernal before sending this just now and nothing changed.

19:30:01.939 [error] Error in execution (get message for cell) Ll [Error]: The kernel died. Error: C:\Users~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher... View Jupyter log for further details.
at ChildProcess. (c:\Users~.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:299:44598)
at ChildProcess.emit (node:events:531:35)
at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12) {
category: 'kerneldied',
isJupyterError: true,
kernelConnectionMetadata: n {
kind: 'startUsingPythonInterpreter',
kernelSpec: id {
specFile: 'c:\Users\~\AppData\Roaming\Code\User\globalStorage\ms-toolsai.jupyter\version-2024.9.1\jupyter\kernels\python3127jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9\kernel.json',
interpreterPath: 'c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe',
isRegisteredByVSC: 'registeredByNewVersionOfExt',
name: 'python3127jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9',
argv: [Array],
language: 'python',
executable: 'python',
display_name: 'Python 3',
metadata: [Object],
env: {},
interrupt_mode: undefined
},
interpreter: {
id: 'C:\USERS\~\APPDATA\LOCAL\MICROSOFT\WINDOWSAPPS\PYTHON3.12.EXE',
uri: [ta]
},
id: '.jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.-m#ipykernel_launcher'
},
exitCode: 1,
stdErr: 'C:\Users\~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher\r\n'
}
19:30:01.980 [info] Process Execution: ~\AppData\Local\Microsoft\WindowsApps\python3.12.exe -c "import ipykernel;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"
19:30:02.296 [debug] Checking if product is installed, Class name = Ux, completed in 356ms, has a truthy return value, Arg 1: 19, Arg 2: undefined, Return Value: true
19:30:02.297 [debug] Are Dependencies Installed, Class name = zd, completed in 357ms, has a truthy return value, Arg 1: "~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.-m#ipykernel_launcher", Arg 2: undefined, Arg 3: true, Return Value: true
19:30:02.315 [trace] Cell 2 completed in 0s (start: undefined, end: undefined)

Please could you enable logging as follows:

Open settings & go into Jupyter->Logging
Change the value to trace
Reload VS Code,
Attempt to repro the issue & then copy the output from the Jupyter output panel (use the command Jupyter: Show Output to get to the logs).

Okay,
This is everything in the output (after clearing the log and trying to start a cell).  Sorry it's presented messy, I'm not too sure how to make this to look any nicer on github
`01:32:57.287 [debug] Handle Execution of Cells 2 for i:\CodeProjects\TrackingPlanets\TrackingPlanets.ipynb
01:32:57.287 [trace] Execute Notebook i:\CodeProjects\TrackingPlanets\TrackingPlanets.ipynb. Step 1
01:32:57.288 [trace] Connect to Kernel i:\CodeProjects\TrackingPlanets\TrackingPlanets.ipynb. Step 2
01:32:57.288 [debug] start the kernel, options.disableUI=false for i:\CodeProjects\TrackingPlanets\TrackingPlanets.ipynb
01:32:57.289 [info] Starting Kernel (Python Path: ~\AppData\Local\Microsoft\WindowsApps\python3.12.exe, Unknown, 3.12.7) for 'i:\CodeProjects\TrackingPlanets\TrackingPlanets.ipynb' (disableUI=false)
01:32:57.289 [trace] Creating raw notebook for resource 'i:\CodeProjects\TrackingPlanets\TrackingPlanets.ipynb'
01:32:57.303 [info] Process Execution: ~\AppData\Local\Microsoft\WindowsApps\python3.12.exe -c "import ipykernel; print(ipykernel.version); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.file)"
01:32:57.361 [debug] Launching kernel .jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9.c:\Users~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.c:\Users~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.-m#ipykernel_launcher for i:\CodeProjects\TrackingPlanets\TrackingPlanets.ipynb in i:\CodeProjects\TrackingPlanets with ports 9065, 9064, 9068, 9066, 9067
01:32:57.363 [info] Adding env Variable PYTHONNOUSERSITE to ~\AppData\Local\Microsoft\WindowsApps\python3.12.exe
01:32:57.363 [trace] Got a response of 2604 for INITIALIZE_INTERRUPT:16
01:32:57.386 [info] Process Execution: ~\AppData\Local\Microsoft\WindowsApps\python3.12.exe -m ipykernel_launcher --f=c:\Users~\AppData\Roaming\jupyter\runtime\kernel-v344cf225fca57a0cd037e5ca9dfe6ad290841fced.json
> cwd: i:\CodeProjects\TrackingPlanets
01:32:57.387 [debug] Kernel process 15456.
01:32:57.476 [debug] KernelProcess error 15456: C:\Users~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher
01:32:57.481 [debug] KernelProcess Exited 15456, Exit Code - 1 C:\Users~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher
01:32:57.482 [error] Disposing kernel process due to an error Ll [Error]: The kernel died. Error: C:\Users~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher... View Jupyter log for further details.
at ChildProcess. (c:\Users~.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:299:44598)
at ChildProcess.emit (node:events:531:35)
at Process.ChildProcess.handle.onexit (node:internal/child_process:294:12) {
category: 'kerneldied',
isJupyterError: true,
kernelConnectionMetadata: n {
kind: 'startUsingPythonInterpreter',
kernelSpec: id {
specFile: 'c:\Users\~\AppData\Roaming\Code\User\globalStorage\ms-toolsai.jupyter\version-2024.9.1\jupyter\kernels\python3127jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9\kernel.json',
interpreterPath: 'c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe',
isRegisteredByVSC: 'registeredByNewVersionOfExt',
name: 'python3127jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9',
argv: [Array],
language: 'python',
executable: 'python',
display_name: 'Python 3',
metadata: [Object],
env: {},
interrupt_mode: undefined
},
interpreter: {
id: 'C:\USERS\~\APPDATA\LOCAL\MICROSOFT\WINDOWSAPPS\PYTHON3.12.EXE',
uri: [ta]
},
id: '.jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.-m#ipykernel_launcher'
},
exitCode: 1,
stdErr: 'C:\Users\~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher\r\n'
}
01:32:57.482 [debug] Dispose Kernel process 15456.
01:32:57.483 [error] Failed to connect raw kernel session: Error: The kernel died. Error: C:\Users~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher... View Jupyter log for further details.
01:32:57.483 [error] Failed to connect raw kernel session: Error: The kernel died. Error: C:\Users~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher... View Jupyter log for further details.
01:32:57.484 [warn] Failed to shutdown kernel, .jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9.c:\Users~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.c:\Users~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.-m#ipykernel_launcher TypeError: Cannot read properties of undefined (reading 'dispose')
at L.shutdown (c:\Users~.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:304:13629)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at U_.shutdown (c:\Users~.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:304:22107)
01:32:57.589 [warn] Error occurred while trying to start the kernel, options.disableUI=false Ll [Error]: The kernel died. Error: C:\Users~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher... View Jupyter log for further details.
at ChildProcess. (c:\Users~.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:299:44598)
at ChildProcess.emit (node:events:531:35)
at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12) {
category: 'kerneldied',
isJupyterError: true,
kernelConnectionMetadata: n {
kind: 'startUsingPythonInterpreter',
kernelSpec: id {
specFile: 'c:\Users\~\AppData\Roaming\Code\User\globalStorage\ms-toolsai.jupyter\version-2024.9.1\jupyter\kernels\python3127jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9\kernel.json',
interpreterPath: 'c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe',
isRegisteredByVSC: 'registeredByNewVersionOfExt',
name: 'python3127jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9',
argv: [Array],
language: 'python',
executable: 'python',
display_name: 'Python 3',
metadata: [Object],
env: {},
interrupt_mode: undefined
},
interpreter: {
id: 'C:\USERS\~\APPDATA\LOCAL\MICROSOFT\WINDOWSAPPS\PYTHON3.12.EXE',
uri: [ta]
},
id: '.jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.-m#ipykernel_launcher'
},
exitCode: 1,
stdErr: 'C:\Users\~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher\r\n'
}
01:32:57.589 [warn] Kernel Error, context = start Ll [Error]: The kernel died. Error: C:\Users~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher... View Jupyter log for further details.
at ChildProcess. (c:\Users~.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:299:44598)
at ChildProcess.emit (node:events:531:35)
at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12) {
category: 'kerneldied',
isJupyterError: true,
kernelConnectionMetadata: n {
kind: 'startUsingPythonInterpreter',
kernelSpec: id {
specFile: 'c:\Users\~\AppData\Roaming\Code\User\globalStorage\ms-toolsai.jupyter\version-2024.9.1\jupyter\kernels\python3127jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9\kernel.json',
interpreterPath: 'c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe',
isRegisteredByVSC: 'registeredByNewVersionOfExt',
name: 'python3127jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9',
argv: [Array],
language: 'python',
executable: 'python',
display_name: 'Python 3',
metadata: [Object],
env: {},
interrupt_mode: undefined
},
interpreter: {
id: 'C:\USERS\~\APPDATA\LOCAL\MICROSOFT\WINDOWSAPPS\PYTHON3.12.EXE',
uri: [ta]
},
id: '.jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.-m#ipykernel_launcher'
},
exitCode: 1,
stdErr: 'C:\Users\~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher\r\n'
}
01:32:57.604 [info] Process Execution: ~\AppData\Local\Microsoft\WindowsApps\python3.12.exe -c "import ipykernel;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"
01:32:57.607 [debug] Disposed Kernel process 15456.
01:32:57.912 [debug] Checking if product is installed, Class name = Ux, completed in 321ms, has a truthy return value, Arg 1: 19, Arg 2: undefined, Return Value: true
01:32:57.912 [debug] Are Dependencies Installed, Class name = zd, completed in 321ms, has a truthy return value, Arg 1: "~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.-m#ipykernel_launcher", Arg 2: undefined, Arg 3: true, Return Value: true
01:32:57.914 [info] Dispose Kernel 'i:\CodeProjects\TrackingPlanets\TrackingPlanets.ipynb' associated with 'i:\CodeProjects\TrackingPlanets\TrackingPlanets.ipynb'
01:32:57.914 [debug] Kernel got disposed, hence there is no longer a kernel associated with i:\CodeProjects\TrackingPlanets\TrackingPlanets.ipynb
01:32:57.915 [error] Error in notebook cell execution Ll [Error]: The kernel died. Error: C:\Users~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher... View Jupyter log for further details.
at ChildProcess. (c:\Users~.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:299:44598)
at ChildProcess.emit (node:events:531:35)
at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12) {
category: 'kerneldied',
isJupyterError: true,
kernelConnectionMetadata: n {
kind: 'startUsingPythonInterpreter',
kernelSpec: id {
specFile: 'c:\Users\~\AppData\Roaming\Code\User\globalStorage\ms-toolsai.jupyter\version-2024.9.1\jupyter\kernels\python3127jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9\kernel.json',
interpreterPath: 'c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe',
isRegisteredByVSC: 'registeredByNewVersionOfExt',
name: 'python3127jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9',
argv: [Array],
language: 'python',
executable: 'python',
display_name: 'Python 3',
metadata: [Object],
env: {},
interrupt_mode: undefined
},
interpreter: {
id: 'C:\USERS\~\APPDATA\LOCAL\MICROSOFT\WINDOWSAPPS\PYTHON3.12.EXE',
uri: [ta]
},
id: '.jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.-m#ipykernel_launcher'
},
exitCode: 1,
stdErr: 'C:\Users\~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher\r\n'
}
01:32:57.916 [trace] Start cell 2 execution @ undefined (clear output)
01:32:57.916 [error] Error in execution (get message for cell) Ll [Error]: The kernel died. Error: C:\Users~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher... View Jupyter log for further details.
at ChildProcess. (c:\Users~.vscode\extensions\ms-toolsai.jupyter-2024.9.1-win32-x64\dist\extension.node.js:299:44598)
at ChildProcess.emit (node:events:531:35)
at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12) {
category: 'kerneldied',
isJupyterError: true,
kernelConnectionMetadata: n {
kind: 'startUsingPythonInterpreter',
kernelSpec: id {
specFile: 'c:\Users\~\AppData\Roaming\Code\User\globalStorage\ms-toolsai.jupyter\version-2024.9.1\jupyter\kernels\python3127jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9\kernel.json',
interpreterPath: 'c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe',
isRegisteredByVSC: 'registeredByNewVersionOfExt',
name: 'python3127jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9',
argv: [Array],
language: 'python',
executable: 'python',
display_name: 'Python 3',
metadata: [Object],
env: {},
interrupt_mode: undefined
},
interpreter: {
id: 'C:\USERS\~\APPDATA\LOCAL\MICROSOFT\WINDOWSAPPS\PYTHON3.12.EXE',
uri: [ta]
},
id: '.jvsc74a57bd0559d8e864d10a8296c885f7a84e1edb640b424062f06a1fd2a0ea1a7c9f72ab9.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.-m#ipykernel_launcher'
},
exitCode: 1,
stdErr: 'C:\Users\~\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe: No module named ipykernel_launcher\r\n'
}
01:32:57.932 [info] Process Execution: ~\AppData\Local\Microsoft\WindowsApps\python3.12.exe -c "import ipykernel;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"
01:32:58.264 [debug] Checking if product is installed, Class name = Ux, completed in 347ms, has a truthy return value, Arg 1: 19, Arg 2: undefined, Return Value: true
01:32:58.264 [debug] Are Dependencies Installed, Class name = zd, completed in 348ms, has a truthy return value, Arg 1: "~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.c:\Users\~\AppData\Local\Microsoft\WindowsApps\python3.12.exe.-m#ipykernel_launcher", Arg 2: undefined, Arg 3: true, Return Value: true
01:32:58.287 [trace] Cell 2 completed in 0s (start: undefined, end: undefined)
`

Thank you

This is everything in the output (after clearing the log and trying to start a cell).

Please could you instead, reload vscode and run the cell and share the logs from the beginning

I FINALLY DID IT
It still seems somewhat buggy and the files in my project look pretty messy. More importantly it works though.
What I did was kinda confusing but i uninstalled all versions of python, got the latest (and definitely not from the Microsoft store this time) version of python
Even then it confusingly didn't work after creating a new environment but I used these commands from Copilot
python -m venv myenv
myenv\Scripts\activate
pip install numpy
pip install ipykernel
python -m ipykernel install --user --name myenv --display-name "Python 3 (myenv)"
got an error so did this
pip uninstall pyzmq
pip install pyzmq
reloaded the project and it works. The only thing is i have to have the .venv in my project, which i previously didn't need for it to work. Is there a way to get rid of it? I definitely do not understand jupyter much but when it works i really love it.

Thank you for getting back with the details..
Using virtual environments is always recommended.
Installing packages in global Python environments is definitely not recommended, unless you know exactly what you are doing or know how to manage your dependencies.
Creating environments using venv, conda, & other tools such as poetry, pipenv, etc have been created to help get around such issues.
I would suggest sticking with virtual envs for now. Until you get a better handle on Python.

definitely do not understand jupyter much but when it works i really love it.

Please note, these requirements are not just for Jupyter, but for considered best practice for development in Python in general.


stats: show current calculated day as dotted point

For now, the stats API removes the last point from the response if the value was calculated today::
https://github.com/blockscout/blockscout-rs/blob/main/stats/stats-server/src/read_service.rs#L98
We actually want to display this point, but add a note to inform the user that this value is partially calculated. For example, from Mixpanel::

This feature requires API changes, so one should discuss with the frontend team the best way to implement it

i think it makes sense to link pr https://github.com/blockscout/blockscout-rs/pull/836
👀

This feature is deployed in backend. There are some issues (probably with update logic) that result in too inaccurate approximate points, but this should not be a problem in v2 due to large refactor.


Remove 1Password backend support and legacy code... feels good!

Just, yeah, 4,962 deletions.

/cat

/dog

/approve

/merge


Branch selection should always offer 'create' and 'create from'

Type: Bug
Expected:
Branch selection used to offer 'create' and 'create from', and use the currently entered value as the branch name for create.
In stable this works:

Actual:
Branch selection quick pick does not show create or create from.
 The refs in the checkout quick pick are sorted based using the git.branchSortOrder setting (committer date by default). The desired sort order is not honoured when searching for a ref. Recently we fixed this issue, but a side effect of the fix is that we had to remove the "static commands" when searching for a ref. I will keep the issue opened to gather more feedback on the new behaviour.

This is really annoying, because this disrupts existing workflow of just typing a new branch name and hitting enter to create a new branch from the current branch, the "static commands" was a really handy feature. I understand a similar action can still be done by selecting the command first, but such a change challenges the muscle memory for such a frequent action.

I have submitted a PR to reinstate the command items at the end of the filtered list.

Oh wow, such a small change and it totally confused my muscle memory - and made my changes end up in the wrong branch multiple times.

Thanks! Is there a way to track when this will land in the Stable version? I see this issue is still not a part of the January Endgame or the February Iteration pinned lists.

Every PR merged into main will appear in the next Stable unless it gets reverted before that ships.


No Documentation for Nextcloud

When reading the docs there are instructions on connecting to Google as well as Apple, but no nextcloud documentation, not even on the providers page.
Could someone with success connecting to nextcloud please make a PR to the intro tutorial for Nextcloud?
I'm having trouble getting it to connect, when calling client.connect using basic auth it's giving cors errors even though I've added localhost as trusted. I'm guessing I'll have to use oAuth?

Thanks for reporting, I'll add some docs related to nextcloud, but in the meantime you can try finding them online.

@Sewdohe , in case you are still interested, this stub is working for me:
const config = {
  serverUrl: "https://example.com/remote.php/dav/calendars/",
  user: "<username>",
  token: "<token-created-under-user-settings/security>",
};

async function logCalendarObjects() {
  const client = await createDAVClient({
    serverUrl: config.serverUrl,
    credentials: {
      username: config.user,
      password: config.token,
    },
    authMethod: "Basic",
    defaultAccountType: "caldav",
  });

  const calendars = await client.fetchCalendars();
  const calendarObjects = await client.fetchCalendarObjects({
    calendar: calendars[0],
    filters: [
      {
        "comp-filter": {
          _attributes: {
            name: "VCALENDAR",
          },
        },
      },
    ],
  });

  console.log(calendarObjects);
}

I found that magic comp-filter in intri-in/manage-my-damn-life-nextjs.


Could not load file or assembly 'System.CodeDom, Version=<IP_ADDRESS>, Culture=neutral

Reqnroll Version
2.1.1
Which test runner are you using?
xUnit
Test Runner Version Number
2.9.2
.NET Implementation
.NET 8.0
Test Execution Method
Visual Studio Test Explorer
Content of reqnroll.json configuration file
{
"$schema": "https://schemas.reqnroll.net/reqnroll-config-latest.json",
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning"
}
},
"specflow": {
"bindingCulture": {
"language": "en-us"
},
"language": {
"feature": "en-us"
},
"stepAssemblies": [
{ "assembly": "CostbookUITestsBDD/StepDefinitions" }
],
"unitTestProvider": {
"name": "xUnit"
}
}
}
Issue Description
I'm facing the below error. When I updated the Reqnroll packages to 2.1.1, When I returned back to 2.0.0, I had a successful build to my project, I checked https://github.com/reqnroll/Reqnroll/issues/244 and https://github.com/JoshKeegan/xRetry/pull/245, which should fix the problem.
as you can see below the versions of the packages I have:-
"Reqnroll" Version="2.1.1"
"Reqnroll.CustomPlugin" Version="2.1.1"
"Reqnroll.Autofac" Version="2.1.1"
"Reqnroll.SpecFlowCompatibility" Version="2.1.1"
"Reqnroll.Tools.MsBuild.Generation" Version="2.1.1"
"Reqnroll.xUnit" Version="2.1.1"
"xRetry.Reqnroll" Version="1.0.0"
System.CodeDom" Version="8.0.0"
Also, kindly check my conversation with @JoshKeegan on the issue https://github.com/JoshKeegan/xRetry/issues/252.
Severity Code Description Project File Line Suppression State
Error (active) MSB4018 The "GenerateFeatureFileCodeBehindTask" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly 'System.CodeDom, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
File name: 'System.CodeDom, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at xRetry.Reqnroll.GeneratorPlugin.customiseDependencies(Object sender, CustomizeDependenciesEventArgs eventArgs)
at Reqnroll.Generator.GeneratorContainerBuilder.CreateContainer(ReqnrollConfigurationHolder configurationHolder, ProjectSettings projectSettings, IEnumerable1 generatorPluginInfos, IObjectContainer parentObjectContainer) at Reqnroll.Tools.MsBuild.Generation.WrappedGeneratorContainerBuilder.BuildGeneratorContainer(ReqnrollConfigurationHolder reqnrollConfigurationHolder, ProjectSettings projectSettings, IReadOnlyCollection1 generatorPluginInfos, IObjectContainer rootObjectContainer)
at Reqnroll.Tools.MsBuild.Generation.GenerateFeatureFileCodeBehindTaskExecutor.Execute()
at Reqnroll.Tools.MsBuild.Generation.GenerateFeatureFileCodeBehindTask.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
CostbookUITestsBDD C:\Users\elbaika.nuget\packages\reqnroll.tools.msbuild.generation\2.1.1\build\Reqnroll.Tools.MsBuild.Generation.targets 93
Steps to Reproduce
add "xRetry.Reqnroll" Version="1.0.0" with the below packages:
"Reqnroll" Version="2.1.1"
"Reqnroll.CustomPlugin" Version="2.1.1"
"Reqnroll.Autofac" Version="2.1.1"
"Reqnroll.SpecFlowCompatibility" Version="2.1.1"
"Reqnroll.Tools.MsBuild.Generation" Version="2.1.1"
"Reqnroll.xUnit" Version="2.1.1"
System.CodeDom" Version="8.0.0"
Then you get the mentioned error when you try to build your project.
Link to Repro Project
No response

It is going to be included in v2.2.0 that is hopefully released tomorrow


changed url path

Description of the change:
One more change for the Academy launch. Changed the URL path for the Academy nav link.

Hello @richbachman,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


frontend build scripting

I am looking to add the React frontend to our automated build/deploy environment
Right now the frontend instructions rely on npm start which builds the project but then keeps running / does not exit which makes this command unsuitable for use in automated build scripts.
How to build the frontend with a command that would exit? Would that require any changes to project setup? Being new to npm development not sure what is the right answer ...

Take a look at frontend/package.json. Within it you can define different custom commands under scripts.
One of scripts listed for this project is build:webpack. You can use this for automated builds by running:
npm run build
which will use the webpack.config.prod.js file and your files will show up in frontend/dist

Let me know if my above doesn't answer your question and I'll continue to help out.

Thank you, Scott. Your help is greatly appreciated!
Now I do see the point of using npm start and have observed reloading - even though it does not seem to always work when files are changed
Could it be possible to use run a build command with a development webpack config? I'm still considering various options for our build process setup and this one might be handy as well...

Is VIM your editor? If so check out this thread regarding files changing and triggering the webpack build process.
This project uses two different webpack config files: frontend/webpack.config.dev.js and frontend/webpack.config.prod.js.
You're free to create additional webpack configs and/or create additional npm scripts within frontend/package.json to meet your needs.

Not using VIM, in fact considering various new options for JS editing, for now with Notepad Plus.
Auto-reloading is not the biggest issue anyways, seems like having to trigger build script by hand before re-testing something is not a significant problem...


do not use wildcard to allow for monospace font in codeblock

quickfix for issue #406
please note that is a classic "works for me" proposal, probably needs confirmation on other setups.

@lxndrblz Hi, any updates on this PR?

This issue had been resolved in #451


#31 use debian.cnf to create root pw

Hey
This fix Issue #31. It will use /etc/mysql/debian.cnf to make sure correct root pw is set and uses this password on every mysql_user call.
It also contains some reformatting.

Again Thank you @egmont1227 👍 !


2- Populate Blocktemplate responses with fixed values data

Motivation
Several BlockTemplate  fields introduced in https://github.com/ZcashFoundation/zebra/issues/5451 are fixed values.
Tasks

[ ] Add fixed values to the response of the getblocktemplate RPC call. These values should use the relevant Zebra constants, or create a new constant.

version: 4 - existing block version number constant from block parser
mutable: [ time, transactions, prevblock ] - new constant list of strings
noncerange: 00000000ffffffff - new min and max nonce constants, set to u32::MIN and u32::MAX
sigoplimit: 20000 - existing sigops limit constant from consensus rule check
sizelimit: 2000000 - existing block byte limit constant from block parser

[ ] Update the test created at 1- so it can also test for fixed values in the responses.

Depends on https://github.com/ZcashFoundation/zebra/issues/5451

Hey team! Please add your planning poker estimate with Zenhub @arya2 @conradoplg @dconnolly @oxarbitrage @teor2345 @upbqdn


QueryFilter json field dimension-->dimensions

referenced issue

same issue for the version of python sdk
so, try using dimensions instead of dimension.

[x] The purpose of this PR is explained in this or a referenced issue.
[x] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] MIT license headers are included in each file.

Hi @Knowckx thanks for your contribution but unfortunately we cannot take this change because the SDK is generated - your changes will be overridden if the source of truth, the swagger is not fixed.
I see the referenced issue has been closed, the issue should be fixed either on the swagger or on the service code.
I am going to close this PR. Please let us know if the issue is still there.


chore(plugins): move Plugins from plugins to packages

This PR relocates all of the plugins from plugins to packages.
The reason for this PR is so that we can properly create dev environments for #330.
Since backstage-cli doesn't allow something to run unless it is located in the packages
directory.

@tumido It looks like this PR opens up a number of code-smells. Would it be possible to merge this PR and then create a follow-up PR to resolve all of the code-smell issues? My concern is that resolving them in a PR where we're already moving directories will be too much change to keep track of

@RobotSail I'm sorry, I won't be merging this PR at this point, we would need to live with it for now.
Merging this after the feature freeze will make my life hell when backporting possible hardening and other fixes into bundle-1.0 branch.
That being said, I'm happy to leave this to live as a PR, I'm not dismissing this change in any way, It's just not good timing. 🙂

@tumido That's fine, we'll just icebox this for now. Let me know when you'd like me to look at this again.


Command :z! (with exclamation mark) did not work

Command :z! (with exclamation mark) did not work.
Also slightly improved test coverage of :z command.

Fixes #8832
Quoting :z! at https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ex.html#tag_20_40_13_51

[...] if ! was specified, the number of lines in the display minus 1.

I assume that the number of lines in the display minus 1 is the same as the window height
but I'm not entirely sure.

Fixes #8832
Quoting :z! at https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ex.html#tag_20_40_13_51

[...] if ! was specified, the number of lines in the display minus 1.

I assume that the number of lines in the display minus 1 is the same
as the window height but I'm not entirely sure.

In Vim we have split windows, and for some commands, such as CTRL-D,
half the window height is half the split window height.  But here it
says "lines in the display", thus I assume it means the Vim window
height.  Since it's a command line command I would expect it to use the
whole display for the output.
--
Article in the first Free Software Magazine: "Bram Moolenaar studied
electrical engineering at the Technical University of Delft and
graduated in 1985 on a multi-processor Unix architecture."
Response by "dimator": Could the school not afford a proper
stage for the ceremony?
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

@brammool wrote:

In Vim we have split windows, and for some commands, such as CTRL-D,
half the window height is half the split window height.  But here it
says "lines in the display", thus I assume it means the Vim window
height.  Since it's a command line command I would expect it to use the
whole display for the output.

OK.  The traditional Vi does not have windows, so I suppose that any
interpretation of that sentence in spec "if ! was specified, the number
of lines in the display minus 1" is fair in Vim when there are multiple windows.


Can't unset mirrorlist

I have a deployment scenario in which I only want to use a specific baseurl for the repos. I can set this just fine with attributes, however there does not seem to be a way to unset mirrorlist.

Document it in the README.md,. please!

It's already documented under "more examples".
If you can find a way to make this more clear, documentation PRs are my favorite thing to merge!
-s


Get a proper CI with all functions

[x] activate Eclipse CI
[x] remove skipTests in pipeline CI
[x] remove skipTests in maven-repair  CI

Travis CI seems dead, now blocking progress.
@henry-lp you did some experiments on https://ci.eclipse.org/repairnator/, what's the status?
@javierron do you have access to https://ci.eclipse.org/repairnator/ now that you're committer?

@monperrus Yes, I can log in and the features seem to be available to me.

nice, do you want to give and try and write a Jenkins CI job for Repairnator based on the Travis config?

@henry-lp you did some experiments on https://ci.eclipse.org/repairnator/, what's the status?

@monperrus, we tried to install Repairnator as a Jenkins plugin before but Eclipse did not have any intention of allowing an installation of third-party plugin. I think we would need to ask them everytime to do that, so I think that idea was putting on hold after that.
I would be glad to help in the normal case but I unfortunately don't have lots of spare time due to the need of preparing the thesis presentation and work.

@monperrus @henry-lp I can set it up. Have to learn my way around Jenkins first but should not take more than a day or two.

Super! Thanks Javier.

The current setup of Jenkins is still far from complete. We still need to:

Enable testing
Running parallel jobs is causing failures:

Simultaneous branches (e.g. master + pull request)
Simultaneous stages in build

Fully agree. The highest priority is to re-enable the pipeline tests. @javierron @andre15silva who feels like looking at this?

I can take a look at it this weekend.

Both tests in https://github.com/eclipse/repairnator/blob/master/src/repairnator-pipeline/src/test/java/fr/inria/spirals/repairnator/pipeline/TestPipelineSequencerRepair.java are failing.
TestPipelineBuildPassBranch has PATCH_NOT_FOUND, while TestPipelineBuildFailBranch has NOTBUILDABLE.
Another weird thing is that it creates two SequencerRepair steps.
@javierron do you know what might be causing this?
Example:
java -cp $TOOLS_JAR:target/repairnator-pipeline-3.3-SNAPSHOT-jar-with-dependencies.jar fr.inria.spirals.repairnator.pipeline.Launcher --build 703887431 --sequencerRepair
produces
[main] 17:08:16.760 INFO  f.i.s.r.p.i.ProjectInspector - ----------------------------------------------------------------------
[main] 17:08:16.760 INFO  f.i.s.r.p.i.ProjectInspector - PIPELINE EXECUTION SUMMARY
[main] 17:08:16.760 INFO  f.i.s.r.p.i.ProjectInspector - ----------------------------------------------------------------------
[main] 17:08:16.760 INFO  f.i.s.r.p.i.ProjectInspector - CloneRepository.......................................SUCCESS [  2 s ]
[main] 17:08:16.760 INFO  f.i.s.r.p.i.ProjectInspector - CheckoutBuggyBuild....................................SUCCESS [  0 s ]
[main] 17:08:16.760 INFO  f.i.s.r.p.i.ProjectInspector - BuildProject..........................................SUCCESS [ 16 s ]
[main] 17:08:16.761 INFO  f.i.s.r.p.i.ProjectInspector - InitRepoToPush........................................SKIPPED
[main] 17:08:16.761 INFO  f.i.s.r.p.i.ProjectInspector - SequencerRepair...............................PATCH_NOT_FOUND [  2 s ]
[main] 17:08:16.761 INFO  f.i.s.r.p.i.ProjectInspector - TestProject...........................................SUCCESS [  3 s ]
[main] 17:08:16.761 INFO  f.i.s.r.p.i.ProjectInspector - GatherTestInformation.................................SUCCESS [  0 s ]
[main] 17:08:16.761 INFO  f.i.s.r.p.i.ProjectInspector - ComputeClasspath......................................SUCCESS [ 12 s ]
[main] 17:08:16.761 INFO  f.i.s.r.p.i.ProjectInspector - ComputeSourceDir......................................SUCCESS [  0 s ]
[main] 17:08:16.761 INFO  f.i.s.r.p.i.ProjectInspector - ComputeTestDir........................................SUCCESS [  0 s ]
[main] 17:08:16.761 INFO  f.i.s.r.p.i.ProjectInspector - SequencerRepair.......................................NOT RUN
[main] 17:08:16.761 INFO  f.i.s.r.p.i.ProjectInspector - BranchingStep.........................................SUCCESS [  0 s ]
[main] 17:08:16.761 INFO  f.i.s.r.p.i.ProjectInspector - CommitPatch...........................................SKIPPED
[main] 17:08:16.762 INFO  f.i.s.r.p.i.ProjectInspector - ComputeModules........................................SUCCESS [  0 s ]
[main] 17:08:16.762 INFO  f.i.s.r.p.i.ProjectInspector - WritePropertyFile.....................................SUCCESS [  0 s ]
[main] 17:08:16.762 INFO  f.i.s.r.p.i.ProjectInspector - CommitProcessEnd......................................SKIPPED
[main] 17:08:16.762 INFO  f.i.s.r.p.i.ProjectInspector - PushProcessEnd........................................SKIPPED
[main] 17:08:16.762 INFO  f.i.s.r.p.i.ProjectInspector - ----------------------------------------------------------------------
[main] 17:08:16.762 INFO  f.i.s.r.p.i.ProjectInspector - PIPELINE FINDING: TEST FAILURE
[main] 17:08:16.762 INFO  f.i.s.r.p.i.ProjectInspector - ----------------------------------------------------------------------

Hey @andre15silva, thanks for checking this!

TestPipelineBuildPassBranch has PATCH_NOT_FOUND, while TestPipelineBuildFailBranch has NOTBUILDABLE.

Those tests do not check the status of the pipeline, so it is not very important here. Can you tell me which assertions are the ones failing?

Another weird thing is that it creates two SequencerRepair steps.

This is intentional. The SequencerRepair pipeline has two branches, each branch has its own SequencerRepair step. You can check how it's assembled here. The list view of the steps is not yet compatible with branched pipelines.

Related: Possibly we are going to have some tests failing when travis-ci.org stops working next month.
I can think of the ones that read directly from travis builds. e.g.:
Launcher launcher = new Launcher(new String[]{"--build", "703887431", "--sequencerRepair" }); on this test.

Those tests do not check the status of the pipeline, so it is not very important here. Can you tell me which assertions are the ones failing?

It's the last assertion, assertNull. I don't think that's correct, but the way I understood it, even the correct version wouldn't work.
My idea is that is should be something like this, on the first one:
        AbstractStep step =  launcher.getInspector().getSteps().get(10); //test fix sequencer repair
        assertNotNull(step);
        assertNotNull(step.getStepStatus());
        assertEquals(step.getStepStatus().getStatus(), StepStatus.StatusKind.SUCCESS);

Related: We are possibly going to have some tests failing when travis-ci.org stops working next month.
I can think of the ones that read directly from travis builds. e.g.:
Launcher launcher = new Launcher(new String[]{"--build", "703887431", "--sequencerRepair" }); on this test.

Yup, that is going to be a problem. We should try to migrate the tests before that happens.

My idea is that is should be something like this, on the first one

That makes sense. Although the last assertion is not necessary, because in this test we don't check that the tool succeeds, instead we check that the pipeline takes the correct branch.

That makes sense. Although the last assertion is not necessary, because in this test we don't check that the tool succeeds, instead we check that the pipeline takes the correct branch.

Oh okay, I thought this was supposed to test if the repair worked as well. But anyway, it was supposed to work right?

But anyway, it was supposed to work right?

Yes.
Perhaps the problem has something to do with docker (which SequencerRepair needs), because I think it is not available right now in our CI environment.

Yes.
Perhaps the problem has something to do with docker (which SequencerRepair needs), because I think it is not available right now in our CI environment.

I got the same problem running locally java -cp $TOOLS_JAR:target/repairnator-pipeline-3.3-SNAPSHOT-jar-with-dependencies.jar fr.inria.spirals.repairnator.pipeline.Launcher --build 703887431 --sequencerRepair tho. Could you check to see if you can reproduce it?

Closed per #1166

Closed per #1166


Fix a comma splice

Change a comma to a semi-colon to fix a comma splice.

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

Looks good; thanks, @red-patience


make asset links relative

See #2342.

Tested under Nginx reverse proxy from https and subpath to gekko on http and root path (config as in #2342) and works perfectly. Thank you.

 Thanks for reporting the issue so I could fix it at all.
On Thu, Jul 26, 2018 at 3:34 PM, Luca Lesinigo<EMAIL_ADDRESS>wrote:

Tested under Nginx reverse proxy from https and subpath to gekko on http
and root path (config as in #2342
https://github.com/askmike/gekko/issues/2342) and works perfectly.
Thank you.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/askmike/gekko/pull/2359#issuecomment-408005174, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA7MD6fgIUvJG5kQvMsiYUV9jFWjeKGmks5uKXEGgaJpZM4Vb-eS
.

--
PGP key at keybase.io/mikevanrossum
https://keybase.io/mikevanrossum/key.asc