Null transaction traces returned

Problem
null traces for transactions of block 2883706
Steps to Reproduce
Query traces with:
curl https://mainnet.evm.nodes.onflow.org -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"debug_traceBlockByHash","params":["0xbd3a677a9168180b2c9f758cc4d8a0ba8f5930e3b0e953b757486fc0082843f4"], "id":1}' | jq

Returning null traces as results:
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    {
      "txHash": "0xeceb91cabc87871bec013b25f510541ff1cf17afef1d725a93addd66eb94f048",
      "result": null
    },
    {
      "txHash": "0x745f710e0c86bae6143087436290160c4cfff1d13d230aa8d4ac8ec9025980f2",
      "result": null
    }
  ]
}

Acceptance Criteria
Should contain any information of a transaction's trace.  Particularly tx 0xeceb91cabc87871bec013b25f510541ff1cf17afef1d725a93addd66eb94f048 is a token transfet that eventually involves some internal txs.

The following call now does return the proper traces:
curl https://mainnet.evm.nodes.onflow.org -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"debug_traceBlockByHash","params":["0xbd3a677a9168180b2c9f758cc4d8a0ba8f5930e3b0e953b757486fc0082843f4"], "id":1}' | jq

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    {
      "txHash": "0xeceb91cabc87871bec013b25f510541ff1cf17afef1d725a93addd66eb94f048",
      "result": {
        "from": "0xd91cd76f3f0031cb27a1539eafa4bd3dbe434507",
        "gas": "0x0",
        "gasUsed": "0x3e1bf",
        "to": "0x1f474e384712ca7ec0dee3cd9e4c3905dc8bea18",
        "input": "0xac9650d800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000249169d8330000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000846ef5eeae000000000000000000000000e2aac46c1272eeaa49ec7e7b9e7d34b90aadb9660000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d91cd76f3f0031cb27a1539eafa4bd3dbe43450700000000000000000000000000000000000000000000000000000000",
        "value": "0xde0b6b3a7640000",
        "type": "CALL"
      }
    },
    {
      "txHash": "0x745f710e0c86bae6143087436290160c4cfff1d13d230aa8d4ac8ec9025980f2",
      "result": {
        "from": "0x0000000000000000000000030000000000000000",
        "gas": "0x0",
        "gasUsed": "0x5208",
        "to": "0x2c91520ee9e2c55593dc425e1c2b82026391dea7",
        "input": "0x",
        "value": "0x17233033df00",
        "type": "CALL"
      }
    }
  ]
}

The EVM GW still downloads traces from a GCP bucket, so there might be some download failures. But soon we'll change this to produce the traces on demand, instead of download them from GCP.


Chineseanime Not Working

Source information
Chineseanime 14.6
Source language
Multi
Steps to reproduce

Open Chineseanime
Choose any of these Anime
Great Doctor Miss Nine, Make Money to be king, Xixing Ji Asura, Primordial Spiritual Lord
those are only few examples most anime don't work

Expected behavior
to load the chosen episode
Actual behavior
error: video list is empty
Aniyomi version
Preview r7509
Android version
Android 10
Other details
it's been very long time since Chineseanime hasn't worked properly last several updates didn't fix it
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

still same issues after last update

14.8 update still has the same issues

14.8 update still has the same issues

pr isn't merged yet, wait for next update


Trigger udev to populate disk info

because otherwise, sometimes the encrypted partition doesn't show up as type: crypto_LUKS but as type: unknown making kcrypt skip it completely
Part of https://github.com/kairos-io/kairos/issues/2511
(an additional seems to be needed in kairos-agent when locking the partitions to fully fix the issue)

Im wondering if we should also trigger + sync in the luksify part, where we create the device first, then wait for it and format it.
Seems like that has never hit an issue though, so maybe its not needed. But it may make us avoid having to trigger on agetn and consumers of the lib?

I did hit this issue too and I was planning to do a similar call right after this: https://github.com/kairos-io/kairos-agent/blob/f39d257f2238f70c9399b02867f60c0d87ad1728/internal/agent/hooks/kcrypt_uki.go#L87
Should I do that in kcrypt instead (inside Luksify somewhere)?

Im wondering if we should also trigger + sync in the luksify part, where we create the device first, then wait for it and format it.
Seems like that has never hit an issue though, so maybe its not needed. But it may make us avoid having to trigger on agetn and consumers of the lib?

I did hit this issue too and I was planning to do a similar call right after this<EMAIL_ADDRESS>Should I do that in kcrypt instead (inside Luksify somewhere)?

I think so yeah, so its the kcrypt lib the one responsible to search and retry properly to get the device. Maybe adding it in Luksify only its the correct choice (after all luksify is run in the install before the unlock fails) but triggering it twice should be of no issue.


Multiple camera support

Is it possible to support multiple camera connections, in the way that the Live View Remote does?
Here's a few links which might help you get there:
WPS used for initiating multiple connections - http://helpguide.sony.net/cam/1410/v1/en/contents/TP0000598803.html
Hold Shutter Button on QX10, QX100 - http://helpguide.sony.net/cam/1410/v1/en/contents/TP0000598803.html
QX30 Wifi Button - https://us.en.kb.sony.com/app/answers/detail/a_id/52387/related/1

Thanks for create new issue!! I will see

Cool, that would be awesome. Although I note from looking at the API there does not appear to be a method for identifying the camera once you are connected....
I managed to connect to my AS15 and QX10 individually, but I don't think there is a method to get them to connect to a common access point. Also, Xubuntu was being very fussy connecting to the QX-10, worked best if I used 'connect to hidden network'.

Now we have the uPNP feature working, this returns a list of all cameras found on local network. In theory this would work with cameras configured as 'multi camera control' (as used with LiveViewRemote bracelet).
Unfortunately I don't any cameras which operate like this to confirm. Cameras supported are as follows.
RM-LVR1
https://esupport.sony.com/CA/p/support-info.pl?info_id=1409&mdl=RMLVR1
DSC-QX100, FDR-X1000V, HDR-AS100V, HDR-AS20, HDR-AS200V, HDR-AS30V, HDR-AZ1
RM-LVR2
RM-LVR2V
http://esupport.sony.com/US/p/support-info.pl?info_id=1530#L1a
DSC-QX30, FDR-X1000V, HDR-AS100V, HDR-AS20, HDR-AS200V, HDR-AS30V, HDR-AZ1, ILCE-QX1

BTW the 'multi connection' feature uses WPS to authenticate/connect the camera to the LVR or other router.
https://us.en.kb.sony.com/app/answers/detail/a_id/52387/related/1
http://helpguide.sony.net/cam/1530/v1/en/contents/TP0000651537.html

Interesting:
https://www.youtube.com/watch?v=aAy_DQyFkro&feature=youtu.be
Thought I still don't have a camera with multi-wifi feature.

Now have an AS100 to play with. You can use the WPS button on Router to bond camera to your WiFi network, in theory for as many cameras as you have.
Can also use the following to write camera's internal settings to configure WiFi (and other stuff).
https://github.com/ma1co/Sony-PMCA-RE/issues/54


Delete backups from etcd if they're not in storage

This fixes #309.
Working on manual and automated testing of this.
Signed-off-by: Carlisia<EMAIL_ADDRESS>

@skriss how can I fake add items to Kubernetes so when this gets called: https://github.com/heptio/ark/pull/680/files#diff-fa7d01c5de5ce8bba301a9734797a863R138
...it will have items that don't exist in the client list of backups?

So far I don't have much to add in addition to what Steve's already said. +1 to using k8s.io/apimachinery/pkg/util/sets.NewString() and relying on the API machinery NewAggregate func for now.

I am suspicious of my test. This is what is happening:
When I call the test helper function backupsExist, I get:
existing backup:  backupA - this is a backup returned from fetching a list of k8s backups, as expected.
>>>test backup:  backupA - just to make sure we are iterating thru the expect list of test cases (of which there is only one at this point)
Then from deleteUnused I get:
----> trying to delete:  backupA
if I am here, delete failed because:  backups.ark.heptio.com "backupA" not found

And then, as expected because my test exclusively asserts the expected calls were made:
    --- PASS: TestDeleteUnused/normal_case (0.00s)
PASS
ok  	github.com/heptio/ark/pkg/controller	0.030s
Success: Tests passed.

@carlisia I think the issue is that when you're setting up the test, you're adding backupA to the informer, but not to the fake clientset.  After https://github.com/heptio/ark/pull/680/files#diff-0d56a17487f5913ed801d2528ceb5eaaR224, try creating the backup in the client with something like client.Ark().V1().Backups(backup.Namespace).Create(backup).

@carlisia need anything from me to get this over the finish line?

@skriss if this test doesn't make sense I'll delete it: https://github.com/heptio/ark/pull/680/files#diff-0d56a17487f5913ed801d2528ceb5eaaR243
PS: I still have print statements to be deleted.

@carlisia That test makes sense to me. I can take a look to see if I can find out why it's failing.

@skriss @nrb please take another look.

LGTM

@nrb good to ship?


Fix incorrect handling of unavailable products in checkout

Port changes from https://github.com/saleor/saleor/pull/8978.
Raise a ValidationError in CheckoutCreate and CheckoutPaymentCreate when any of the checkout line variant is unavailable for purchase. In other words, any of the following is True:

ProductChannelListing does not exist
ProductChannelListing's available_for_purchase value is  None or is in feature
ProductVariantChannelListing does not exist
ProductVariantChannelListing does not have price data

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-5026 Incorrect handling of unavailable products in checkout


CSS Order Differs Between Development & Production Modes when Treeshaking.

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
CSS seems to be out of order in "development" vs "production" mode. It appears somehow related to sideEffects and tree shaking.
If the current behavior is a bug, please provide the steps to reproduce.

Here's a repo demonstrating the issue: https://github.com/brycehill/webpack-css-order.
There are instructions in the readme. Basically, if you build in development mode, the outputted CSS is different from production mode.
What is the expected behavior?
CSS order is consistent from one environment to another.
I don't want to depend on a specific CSS order, but I do expect it to be consistent from when I develop to when I build for production.
If this is a feature request, what is motivation or use case for changing the behavior?
N/A
Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.
Node: v8.9.1
Webpack: v4.6.0
OS: MacOS High Sierra

Thanks for the reply.

using sideEffects you say order doesn't matter

I'm curious why this is the case. Is it a technical limitation? For me, the final order doesn't matter, but what does matter is a consistent order between development and production environments

@brycehill are you saying that unused CSS which causes the development mode to look different from production mode is getting treeshaken?

@TheLarkInn That's what I thought was happening at first.
However, if you take a look at my example repo, none of the CSS is eliminated, but setting sideEffects: true fixes the problem. To reiterate from my previous comment:

For me, the final order doesn't matter, but what does matter is a consistent order between development and production environments

Should be fixed by https://github.com/webpack/webpack/pull/7507 in 4.12.1

Not sure if this is related, but after upgrading babel to v7 (already on webpack 4.17.2), my staging/production webpack builds are missing any css including through import "./style.less" calls.
After some tedious debugging, I found out that adding the cli option -p or the config mode: "production", (or both) will break the build (which means that dev build works without any problem).
Since I had "sideEffects": false, in my packages.json, I changed it to "sideEffects": ["*.css", "*.less"],, and it seems to have fixed my build.
Can someone explain me what this sideEffects is doing, why it only affects production builids, and why it was working with Babel v6 and not with babel v7 ?

@sokra I just hit this issue in 4.27.1. It was also reproducable in https://github.com/brycehill/webpack-css-order with the upgraded webpack version.
Because of this I can't set "sideEffects": false nor "sideEffects": ["*.css"] in my package.json, otherwise it affects the CSS-order which causes styling issues.

I'm also seeing this in 4.27.1.

Looks like this was fixed in v4.12.1 as described by @sokra, however it broke again in the next minor release (v4.13.0).
I pushed an update to my test repo showing this.

@sokra Did this get deliberately reverted, or can the same fix just be reapplied to master?

v4.30.0 - broken css order when you import your css files in js
v4.31.0 - seems css order is as expected!

Attention, as before, when switching from one mode to another, for some strange reason, order gets lost!
To fix this you need to do npm cache clear --force
Why?

When import file from node_modules which has declared "sideEffects": [".*css"] in package.json, the css order is unexpected, but it's ok when import file from root directory.
I create a test repo: https://github.com/Javey/webpack-tree-shaking-demo

@webpack-bot  please don't. This is an important issue and I'm disappointed we still haven't been able to solve without copious amounts of "!important" rules.

@darylteo don't worry we check all PRs what bot closed

It's pretty obvious, but might help someone.
TL;DR:
For multiple entries configuration. This might be caused by scripts order in your index.html.
Hi guys. I'm not sure, that what i'm going to say is fully applicable to covered situation, but i had the same issue.
In my React project i had 3 bundled .js files (vendors.bundle.js, first.bundle.js, second.bundle.js). We've been using style modules (imported styles).
When i was working in devenv, everything was cool. But after building for production styles become messy. Some was overwritten by another ones and so on.
The reason was obvious and i am a bit shy about not figuring out this in first minutes of investigation:
Scripts load order. Which was:
...

...

All i had to do is switch order for last two guys.
Hope it might help someone like me. Cheers.

using sideEffects you say order doesn't matter

Does it mean that I have to mark all JS files that import CSS as having side effects?

Basically, in a real production application, with the use of code splitting for dynamic components (indispensable for us to keep the application bundle low) you just CAN'T use tree-shaking, which is a big loss.
Is there any chance to increase the priority of this issue? 🙏

Hello Team
I have facing issues regarding the next-CSS. I have using next-CSS but they are giving me a warning and when I removed the next-CSS from next.config file. my style CSS has not loaded chunks in the production mode. and my CSS is out of order in a production build.
Can you plz help me.

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
CSS seems to be out of order in the "production" mode. And my style CSS has not loaded chunks in the production mode, and my CSS is out of order in a production build.
What is the expected behavior?
My style CSS has not loaded chunks in the production mode.
here is my build

First Load JS shared by all                                  107 kB
├ static/pages/_app.js                                       16.1 kB
├ chunks/1899c3d08f1d4a9ab6e4e22050e66cd1600464e8.b9ea19.js  3.53 kB
├ chunks/48183758.ede116.js                                  65 B
├ chunks/57a5805a715b88beb8aec3ac43d8f962ef8879cc.53c4e4.js  2.34 kB
├ chunks/9ed67fcaced240be487e7a2880bfff868999eacb.76e83a.js  8.29 kB
├ chunks/ab68c4ca07cacf4e3048ee2d6f69810106b4b489.68a8b3.js  10.4 kB
├ chunks/d32b6132cd0996134c9f87f7274f553f791cd563.18dde5.js  6.39 kB
├ chunks/d6e4d54ae3ad4e326943499c7720eb830c61721b.b7693f.js  4.41 kB
├ chunks/framework.4dd100.js                                 40.3 kB
├ runtime/main.d3f0e8.js                                     13.2 kB
├ runtime/webpack.361a6a.js                                  1.59 kB
├ css/16c4518f007189356065.css                               54.9 kB
└ css/f93669f8200e9712e425.css                               30.6 kB

Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.
Node: v13.7.0
Webpack:4.43.0
OS: Linux
Can you please help me.
Thanks

I'm not sure if it is related to this issue. But in certain parts of my code, this happens for JS files. When using webpack-dev-server it is out of order, but when I use webpack it is in order.

Also having this issue in 5.0.0-beta.29

Well, if you need something fast and dirty you may apply webpack+4.46.0.patch.txt via patch-package...
The patch most probably breaks something somewhere since it makes HarmonyImportSideEffectDependency to behave exactly as HarmonyImportDependency.
But it makes development and production CSS oder to be consistent for me.

@alexander-akait is it still an issue for webpack@5?

@vankop need tests, I think no

In case you're curious, I have apparently worked around the issue with a Babel transform that traverses the dependencies and adds transitive CSS imports to every JS file in depth-first order: https://github.com/VKCOM/VKUI/pull/1933
Not sure if it's a stable fix though.

Well, if you need something fast and dirty you may apply webpack+4.46.0.patch.txt via patch-package... The patch most probably breaks something somewhere since it makes HarmonyImportSideEffectDependency to behave exactly as HarmonyImportDependency and removes dependencyReference hook call in Compilation.js. But it makes development and production CSS order to be consistent for me.

Note, that completely broke my build. Console error:

TypeError: (void 0) is not a function

I was trying this as a workaround suggested here: https://github.com/vuetifyjs/vuetify/issues/13732

Fwiw, I had been using treeShake: false in my nuxtjs-vuetify module settings due to a separate issue I was experiencing before. Removing that fixed the CSS order issue. To fix the other issue, I had to import a component I was rendering conditionally with import { VCard } from 'vuetify/lib'.

I got around this issue by adding sideEffects: true to all of my webpack loader configs. Not the most ideal as it disable tree-shaking appwide. Hoping someone may have found a better solution.

@alexander-akait Greetings! Is there currently any way to solve the problem with the order of styles when using tree shaking?
I saw that the task has been moved to high priority in webpack 5/6, but if this can somehow be solved now, that would be just great.
My case:
On the react project.js using webpack 5.
Styling via css modules from under scss.
That is, each component has its own css module, for example:
component
  Component.js
  Component.module.scss

// Component.js
import React from 'react'

import styles from './Component.module.scss'

const Component = () => {}

When you enable tree shaking in webpack (specify sideEffects: ["/.css", "/.scss"]), problems with css formation begin, namely, the order of modules entering the final css file ceases to be predictable and logical.
For example, there are two react components.js, Title and Content. In the Content component, we want to reuse the Title component, and pass other styles to it via className prop:
components
  title
    Title.js
    Title.module.scss
  content
    Content.js
    Content.module.scss

// Title.js
import React from 'react'
import cx from 'classnames'

import styles from './Title.module.scss'

const Title = ({ className }) => (

Title

)

// Title.module.scss
.title {
  background: red;
}

// Content.js
import React from 'react'

import Title from '../title/Title'

import styles from './Content.module.scss'

const Content = ({ className }) => (
  <Title className={styles.title}></Title>
)

// Content.module.scss
.title {
  background: blue;
}

With tree shaking turned off, we will have the following final css file:
.components_title_title {background: red;}
.components_content_title {background: blue;}

That is, everything will work as expected, first come the styles of the Title component, then the styles of the Content component. The passed class from Content to Title will be below, so styles can be easily redefined.
However, when tree shaking is active, the style order will be the opposite of what we expect, i.e.:
.components_content_title {background: blue;}
.components_title_title {background: red;}

In this case, the styles from the Content will not be able to override the styles of the Title, respectively.
This is very demotivating, because I want to take advantage of tree shaking, but because of this problem with styles, I can’t do it.

Yeah, it is a bug inside webpack, I don't look deeply at this right now, so no solution right now, you can try to solve it on the CSS side, i.e. use css specificity, I know it is not a perfect solution, also you can try to use CSS modules

@alexander-akait I'd like to fix it myself if possible, would you accept a PR? I haven't done any contributions to webpack yet though. What do you think is the scope of this issue? Any suggestions as to where I should start investigating?
https://github.com/webpack/webpack/blob/6ccd5314451f392593a293f4dfd10153dc33c020/lib/buildChunkGraph.js#L792 It looks like webpack traverses modules here?

@kosciolek I'm afraid this is not an easy task, you can start with adding failed test cases and then we will look how to fix it

One of the commits in 5.90.2 seems to have fixed it, at least for the reproduction I made above. However, our larger project still has this problem, but it's likely it's something on our side.

@kosciolek Yeah, we can also have some edge cases, so, if you can provide an example I will investigate it

One of the commits in 5.90.2 seems to have fixed it

Release will be today/tomorrow, need to finish one small thing

This is the commit in 5.90.2 that fixed the issue in the reproduction:
commit a2ce375d968a9ef5e8b9ee59a30268d3b35c864a
Merge: 2a063f88d 1673ee5d1
Author: Alexander Akait<EMAIL_ADDRESS>Date:   Mon Feb 12 13:37:05 2024 +0300

    fix: use new runtime to reconsider skipped connections activeState

I made a PR with a failed test case

Any update on this? I have this problem as well. The uikit I'm using has {"sideEffects": [".css", ".scss"],} in its package.json.
Code:
import { Button } from "@gravity-ui/uikit";
import "./main.css";

ReactDOM.createRoot(document.getElementById("root")).render(
    <Button>sdf</Button>
);

Css build result:
// Css from main.css
.main {
  color: green;
}

// Button css
.g-button {
  --_--text-color: var(--g-color-text-primary);
}

One solution to avoid this problem as a component library author is to add all styles in a component library package to a CSS layer. In this way, the styles in the consuming application always take precedence over the styles in the library package no matter what the order of appearance is.
But keep in mind that style rules with less specificity will have precedence as well. So if you have some sort of CSS reset in addition to the library package, you might want to add this to a CSS layer as well and define the order early in the application.

Close in favor - https://github.com/webpack/webpack/issues/18961


Error 500 after upgrading to v3.0.0

Got a update in WordPress to upgrade (from 2.x) to 3.0.0, got error
7026#0: *382570 FastCGI sent in stderr: "PHP message: PHP Warning: require_once([..]/httpdocs/wp-content/plugins/woocommerce-myparcel/includes/class-wcmp-frontend-settings.php): failed to open stream: No such file or directory in [..]/httpdocs/wp-content/plugins/woocommerce-myparcel/includes/class-wcmp-frontend.php on line 66

PHP message: PHP Fatal error: require_once(): Failed opening required '[..]/httpdocs/wp-content/plugins/woocommerce-myparcel/includes/class-wcmp-frontend-settings.php' (include_path='.:/opt/plesk/php/7.2/share/pear') in [..]/httpdocs/wp-content/plugins/woocommerce-myparcel/includes/class-wcmp-frontend.php on line 66" while reading response header from upstream

Removed the plugin, tried installing it again, same error ..
Any help?

Downloaded the ZIP file from WordPress Plugins, it included every file, except the class-wcmp-frontend-settings.php
/includes/class-wcmp-admin.php
/includes/class-wcmp-api.php
/includes/class-wcmp-assets.php
/includes/class-wcmp-export.php
/includes/class-wcmp-frontend.php
/includes/class-wcmp-nlpostcode-fields.php
/includes/class-wcmp-rest.php
/includes/class-wcmp-settings-callbacks.php
/includes/class-wcmp-settings.php

Can you fix this @RichardPerdaan

Hi @nickurt,
Thank you for your massage.
This problem is fixed in version 3.0.1 of the MyParcel plugin.


[BUG] leaveOnEmpty is always true even if you set it to false

Title says it all. This error occurred when I updated my module.

Can reproduce on latest v7.1.3. Working on a fix, thanks for the report.

Hey, fixed on https://www.npmjs.com/package/discord-music-player/v/7.1.4!
Thanks for the report.


[Sandbox] Spin

Application contact emails
<EMAIL_ADDRESS><EMAIL_ADDRESS>Project Summary
Spin is an open source framework for building and running fast, secure, and composable cloud microservices with WebAssembly
Project Description
Spin is an open-source framework designed to facilitate the development and deployment of event-driven, serverless applications using WebAssembly (Wasm). Spin provides a lightweight runtime environment for running fast and secure applications. Spin supports multiple programming languages including Rust, Go and others, allowing developers to use their preferred languages while targeting WebAssembly as the execution environment.
WebAssembly provides some key benefits over container based environments including better portability, significantly faster cold-start times, smaller size, minimal overhead, secure sandboxing and strict deny-all by default security model. These characteristics enable a broader range of use cases to benefit from cloud native environments and using existing infrastructure and resources in a more cost-effective and efficient manner.
Spin builds on the foundational capabilities of WebAssembly by adding necessary infrastructure, tools, and features for modern application development especially in a cloud-native context and reduces the complexity associated with using pure WebAssembly. It enables developers to utilize the most recent advancements and standards from the WebAssembly community while aiming to provide an intuitive developer experience.
Org repo URL (provide if all repos under the org are in scope of the application)
N/A
Project repo URL in scope of application
https://github.com/fermyon/spin
Additional repos in scope of the application

SDKs:

Spin Python SDK
Spin JavaScript SDK
Spin Rust SDK
Spin .NET SDK
Spin Nim SDK

Plugins:

Spin Plugins Index Repository
Fermyon Platform Plugin
Spin Test Plugin

Triggers:

Spin Command Trigger
Spin SQS Trigger
Spin Cron Trigger

Website URL
https://www.fermyon.com/spin
Roadmap
https://github.com/fermyon/spin/blob/main/ROADMAP.md
Roadmap context
No response
Contributing Guide
https://github.com/fermyon/spin/blob/main/CONTRIBUTING.md
Code of Conduct (CoC)
https://github.com/fermyon/spin/blob/main/CODE_OF_CONDUCT.md
Adopters
Microsoft, Docker, SUSE, NGINX, ZEISS
Contributing or Sponsoring Org
Fermyon Technologies
Maintainers file
https://github.com/fermyon/spin/blob/main/MAINTAINERS.md
IP Policy

[X] If the project is accepted, I agree the project will follow the CNCF IP Policy

Trademark and accounts

[X] If the project is accepted, I agree to donate all project trademarks and accounts to the CNCF

Why CNCF?
The original interest in WebAssembly and the need for Spin was born out of problems and constraints the Fermyon team ran into while working with containers in cloud native environments. After years of contributing to the WebAssembly community, iterating on the Spin project and getting feedback from both end users and vendors, we’re excited to see the optimism for and practical use of WebAssembly with Spin in Kubernetes and cloud native environments. The Spin project has a reached a point where there is adoption, interest, and excitement from end users and vendors, and the Spin community is looking for a neutral home for multi-stakeholder collaboration and governance. We strongly believe in building a a collaborative, sustainable, and diverse community and think the CNCF will provide the perfect home to do just that. We hope that by being part of the CNCF, we also encourage further integration with CNCF and cloud native projects and contribute our learnings and perspectives to the WebAssembly community.
Benefit to the Landscape
Spin brings the benefits of Wasm to the Kubernetes and cloud native community. It allows end-users to have a solution when they run into limitations with containers or scenarios where WebAssembly provides obviously benefits. It also unlocks use cases where the characteristics of Wasm enable experiences that were not possible or not reliable previously. It ultimately helps end users more efficiently use resources while providing developers with a consistent, polyglot developer experience for building event-driven, serverless applications.
Cloud Native 'Fit'
Landscape: Serverless
TAGs: TAG Runtime + TAG App Delivery
Spin operates as both a runtime and a developer experience. As a runtime, it aims to be an opinionated embedding of the Wasmtime runtime that provides support for things like observability and lifecycle management. The current Spin Factors refactor will allow for the Spin runtime to be extensible and for capabilities to be customized based on host environment. TAG Runtime’s objective is “to enable widespread and successful execution of the full spectrum of workload types”. This aligns nicely with what Spin is doing with Wasm workloads and the SpinKube project and we think it’d be a natural fit here. Spin would benefit from the learnings from this group and be able to contribute to the conversation around making executing WebAssembly workloads a more cloud native experience.
There is also some overlap with TAG App Delivery as Spin also focuses on building, packaging, deploying and running applications in cloud-native and serverless environments aligning it with the goals of TAG App Delivery. Spin’s primary distribution mechanism for Wasm artifacts are OCI Artifacts, which ties into the work of wg-artifacts. WebAssembly presents unique opportunities to build more resilient, secure, scalable, and impactful applications, thereby enhancing the robustness and power of cloud native computing environments. As the use of Wasm in the cloud-native space matures and grows, new patterns around deployment and what to expect when running an application will also emerge. It would be great to ensure those patterns are represented in current cloud native tooling under TAG App Delivery working through the TAG and ensure Spin is integrating with more existing cloud native tools.
Cloud Native 'Integration'
Spin unites WebAssembly and cloud native environments in a way that is familiar to the cloud native community and takes advantages of cloud native best practices. Spin has a seamless integration point with Kubernetes via SpinKube which is a set of projects that enable Spin applications to run as Pods in Kubernetes so that end users can take advantage of the benefits of Spin and WebAssembly without having to overhaul their current environment. Spin applications are packaged as OCI artifacts. Spin applications also seamlessly integrate with existing services meshes, O11y setups via Open Telemetry integration, CI/CD pipelines, and scaling solutions.
Cloud Native Overlap
The WasmEdge, wasmCloud, knative and krustlet projects in the CNCF ecosystem have some overlapping objectives with Spin. WasmEdge, Spin, and wasmCloud each use a different Wasm runtime and have different developer experiences for building applications. And although they each have some level of support for running their applications on Kubernetes.
According to the wasmCloud documentation, "wasmCloud is compatible with, but not dependent on, Kubernetes". With wasmCloud, Pods in a cluster are the wasmCloud "hosts" and contain N Wasm applications.
On the other hand, with Spin via the containerd-shim-spin and containerd/runwasi projects, there is a 1:1 relationship between Pods and Wasm applications. Since all Wasm apps are represented as Pods, you can easily use existing tooling such as Cilium, Istio, HPA, KEDA, and Dapr.
WasmEdge is a runtime for embedded functions, microservices, udf, smart contracts, and IoT devices. The WasmEdge Runtime is excellent for packaging inside your software, but is more akin to Wasmtime (the runtime used by Spin) than it is to Spin itself. Spin is hyper-focused on event driven serverless applications (that respond to events from HTTP requests/Queue messages/...) and also focused on the development and deployment experience.
Spin fits in a similar domain as serverless projects in the Cloud Native ecosystem. Like Knative, Spin is targeted at engineers who build serverless applications and want a Kubernetes native experience. The defining distinction is that Spin applications are Wasm applications, giving them a greater level of isolation (as every request is fully isolated), fast start-up times, and simplified management of system dependencies.
Krustlet is another project in the CNCF space that runs Wasm on Kubernetes; however, it is no longer maintained - the team that developed it did go on to develop runwasi however.
Similar projects
Knative, wasmCloud, wasmEdge, krustlet
Landscape
Not yet
Business Product or Service to Project separation
N/A
Project presentations
Not yet
Project champions
David Justice (Microsoft) - Wasm-wg co-chair
Additional information
No response

@michelleN can you confirm if we can close out https://github.com/cncf/sandbox/issues/90 for SpinKube? (and that will be part of this proposal itself?)

@dims The projects should ideally remain separate as they have very different goals (great developer tool and core runtime vs great at doing all the deployment-distributed-bits)

Related to #90  will be considered together.


Implement missing methods for IPv6 addresses:

networkAddressFromCIDR
broadcastAddressFromCIDR
subnetMaskFromPrefixLength
This is an updated version of https://github.com/whitequark/ipaddr.js/pull/97/commits/99604e21a389ec8816ad1d1bcfe3a38ecbc6c912

Done :)

Thank you!

You're welcome :)


Windows support?

Question:
Given that SASpy has Windows support, what is holding this sas_kernel to linux? Personally, I love linux, but my current employer runs SAS Server (9.4) on Windows, so I don't have the option. Is Windows support on the roadmap, or is there a technical obstacle that simply makes it untenable?
Thanks.

Oh, no the kernel has no host limitation. It's simply a consumer of saspy.  I'm guessing the doc still says Linux only somewhere? Now that saspy can run on Windows, so can the kernel. Go for it :)

If you're using PC SAS, here is the documentation: https://sassoftware.github.io/saspy/install.html#local

This is basically a dupe of #28 . Sorry I didn't check there first.
Yes, the docs still list linux as a requirement. I'm pleased to say I got the SASpy part working already (finding the JAR files was tricky, as my current machine has never had SAS installed on it). Now onto the kernel!

Awesome! If saspy's working, then you should be golden with the kernel, as it's using saspy to do the work w/ SAS. Not to Jinx it, but you should be good! Glad you're up and running.

It's working. I don't fully grok everything, but I'm sure it will help if I actually read the docs. I'm pretty pleased, as I was unaware that there was any real SAS open-ness, if I may so put it. This opens a lot of doors. I can handle cross-system automation with python! Celery tasks running SAS! All decoupled and async. Thanks for your work.

That's great! And thanks for the feedback. I think you will appreciate the batch capabilities of saspy too (https://sassoftware.github.io/saspy/advanced-topics.html#using-batch-mode). You can even get ODS graphics and everything even in your batch automation scripts and write out the already complete HTML documents to a file sever to view right in web pages. If you find things you want to enhance, that'll be great too!


Some questions about nebulet

Is nebulet still in active development? I saw this tweet: https://twitter.com/willscott/status/1121607193873145856 so I assume it is/will be?
Do you think nebulet can implement WASI?
And how much memory overhead does nebulet produce? Could wasm eventually be run on very resource constrained devices? 100-500kb flash?

Is nebulet still in active development? I saw this tweet: https://twitter.com/willscott/status/1121607193873145856 so I assume it is/will be?

ohh, cool

Do you think nebulet can implement WASI?

Don't think so, at least not without thread support.

I'm also wondering about the future of this project...

Hi everyone,
It's been a while since I've looked at this repository.
Nebulet is not in active development, and hasn't been for a bit more than a year. There are a few reasons for this, but the main one is that I felt it had fulfilled its purpose: to demonstrate that microkernels that run managed code in kernel-mode are viable (before spectre/meltdown ruined things), at least to some extent. (Additionally, it helped me get internships, jobs, etc)
As it stands right now, I don't have the time or the motivation to work on Nebulet. My interests have moved on to other things, primarily the space industry (please message me if anyone who reads this works in the space industry, looking for internships/co-ops).
If someone would like to take on the Nebulet banner and continue to work on it, I'd be happy to pass it on. Otherwise, it'll probably sit here for the foreseeable future and will likely be archived at some point.

Lachlan Sneff

Cool, thanks a lot for working on this, i wish you well in your further life!
For those that were hoping that this could lead to wasm on resource constrained devices, nebulet is probably also made obsolete by wasm-micro-runtime

@Frederik-Baetens yeah, but it's still just an interpreter, compiling a wasm ahead-of-time into a unikernel, like proposed here would be really cool.


Provide camel-soap integration

If camel-soap refers to one of the publicly available Camel components - there is no such thing in existence. I think this is something custom for Switchyard.

won't fix


Item 1C from 10-K

Hi John:
I talked to you about the same issue while discussing sec-parsers. I am wondering how I can get item 1C of 10-K for all companies since December 14, 2023 using datamule. I tried different code from datamule, but was unsuccessful. Thanks

Hi Sharif, good to hear from you.
I'll be adding a basic 10-K, 10-KSB, and 10-Q item parser to the package this week. It will be able to parse Item 1C from 2001-present. (Current benchmark is ~15 milliseconds per filing)

Ok. Thanks

The following code should work.
from datamule import Filing, Downloader
import os
import json
from pathlib import Path

# Download 10-K filings from 2023-12-14 to 2024-10-28 (Today's date)
downloader = Downloader()
downloader.download(form='10-K', file_types='10-K',output_dir='10k',date=('2023-12-14','2024-10-28'))

Path('10k_parsed').mkdir(exist_ok=True)

# Collect the text of Item 1C from each 10-K filing
item1c_list = []
for filename in [f for f in os.listdir('10k') if f.lower().endswith(('.htm','.html','.txt'))]:
    print(filename)
    filepath = os.path.join('10k', filename)

    filing = Filing(filepath, filing_type='10-K')
    parsed = filing.parse_filing()
    try:
        item1c = [item['text'] for item in parsed['content'][0]['items'] if item['title'].lower() == 'item1c'][0]
        item1c_list.append(item1c)
    except:
        # Some filings are missing Item 1C or the parser failed to extract it
        item1c_list.append('')

    # OPTIONAL: Save parsed data to a json file
    # with open(f'10k_parsed/{filename}.json', 'w') as f:
    #     json.dump(parsed, f)

Heads up, I will probably change the structure of the parsed 10-K in the future, as it's unintuitive.

Updated to make the structure intuitive.
parsed['document']['part1']['item1c']

result
Item
1C. Cybersecurity

Risk
Management and Strategy

We
have established cybersecurity risk assessment procedures to ensure effectiveness in cybersecurity management, strategy and governance
and reporting cybersecurity risks. The process is in alignment with our strategic objectives and risk appetite....

Hello,
Thanks.
I got the following error from the below code  -
# Collect the text of Item 1C from each 10-K filing
item1c_list = []
for filename in [f for f in os.listdir('10k') if f.lower().endswith(('.htm','.html','.txt'))]:
    print(filename)
    filepath = os.path.join('10k', filename)

    filing = Filing(filepath, filing_type='10-K')
    parsed = filing.parse_filing()
    try:
        item1c = [item['text'] for item in parsed['content'][0]['items'] if item['title'].lower() == 'item1c'][0]
        item1c_list.append(item1c)
    except:
        # Some filings are missing Item 1C or the parser failed to extract it
        item1c_list.append('')

The error -
000000695123000041_amat-20231029.htm
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[21], [line 8](vscode-notebook-cell:?execution_count=21&line=8)
      [5](vscode-notebook-cell:?execution_count=21&line=5) filepath = os.path.join('10k', filename)
      [7](vscode-notebook-cell:?execution_count=21&line=7) filing = Filing(filepath, filing_type='10-K')
----> [8](vscode-notebook-cell:?execution_count=21&line=8) parsed = filing.parse_filing()
      [9](vscode-notebook-cell:?execution_count=21&line=9) try:
     [10](vscode-notebook-cell:?execution_count=21&line=10)     item1c = [item['text'] for item in parsed['content'][0]['items'] if item['title'].lower() == 'item1c'][0]

File c:\Users\mshar\AppData\Local\Programs\Python\Python312\Lib\site-packages\datamule\sec_filing.py:14, in Filing.parse_filing(self)
     [13](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/sec_filing.py:13) def parse_filing(self):
---> [14](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/sec_filing.py:14)     self.data = self.parser.parse_filing(self.filename, self.filing_type)
     [15](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/sec_filing.py:15)     return self.data

File c:\Users\mshar\AppData\Local\Programs\Python\Python312\Lib\site-packages\datamule\parser\sec_parser.py:18, in Parser.parse_filing(self, filename, filing_type)
     [16](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/parser/sec_parser.py:16)     return parse_8k(filename)
     [17](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/parser/sec_parser.py:17) else:
---> [18](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/parser/sec_parser.py:18)     data = parse_textual_filing(url=filename, return_type='json')
     [19](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/parser/sec_parser.py:19) return data

File c:\Users\mshar\AppData\Local\Programs\Python\Python312\Lib\site-packages\datamule\datamule_api.py:10, in parse_textual_filing(url, return_type)
      [8](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/datamule_api.py:8) response = requests.get(base_url,params=params)
      [9](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/datamule_api.py:9) if response.status_code != 200:
---> [10](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/datamule_api.py:10)     raise ValueError('Server error')
     [12](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/datamule_api.py:12) if return_type == 'simplify':
     [13](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/datamule_api.py:13)     # return as html
     [14](file:///C:/Users/mshar/AppData/Local/Programs/Python/Python312/Lib/site-packages/datamule/datamule_api.py:14)     return response.text

ValueError: Server error

I think the issue is with parse_filing() function.

Hi Sharif, did you see the previous comment? You need to swap out parsed with
parsed['document']['part1']['item1c']

I changed the syntax to make it more intuitive, sorry for the confusion. Next time I'll edit the original comment directly.

Hello John:
Thanks for the feedback. It works fine now. I am wondering whether I can also get the CIK, company name, reporting date, and filing date from each parsed document.

Hi Sharif, you can, but it's annoying due to several technical considerations. I'm working on a solution (ETA 2 weeks).
In the meantime you can extract the information from the filename, e.g.<PHONE_NUMBER>21000001_edgar has accession number<PHONE_NUMBER>21000001. accession number contains cik:<PHONE_NUMBER>, year:21, and filing count 000001.
From cik it's easy to get company name using load_package_csv('company_tickers') and performing a join command. (good reminder that I should implement a tutorial for this)
Reporting date and filing date is more difficult. If you can wait ~2 weeks, what you're trying to do will become two lines of code.

@msharifbd thanks to AnirudhJM24 filing data is now in the filename<PHONE_NUMBER>01000641_2001-01-08.htm.

@john-friedman and @AnirudhJM24 is there any way to get the "reporting date" as well? The reporting date is on the form for 10-K particularly.

Hi @msharifbd by reporting date do you mean accepted data?

@john-friedman not accepted date, I mean "Period of report" date. Can you see the date on the top right corner? That is the reporting date.

We can implement that. My attention is occupied elsewhere right now, so I'll ask Anirudh if he has time. Added as issue https://github.com/john-friedman/datamule-python/issues/13

OK. Thanks


Tx Stuck, "Send to Defichain", Burn was successful

Hi,
my Tx didn't arrive on Defichain despite successful burn.
Binance Tx: 0x9dcb48122dd8193277558b51511e7c298d3368d18b83ce77cb2229854d9a1d94
Recovery function fails with error "TypeError: Failed to fetch".
Please let me know how to proceed to receive my BSC-burned DFI on Defichain.

Yes, same here. I wrote my issue a few hours ago.
At first I got the error-message "signatures have invalid length/count: 0"
Now it has changed to "TypeError: Failed to fetch" for the same tx.
Also for a second transaction it is "generating keys" forever.

Same here, Transaction from BSC to Defichain stucked


Error pop-up spam can't be closed unless you close the whole program (request to add ability to close all error pop-ups)

I got a wall of errors after a file in my repo was LF and was going to be converted to CRLF, and that's fine, I have no issue with the error itself. But from leaving my selection on that item I think a bunch of error pop-ups built up over time. With there being so many, no matter how many times I clicked on the "CLOSE" button the list would never disappear, plus it blocked my commit button. This is what it looked like this:

I had to close and re-open the program to get rid of the wall of error pop-ups.
Could there be a little "x" icon on somewhere may in the top right that allows me to close all these errors? Or perhaps this error to not re-trigger so many times? Thanks!

The client you are using is too old. This issue has been fixed in #761 and released in '8.41'.


Project README doesn’t convey what CDK is

Currently the README in this project seems to be very geared towards how to build and contribute to the CDK. This feels like a mistake; the readme will probably be seen more by people unfamiliar with CDK, and those wishing to contribute will be a much smaller percentage. People shouldn’t have to download the project and run ‘cdk docs’ to find out what it does.
Split off details on how to build and develop CDK to a separate CONTRIBUTING.md file, and fill the main project README with much richer information on what CDK is, the problems it solves, and rich usage examples.

No longer applies I think.


[FEATURE] Make starter great again

Let's design how to update starter for new era of web :)

ng12+

accessPublish true by default

nx maybe

Done by @splincode 👍


WFCORE-2500 Elytron: setting reload-required on http-server-mechanism…

…-factory of http-authentication-factory
Issue: https://issues.jboss.org/browse/WFCORE-2500

Please can you send the PR to the ladybird branch of the incubator instead https://github.com/wildfly-security-incubator/wildfly-core

Sure, closing this one then.


[PE-D][Tester E] Find command invalid inputs

Find command allows each field to be specified multiple times. For example, no error is thrown when name keyword is provided twice. Matching is only done with the second keyword, which is probably not the intended behaviour

Labels: type.FunctionalityBug severity.Medium
original: ryanguai/ped#6

Actually, our UG did specify the behaviour when there are multiple prefixes.


IPipelineBehavior not being executed

Prior to 12 everything worked fine but now I can't make pipeline behaviors work. I register them like this:
services.AddMediatR(c =>
{
c.RegisterServicesFromAssembly(typeof(Startup).Assembly);
c.AddOpenBehavior(typeof(LoggingBehaviour<,>));
c.AddOpenBehavior(typeof(ExceptionBehaviour<,>));
});
But no calls for them. The handler itself still works. What am I missing?

I did some investigation on this
It doesn't work for me with the setup as following
public class Command : IRequest {}

public class CommandHandler : IRequestHandler<Command> {/*...*/}

public class LoggingBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
        where TRequest : IRequest<TResponse>
    {
        private readonly ILogger<LoggingBehavior<TRequest, TResponse>> _logger;

        public LoggingBehavior(ILogger<LoggingBehavior<TRequest, TResponse>> logger)
        {
            _logger = logger;
        }

        public async Task<TResponse> Handle(TRequest request, RequestHandlerDelegate<TResponse> next, CancellationToken cancellationToken)
        {
            _logger.LogInformation($"Handling {typeof(TRequest).Name}");
            var response = await next();
            _logger.LogInformation($"Handled {typeof(TResponse).Name}");

            return response;
        }
    }

services.AddMediatR(cfg =>
        {
            cfg.AddOpenBehavior(typeof(LoggingBehavior<,>));
            cfg.RegisterServicesFromAssembly(typeof(LoggingBehavior).Assembly);
        });

Once I change my command and command handler to be as below it is working as expected
public class Command : IRequest<Unit> {}

public class CommandHandler : IRequestHandler<Command, Unit> {/*...*/}

Indeed, thanks and sorry for bothering

No worries, that was a huge but silent breaking change. Maybe I need an even bigger warning!

I think this page needs upgrade https://github.com/jbogard/MediatR/wiki/Behaviors
If I understand the upgrade doc correctly behaviors should now have constraint where TRequest : notnull'. The example on the page still does where TRequest : IRequest` which was misleading to me

Check the upgrade guide, your generic constraints are off.

To save anyone the trip, here's the migration docs

Not sure what I am missing; I followed the migration guide, and still, pipeline behavior is not invoked, but handler works.
public class ValidationPipelineBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
        where TRequest : notnull

builder.Services.AddMediatR(cfg => {
                cfg.RegisterServicesFromAssembly(typeof(Program).Assembly);
                cfg.AddBehavior(typeof(IPipelineBehavior<,>),typeof(ValidationPipelineBehavior<,>));
            });

MediatR version is 12.0.1
.NET 6.0
MS DI
Please help me find what I'm missing and confirm that it was working prior to version 12.

Not sure what I am missing; I followed the migration guide, and still, pipeline behavior is not invoked, but handler works.
public class ValidationPipelineBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
        where TRequest : notnull

builder.Services.AddMediatR(cfg => {
                cfg.RegisterServicesFromAssembly(typeof(Program).Assembly);
                cfg.AddBehavior(typeof(IPipelineBehavior<,>),typeof(ValidationPipelineBehavior<,>));
            });

MediatR version is 12.0.1 .NET 6.0 MS DI
Please help me find what I'm missing and confirm that it was working prior to version 12.

This code is valid, the bug, as far as I can tell, has nothing to do with its registration. Check your pipeline behavior for any early exists. I have recreated that in this gist. Have a look to see if there's any differences.

If I change:
public class GenericPipelineBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
-    where TRequest : IRequest<TResponse>
+    where TRequest : notnull
{

then in Handle method I can not use
IRequestHandler<TRequest, TResponse> handler = scope.ServiceProvider.GetRequiredService<IRequestHandler<TRequest, TResponse>>();

I just had a problem in the past days.
I was implementing validations with Fluent Validations but the PipelineBehavior seemed not to work. So after a very very long journey, I made this change to my code:
From this:
where TRequest : IRequest<TResponse>
To this:
where TRequest : notnull
Also, need to say that I was implementing 2 types of commands: IRequest and IRequest. I've tried to use something like:
where TRequest : IRequest<TResponse>, IRequest
but to save you guys the work, if you've been trying that (just like me hehe), it will not work
Hope this could help someone :)

@blackhawk64 with respect to supported both IRequest<TResponse> and IRequest, you can constrain against IBaseRequest which both of these types inherit.
i.e. where TRequest : IBaseRequest

@jacobjmarks Thank you very much, you saved my day being depressed.


Wrong foot....

I totally repudiate the actions of the spare developers, and I express my anger at their actions, millions of people are not familiar with linux / ubuntu, it is totally unfair and harmful for many, especially economically, to launch a new cryptocurrency , and that all software is only available on linux, macos etc. This fact can be considered as a sabotage or a boycot to all Windows users, giving a clear advantage of farm time only to those who use Linux. I personally invested more than 12 thousand uss dollars in 3 PCs and a lot of hard drives, having to date 1400 plots under the windows platform, clearly, when the spare version of windows comes out, the network will already be grown and I will be starting, me and millions of other people, at a disadvantage against those who use linux. I thought only chia developers had a bad start, delivering poor software, you too started on the wrong foot.
Greetings from Argentina, and consider that in this country a monthly salary is 300 uss, so imagine that to this new project I put all my savings, a total of 40 months of salary, and then see only 2 XCH due to the incompetence of the Chia developers, and now with spare, I have to start with a disadvantage, with linux users. I hope you have a beautiful day.
one of the millions of windows users.

ya avisaron que tuvieron un bug en WIN y que por eso no pudieron sacarlo, igualmente hay un monton de otros problemas... incluso fue bueno que no ande en WIN porque se estan rompiendo la sync y no anda bien nada ahora... yo incluso estoy teniendo pruebas de espacio y se pierden directamente.

ya avisaron que tuvieron un bug en WIN y que por eso no pudieron sacarlo, igualmente hay un monton de otros problemas... incluso fue bueno que no ande en WIN porque se estan rompiendo la sync y no anda bien nada ahora... yo incluso estoy teniendo pruebas de espacio y se pierden directamente.

o sea , hicieron lo mismo que los desarrolladores de chia , empezaron prematuramente con millones de problemas , te juro que estoy recontra frustrado , vi la posibilidad de pegarla con la chia y por empezar 2 meses tarde , solo saqué 2 chias , ahora sale una nueva moneda que puedo crearla con los plots que ya tengo , y ademas de no funcionar bien , nisiquiera largaron la version de windows , estoy re caliente

I totally repudiate the actions of the spare developers, and I express my anger at their actions, millions of people are not familiar with linux / ubuntu, it is totally unfair and harmful for many, especially economically, to launch a new cryptocurrency , and that all software is only available on linux, macos etc. This fact can be considered as a sabotage or a boycot to all Windows users, giving a clear advantage of farm time only to those who use Linux. I personally invested more than 12 thousand uss dollars in 3 PCs and a lot of hard drives, having to date 1400 plots under the windows platform, clearly, when the spare version of windows comes out, the network will already be grown and I will be starting, me and millions of other people, at a disadvantage against those who use linux. I thought only chia developers had a bad start, delivering poor software, you too started on the wrong foot.
Greetings from Argentina, and consider that in this country a monthly salary is 300 uss, so imagine that to this new project I put all my savings, a total of 40 months of salary, and then see only 2 XCH due to the incompetence of the Chia developers, and now with spare, I have to start with a disadvantage, with linux users. I hope you have a beautiful day.
one of the millions of windows users.

mr mtf hello.

So dont cry . We chose our way and walk. sometimes its not as we expect but nothing to do.

If you could spend 3.5 years salary on hardware, but not 35 minutes on youtube learning to install Ubuntu, your priorities might be mismatched.


Closes #40 use pharmaversesdtm to host dm_peds and vs_peds

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the main branch until you have checked off each task.

[ ] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[ ] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[ ] Updated relevant unit tests or have written new unit tests, which should consider realistic data scenarios and edge cases, e.g. empty datasets, errors, boundary cases etc. - See Unit Test Guide
[ ] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[ ] Update to all relevant roxygen headers and examples, including keywords and families. Refer to the categorization of functions to tag appropriate keyword/family.
[ ] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[ ] Address any updates needed for vignettes and/or templates
[ ] Update NEWS.md under the header # admiralpeds (development version) if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[ ] Build admiralpeds site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the Reference page.
[ ] Address or fix all lintr warnings and errors - lintr::lint_package()
[ ] Run R CMD check locally and address all errors and warnings - devtools::check()
[ ] Link the issue in the Development Section on the right hand side.
[ ] Address all merge conflicts and resolve appropriately
[ ] Pat yourself on the back for a job well done! Much love to your accomplishment!

Shouldn't actually be necessary to merge and close this but to demo the migration assuming the goes through this is done

@Fanny-Gautier @rossfarrugia made the appropriate updates that use the :: convention that was in the admiral discussion

@zdz2101 we should add something to NEWS file in this PR. I think Fanny is busy with project work so if you want to merge https://github.com/pharmaverse/pharmaversesdtm/pull/115, and then we can get this one merged too and ticked off the list.

@zdz2101 we should add something to NEWS file in this PR. I think Fanny is busy with project work so if you want to merge pharmaverse/pharmaversesdtm#115, and then we can get this one merged too and ticked off the list.

Sorry for not having followed much these last few days. I am currently over busy with Study work and the R-Pharma workshop preparation. Please do not hesitate to ping me in Slack for any request which require my attention... I'll add them on my to do list.
In the mean time, I'l add this PR review on my list for tomorrow ;-) Thanks

Great - thanks @Fanny-Gautier ! @zdz2101 when you get chance are you ok to merge and do a quick test run of main now that {pharmaversesdtm} is updated too. Then the final step would be making an issue for adsl_peds and advs_peds in {pharmaverseadam}.


export 'Route' was not found in 'vue-router'

Version
3.0.0-beta.15
Reproduction link
https://github.com/doppelreim/vue-test-app/tree/test-import-route
Steps to reproduce
Run npm run serve
What is expected?
The app should compile without warnings.
What is actually happening?
It does not compile without warnings.
The output says:
 WARNING  Compiled with 4 warnings                                                                                12:38:25

 warning  in ./src/components/HelloWorld.vue?vue&type=script&lang=ts

"export 'Route' was not found in 'vue-router'

 warning  in ./src/components/HelloWorld.vue?vue&type=script&lang=ts

"export 'Route' was not found in 'vue-router'

 warning  in ./src/components/HelloWorld.vue?vue&type=script&lang=ts

"export 'Route' was not found in 'vue-router'

 warning  in ./src/components/HelloWorld.vue?vue&type=script&lang=ts

"export 'Route' was not found in 'vue-router'

The change that introduces the warnigns can be seen here:
https://github.com/doppelreim/vue-test-app/commit/af036724ecbe53853ce10707796c82213ae07a43
I want to add a Watcher on $route. The parameters of the function (newRoute and oldRoute) should be typed. I assume Route is the correct type.
I checked out /node_modules/vue-router/types/index.d.ts and there Route does get exported, as far as I can tell.
If I use Route inside of the function-body, like this:
const r: Route = {
      path: '',
      hash: '',
      query: {},
      params: {},
      fullPath: '',
      matched: [],
    };

then it does not throw errors.
And if i leave out some of the required attributes, then the compiler rightfully complains. So I assume the export/import does work here.

As of Typescript 3.8 (which is older than the discussion in this ticket), with type-only import/exports, one can use import type { Router } instead of import { Router }.
That fixed these warnings for me. :)

It is possible to ask typescript-eslint to fix all imports of types to the import type syntax.
You simply need to use@typescript-eslint/consistent-type-import with { prefer: 'import-types'}


[Explore][Adhoc Metrics/ Filters] disabled message for custom sql tab in druid

The Custom SQL tab only makes sense for SQLA datasources since its quite difficult to write custom druid json queries. To avoid confusion of why the tab is present on sqla datasources but not druid, I added the tab back in for druid datasources with a placeholder message explaining why its not available.
before:

after:

test plan:

loaded a druid datasource
verified it had the placeholder tab
loaded a sqla datasource
verified it had the functional tab

to:
@michellethomas @john-bodley @graceguo-supercat @mistercrunch

It looks like you have a formatting linting issue, but otherwise this lgtm!

Codecov Report

Merging #5162 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #5162   +/-   ##
=======================================
  Coverage   77.47%   77.47%
=======================================
  Files          44       44
  Lines        8741     8741
=======================================
  Hits         6772     6772
  Misses       1969     1969

Continue to review full report at Codecov.

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

👍


N23: The Process

Part of #677
Here's my entry, sorry for the delay!

Merged, thanks for the PR!

Here's my entry, sorry for the delay!

no worries, I'm just finishing with the reviews anyway :)


Cover edge case when package is renamed in rdoinfo

Renaming a package in rdoinfo can lead to a repo issue, since the following chain of events could happen:

we have oldpkg_name built with commit X and distgit commit Y
when renaming the package, as soon as rdoinfo is updated, DLRN finds a newpkg_name and builds it
newpkg_name will be build with the same commit X and distgit commit Y, overwriting the old ones with new packages, using the same hash but a different timestamp
if there are any repos with symlinks to the old rpm name, those links will be broken and a package install would fail

I'm not sure how DLRN could cover this, some ideas:

maybe offline tool which checks for dangling symlinks ? (apevec)
just detect this by checking if there is a commit from another project with the same commit and distgit hash, then abort if that happens?

Example where this happened:
https://trunk.rdoproject.org/centos7-mitaka/82/ef/82ef95501d3a3fa08dda5b491e59e86db1e6c120_b796987d was first build 2016-06-01 21:44:43
with openstack-tripleo-common-2.0.1-0.20160601214508.82ef955.el7.centos.noarch.rpm:
Then rdoinfo change https://review.rdoproject.org/r/#/c/1291/ was merged and DLRN picked it up on 2016-06-03 14:16:28 and since there wasn't changes to either upstream or distgit, it has recreated 82ef95501d3a3fa08dda5b491e59e86db1e6c120_b796987d with openstack-tripleo-common-2.0.1-0.20160603141715.82ef955.el7.centos.noarch.rpm
Same RPM content just with a different timestamp in NVR !

detect this by checking if there is a commit from another project with the same commit and distgit hash

:+1:  for checkig if there's a successfull commit+distgit.  DLRN should stop by default if it detects there's existing hashed_repo with a successful build, only failed builds can be overwritten.

Another way would be detecting if the spec file has been renamed in the last commit, then create a new snapshot with a different hash.

@hguemar in that case there was no rename to the spec file, just the project name changed (that's a DB thing).

I think the patch for this could be a one-liner.
If we remove this line: https://github.com/openstack-packages/DLRN/blob/master/dlrn/shell.py#L232, we are checking if the commit we want to process is not already there, regardless of the project_name.
Currently we are filtering by project_name, which makes sense in general but creates this corner case. The only case where this would fail is if we have a hash collision in both the commit_hash and distro_hash on two unrelated projects, but anyway this would create issues with the current code, wouldn't it?

commit_hash+distro_hash must be unique with the current setup, so proposed fix is part of it but it would silently skip edge cases, while we might want to alerts when they happen?

@javierpena spec was renamed => https://review.rdoproject.org/r/#/c/1139/

@apevec after some thinking, I'd say it's better not to alert. Failing would cause a review to be opened (where nothing can be done), we wouldn't have a consistent repo, and all we'd have to do is just wait for a new commit to happen on the repo.
@hguemar actually, what caused the issue was https://review.rdoproject.org/r/#/dashboard/self . Renaming the spec file should be ok.

:+1: for after thinking, good point about automated FTBFS reviews


Unable to Export Posts in Profile Page

The exportation of posts was resolved after the Redis server configuration was changed to suitable IP outside the WSL environment as well as the protection mode.


MalformedURLException in redirection URL

I'm using URL: https://chrome.google.com/webstore/detail/someAppName/mopnmbcafieddcagagdcbnhejhlodfdd?hl=en
but JSoup can not process redirected URL:
MalformedURLException: Illegal character in path at index 49: https://chromewebstore.google.com/detail/polkadot{js}-extension/mopnmbcafieddcagagdcbnhejhlodfdd?hl=en
version JSoup 1.7.2

also expirienced issue with '<', '>',  '%' in redirecting URLs

Thanks, fixed.


Allow to read coils with bitOffset higher than 7

When reading 16-bit register as an array of coils the upper 8 bits are being ignored resulting to the wrong coil values read. This change fixes this.

Scratched my head for hours until I found this. It works flawlessly, thanks for this fix! I wish they would merge it asap.


[WIP] Resolves #4471 using appkey to link aggregation to web app

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

METRIC
VALUE

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4483


Use fma in SimdOps.cosineSimilarity sum vector

This better matches the structure we use in other places, and I suspect it may make work slightly easier for C2 in some cases that I'm debugging.

Hi @jkni, to ensure code consistency,  suggest to apply the same code change to the cosineSimilarity method in VectorSimdOps.java (io.github.jbellis.jvector.vector.VectorSimdOps#cosineSimilarity) as well.


Added ability to handle empty lists of keys to DataLoaderBase

In using GreenDonut, we have to constantly check our input lists as to whether they are empty before calling LoadAsync. There's no real reason for this, as the Task created by the LoadAsync method will return a completed Task with an empty response List, exactly as one would expect. Since GreenDonut can handle this case transparently, and there is a clear response type when an empty list of keys is given, pushing that responsibility to the framework rather than the client is preferable.

Changes complete, thanks!

Good work. Thank you!


use granular caching by default = create one derivation per dependency

see also

https://nixos.wiki/wiki/Rust#Packaging_Rust_projects_with_nix

derivations = many
Derivations: How many derivations does this solution use to compile Rust code?

“1” means the project and all its dependencies are compiled in one derivation.
“2” means all dependencies are moved into a separate derivation, so the project can be updated independently, but any change to the set of dependencies rebuilds everything.
“Many” means each dependency is built in its own derivation, so changes to dependencies only do the minimal amount of rebuilding necessary (and, ideally, different projects can share dependencies, although I haven’t checked if this works in practice).

https://discourse.nixos.org/t/incremental-builds/9988

https://github.com/edolstra/nix-make - granular caching for C projects
https://github.com/nmattia/snack - Nix-based incremental build tool for Haskell projects

https://discourse.nixos.org/t/caching-local-compilation-results-for-all-compiled-packages/3516/5

https://github.com/edolstra/nix-make - granular caching for C projects

https://discourse.nixos.org/t/distributed-nix-build-split-large-package-into-many-derivations/15979

https://news.ycombinator.com/item?id=9256844 - bazel

https://nixos.wiki/wiki/CCache

related: cache by build phase https://discourse.nixos.org/t/splitbuildinstall-split-buildphase-and-installphase-for-large-packages/15874

incremental builds
a fundamental problem of nix are the long build times
when a complex build fails, you have to rebuild from scratch, and you cannot share compilation results between builds
if you have lots of money (and a cheap energy source), you "just buy a faster computer" and/or "just buy more computers"... but for low budget (and in a future of high energy costs), that wont work
incremental builds are more aggressive than granular caching, because granular caching can give a cache miss, when some *unused* input was changed (when using outPath as cache key). incremental builds would consider only *used* inputs to generate the cache key


bug: 0.7 version is not released

Changelog says there is a 0.7 release but running npm info routing-controllers will show the latest published version is 0.7.0-alpha.8. Which for example doesn't have the ActionProperties interface mentioned in docs.

I exported ActionProperties in 0.7.0-alpha.9> I'll publish 0.7.0 once alphas gonna be well tested by users.


docs: add tmux vi navigation

Add the following
# some Vi like navigation for smart pane switching
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

to the tmux entry in list. I'm lost in tmux without these bindings.
This list is super useful - thanks!  Hopefully someone else will find this small addition helpful.

I have similar keybindings actually, but prefixed with M- e.g M-h. This is to avoid overriding default keybindings like <prefix>-l.
Let me add just a warning message :)

Thank you for the contribution!


Increment version for cognitivelanguage releases

Increment package version after release of Azure.AI.Language.Text

API change check
API changes are not detected in this pull request.


Do not send categories to fact finder

While this is a useful feature, it has one issue in that whilst not sending the products to fact finder, you can no longer view the products in the category in the front end
Is there an over ride for this?

@Bobspadger could you please specify the feature you mentioned?

This is with relation to the 3.6.3 version.
System > Config > Fact-Finder > Fact-Finder > Export Config Settings
We use the navigation module of fact-finder, so if we omit some categories, then by return, we cannot show the products in the categories in magento, as FF does not know about them.
Ideally, we can exclude sending the categories to Fact-Finder, but still display the categories + products in our store (just outside of FF)

@Bobspadger Does the fixe in #146 and #144 solve this?
The newest version 4.1.10 has  a setting, which allows you to include products without categories to the export, and there fore FF knows about then and they can be displayed.


The future?

This repo currently is a nice little proof-of-concept.
To be a viable package in the pydata realm, it should have

decent testing coverage and CI
release on pypi/conda
move to a recognised github org (intake?)
full documentation

Should we poke pandas directly to consider upstreaming?

@jreback I thought you would be just the kind of person that might have an opinion on this little project.

yea i think we would highly consider this to vendor even
but starting as an optional is great

@jrbourbeau - MattR suggested this would be of interest with your ongoing work using spark-generated data types. Maybe you have already solved everything with arrow's decimal type?

On pandas>=2 and pyarrow>=12, there seems to be quite a bit of mileage possible with pd.ArrowDtype(pa.decimal128(...)) as mentioned by @jrbourbeau above.
Should this be wrapped in pandas-decimal, or has progress been made elsewhere? Or maybe some other solution has arisen?

Since most things should be possible with the arrow extension type alone, there has been no further development or attention here. I daresay I can archive this. The only advantage I see (aside from the technical differences) is the ability to have exact decimals in pandas without requiring arrow. That ship has probably gone.

I daresay I can archive this.

Agree - but - the PyPI page is on the first page of search results for me for "pandas decimal", and I've not found any good write-up of how to "do Decimal in pd DataFrames" - do you have any tips / resources? Maybe they could be linked from the README? 🙏🏻

The only advantage I see (aside from the technical differences) is the ability to have exact decimals in pandas without requiring arrow. That ship has probably gone.

Agree the ship has sailed - that's a pretty niche use case. Functions like pd.read_gbq() require pandas-gbq which installs pyarrow, so it's already in the Python environment for many.

Agree - but - the PyPI page is on the first page of search results for me for "pandas decimal", and I've not found any good write-up of how to "do Decimal in pd DataFrames" - do you have any tips / resources? Maybe they could be linked from the README?

This is a good point. Maybe I should write up a blog demonstrating decimals in pandas with pyarrow. I can publish this on Anaconda and link in the README as you suggest, but it will take me a little time to get to.

A blog with some more guidance about decimals with PyArrow would be great.
Meanwhile I've been digging into this a little more at work to see if we should use decimal128 for a new part of our pipeline. I agree that decimal128 does provide vectorization and fixed point arithmetic - but there are two features that seem to be missing that I've not found a fix for.
Describe has problems
In [1]: import decimal
   ...: import pandas as pd

In [2]: import pyarrow as pa

In [3]: pa_dtype = pa.decimal128(precision=7, scale=3)

In [4]: data = pa.array(
   ...:     [
   ...:         decimal.Decimal("8093.012"),
   ...:         decimal.Decimal("8094.123"),
   ...:         decimal.Decimal("8095.234"),
   ...:         decimal.Decimal("8096.345"),
   ...:         decimal.Decimal("8097.456"),
   ...:         decimal.Decimal("8098.567"),
   ...:     ],
   ...:     type=pa_dtype,
   ...: )
   ...: df = pd.DataFrame({"x": data}, dtype=pd.ArrowDtype(pa_dtype))

In [5]: df.describe()
---------------------------------------------------------------------------
ArrowInvalid                              Traceback (most recent call last)
...
ArrowTypeError: int or Decimal object expected, got numpy.int64

Simple ops have problems
Continuing with the df above - adding 1 to column 'x' is fine:
In [7]: df['x'] + 1
Out[7]:
0    8094.012
1    8095.123
2    8096.234
3    8097.345
4    8098.456
5    8099.567
Name: x, dtype: decimal128(23, 3)[pyarrow]

However, if we change the precision and scale to use more bits things get hairy:
In [13]: df = pd.DataFrame({"x": data}, dtype=pd.ArrowDtype(pa.decimal128(precision=38, scale=3)))

In [14]: df['x'] + 1
---------------------------------------------------------------------------
ArrowInvalid                              Traceback (most recent call last)
...
ArrowInvalid: Decimal precision out of range [1, 38]: 39

We know from above where df['x'] + 1 worked and returned values in decimal128(23, 3)[pyarrow] that the results of adding 1 will fit in the decimal128(precision=38, scale=3) (right? correct me if I'm wrong 🙏🏻 ) . But there appears to be a problem in where the spec of the decimals is not getting managed correctly.
Current conclusion
My guess that there are work arounds for the issues above - plus possibly even fixes upstream in pandas. However, this extra complexity for vectorization and smaller memory footprint might not be worth it at this time for us. My plan is to push ahead with decimal.Decimal in the DF and see what walls we collide with 🙏🏻 .

I must admit, that I had not tried to do too much with arrow decimals. Your notes here are pretty disappointing! If you use dtype="decimal[3]" from this package, describe() at least does work. Also, we are significantly faster:
In [23]: df = pd.DataFrame({"a": [0, 1] * 100000}, dtype=pd.ArrowDtype(pa.decimal128(precision=7, scale=3)))

In [26]: %timeit df.a.std()
1.28 ms ± 7.5 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)

In [27]: df = pd.DataFrame({"a": [0, 1] * 100000}, dtype="decimal[3]")

In [28]: %timeit df.a.std()
340 µs ± 2.62 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)

As for precision, you would expect maybe to be bounded by integers up to 2**63 (~19 decimal places for numbers near 1). I don't know why arrow has both precision and scale...
For a conclusion, decimal./Decimal may solve your problem, but it is orders of magnitude slower.
In [35]: df["a"] = df.a.map(lambda x: decimal.Decimal(str(x)))

In [39]: %timeit df.a.mean()  # this is MEAN because std fails
12.9 ms ± 96.7 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)

Regarding pyarrow being required by pandas, I found this just now: https://github.com/pandas-dev/pandas/issues/52509


Fix repeated name application on list deployment page filter

What would you like to be added:

Why is this needed:

Fixed by PR #2496
/close


Travis CI build keeps failing

The .travis.yml file is broken. It needs to build, (run tests) and if succeeded, pack and push to nuget.
It has several issues.
one of them: Cannot open assembly 'nuget.exe': No such file or directory.
And I have tried several things as you can see in the commits. So I could use some help here.

Moved to AppVeyor CI

Have you seen this thread?
https://stackoverflow.com/questions/41509608/how-do-i-deploy-nuget-packages-in-travis-ci
might have some useful info

Lol, I even referenced it from my travis yaml file haha but could not get it to work for .Net Standard lib and an .Net core xunit project. AppVeyor works now, so it's all good 👍


Doc1105

1、修改了openvino与raspberry文档里面不合理的部分

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.wangsiyuan06 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


cluster stop working after 2 of 3 masters dead.

Environmental Info:
K3s Version:

1.25.6
Node(s) CPU architecture, OS, and Version:

ubuntu 22.04-lts
Cluster Configuration:

3 masters with embeded etcd  + 1 node
Describe the bug:

Not sure if this is expected behaviour. If I shutdown the masters one by one, I expect ectd will elect the last survive one as leader and cluster continue to work. However, it is not the case, when two master go offline, the entire cluster fall apart.  However, in early version (back to 1.23), this seems not a problem.
Steps To Reproduce:

Installed K3s:  3 master with embedded etcd, and a worker node
shutdown 1 master, cluster survive
shutdown another master, cluster dead

Expected behavior:

cluster continue to work
Actual behavior:

cluster is dead
Additional context / logs:

Thank @brandond


Improvements to the junit extension

This PR integrates a few desired features into the current junit extension, without breaking the backward compatibility.

Those changes are largely inspired by @jonathanvila on this PR: https://github.com/keycloak/keycloak/pull/9625/files

Added a pipeline of the "mysql" sample to showcase the usage and benefits.
I do believe that those changes are reducing the complexity of the user's code and setup while they are not dramatically increasing the complexity in this codebase.

Happy to have a review of those proposed changes @csviri @metacosm

NDR: rebased on latest main and Sonar check is correctly skipped @csviri

Conceptually we are mixing here the Integration and E2E tests. In general not opposed to this. But not sure if these should not be two different extensions, in Integration tests we don't usually use other resources (e.g. infrastructure) we don't deploy of course the operator etc. Maybe having a hierarchy between these two extension? like a common base class, if we need to share code.
So in short these are little different domain, with different needs, this way we provide a mixed api for the two domains. Separating it to two extensions would make it more explicit.
But don't have strong opinion just an idea.

Conceptually we are mixing here the Integration and E2E tests. In general not opposed to this. But not sure if these should not be two different extensions, in Integration tests we don't usually use other resources (e.g. infrastructure) we don't deploy of course the operator etc. Maybe having a hierarchy between these two extension? like a common base class, if we need to share code. So in short these are little different domain, with different needs, this way we provide a mixed api for the two domains. Separating it to two extensions would make it more explicit.
But don't have strong opinion just an idea.

I don't have a strong opinion too but I think this is a valid point.
Maybe (but it can be done in a follow up PR) we should end up with two different extensions: one that deals with an embedded operator and one with a deployed one.

@csviri yes, indeed, we are intentionally mixing integration and E2E tests, the objective is to enable this workflow:

locally develop the operator and the tests running from your machine (integration) - fast iteration - missing checks on k8s (such as RBAC etc.)
in CI using the very same test/code and a simple switch from command line (E2E) - possibly slower - very close if not identical to the final product

I'm not opposed to split the implementation using two subclasses but I would really like to make it easy to "switch" integration/E2E keeping the same(or almost) test sources.

Separated into a common abstract class to refactor common functionalities and two sub-classes OperatorExtension and E2EOperatorExtension.
This actually makes everything more clean, great suggestions thanks!
I think this is ready for another round of review 🙏  @lburgazzoli @csviri

@csviri thanks! 👍
I'll clean up the sample operators tests and remove the old "kind" approach in favour of the E2EOperatorExtension setup, anything else that should be cleaned up?

cleaned up
ported the E2E of the Tomcat operator to this new structure
unified the E2E workflows that are now using a GH action matrix

Should be good for a final check @csviri 🙂


Devicelab Move tracker from Greenhouse to Flight School

Type of Request
infra task
Infrastructure Environment
devicelab
What is happening?
Tracking issue for the lab move.
Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Try pool move tracker: https://github.com/flutter/flutter/issues/145416

VLAN DNS issue tracker: t/225700129 (update: resolved)

@itsjustkevin Please add the black out dates for moving the machines here.

ticket for cooling issue: t/225746150

Please avoid 29 April - 10 May.

Requested priority bump for cooling ticket.


KeyError: 'aresriot.aws-apse2-prod.ap-gp-sydney-1'

log-2.txt
log-1.txt

Got this error today whilst playing comp.
yoinker seems to run whilst in lobby but when I join a comp game, this error occurs. I play on Sydney, Australia servers.

It seems riot has added new servers today. Currently you can build an exe using the source code or join our discord and check the support channel to download the compiled exe from the source.

It seems riot has added new servers today. Currently you can build an exe using the source code or you can download this temp from the source.
vRY - Temp build.zip

It seems riot has added new servers today. Currently you can build an exe using the source code or you can download this temp build from the source. vRY - Temp build.zip

Hey thanks for the reply. That works now but it was constantly crashing and throwing an error saying no config found when I had opened it during agent select in Competitive mode.
I haven't looked through your codebase but would it be possible to make yoinker independent of having hard-coded values for the servers?

We actually have removed hardcoded servers in Commit c211d91bad17b7dd338137aee62f512a06bfbee1. That is why the temp build works because it is now automatically being fetched. The old version which is currently the "Neon Fix" release has the code with the hardcoded values. A new official vRY version  will be released soon!

Awesome work!

Did you want me to close this one off and make a new issue for the crashing during agent select?

Yes please


Syntax Error in Hq_main.py

File "hq_main.py", line 28
main_url = f"https://api-quiz.hype.space/shows/now?type=hq&userId={USER_ID}"
^
SyntaxError: invalid syntax
I think its the f infront of it as i got this error for the logging.fatal command as it had a f infront inside the brackets. Should i remove the f? Im running it off python3 hq_main.py

Are you using Python 3.6+?

Ah thanks! and for bearer token and ID its fine if i use a example one that was found in another forum of this repository right?

That is fine, you can take any Bearer and User ID, doesnt have to be Yours

Seems like the problem is solved.


Fix The Typo In Site...

In Section, "How Can You Help?", there is a typo in 'myemail', i can fix that for you, pls label me under Gssoc'24

Done. Thank You For opportunity.

Hello, Could You Please Label This with "level" for Gssoc'24. Thank You


FileTxt log messages get  trimmed by space character.

I set my client sink to be FileTxt and the format = %cn:\t[%ix]\t(%tm)\t%lv\t{%fs,\t%fl,\t%fn}\t:\t%ms. As a result, I receive messages like:
CORE:    [0044]    (13:09:29.827'003"7)    INFO    {HudPostRenderSystem.cpp
So all characters after the first SPACE character get discarded. Is it me doing something wrong? Console output and the same format work out well.

It seems github text formatting killed my tabulation between pieces of my message string (see the format I use) and printed SPACE character instead

Sorry wrong repo)


pkg/cover: simplify visual coverage comparison for two files

@dvyukov the steps I'm thinking about are:

Detect functions scope and for the equal functions remove the matching coverage markers.
onclick(fold functions). It'll fold the functions in both views.
Autofold functions if the coverage looks equal.
Parallel scrolling.
Highlight the file diff.

Hard to comment, only dogfooding it for lots of cases can lead to an option that's not painful to use.
I am also thinking about higher-level story. Nobody will access all changes in these reports visually each week by clicking on all files. Other related functionalities: summary of changes, automated large change detection. These shouldn't be based on UI and lots of clicking. Solving these may also solve the problem for a single file (e.g. if summary points to functions with largest changes, it will be possible to search for the function name on the current view).


IRIS can not load when installed using Conda

I just made a clean environment using miniconda
conda create -n sci python=3
source activate sci
conda install -c conda-forge nco
conda install -c anaconda scipy
conda install spyder
conda install -c conda-forge iris

but when I run import iris I get the following error:
import iris
Traceback (most recent call last):

  File "<ipython-input-2-089b5db944e7>", line 1, in <module>
    import iris

  File "/Users/elke/miniconda3/envs/sci/lib/python3.7/site-packages/iris/__init__.py", line 113, in <module>
    import iris.fileformats

  File "/Users/elke/miniconda3/envs/sci/lib/python3.7/site-packages/iris/fileformats/__init__.py", line 31, in <module>
    from . import netcdf

  File "/Users/elke/miniconda3/envs/sci/lib/python3.7/site-packages/iris/fileformats/netcdf.py", line 41, in <module>
    import netCDF4

  File "/Users/elke/miniconda3/envs/sci/lib/python3.7/site-packages/netCDF4/__init__.py", line 3, in <module>
    from ._netCDF4 import *

ImportError: dlopen(/Users/elke/miniconda3/envs/sci/lib/python3.7/site-packages/netCDF4/_netCDF4.cpython-37m-darwin.so, 2): Library not loaded: @rpath/libssl.1.0.0.dylib
  Referenced from: /Users/elke/miniconda3/envs/sci/lib/libssh2.1.dylib
  Reason: image not found

I tried to make a system link ln -s ~/miniconda3/envs/sci/lib/libssl.1.1.dylib ~/miniconda3/envs/sci/lib/libssl.1.0.0.dylib which resulted in a similar error:
import iris
Traceback (most recent call last):

  File "<ipython-input-3-089b5db944e7>", line 1, in <module>
    import iris

  File "/Users/elke/miniconda3/envs/sci/lib/python3.7/site-packages/iris/__init__.py", line 113, in <module>
    import iris.fileformats

  File "/Users/elke/miniconda3/envs/sci/lib/python3.7/site-packages/iris/fileformats/__init__.py", line 31, in <module>
    from . import netcdf

  File "/Users/elke/miniconda3/envs/sci/lib/python3.7/site-packages/iris/fileformats/netcdf.py", line 41, in <module>
    import netCDF4

  File "/Users/elke/miniconda3/envs/sci/lib/python3.7/site-packages/netCDF4/__init__.py", line 3, in <module>
    from ._netCDF4 import *

ImportError: dlopen(/Users/elke/miniconda3/envs/sci/lib/python3.7/site-packages/netCDF4/_netCDF4.cpython-37m-darwin.so, 2): Library not loaded: @rpath/libcrypto.1.0.0.dylib
  Referenced from: /Users/elke/miniconda3/envs/sci/lib/libssh2.1.dylib
  Reason: image not found

So I made another system link ln -s ~/miniconda3/envs/sci/lib/libcrypto.1.1.dylib ~/miniconda3/envs/sci/lib/libcrypto.1.0.0.dylib thinking I was on the correct path. However, now I have this error:
import iris
Traceback (most recent call last):

  File "<ipython-input-5-089b5db944e7>", line 1, in <module>
    import iris

  File "/Users/elke/miniconda3/envs/sci/lib/python3.7/site-packages/iris/__init__.py", line 113, in <module>
    import iris.fileformats

  File "/Users/elke/miniconda3/envs/sci/lib/python3.7/site-packages/iris/fileformats/__init__.py", line 31, in <module>
    from . import netcdf

  File "/Users/elke/miniconda3/envs/sci/lib/python3.7/site-packages/iris/fileformats/netcdf.py", line 41, in <module>
    import netCDF4

  File "/Users/elke/miniconda3/envs/sci/lib/python3.7/site-packages/netCDF4/__init__.py", line 3, in <module>
    from ._netCDF4 import *

ImportError: dlopen(/Users/elke/miniconda3/envs/sci/lib/python3.7/site-packages/netCDF4/_netCDF4.cpython-37m-darwin.so, 2): Symbol not found: _EVP_CIPHER_CTX_cleanup
  Referenced from: /Users/elke/miniconda3/envs/sci/lib/libssh2.1.dylib
  Expected in: /Users/elke/miniconda3/envs/sci/lib/libcrypto.1.1.dylib
 in /Users/elke/miniconda3/envs/sci/lib/libssh2.1.dylib

If someone can explain the last error and/or has a fix for this problem please let me know!

I think installing scipy from anaconda might be causing this, as you're installing it from a different channel to everything else. Different channels have different approaches for building things, which can cause odd issues like missing linking libraries. You also shouldn't need to explicitly install scipy (unless for some reason you need a particular build of scipy), as Iris depends on NumPy which depends on scipy, so scipy will get installed when you install Iris.
I was able to make a working conda env containing the libraries you need by running the following:
conda create -n sci -c conda-forge nco iris
source activate sci
conda install spyder

NumPy for sure does not depend on scipy, but Iris does.

I was able to make a working conda env containing the libraries you need by running the following

Installing everything in a single command helps conda's solver to avoid installing packages that are not compatible with each other. Note that, if you are using conda >4.6.1, you can also use a .condarc like this one to help:
channel_priority: strict
channels:
  - conda-forge
  - defaults

create_default_packages:
  - blas=*=openblas

The channel order and the strict priority will ensure that your packages are downloaded from conda-forge unless they exist only on defaults. This will increase the stability of your envs when updating packages or installing with multiple commands like you did there.

Some great help provided here, thanks all. This is likely to be resolved by the last suggestion, so closing this out.
Feel free to re-open if this is something that can be fixed in Iris itself, but most likely this is an issue for https://github.com/conda-forge/iris-feedstock (feel free to cross link any issues).
Thanks all!