Add light mode order support

Fix https://github.com/airswap/airswap-cli/issues/78

Hi @Xuefeng-Zhu thank you for the contribution. Light orders are filled on their own settlement contract, so the following swap would need to switch based on the selected format: https://github.com/airswap/airswap-cli/pull/79/files#diff-2d71f56cfe08932b34f3a1ba0f3da804f4c39417da539c3ccdf3f62615a943adR87
You can import the Light ABI this way:
const Light =<EMAIL_ADDRESS>

@dmosites Thanks for review I addressed your comments

Thanks @Xuefeng-Zhu. Looking more closely here, there are several differences between full and light unfortunately.

A light order returned has flat parameters e.g. signerWallet vs signer.wallet
The validator will not properly validate a light order, so would need to be skipped
The swap function signature for light is different (spreads out order params)

    uint256 nonce,
    uint256 expiry,
    IERC20 signerToken,
    uint256 signerAmount,
    IERC20 senderToken,
    uint256 senderAmount,
    bytes calldata signature
  )

This is a good starting point but don't think we can merge in as-is.

@dmosites Got it. In this case, do you think we need to split it out to a independent command? Or still integrate it into order command?

Likely cleaner to have an independent command, otherwise there will be a lot of conditional logic. Thanks @Xuefeng-Zhu.


Incorrect resolution when directory and file have the same name

Running into an issue when resolving a file that has a sibling directory of the same name.
Example repo: https://github.com/ForestBeaver/replace-ts-paths-same-name-example
npm install
npm run build

cat dist/controller/a.js

npm run replace

cat dist/controller/a.js

node dist/index.js

Hey @ForestBeaver, thanks for the bug report!
This issue should be resolved in the 0.7.2 release.

Thanks for the update @benyap!
I'm now getting this when trying to run with 0.7.2
Error: Cannot find module '~/version.json'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/Users/beaverf/WebstormProjects/joy/product_service/node_modules/resolve-tspaths/dist/steps/createProgram.js:5:24)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
error Command failed with exit code 1.

It looks like const version_json_1 = require("~/version.json"); isn't getting replaced in dist/createProgram.js

Yep that's my mistake haha - should be fixed in 0.7.3 :)


[koa-shopify-auth] accessToken expires in 4hrs

Overview
When installing my app, the accessToken returned in the afterAuth handler in the createShopifyAuth function isn't permanent. Every day when I start working on the app I get 401's until I re-install.
The ctx.session value includes a _expire property which looks like a unix timestamp that is 4hrs in the future.
I'm using the koa-shopify-auth package v3.1.34
I tried setting the myShopifyDomain property in the createShopifyAuth  options, but that caused the application to throw other errors.
I have another app that I built using @shopify/shopify-express and when I look at the req.session value in afterAuth I see that the _expires value is null.
What am I doing wrong?

Is no one else running into this problem? I'm wanting to move forward with my app, but I know I'm not going to be able to go live until I get this figured out.
I'm using the example code provided in the package for setting up the server, session and shopifyAuth call. Any suggestions? Is there something messed up with the session? Could I have something misconfigured on the app admin?

You need to set accessMode: "offline" in your createShopifyAuth function.  By default, all access tokens are online tokens set to expire.  This token will not expire.

Thanks @kirkbackus that was totally the issue. I misread the docs, my fault.


[FEAT]: Update Convert Joints to Mesh so it does not include the parent joint of the selected joint when creating the resulting mesh.

Description
Update GT Tools -> Utilities -> Convert Joints to Mesh so it does not include the parent joint of the selected joint when creating the resulting mesh.
i.e. The current behavior: If you select the pelvis_jnt in the GT biped skeleton_grp and run Convert Joints to Mesh the created mesh includes a mesh representation of the selected joint, it's child joints AND it's parent joint(the root joint at 0,0,0 in this case).
Desired behavior: It would be preferable NOT TO HAVE THE PARENT JOINT OF THE SELECTED JOINT INCLUDED when running Convert Joints to Mesh (i.e. only create the mesh from the selected joint and all it's child joints)
Additional Information
No response

Hi @RJJ,
Thanks for creating this issue and explaining the bug in detail. 🙌
I have already fixed it. The fix will be included in the next update.
In case you can't wait for the next version, feel free to grab the updated function here.


feat: add support for python venv

          Can you also add support for python venv?

Originally posted by @neokd in https://github.com/neokd/NeoGPT/issues/88#issuecomment-1788529996
Hi, apologies for letting some time pass on this.  Wanted to confirm with you if this was still an issue you'd like addressed.  If so, just wanted to clarify the end goal.
I'm assuming you'd like a py virtual environment built that includes all the dependenciens and facilitates running the program without any additional build steps?
Can you confirm?
Thanks,
Bryce

@bryce-seefieldt this issue is been already solved.


fix: edge function should not operate if not targeting definition files

Description
This PR fixes the Netlify edge-function we use for serving JSON Schema files through our website. See this README section.
The main logic of this edge-function was being executed for non-legitimate requests (requests that should just pass through).
Additionally, I'm adding a mermaid flowchart documenting the flow this edge-function should accomplish.
Related issue(s)
https://github.com/asyncapi/website/pull/2493

/rtm


[git-server] Support project aliases

Currently, pushing through the git bridge requires knowing the project id.
It would be nice if the bridge also supported pushing via the project's name, as specified in the project identity, eg.
git push https://seed.alt-clients.radicle.xyz/radicle-client-tools.git

Note that project names are not unique, so it's possible for there to be duplicates. This should be handled somehow, perhaps by not supporting aliases for projects with non-unique names.

How about keeping alias mappings in a flat file, read by both git-server and http-api?

Note that project names are not unique, so it's possible for there to be duplicates.

Can you explain a case where there are duplicates for the same name?


Created git Cheatsheet

Git is the free and open source distributed version control system that's responsible for everything GitHub related that happens locally on your computer. This cheat sheet features the most important and commonly used Git commands for easy reference.

Completed


CSS Module Order Changes When Using sideEffects: false with Barrel Files

Connected Issues

#7094 (CSS Order Differs Between Development & Production Modes when Treeshaking)

Description
When using CSS Modules in a monorepo setup with barrel files (index.ts) and sideEffects: false, webpack produces an incorrect CSS ordering in the output bundle. This might be connected to the long-standing CSS ordering issues with tree-shaking
Key Findings

The issue is specific to webpack 5 - other bundlers (rspack, vite, parcel) handle this correctly (see links in the end)
The problem occurs when all these conditions are met:

Using barrel files (index.ts) for imports
Having sideEffects: false in package.json
Using CSS modules (probably also normal css)
Being in a monorepo setup

Setting "sideEffects": ["*.css"] does NOT fix the issue - it behaves the same as "sideEffects": false

After some debugging we traced it to the build chunk graph logic:
https://github.com/webpack/webpack/blob/5e21745e98eb90a029e1f5374d4e4ac338fbe7c7/lib/buildChunkGraph.js#L683-L708
graph TD
    subgraph "No Barrel ✅"
<EMAIL_ADDRESS>preOrder: 0, postOrder: 6"]
<EMAIL_ADDRESS>preOrder: 1, postOrder: 5"]
<EMAIL_ADDRESS>preOrder: 2, postOrder: 2"]
<EMAIL_ADDRESS>preOrder: 3, postOrder: 1"]
        G3["button.module.css|0|||}} preOrder: 4, postOrder: 0"]
<EMAIL_ADDRESS>preOrder: 5, postOrder: 4"]
        I3["teaser.module.css|0|||}} preOrder: 6, postOrder: 3"]

        A3 --> B3
        B3 --> E3
        E3 --> F3
        F3 --> G3
        B3 --> H3
        H3 --> I3
        style A3 fill:#0a0a4a,stroke:#333
        style F3 fill:#294b51,stroke:#333
        style G3 fill:#294b51,stroke:#333
        style H3 fill:#294b51,stroke:#333
        style I3 fill:#294b51,stroke:#333
    end

    subgraph "sideEffects: true ✅"
<EMAIL_ADDRESS>preOrder: 0, postOrder: 8"]
<EMAIL_ADDRESS>preOrder: 1, postOrder: 7"]
<EMAIL_ADDRESS>preOrder: 2, postOrder: 6"]
<EMAIL_ADDRESS>preOrder: 3, postOrder: 3"]
<EMAIL_ADDRESS>preOrder: 4, postOrder: 2"]
<EMAIL_ADDRESS>preOrder: 5, postOrder: 1"]
        G2["button.module.css|0|||}} preOrder: 6, postOrder: 0"]
<EMAIL_ADDRESS>preOrder: 7, postOrder: 5"]
        I2["teaser.module.css|0|||}} preOrder: 8, postOrder: 4"]

        A2 --> B2
        B2 --> C2
        C2 --> D2
        D2 --> E2
        E2 --> F2
        F2 --> G2
        C2 --> H2
        H2 --> I2

        style A2 fill:#0a0a4a,stroke:#333
        style F2 fill:#294b51,stroke:#333
        style G2 fill:#294b51,stroke:#333
        style H2 fill:#294b51,stroke:#333
        style I2 fill:#294b51,stroke:#333
    end

    subgraph "sideEffects: false ❌"
<EMAIL_ADDRESS>preOrder: 0, postOrder: 6"]
<EMAIL_ADDRESS>preOrder: 1, postOrder: 5"]
<EMAIL_ADDRESS>preOrder: 2, postOrder: 1"]
        D1["teaser.module.css|0|||}} preOrder: 3, postOrder: 0"]
<EMAIL_ADDRESS>preOrder: 4, postOrder: 4"]
<EMAIL_ADDRESS>preOrder: 5, postOrder: 3"]
        G1["button.module.css|0|||}} preOrder: 6, postOrder: 2"]

        A1 --> B1
        B1 --> C1
        C1 --> D1
        B1 --> E1
        E1 --> F1
        F1 --> G1

        style A1 fill:#0a0a4a,stroke:#333
        style C1 fill:#294b51,stroke:#333
        style D1 fill:#294b51,stroke:#333
        style F1 fill:#294b51,stroke:#333
        style G1 fill:#294b51,stroke:#333
    end

Working Variations
There are two workarounds:

Set "sideEffects": true in package.json

OR

Import directly from implementation file instead of barrel:// Instead of: import { CarouselButton } from '@segments/carousel';
import { CarouselButton } from '@segments/carousel/buttons';

But I believe we should fix it in webpack because it works in all other bundlers I tried (rspack, vite, parcel)
Reproduction
Full reproduction repository: https://github.com/jantimon/reproduction-webpack-css-order
The issue can be reproduced by:

Having this import structure:

// @libraries/teaser/src/teaser.ts
import { CarouselButton } from '@segments/carousel'; // via barrel file
import styles from './teaser.module.css';

Building with sideEffects: false produces incorrect CSS order ❌

The repository has dist files checked in so you can see the full main.css
.hDE5PT5V3QGAPX9o9iZl { ... }
.yqrxTjAG22vkATE1VjR9 { background-color: orange; }  /* ❌ Should be last */
.R_y25aX9lTSLQtlxA1c9 { ... }

Building with "sideEffects": ["*.css"] produces incorrect CSS order ❌

See also main.css
.hDE5PT5V3QGAPX9o9iZl { ... }
.yqrxTjAG22vkATE1VjR9 { background-color: orange; }  /* ❌ Should be last */
.R_y25aX9lTSLQtlxA1c9 { ... }

Building with sideEffects: true produces correct order ✅

See also main.css
.R_y25aX9lTSLQtlxA1c9 { ... }
.hDE5PT5V3QGAPX9o9iZl { ... }
.yqrxTjAG22vkATE1VjR9 { background-color: orange; }

Building without a barrel file with sideEffects: false also produces correct order  ✅

See also main.css
.R_y25aX9lTSLQtlxA1c9 { ... }
.hDE5PT5V3QGAPX9o9iZl { ... }
.yqrxTjAG22vkATE1VjR9 { background-color: orange; }

Comparison with Other Bundlers
Each bundler repository branch contains the same code structure and dependencies, only changing the build configuration for the respective bundler:

css built by rspack ✅
css built by vite ✅
css by parcel ✅

Environment

Webpack 5.96.1
Node.js >= 20
pnpm 8.15.4

As we also see this issue in combination with Next.js, we initially thought it was a Next.js bug.
The following issues may be related and eventually also solved by this fix.
https://github.com/vercel/next.js/issues/64921
https://github.com/vercel/next.js/pull/70087

This is not a webpack issue and unfortunately we can't fix it here. This applies to how we work with CSS (css -> js -> extract CSS) and to MiniCssExtractPlugin.
Bare JS imports are considered side free by default and can therefore be moved to any location in the file.
It should be fixed in https://github.com/webpack/webpack/issues/14893 (I will add test). We can also fix this here - https://github.com/webpack-contrib/mini-css-extract-plugin.

Ah super interesting!
That might also explain why all other bundlers work but Turbopack shows exactly the same behaviour: project__53bcfa._.css

/cc @ahabhgk is rspack solve this problem? or just don't support it sideEffects?

@alexander-akait I did a quick test (on the rspack branch of the reproduction)
I added a simple side effect:
@libraries/teaser/src/side-effect.ts
@@ -0,0 +1 @@
+console.log("hello world")

@libraries/teaser/src/index.ts
@@ -1 +1,2 @@
 export * from './teaser';
+export * from "./side-effect"

then I compiled it twice - onece with package.json "sideEffects": true and once with "sideEffects": false
for the javascript part both bundlers rspack and webpack worked the same way: console.log("hello world") was only part of the bundle for "sideEffects": true

@jantimon I looked deeper into your example and I want to say that you have the wrong sideEffects settings. You can't have sideEffects: false in packages that import CSS and inject it into DOM, any DOM manipulations are sideEffects. That's why you got the wrong order.
I looked at other bundles and it seems they just don't support it sideEffects or support it selectively.

If you want to achieve the absence of unnecessary initial requests, I recommend using import(...), if there are problems in some library you can set it at the loader level just using - https://webpack.js.org/configuration/module/#rulesideeffects.

Also - https://github.com/webpack/webpack/issues/15610#issuecomment-1085777006

Let me remind you that there is no such thing in js like import styles from './teaser.module.css';, this is processed by loaders and plugins and always automatically brought into the DOM and create side effects, so if you want to use sideEffects: false or sideEffects": ["*.css"] and have initial bare CSS most likely you made a mistake

I get your point about CSS imports being side effects and side effects in javascript should not affect the order, but I want to share why the current behavior is causing real headaches in production
In the reproduction repo, you can see that just changing or removing a barrel file (like @segments/carousel/index.ts) can change up the CSS order across the entire app without touching a single css file. This isn't just a small issue - in larger apps, this means a simple refactor can silently break styles in completely unrelated components because a class like .teaserCarouselButton class could appears in a different order in the final bundle
Other bundlers might handle sideEffects "less correct" for CSS, but at least they give us a consistent CSS order we can work with and understand.
For me the "order can not be guaranteed" part just doesn't make much sense for CSS (even as a css modules user)
When discussing about those problems you very often hear things like just use tailwind or just use styled-components or just increase the specificity or just use !important or ensure that two CSS files never target the same dom element.
And although those might be options I believe vanilla CSS with simple understandable selectors should also be possible
For me the ideal solution would be something in between - keep the good parts of JS tree-shaking but make CSS ordering predictable (like in rspack, vite and parcel)

I added a new unused export to @segments/carousel which is never used:
import styles from './unused.module.css';

export const CarouselUnused = ({
  className = '',
}) => {
  return `<div class="${styles.unused + (
    className ? ` ${className}` : ''
  )}">Unused
`;
};

This created the following results:

Vite and Parcel achieve both goals: consistent ordering and proper treeshaking
Rspack maintains order but doesn't treeshake CSS
Only webpack and turbopack have unpredictable ordering

Bundler
Consistent Order
CSS Treeshaking
CSS Output

webpack
❌ Order depends on barrel files & sideEffects
✅ Excludes unused.module.css
main.css

rspack
✅ Button → Unused → Teaser → TeaserButton
❌ Includes unused.module.css
main.css

vite
✅ Button → Teaser → TeaserButton
✅ Excludes unused.module.css
index.css

parcel
✅ Button → Teaser → TeaserButton
✅ Excludes unused.module.css
index.5ff2b6c6.css

turbopack
❌ Order depends on barrel files & sideEffects
N/A (no production build tested)
N/A

After update Rspack to v1.1.1 (>=1.0) it should have the same result as webpack https://github.com/ahabhgk/reproduction-webpack-css-order/commit/835fc430050c2f1626eeb1677772f56cf4be6f48

thanks @ahabhgk I removed rspack it from the table now that it has the exact same behaviour
please be aware that your fix will change the css order in a very unpredictable way and might therefore break websites - you should probably marked it as breaking change


Icons are leading to deadlinks

Current Behaviour
Currently the link structure for the links are   example: https://wotlkdb.com/static/images/wow/icons/medium/class_priest.jpg, but the https://wotkdb.com has updated their link structure.
Expected behaviour
Images should load
Reproduction steps
Follow install instructions and then launch server
Server operating system
Windows 10, Linux, MacOS
Client operating system and browser
All browsers
Armory revision
v1.0.0
AzerothCore revision (commit hash)
AzerothCore rev. e863873d4c80

I recommend using https://wowgaming.altervista.org/aowow instead, see https://github.com/r-o-b-o-t-o/azerothcore-armory/commit/13ae2e9b2db78550978f0f85b64175f9513aa866


Regarding the problem of converting regular expressions into FSM

In python.lark, how do you handle the error when converting regular expressions containing lookbacks/lookaheads into fsm?

Hi,
I replaced those regular expressions with simpler regular expressions that avoid lookbacks/lookaheads. To maintain soundness of the approach you only need each regular expression to overapproximate the exact set of possible values certain terminals can take.


Fixed webpack / browserify support

Hi!
I fix exports from module, because webpack required all of the available module functions. (module.exports, define and etc.)
const angular = require('angular');
const angularSpinner = require('angular-spinner');

angular.module('App', [
  angularSpinner // <- exports string with module name
])

Thanks @SuperPaintman  for your pull-request.
We've decided to refactor the whole base code because of the many requests of webpack and amd compatibility issues, and we're using already webpack in master branch (+TypeScript).
Unfortunately, I'll close this pull-request and you're welcome to participate and send your feedback regards the new code
Thanks a lot, and I'm grateful for your contribution :+1:


mild babel-polyfill confusion

babel-polyfill is listed in devDependencies in react-slingshot. On the babel-polyfill docs pages it states:

Because this is a polyfill (which will run before your source code), we need it to be a dependency, not a devDependency

babel-polyfill
I moved babel-polyfill to dependencies and included it in the entry array in both webpack.config files. Is there a reason react-slingshot has it in devDependencies? (Have I broken something in react-slingshot and don't realize it?)

I believe it is a devDependency since it is not needed at runtime. It is not imported in a  file but it is used only in the build and deploy process.
In my opinion since it is a web app there is not much need for either. Dev deps are more necessary with libraries that are installed.

Yes, babel-polyfill is potentially useful for production as well if you want to use features that require the polyfill on your production app. I chose not to include it in the prod build by default since it's quite heavy (~50k). You're typically better off pulling in the specific polyfills you need for production.


Usage page in docs is borked

Not sure why it looks like this. I'll have to look into it on the weekend.

Also, vf connect entry does not get shown.

It's fixed on master: http://virtualfish.readthedocs.org/en/master/usage.html has it right, http://virtualfish.readthedocs.org/en/latest/usage.html doesn't

http://virtualfish.readthedocs.org/en/latest/usage.html is following the stable branch, that's why.

Oh, that's right, that's why that branch is there in the first place.


SCRIPT438: Object doesn't support property or method 'attachShadow' on IE11

Not working on IE11, even official demo gives error - "SCRIPT438: Object doesn't support property or method 'attachShadow'".
added webcomponents libraries<EMAIL_ADDRESS>webcomponents-custom-elements); this solves above issue but still datagrid won't load.

The official demo doesn't work with Edge 18

The official demo doesn't work with Edge 18

Hi, I'm closing this issue as we've decided to drop support for IE11.
@WebMex , thanks for your report — I'll open a new issue to look into Edge.


Improvements in getSiteInfo function

I made the changes to utils.inc.php.
Now it shows the domain url instead of article/page titles.
(example below).
I undid the above changes to my utils file.
Will wait for an update to this before re-trying.

Including a thumbnail image with each link would be awesome.

Thank you @launch3 for quick testing!
We are working on fetching thumbnail for a URL in Trident now, later we will try to implement it in Dolphin as well.


TS: Upgrade to Typescript 3.6.3

We usually do mention this in the change notes once we support the languages feature of that version. But we don't support import.meta yet. This just upgrades the compiler version we use.


SharePoint online native screen loads first, then my customized page getting loaded

Category

[x ] Question
[ ] Typo
[ ] Additional article idea

##Question (How to stop loading native SharePoint screen and load my customized page first?)
Hi, I'm developing a SharePoint online intranet portal, with custom UI. What happens is, when I load my page, the SharePoint default page gets loaded first (for fraction of seconds), then my custom UI page gets loading.
For reference, I have attached the behavior of the page in the video format.
https://user-images.githubusercontent.com/31919925/104266086-f10dec00-54b4-11eb-87d5-93ca534e921c.mp4
You can see in the top HTML tag, I am adding a class "loading-in-progress" when the page gets load, for this class I have added the CSS with a background image (i.e., Loading GIF). Once the page loaded completely I'm removing the class "loading-in-progress".
What I want to achieve is, without showing SharePoint native screen directly show my customized page or show a loading gif until the page gets loaded completely.
Thanks in Advance!!!

This is the intended functionality.
I also want to mention that what you are trying to do is not supported. You are overriding out of the box HTML and styles, which is not a supported scenario in SharePoint Online. The DOM is not an API, and all of your customizations are subject to break at any moment.
If you are looking to build full page customizations (excluding navigation), you should be using Single Part App Pages.
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/single-part-app-pages?tabs=pnpposh

This is the intended functionality.
I also want to mention that what you are trying to do is not supported. You are overriding out of the box HTML and styles, which is not a supported scenario in SharePoint Online. The DOM is not an API, and all of your customizations are subject to break at any moment.
If you are looking to build full page customizations (excluding navigation), you should be using Single Part App Pages.
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/single-part-app-pages?tabs=pnpposh

@bcameron1231
Thanks for the response, If I use the Single part app pages, will it resolve my problem???

@bcameron1231
Thanks for the response, If I use the Single part app pages, will it resolve my problem???


List of all unread messages no longer available in 5.8

In the new design, the number of unread messages in an account is displayed next to its name in the account list.
However, tapping the number does not bring up the list (virtual folder?) of all unread messages, but switches to the folder view.
This is very inconvenient when using, for example, server-side rules to sort mails into non-inbox folders. Or when using read/unread status to keep track of emails.

Design proposal below..

See https://github.com/k9mail/k-9/pull/5519

See my comment on #5467 as this issue seems to be the same (but once again a bit more than #5519)

Just an idea as a temporary workaround, if you're not using unified inbox, you can check "unify" in each folder's properties and go to unified inbox, sorted by read/unread status.

See #4330


fix: resolved the issue with injection detection in rootFile

Fixed the issue of not detecting injectables on root file in build related commands and updated object key.

can we add component check


utime module using mphal

This uses micropython/extmod/utime_mphal.c primitives to pass them over to uasyncio.
The needed functions on mpahaport.c are implemented as needed.

I just noticed that a few things did not survive well to my rebase.
Restoring the changes from upstream.

Looks good! All ready to merge?

Now we are ready!


qFlipper can't connect to the device

Describe the bug
qFlipper timeouts when connection to the device on nixos-unstable.
GUI logs:
[APP] qFlipper version 1.2.2 commit nix-1.2.2 5138-11-16T12:46:39
[APP] OS info: NixOS 23.05 (Stoat) 23.05 6.2.5 Qt 5.15.8
[RPC] Starting RPC session...
[RPC] RPC session started successfully.
[RPC] (1) System Protobuf Version START
[RPC] (1) System Protobuf Version ERROR: Operation timeout (generic)

Terminal logs:
15128 [REG] Detected new device: ...
15145 [DBG] Trying serial port flip_Ryol at /dev/ttyACM0
15145 [DBG] Using  serial port flip_Ryol at /dev/ttyACM0
15145 [RPC] Starting RPC session...
15263 [RPC] RPC session started successfully.
15264 [RPC] (1) System Protobuf Version START
44827 [REG] Device initialization failed: Failed to get protobuf version: Operation timeout (generic)
44834 [RPC] (1) System Protobuf Version ERROR: Operation timeout (generic)

Steps To Reproduce
Steps to reproduce the behavior:
Try to connect to the flipper device via usb.
Expected behavior
It connects.
Additional context
Add any other context about the problem here.
Notify maintainers
@cab404
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 6.2.5, NixOS, 23.05 (Stoat)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.3`
 - channels(root): `"nixos-21.11"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Have you added it to udev rules?

Ugh, I haven't. But I just did and still have this error.

Ugh, I haven't. But I just did and still have this error.

Did you restart udev and re-plug the device after adding rules?

Yes, and even rebooted the pc :)

Are you in dialout group?

Here what I did exactly: https://github.com/kurnevsky/nixfiles/commit/d1d5dd69e3e031424a08811ba15cc6a0153734c8
I also noticed that firmware version on my flipper is quite old - 0.43.1. Could it be a problem?

Are you in dialout group?

I tried to run qflipper from root.

Can you please add yourself to dialout, and try without root?
Also would be glad to get lsusb output if that doesn't help)

firmware version on my flipper is quite old - 0.43.1. Could it be a problem?

Usually it is not — and when it is, the error is different

Oh, or maybe it is a problem. Try using chromium and their online firmware thing and see if that helps — https://lab.flipper.net/

Still the same. lsusb:
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 06cb:00bd Synaptics, Inc. Prometheus MIS Touch Fingerprint Reader
Bus 002 Device 003: ID 04f2:b724 Chicony Electronics Co., Ltd Integrated Camera
Bus 002 Device 006: ID 0483:5740 STMicroelectronics Virtual COM Port
Bus 002 Device 005: ID 8087:0026 Intel Corp. AX201 Bluetooth
Bus 002 Device 002: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Hm, unfun. Can you try nix-shell -p picocom and picocom /dev/ttyACM0?

Try using chromium and their online firmware thing to update and see if that helps

It just writes No compatible devices found.

picocom:
picocom v3.2a

port is        : /dev/ttyACM0
flowcontrol    : none
baudrate is    : 9600
parity is      : none
databits are   : 8
stopbits are   : 1
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
hangup is      : no
nolock is      : no
send_cmd is    : /nix/store/jw3mzwqfbd3h9dacsx7cy165f2fl453r-lrzsz-0.12.20/bin/sz -vv
receive_cmd is : rz -vv -E
imap is        :
omap is        :
emap is        : crcrlf,delbs,
logfile is     : none
initstring     : none
exit_after is  : not set
exit is        : no

Type [C-a] [C-h] to see available commands
Terminal ready

              _.-------.._                    -,
          .-"```"--..,,_/ /`-,               -,  \
       .:"          /:/  /'\  \     ,_...,  `. |  |
      /       ,----/:/  /`\ _\~`_-"`     _;
     '      / /`"""'\ \ \.~`_-'      ,-"'/
    |      | |  0    | | .-'      ,/`  /
   |    ,..\ \     ,.-"`       ,/`    /
  ;    :    `/`""\`           ,/--==,/-----,
  |    `-...|        -.___-Z:_______J...---;
  :         `                           _-'
 _L_  _     ___  ___  ___  ___  ____--"`___  _     ___
| __|| |   |_ _|| _ \| _ \| __|| _ \   / __|| |   |_ _|
| _| | |__  | | |  _/|  _/| _| |   /  | (__ | |__  | |
|_|  |____||___||_|  |_|  |___||_|_\   \___||____||___|

Welcome to Flipper Zero Command Line Interface!
Read Manual https://docs.flipperzero.one

Firmware version: 0.43.1 0.43.1 (a4267626 built on 20-12-2021)

Well, then probably you are experiencing old firmware problems — can be that you are on pre-protobuf version. There is a guide for updating using SD card

DFU worked, thanks for the help!

Quick note for people who install qFlipper via home manager, the udev rules will not be added automatically. You must set hardware.flipperzero.enable = true on a system level. (You should also add your user to dialout too)


Add edge-list like methods to Python extension

Add two new graph building methods from_numpy and from_pandas

@adamnsch This might be interesting for you to look it as you have more experience with Python surfaces for graph frameworks :) Would be great to hear your opinion! Not requesting a general code review, just a look at the APIs :)


Endorsement Policy: Designated endorser

Each chaincode has exactly one peer (enclave) per FPC chaincode.
Allows skipping key-distribution but requires client-side awareness on where the enclave is.
Depends on #166

See #274 and #275 for "sibling" features


Queued Mailable Redis: SerializesAndRestoresModelIdentifiers: ModelNotFoundException

Laravel Version
10.15.0
PHP Version
8.2.5
Database Driver & Version
MySQL 8
Description
I know this is has been brought up a million times before but there seems to still be a bug in queued mailables. I've been on Laracasts and various other resources and I don't see that I'm doing anything wrong.
Illuminate\Database\Eloquent\ModelNotFoundException: No query results for model [App\Models\Item]
#0 /home/forge/testapp.com/vendor/laravel/framework/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php(108):

I use Laravel Forge with a Redis queue managed by Horizon. There is no other special configuration. It's a simple server with the default MySQL installed.
What I'm doing is very simple. The item has been created and persisted, as shown below, but when the queued mailable job runs it cannot find the item.
public function handleItemCreation(Request $request)
{
  $item = Item::create([
    'name' => request('name'),
    'email' => request('email'),
  ]);

  Mail::to(request('email'))->send(new TestMailable($item));
  ...

class TestMailable extends Mailable implements ShouldQueue
{
  use Queueable, SerializesModels;

  public $item;

  public function __construct($item)
  {
    $this->item = $item;
    $this->onQueue('notifications');
  }

Retrying the job manually does work.
This also happens in scheduled tasks that send queued mailables 15 minutes after the model has been persisted
Thanks.
Steps To Reproduce

Set up a model (Item) and a queued mailable (TestMailable).
Send the mailable and pass the recently created Item
Deploy to server (forge)
Create requests and watch Horizon Failed Jobs.

Hey there, thanks for reporting this issue.
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here?
Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
laravel new bug-report --github="--public"

Do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.
Thanks!

What's the name of the primary key of the model? "id" is the default, and is what the queueing system looks for when trying to load the model. If you're using a different primary key name , this would cause your problem.

What's the name of the primary key of the model? "id" is the default, and is what the queueing system looks for when trying to load the model. If you're using a different primary key name , this would cause your problem.

I defined my table like so:
Schema::create('items', function (Blueprint $table) {
            $table->id();
            $table->foreignId('place_id');
            $table->foreignId('team_id');
            $table->foreignId('person_id');
            ... other string / boolean / json columns ...
            $table->timestamps();
});

Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here?

I hope this is correct:
https://github.com/stuartcusackie/laravel-bug-report-48816
I'm sorry but I'm having trouble getting Horizon Redis queues to run on my Windows machine, so I couldn't verify if the same errors are occurring.

I'm sorry but I'm having trouble getting Horizon Redis queues to run on my Windows machine

Horizon doesn't supports Windows unfortunately.

I have deployed my bug report repo to a Forge server and I cannot reproduce the error. I'm not sure what's difference there is in my real application. The model has relations, but that's the only difference I can see.

SOLUTION? I assume these errors are actually being produced by my staging server. The job is being placed on the same queue as the production server and when staging tries to find the object, it does not exist in the database.


Add files via upload

@gururaj20
you doing done not properly, i am not able to see your folder.

created new pr


[Feature request for vcpkg-artifacts] Addition of a manifest validation command

This is a feature request for the vcpkg artifacts.
When the vcpkg z-ce regenerate command is run, the manifests are validated prior to adding them to the registry. The error messages are printed out and said to be skipping the broken manifests. With the validation performed internally, the existing validation checks may be exposed as a command to validate the manifests prior to registry regeneration.  It would be helpful to have a command such as vcpkg z-ce validate-manifests <path-to-manifest> which will validate the provided manifest files, and print out any validation errors.
It is particularly useful when there are numerous manifests and the regeneration is part of an unattended workflow. The developers who are responsible for their manifests can have immediate feedback rather than waiting for the regeneration command to fail and parsing the reason for failure.
My team is happy to contribute to the code. However, we wanted to discuss it prior to putting in the time.

I will try to add this feature.

Thank you for picking this up.

Hello, any update?


CyWidgets don't retain sized borders

In the Chooser, if I use the Table view, I quickly end up resizing the dialog box. When I return to the Chooser, can the dialog box return to the size I set? Can it also use the view I chose?

None of that is currently persisted


Conditional Rendering parent nodes based on key

Hi, I'm just wondering if you can conditionally render container nodes by querying if a current page has a key or parent?
Most of the navigation examples, contain ul around the loop, however if there are no posts to bring back, we're left with an empty ul. Is there any way we can circumvent that?
i.e:
{% set navPages = collections.all | eleventyNavigation('specific-key') %}
{% if post.key %} or {% if post.parent %}

{%- for entry in navPages %}

        {{ entry.title }}

{%- endfor %}

{% endif %}

Apologies if the answer is obvious, I'm a little bit of a noob with nunjucks. :)

I'm wondering this too, though for a slightly different reason.
I've currently got an error saying "Node does not exist", hence I'm looking to avoid that via a conditional nunjucks expression.

I suppose it's a case of knowing what data is available to query for such a thing, but also knowing the data cascade and if that data is available at template or post level.


[stable/goldpinger] add ServiceMonitor

What this PR does / why we need it:
Add Prometheus-operator's ServiceMonitor optionally
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/chart])

Hi @azman0101. Thank you for the PR.
This is a really necessary feature.
But, can you rework this one using the next template.
It is more configurable and used by more another helm charts.
Thank you!
servicemonitor.yaml:
{{- if .Values.serviceMonitor.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: {{ template "service.fullname" . }}
  {{- if .Values.serviceMonitor.namespace }}
  namespace: {{ .Values.serviceMonitor.namespace }}
  {{- end }}
  labels:
    app: {{ template "service.name" . }}
    chart: {{ template "service.chart" . }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
    {{- range $key, $value := .Values.serviceMonitor.selector }}
    {{ $key }}: {{ $value | quote }}
    {{- end }}
spec:
  endpoints:
  - port: http
    {{- if .Values.serviceMonitor.interval }}
    interval: {{ .Values.serviceMonitor.interval }}
    {{- end }}
    path: /metrics
  selector:
    matchLabels:
      app: {{ template "service.name" . }}
      release: {{ .Release.Name }}
  namespaceSelector:
    matchNames:
    - {{ .Release.Namespace }}
{{- end -}}

values.yaml:
serviceMonitor:
  enabled: false
  namespace: monitoring
  interval: 10s
  selector:
    prometheus: kube-prometheus

Hi @okgolove,
I've just rework as you asked.
Regards

/ok-to-test

/lgtm


When the number of files reaches 100, the operation starts to slow down

This would probably require a major refactoring of the code, which is not in my plans (at least not yet). Also, I do not think this plugin is the best for the use case of managing hundreds of files, so unfortunately I will close this issue and mark it as 'wontfix'. Thanks for reporting this though, I may work on it at some point.


⚠ Young Discoverers has degraded performance

In 7274e13, Young Discoverers (https://youngdiscoverers.org.au) experienced degraded performance:

HTTP code: 200
Response time: 6056 ms

Resolved: Young Discoverers performance has improved in 31e36ca.


Remove known issue note from NetworkPolicy doc

Issue was fixed and therefore currently there are no known issues.

/skip-all


ALLOWED_SERVER_IDS

Inside of ".env" file, where exactly should I pull the value and paste it in for this variable, "ALLOWED_SERVER_IDS"?
Under your README.md, in the Setup section, Step 6:
I looked everywhere to try and find the ID that is under the server icon...But it's pretty vague and I'm not able to find it on my own.

To copy the server ID, you first need to enable Developer Mode from Users Settings -> Advanced.

Once you enable the developer mode, you will be able to see the Copy ID menu upon right-clicking on the server name. Hope it helps.

If you’re on web, right click server. If you’re in mobile, long press. This may change in the future, please google he current way to do it on discord as it is not specific to this bot.

Excellent, that helps!   Just enable the Developer Mode.  I'm able to see the 'Copy ID'.

Might be worth it to add:
"To copy the server ID, you first need to enable Developer Mode from Users Settings -> Advanced."
in your README.md file for Setup section.  Assuming other people might experience this issue the same as I.


services: add component for community deletion

Added a new component that removes all records from a community when deleting the community
closes https://github.com/inveniosoftware/invenio-app-rdm/issues/2092
needs https://github.com/inveniosoftware/invenio-communities/pull/895
needs https://github.com/inveniosoftware/invenio-rdm-records/pull/1183

NOTE FOR REVIEWERS: check only last 2 commit

closing, fixed by another solution


CIKs for Xbox Games aren't getting dumped

Hello, I was trying to extract the CIKs for some Xbox Games, but I have noticed that the CIKs are not being dumped properly.
It seems that the tool is unable to extract CIKs for Xbox games, even though it is able to extract CIKs for Microsoft Store apps, which leads me to believe that it might use a different system for Xbox games than it does for Microsoft Store apps.

If you are referring to games installed from the Xbox app, these keys are in fact getting dumped properly as I have tested the tool with those games myself. If you ran the tool prior to installing the game, you need to remove the control_export.reghive file from the CikExtractor directory to make it re-export the hive and dump the newly added keys.

Just tried it on my device, and after starting the download of Minecraft Dungeons from the Xbox app the tool does dump its CIK correctly - seems like this is an issue on your device. Try starting the game once prior to running the tool, this might cause WIndows to obtain a new license if it doesn't have one with the key already loaded.

After trying around for a bit it appears to work now... It was seemingly skipping xbox games but it is dumping them now. I still don't know what caused it, though.


Add API Routers for all CRUD operations developed in previous task

Story: #2
Description
Routers should be like '/api/v1/partners', '/api/v1/partnerById', etc

CRUD APIs done


Job expiry process delays

A customer has asked why there was delays in expiring jobs in their org. After clarification from the pipelines team, it would be good to have this information available for the customers to know.

Thanks for your contribution @lizrabuya ! 🎉
Just had a quick question or two...

Remove package.json thing before merging.


Investigate the implementation of 2FA (Authy) into BOINC!

 Issue by grctest
Thursday Apr 06, 2017 at 14:11 GMT
Originally opened as https://github.com/Erkan-Yilmaz/Gridcoin-tasks/issues/102

Potentially getting a simple 2FA such as https://www.twilio.com/two-factor-authentication integrated into the BOINC web server would further prevent CPID squatting via phishing.

 Comment by tomasbrod
Wednesday Apr 12, 2017 at 15:26 GMT

Not a bad idea, but let's discuss the following questions:

Can 2FA be used with boinc client? Or is it only for web interface?
How can 2FA affect account key security?

 Comment by grctest
Wednesday Apr 12, 2017 at 16:48 GMT

I'd imagine that it would be simplest to implement within the web interface, implementing it within the BOINC client would be more difficult but could potentially be done. 2FA in the client would prevent acquisition of the local account keys.
If we had a 2FA prompt when an user used the account key to log into the website, we would eliminate the permanent compromised account state. The 2FA would have to include verifying via email before enabling, as to prevent an attacker implementing their own 2FA (blocking the owner from the account).


Problem with dependency <IP_ADDRESS>

hello,
it seems that accengage has removed the aar of their SDK <IP_ADDRESS> from bintray, and generated a <IP_ADDRESS> version instead (https://bintray.com/accengage/maven/A4SSDK). It is a problem since your sample uses <IP_ADDRESS>, and your changelog is not updated, it can build at all. Btw, why removing a version of a library :( ?

Hello,
Due to publishing a new version <IP_ADDRESS> the old one (<IP_ADDRESS>) was mistakenly removed. Now it's restored and available here: https://bintray.com/accengage/maven/A4SSDK/<IP_ADDRESS>
Thank you your feedback.


As a Data/Web manager I want to be able to include key reference layers of relevance to the project on the spatial distribution page ..so that I can provide these to users to use (eg regional areas such as Scottish waters)_needs detail

original id#86

Is this related with Permalink: https://wiki.openstreetmap.org/wiki/Permalink

@pcrjoana @cmspinto perhaps you could list the reference layers that you have available on your other maps already as a starter for what we will need for this.

duplicate of #62 closed


"!" Command: SPAWNNPC - Argument 3 Problem

Issuing  /spawnnpc 100 tesla turret and then /! shows the message "spawnnpc: a connected player's name was expected for argument 3".

Should be good in ebcf972e20e831b7330c9a7ccb7da92897d7653e

i dont even know now if i was typing the command exactly as i did about (not escaping the space) or not. either way, trying the same command again while escaping the space works fine, and not escaping has the argument 3 problem, of course. So closing as resolved.


REST POST endpoint/function

Need to add a POST request to our main endpoint. This POST request should route to a handler just for POST  requests.
Users should be able to send a POST request to {base_endpoint}/. The request body (input) will contain a brand new JSON User object. The function should add this user into our database and return a 200 on success.

Closed, #11.
See test.json for sample input.

Next steps are to add cognito username, @KrishnaSolo hit me up when you set that up please.

Implemented on personal account right now without Auth

Hit this with a POST request: https://fat9xy633i.execute-api.us-east-1.amazonaws.com/test/users.
Params:

email (string)
name (string)
start (ISO formatted date)
end (ISO formatted date)

This request will return { dbResp: (object, response from the database. empty is good), input: (object, shows exactly what was inputted into the database) }


Migrate to .NET 6.0

Description
Migrate net5.0 projects to net6.0

[x] Update global.json
[x] Update target frameworks

[x] If possible, remove multi-targeting

[x] Address new analyzer concerns

[x] Remove log messages from resource files
[x] Add exceptions to .editorconfig

[x] Fix code generation to account for passing values by ref

Related issues
AB#86627
Testing
Tested locally and via pipelines
Semver Change (docs)
Breaking

I am excited to see work being done to move onto .net6, but a few questions on my mind. Do you have a plan on how/when we merge this? What is the compatibility with projects on .net5, do we all need to update together if we are no longer multitargeting?
For visibility: @adrianwyatt @cunninghamjc @dustinburson @abhijeett

To answer your questions:

I am in the middle of updating the DICOM OSS project to net6.0 in addition to updating these packages. In truth, I don't really need these changes to update to net6.0 in the DICOM repo as these packages should be compatible. The only real change necessary is to update the SQL code gen tool's target file, as it incorrectly uses its consuming project's $(TargetFramework) for choosing the DLL to run (which there isn't a net6.0 DLL to run)
net5.0 projects cannot leverage net6.0 packages, but most net6.0 assemblies should be able to leverage net5.0 packages. There are a number of breaking changes however that should be reviewed before using net5.0 packages as a net6.0 assembly.
We don't necessarily need to update together. Ultimately the questions become: (1) how quickly do other projects need changes from these packages beyond what's already been published and (2) how long would it take to update those libraries to net6.0. We can maintain the multi-target for net5.0 and net6.0 with some extra work, especially in the code gen as it appears StringBuilder has some new APIs. But if other projects do not need changes from these packages until they update to net6.0 too, then keeping the multi-target for them would be unnecessary.

That being said, maintaining the net6.0 target until net8.0 may behoove us as it is the latest LTS version.

Updated package:


Add lax typing rules.

https://github.com/ballerina-platform/ballerina-spec/issues/196

Added with https://github.com/ballerina-platform/ballerina-lang/pull/16340


Changes to resizeXWindow and loadLocation

I updated the method resizeXWindow to take into account @"GSScaleFactor".
I updated the method loadLocation to better handle malformed URLs and better decide when to preform a search.

merged.
Thanks!


comparison with other baseline methods(random, entropy)

#43
Dear Author,
i want to generate some results for baseline methods, such as random and entropy. I saw your following  response for issue #43.
Hi,
The code with 2 baselines (random and entropy) is easy to implement. You only need to modify the function calculate_uncertainty in mmdet/apis/test.py.
For 2 other approaches (Core-set and CDAL), please refer to here (Core-set) and here (CDAL).
It should be noted that all other methods do not use the two adversarial classifiers and the MIL classifier.
Hope this is useful for you :)
My query regarding the issue:
I have a query regarding the modification in the function [calculate_uncertainty] under (https://github.com/yuantn/MI-AOD/blob/master/mmdet/apis/test.py#L15) in mmdet/apis/test.py.
Currently, for MI-AOD, it is estimating uncertainty as:
loss_l2_p = (y_head_f_1 - y_head_f_2).pow(2)
uncertainty_all_N = loss_l2_p.mean(dim=1)
arg = uncertainty_all_N.argsort()
uncertainty_single = uncertainty_all_N[arg[-cfg.k:]].mean()
uncertainty[i] = uncertainty_single
Can you suggest a way to modify this funcitojn? will using uncertainty_all_N without uncertainty_all_N .argsort() work for Random baseline method ?
If so, wont all the minimizaiton amd maximization of uncertainty be same as MI-AOD ?
It will be great if you can suggest proper modification for entropy based method as well.
Thank you for your time and consideration.

For random sampling, you can use torch.rand() to create a random uncertainty tensor.
For entropy sampling, you can calculate the information entropy based on the confidence score output by the model, and use it as the uncertainty.

Dear Author,
For entropy-based method, it wil be great if you can give some insights on confidence score predicted by model;
The output of the model in test.py is listed as:
y_head_f_1, y_head_f_2, y_head_cls = model(return_loss=False, rescale=True, return_box=return_box, **data)
Can we use loss_l2_p estimated as below in place of confidence score ?
loss_l2_p = (y_head_f_1 - y_head_f_2).pow(2)
The, estimating entropy based uncertainty using confidence score of model as:
uncertainty_all_N = Categorical(probs = loss_l2_p).entropy()
Or it should be y_head_cls  as a confidence score of the model and then estimate the entropy using this prediction ?
Thank you for your time and consdieration.

Ok, thank you.
On Thu, Apr 20, 2023 at 4:25 AM Tianning Yuan @.***>
wrote:

The confidence score is y_head_cls, which has been described sufficiently
and clearly in the paper and code.
—
Reply to this email directly, view it on GitHub
https://github.com/yuantn/MI-AOD/issues/86#issuecomment-1516008630, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGDADHDSGORVMUWDNGMSQKLXCD6JXANCNFSM6AAAAAAUTH5FQI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Replaced by #10745

WIP

Replaced by https://github.com/CenterForOpenScience/osf.io/pull/10745 since this PR uses a temporary branch


[Feature]: Making names accessible as properties

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
The following information should be accessible as properties under the Appsmith namespace.
Workspace name
App name
Page name
For example {{ appsmith.pageName }} (or similar) should return the name of the page the function is called on.
Why should this be worked on?
This allows for scripting to be written without knowing what page it will end up on.  For example we have a script that uses navigateTo() to navigate to the same page the user is already on and update the query parameters.  This works great, but we have to tweak it for each page or refer to a variable in a JSObject that has the page's name.  If we could programmatically collect the page's name, then we could copy that script to each of our pages without having to edit it.
Workspace name is also very useful as many users use it as a kind of test/production environment split,  If you could write scripts that notice that you are in a specific workspace, you could cause certain things to function differently if you are in test mode or production mode.

These features would greatly help some internal and external processes including DB lookups and configurations... Great Idea!

Great idea @eedwardsSGS !
@Nikhil-Nandagopal , could we also expose the list of users, or emails in the workspace? That would be really helpful for select widgets, validation, etc.

@GreenFlux I believe exposing the list of users / emails is a security risk so we intentionally don't do it.
appname/pagename however shouldn't pose the same concern.
@bharath31 could you have a look at this?

@Nikhil-Nandagopal , I thought that at first as well. But then I realized we already expose the email list in the share modal. I even double checked as an app user (not editor or admin), and I can still see the full list of names (and emails, in the tooltip). Why can't we make this info more convenient to reference in the editor, if it's already exposed to even end users?
I think we should only be concerned about exposing the list to public app users. Would it be possible to make the list of emails available in the editor, without it being automatically loaded into client browsers for public users?

I cannot +1 this hard enough.
This is an absolute must for us, I can't imagine how people are handling when user interfaces, links, etc. ( outside data connections ) change per Workspace and/or Environment.
I would want to add that also having an   {{ appsmith.environmentName }} would be very helpful - if we're looking at adding these
I would love for them to be objects, not just names, because I'm sure there are properties there beyond "name" that we'd want to access.
so more:
appsmith

app

name
icon
pages

name
isHidden

currentPageName

workspace

name
image
members

userID
role

environments

name

currentEnvironmentName

After a discussion with @carinanfonseca, we decided to initially support currentPageName, workspaceName, and appName using the appsmith context object and later work on the other pages.
Task for the same - https://github.com/appsmithorg/appsmith/issues/38046

After a discussion with @carinanfonseca, we decided to initially support currentPageName, workspaceName, and appName using the appsmith context object and later work on the other pages. Task for the same - #38046

That will at least get some basic use cases addressed


Add color MarisaBlonde because Marisa is poggers

I thought I did create a pull request back when I did this, but seems like I just forgot and wondered why nothing came back. Still pretty new to Github. Could you please merge this and update the color-bot for the discord server accordingly? Thank you~

Added with the rewrite


Bypassing rootTag and rowTag

Hi, I would like to get rid of the RowTag and RootTag when writing out XML
I'm trying to generate an XML that looks as follow :

someTextString
someOtherTextString

withValue
1234

withValue
1234

problem is this package was created to serialize table originally and not hierarchical data. Yet again these two are conflicting.
In this example there is 2 different issues: first of all the attributes for rowTag and rootTag, there is no way I can set an attribute there.
Second problem is my table's top level node contains some elements (Potentially structures) that are not rows but static.
How can I possibly have the following in my XML output
someTextString
someOtherTextString
I think the RootTag RowTag is a problem for my use case but considering the inputs and outputs I see at my workplace I dont see a single use case where those are useful to me. if I have to output a table I certainly wont serialize to XML and if I have to write an XML its very unlikely this will be a table, at least not at the top level.
So my question is how can I bypass rootTag and rowTag.

Hi @Bertrandbenj , I agree writing XML via this library is not flexible much with rowTag and rootTag.
I think this definitely should be improved. Originally I focused on the roundtrip in writing and reading XML data.
Currently, It won't be able to just skip both. Maybe, we should think a better way to support this flexibly.

The concept seems to be quite generic to hierarchical data, so maybe there is ideas to be taken from the JSON api unless it has the same issue and was also design to load flat files.
There are two ideas :

To handle XML in heavily parallelized way wouldn't become effective to build an RDD like RDD<Tuple<AbsoluteXPath, valueAsTypeX>>  It's memory greedy, I know, but there may be ways to filter out unnecessary nodes, the transformations are rather straightforwards to code and we can create hooks to the DataFrameAPI while also having the freedom to play with hierarchical structures, extracting an Element is a simple filter, creating a node is appending. You have probably thought of it more than I did but let me know if you think its worth drafting something.

I tried to look at how I could implement my own DataFrameReader, DataFrameWriter cause Im also stuck with loading and writing from file by using the SQLContext. is it possible to load an XML/CSV/JSON from an InputStream or even a string directly. Lets say one of my RDD contains a String as a row and that string is nothing else than a full encoded XML. I can decode it using Base64 but then have no other options than dropping it as file and load it again. If there is such custom implementation of DataFrameWriter/Reader could you point me to it.

One last questions more practical this time.

How do you nest a DataFrame into Another.
lets say I have a DataFrame A
+------------+---------------------------+
|    key       |  values                       |
+------------+---------------------------+
|  1234      | DataFrame B placeholder   |
DataFrame B is some XML loaded DataFrame but if I join it it create a new row in DF A for each row in DF B

I would also like to provide a comment that knowing the rootTag and rowTag up front is not very practical. In an application that must handle several types of XML content, it would require a significant amount of up-front effort to pre-parse the data and then organize it so that a Spark job can be generalized to handle different formats. If that much effort is required, then it may be better, in many situations, just to perform an XML to JSON conversion, then create the DataFrame based upon the JSON data. For that reason, I would urge finding a way to avoid the use of rowTag and rootTag as being mandatory.

It seems related with https://github.com/databricks/spark-xml/issues/127#issuecomment-225759676. Maybe we need some options to disable the tags and IndentingXMLStreamWriter.

I took a look for this and seems not quite easy to support this since we're not going to support read it back. Let's don't fix it.


Further development of V5

Is the development of V5 still desired? I wrote two PR but still, I dont have any Reviews?
What should we do to further develop this product?

Hey - after some consideration I've outlined a path forward in #621, I'll start carving out the first release for the mostly backwards compatible v4 release shortly.


azure-identity | CertificateCredential fails to parse PEM certificate (Error "Failed to deserialize certificate in PEM or PKCS12 format")

Package Name: azure-identity
Package Version: 1.10.0
Operating System: Windows 10
Python Version: 3.10.4

Describe the bug
Getting 'Failed to deserialize certificate in PEM or PKCS12 format' error while using 'CertificateCredential' python module in 'azure.identity' python package. More details error logs below:
Traceback (most recent call last):
File "C:\Users\userfolder\AppData\Local\Programs\Python\Python310\lib\site-packages\azure\identity_credentials\certificate.py", line 90, in load_pkcs12_certificate
private_key, cert, additional_certs = pkcs12.load_key_and_certificates(
File "C:\Users\userfolder\AppData\Local\Programs\Python\Python310\lib\site-packages\cryptography\hazmat\primitives\serialization\pkcs12.py", line 147, in load_key_and_certificates
return ossl.load_key_and_certificates_from_pkcs12(data, password)
File "C:\Users\userfolder\AppData\Local\Programs\Python\Python310\lib\site-packages\cryptography\hazmat\backends\openssl\backend.py", line 2134, in load_key_and_certificates_from_pkcs12
pkcs12 = self.load_pkcs12(data, password)
File "C:\Users\userfolder\AppData\Local\Programs\Python\Python310\lib\site-packages\cryptography\hazmat\backends\openssl\backend.py", line 2151, in load_pkcs12
raise ValueError("Could not deserialize PKCS12 data")
ValueError: Could not deserialize PKCS12 data
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\userfolder\Downloads\AzureCertificateBasedFileDownload.py", line 51, in
credentials = CertificateCredential(AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_CERTIFICATE_PATH)
File "C:\Users\userfolder\AppData\Local\Programs\Python\Python310\lib\site-packages\azure\identity_credentials\certificate.py", line 54, in init
client_credential = get_client_credential(certificate_path, **kwargs)
File "C:\Users\userfolder\AppData\Local\Programs\Python\Python310\lib\site-packages\azure\identity_credentials\certificate.py", line 133, in get_client_credential
cert = load_pkcs12_certificate(certificate_data, password)
File "C:\Users\userfolder\AppData\Local\Programs\Python\Python310\lib\site-packages\azure\identity_credentials\certificate.py", line 95, in load_pkcs12_certificate
six.raise_from(ValueError("Failed to deserialize certificate in PEM or PKCS12 format"), ex)
File "", line 3, in raise_from
ValueError: Failed to deserialize certificate in PEM or PKCS12 format
To Reproduce
Steps to reproduce the behavior:
Failure Scenario:
Install ‘azure-identity’ by running pip install azure-identity
Run python script that has "credentials = CertificateCredential(AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_CERTIFICATE_PATH)"
Expected Failure Message: “ValueError: Failed to deserialize certificate in PEM or PKCS12 format”
Expected behavior
To successfully read certificate
Additional context
If I uninstall latest version 'azure-identity' and specifically install azure-identity ==1.4.0 then I'm able to parse the certificate without any issues.
Additionally, I could see that issue was raised before "https://github.com/Azure/azure-sdk-for-python/issues/21798". However, I could see this particular issue as closed. But I'm facing the same error.

Thanks for reaching out @anishnair-kpmg! We'll investigate asap.

@xiangyan99 Sure, it's '37.0.2'. I remember trying with '3.4' as well and it was giving me same error but please let me know if you want me to try any specific cryptography version.

Thanks for your reply. Could you help to try cryptography 3.4.8? There was a breaking change introduced in 35.0.0. Just wanted to make sure it was not the cause.
Thank you.

@xiangyan99  I have tried but getting same error. Logs below:
_-----azure identity version-----
1.10.0
-----cryptography  version-----
3.4.8
Azure Blob Storage v12.11.0 - Python quickstart sample
Before credentials step
Traceback (most recent call last):
File "C:\Users\userfolder\AppData\Local\Programs\Python\Python310\lib\site-packages\azure\identity_credentials\certificate.py", line 90, in load_pkcs12_certificate
private_key, cert, additional_certs = pkcs12.load_key_and_certificates(
File "C:\Users\userfolder\AppData\Local\Programs\Python\Python310\lib\site-packages\cryptography\hazmat\primitives\serialization\pkcs12.py", line 28, in load_key_and_certificates
return backend.load_key_and_certificates_from_pkcs12(data, password)
File "C:\Users\userfolder\AppData\Local\Programs\Python\Python310\lib\site-packages\cryptography\hazmat\backends\openssl\backend.py", line 2492, in load_key_and_certificates_from_pkcs12
raise ValueError("Could not deserialize PKCS12 data")
ValueError: Could not deserialize PKCS12 data
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\userfolder\Downloads\AzureCertificateBasedFileDownload-Copy.py", line 40, in
credentials = CertificateCredential(AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_CERTIFICATE_PATH)
File "C:\Users\userfolder\AppData\Local\Programs\Python\Python310\lib\site-packages\azure\identity_credentials\certificate.py", line 54, in init
client_credential = get_client_credential(certificate_path, **kwargs)
File "C:\Users\userfolder\AppData\Local\Programs\Python\Python310\lib\site-packages\azure\identity_credentials\certificate.py", line 133, in get_client_credential
cert = load_pkcs12_certificate(certificate_data, password)
File "C:\Users\userfolder\AppData\Local\Programs\Python\Python310\lib\site-packages\azure\identity_credentials\certificate.py", line 95, in load_pkcs12_certificate
six.raise_from(ValueError("Failed to deserialize certificate in PEM or PKCS12 format"), ex)
File "", line 3, in raise_from
ValueError: Failed to deserialize certificate in PEM or PKCS12 format_

@xiangyan99 Thank you Xiang. I have tried with the following code:
from cryptography.hazmat.primitives.serialization import pkcs12
from cryptography.hazmat.backends.openssl.backend import backend
certificate_path  = "<full path to the certificate "
password =None
with open(certificate_path, "rb") as f:
            certificate_data = f.read()

private_key, cert, additional_certs = pkcs12.load_key_and_certificates(
            certificate_data, password, backend=backend
        )

Please note that password is mandatory argument I have provided it as None since password is not required to open the certificate.
I get similar error after running  the script:
Traceback (most recent call last):
  File "C:\Users\userfolder\Downloads\AzureCertificateBasedFileDownload-Copy.py", line 48, in <module>
    private_key, cert, additional_certs = pkcs12.load_key_and_certificates(
  File "C:\Users\userfolder\AppData\Local\Programs\Python\Python310\lib\site-packages\cryptography\hazmat\primitives\serialization\pkcs12.py", line 147, in load_key_and_certificates
    return ossl.load_key_and_certificates_from_pkcs12(data, password)
  File "C:\Users\userfolder\AppData\Local\Programs\Python\Python310\lib\site-packages\cryptography\hazmat\backends\openssl\backend.py", line 2134, in load_key_and_certificates_from_pkcs12
    pkcs12 = self.load_pkcs12(data, password)
  File "C:\Users\userfolder\AppData\Local\Programs\Python\Python310\lib\site-packages\cryptography\hazmat\backends\openssl\backend.py", line 2151, in load_pkcs12
    raise ValueError("Could not deserialize PKCS12 data")
ValueError: Could not deserialize PKCS12 data

Thanks for your confirmation.
If your certificate is valid (I assume it is. :)), seems like there is a bug in cryptography library.
I would suggest opening issues in https://github.com/pyca/cryptography.

@xiangyan99  Happy to raise the issue with pyca cryptography. However, could you please let me know then why I'm able to read the certificate in azure identity 1.4.0 version?

Could you help to check the cryptography version when you use azure identity 1.4.0 and it works?

@xiangyan99  I'm using latest Cryptography "37.0.2" while using azure identity "1.4.0" version. However, if I use azure identity "1.10.0" even if it is  latest or older 3.4.8 cryptography  version I get the same error.
Sure I will the code which you have suggested and let you know the outcome. I assume 'pem_bytes' parameter to be passed is the content of my certificate.

I believe a fix is merged and will be available in next release. Please feel free to reopen if it is not solved.

/unresolve
@xiangyan99 Thank you so much. I'm glad to hear that it's fixed and changes are merged. Could you please let me know when this is set to release?

It would be available in July's release (which would be a beta release).
You can install the live bits if you want to try it now.

@xiangyan99  Thank you for quick response. That's helpful. Given that it's working with an older version for now, I'm happy to wait until the release. I will let you know once I validate it using latest release. Once gain thank you for fixing this issue :)

1.11.0b2 is released with the fix.

Hi @anishnair-kpmg ,
I am also facing same issue, can you provide me the final solution for this!!
python version- 3.10.4 (64 bit)
azure-identity version- 1.10.0
cryptography version- 37.0.2
window 10
Thanks,
Mohit

@mohitnmo  Try with azure-identity version '1.4.0' instead. If you are getting same error as mine, then it should work in this version. Additionally, this issue is fixed in the latest client library version as mentioned by @xiangyan99. So I would suggest to use this version as well which is pre-release:
https://pypi.org/project/azure-identity/1.11.0b2/
I'm yet to try the latest release but I will soon be using this version.


EKS Auto Mode please

Describe the feature
EKS Auto Mode please
Use Case
I'm always frustrated when I have to do more work than needed, EKS Auto Mode helps alleviate that :)
Proposed Solution
No response
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request

CDK version used
latest
EKS Blueprints Version
No response
Node.js Version
latest
Environment details (OS name and version, etc.)
Mac

Waiting for at least L1 constructs to be available in CDK.

Hello team, I see, L1 CfnCluster now supports enabling Auto Mode.
new eks.CfnCluster(this, 'MyCfnCluster', {
  resourcesVpcConfig: {
....
...
  computeConfig: {
    enabled: true,
    nodePools: ['nodePools'],
    nodeRoleArn: 'nodeRoleArn',
  },

Can this be prioritized for EKS Blueprints?

All clusters providers are using the L2 construct to provision the cluster. Please upvote this issue to add this support to the blueprints: https://github.com/aws/aws-cdk/issues/32364
Changing the cluster provider to use L1 will require a bit of refactoring, custom cluster provider that will use L1 is possible but will require L1 to create cluster and then use something like an importclusterprovider.


"Selective" download?

I realize that this is really hard to do, and am not counting on this to ever happen but throwing it out there anyway- Is it possible to have a downloader that allows one to selectively download what features one needs. For example, if someone wants to only use pre-populated select and multi-select boxes with no plugins. Would that reduce the size of library?

This is a duplicate of https://github.com/select2/select2/issues/1930#issuecomment-73377586.


[#213]: tests methods of MessageTypeDetails

Notes for Reviewer

Pre-Review Checklist for the PR Author

[x] Add sensible notes for the reviewer
[x] PR title is short, expressive and meaningful
[x] Relevant issues are linked in the References section
[x] Every source code file has a copyright header with SPDX-License-Identifier: Apache-2.0 OR MIT
[x] Branch follows the naming format (iox2-123-introduce-posix-ipc-example)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID ([#123] Add posix ipc example)
[] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Tests follow the best practice for testing
[x] Changelog updated in the unreleased section including API breaking changes
[ ] Assign PR to reviewer
[x] All checks have passed (except task-list-completed)

Checklist for the PR Reviewer

[ ] Commits are properly organized and messages are according to the guideline
[ ] Unit tests have been written for new behavior
[ ] Public API is documented
[ ] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

References

Updates #213

@elfenpiff @elBoberido i don't have the permission to assign the reviewer:( so at you directly

Just split the one test case up into several ones and we are good to merge!

cheers! @elfenpiff

@xieyuschen Could you add [#203] to the commit message split the big test_is_compatible_to into small tests
Not sure why the preflight-check didn't catch this 🤔

@xieyuschen Could you add [#213] to the commit message split the big test_is_compatible_to into small tests
Not sure why the preflight-check didn't catch this 🤔

done, thanks for reminding.

@elfenpiff @orecham looks like the macos pipeline is a bit unstable and it failed to setup rust. The other pipelines passed.

@xieyuschen The next iceoryx community meetup is online on the 5th of November: https://github.com/eclipse-iceoryx/iceoryx/wiki/2024-11-05-Eclipse-iceoryx-developer-meetup
It would be nice to get to know you there. I know it is still a while, but you already committed some great contributions so it would be a pleasure to get to know you in person if you like. Also we could discuss if you would be interested in driving a feature from our roadmap - something  that might interest you or you always wanted to try.
Great to have you on board!

@xieyuschen The next iceoryx community meetup is online on the 5th of November: https://github.com/eclipse-iceoryx/iceoryx/wiki/2024-11-05-Eclipse-iceoryx-developer-meetup
It would be nice to get to know you there. I know it is still a while, but you already committed some great contributions so it would be a pleasure to get to know you in person if you like. Also we could discuss if you would be interested in driving a feature from our roadmap - something that might interest you or you always wanted to try.
Great to have you on board!

cool, I'm looking forward to meeting you guys in the meeting and learning more about future plans.


[consensus] Libra mirai

Motivation
Updated mirai-annotations to latest version (1.3.1) which supports post-conditions.
Added preconditions to handle addition overflow errors reported by MIRAI.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
cd consensus; RUSTC_WRAPPER=mirai cargo check
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

cc. @hermanventer for review

@t-rasmud rebase and cargo fmt?

@huitseeker Thanks for the review. I have made these changes in the latest commit.

Looks good to me! Will let @huitseeker chime in regarding the rest.

Will wait for the squashed commit to approve :)

Looks like things weren't squashed before this was merged resulting in polluting the history of the project with the fixup commits. I understand that the workflow we have currently isn't ideal as it requires a lot of effort on the reviewer and merger in order to get things right and we're working on it. But in the mean time i'd ask that everyone please take a closer look at what you're merging.

My bad, sorry about that.
Mistakes happen. There should ideally be a check that prevents this. Failing that we should be prepared to roll back master.
Sent from my iPhone
On Aug 20, 2019, at 10:50 AM, Brandon Williams <notifications<EMAIL_ADDRESS>wrote:
Looks like things weren't squashed before this was merged resulting in polluting the history of the project with the fixup commits. I understand that the workflow we have currently isn't ideal as it requires a lot of effort on the reviewer and merger in order to get things right and we're working on it. But in the mean time i'd ask that everyone please take a closer look at what you're merging.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/libra/libra/pull/351?email_source=notifications&email_token=ABA77A3JBUA3B5APSAYC35LQFQVEJA5CNFSM4IHHWPBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4XDWQQ#issuecomment-523123522, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABA77A25UADMV4VKS3WJVN3QFQVEJANCNFSM4IHHWPBA.

Failing that we should be prepared to roll back master.

Unfortunately a version control system is designed to have permanent public history. Rolling back master is a destructive operation with problematic downstream effects.
Ideally the workflow would be better, but we're not there at the moment. We're working with the GitHub folks on it right now.


New package: Zen-Team.Zen-Browser.Optimized version 1.0.0-a.28

Pull request has been created with komac v2.4.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

@stephengillie Strange, the pipeline has been running since yesterday 🤔

Works

Manual Validation ended with:

Manual Validation ended with:

PUA:Win32/Packunwan

(Automated response - build 888.)

@stephengillie False positive:

https://github.com/zen-browser/desktop/issues/37

Website seems to be down right now

Website is down right now

Website is down right now

/azp run

Verify:


Add versioneer

Hey all,
Thanks for making this cool library.
We are currently stuck needing to install this from git since a release has been for a while.
Installing versioneer makes this 1 step closer to enabling 1 click releases by adding a tag on github.
I'll make the PR to setup travis as well seperately.
What versioneer allows is precise versions between releases based on git tags.
For example:
If i add a tag 0.1.1 to 6eee9b405345b7c1d104c6daef5b63a347f6dafd
git tag -a 0.1.1 6eee9b405345b7c1d104c6daef5b63a347f6dafd

(I can't do the above to the main repo, so I had to add this tag locally).
Installing pykicad in dev mode makes it clear that:
In [1]: import pykicad
In [2]: pykicad.__version__
Out[2]: '0.1.1+16.g8b56d67.dirty'

My local branch is ahead of 0.1.1 by 16 commits
My local branch has uncomitted changes.
The hash of my local branch is g8b56d67

This makes it super useful when trying to create reproducible builds and sharing them with others.
Mark

Thanks for this. I took the liberty of pushing a tag for 0.1.1


Links are not working

All marked Links are not working:
Issue on page: https://github.com/opentelekomcloud-docs/elastic-cloud-server/blob/main/umn/source/troubleshooting/how_do_i_configure_atop_and_kdump_on_linux_ecss_for_performance_analysis.rst

Issue on page: https://github.com/opentelekomcloud-docs/elastic-cloud-server/blob/main/umn/source/faqs/disk_management/how_do_i_obtain_my_disk_name_in_the_ecs_os_using_the_device_identifier_provided_on_the_console.rst

This has been fixed and is already implemented in latest published version


[CFE] co19/LanguageFeatures/Extension-types/static_analysis_extension_types_A21_t06  crashes compiler

Test https://github.com/dart-lang/co19/blob/master/LanguageFeatures/Extension-types/static_analysis_extension_types_A26_t01.dart crashes the compiler. Log
/========================================================================================================================\
| co19/LanguageFeatures/Extension-types/static_analysis_extension_types_A21_t06 is new and failed (Crash, expected Pass) |
\========================================================================================================================/

--- Command "fasta" (took 107ms):
(cd /b/s/w/ir/ ; DART_CONFIGURATION=ReleaseX64 ./out/ReleaseX64/dart ./pkg/front_end/tool/_fasta/compile.dart --verify --skip-platform-verification -o ./out/ReleaseX64/generated_compilations/cfe-strong-linux/tests_co19_src_LanguageFeatures_Extension-types_static_analysis_extension_types_A21_t06/out.dill --platform ./out/ReleaseX64/vm_platform_strong.dill -Dtest_runner.configuration=cfe-strong-linux --enable-experiment=inline-class --nnbd-strong --packages=./.dart_tool/package_config.json ./tests/co19/src/LanguageFeatures/Extension-types/static_analysis_extension_types_A21_t06.dart )

exit code:
253

stdout:
tests/co19/src/LanguageFeatures/Extension-types/static_analysis_extension_types_A21_t06.dart:26:16: Error: Verification of the generated program failed:
Target=vm, VerificationStage.afterModularTransformations: StaticInvocation with incompatible arguments for 'ET1|c'.
  factory ET1.f(int id) = ET1.c;
               ^
tests/co19/src/LanguageFeatures/Extension-types/static_analysis_extension_types_A21_t06.dart:26:11: Error: Verification of the generated program failed:
Target=vm, VerificationStage.afterModularTransformations: StaticInvocation with incompatible arguments for 'ET1|c'.
  factory ET1.f(int id) = ET1.c;
          ^
tests/co19/src/LanguageFeatures/Extension-types/static_analysis_extension_types_A21_t06.dart:34:16: Error: Verification of the generated program failed:
Target=vm, VerificationStage.afterModularTransformations: StaticInvocation with incompatible arguments for 'ET2|n'.
  factory ET2.f(int id) = ET2.n;
               ^
tests/co19/src/LanguageFeatures/Extension-types/static_analysis_extension_types_A21_t06.dart:34:11: Error: Verification of the generated program failed:
Target=vm, VerificationStage.afterModularTransformations: StaticInvocation with incompatible arguments for 'ET2|n'.
  factory ET2.f(int id) = ET2.n;
          ^

stderr:
Unhandled exception:
  Crash when compiling:
'package:front_end/src/fasta/kernel/kernel_target.dart': Failed assertion: line 1619 pos 12: 'allowVerificationErrorForTesting || errors.isEmpty': Verification errors found.

#0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61)
#1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
#2      KernelTarget._verify (package:front_end/src/fasta/kernel/kernel_target.dart:1619:12)
#3      KernelTarget.buildComponent.<anonymous closure> (package:front_end/src/fasta/kernel/kernel_target.dart:635:9)
<asynchronous suspension>
#4      withCrashReporting (package:front_end/src/fasta/crash.dart:133:12)
<asynchronous suspension>
#5      KernelTarget.buildComponent (package:front_end/src/fasta/kernel/kernel_target.dart:576:12)
<asynchronous suspension>
#6      CompileTask.compile (file:///b/s/w/ir/pkg/front_end/tool/_fasta/entry_points.dart:436:19)
<asynchronous suspension>
#7      BatchCompiler.batchCompileImpl (file:///b/s/w/ir/pkg/front_end/tool/_fasta/entry_points.dart:221:5)
<asynchronous suspension>
#8      CompilerContext.clear (package:front_end/src/fasta/compiler_context.dart:139:3)
<asynchronous suspension>
#9      runProtectedFromAbort (file:///b/s/w/ir/pkg/front_end/tool/_fasta/command_line.dart:416:12)
<asynchronous suspension>
#10     BatchCompiler.run (file:///b/s/w/ir/pkg/front_end/tool/_fasta/entry_points.dart:173:13)
<asynchronous suspension>

--- Re-run this test:
python3 tools/test.py -n cfe-strong-linux co19/LanguageFeatures/Extension-types/static_analysis_extension_types_A21_t06

Closing this as a duplicate of https://github.com/dart-lang/sdk/issues/53140.


0.2.6: bugfix: askPlayMotion

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/42300
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.6 -m "<description of version>" 2107f9bd500cf22d0a09622e2a316c2568f88a6b
git push origin v0.2.6


accessControlAllowOrigin setting ignored

Not sure this is the correct place. For the Eclipse Basyx server the accessControlAllowOrigin setting in context.properties is ignored.
The same setting work on registry.
When setting:
accessControlAllowOrigin=*
I can see the correct response header on registry:
access-control-allow-origin: *
But for the server the accessControlAllowOrigin has no effect.
I am running from Docker container 1.3.1

The same for Registry which works:

This repo is about the development of BaSyx Java V2, I'm moving the ticket to the correct repo.
Would it be possible to provide your context.properties file? Additionally, can you provide the command you're using to start the components?
In the meantime, you can configure the accessControlAllowOrigin also via environment variables, like for example in our docker compose example.


New version: JetBrains.DataGrip.EarlyAccess version 221.4906.1

Auto-updated by vedantmgoyal2009/winget-pkgs-automation in workflow run 110
Microsoft Reviewers: Open in CodeFlow

/azp run


lenovo_fix write to unrecognized MSR

After upgrading the kernel while running the lenovo_fix.service I get this issue every few seconds. In the meantime I have disabled the service.
[69.128297] msr: Write to unrecognized MSR 0x1a2 by python3
[69.128297] Please report to<EMAIL_ADDRESS>
Hardware:
Lenovo Thinkpad X1 Carbon 6th Gen
OS: Arch Linux
Kernel: 5.9.4-zen1-1-zen
CPU: Intel i7-8550U (8) @ 4.0GHz
GPU: Intel UHD Graphics 620

@AdrianDeAnda https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=x86/misc&id=a7e1f67ed29f0c339e2aa7483d13b085127566ab try adding allow_writes=on parameter

This issue is a duplication of #215.

This issue is a duplicate of #215.


Unintuitive minting fee process on BSX / KSM

Is your feature request related to a problem?
So i’ve bridged some KSM to BSX so i can pay for fees. We are promoting that the fees are close to 0 or cents, so i imagine 1.62 dollars should be enough to mint a collection.
Apparently, it’s not enough and the UI doesn’t even tell me how much i need, therefore i’m not sure if i should bridge 1 ksm or 5 ksm to the chain which i for example don’t want.
Describe the solution you would like
I’d like to see details of the mint itself. How much i’m paying for transaction and how much i’m paying to the marketplace as a fee of service.
It will also help me to find out how many more KSM i need to bridge to the BSX chain.
This is standard on most interfaces working with some currencies and it helps to build transparency
Describe alternatives you have considered
Even if this was listed somewhere in docs, as an end user i cannot imagine going to docs to find out how much i’ll pay for transaction and mint fees, not speaking of always fluctuating price of the fee asset.
Screenshots

Are there opened related issues?
No response

Something wrong with balance as it show 0 KSM, we made a change recently on this file. I'll take a look.


[BUG] RSS feed should build on main with certain label

Describe the bug
Right now the RSS feed will build on main branch for every push. It should only build for content change. We should control this via a label.

Disabled workflow since 30DaysOfPWA has finished.


Settings objects don't equal their corresponding Entity objects

Currently, the equals/hashcode method for AccountSettings is good enough because both AccountSettings and AccountSettingsEntity rely upon the naturalId for equality (which is just the accountId).
However, for embedded objects like SettlementEngineDetails, this breaks down because there is no naturalId, and Hibernate works best with reference equality.
However, the primitive objects have a different implementation per the Immutables construct.
Thus, we should probably break the inheritance chain between the Immutables and the Entity classes so that Hibernate can work properly, but the Java objects will have rational equals/hashcode implementations.
This means we'll probably want strong Converters for these two types of class so that we can easily move between the two.

Fixing this will also mean we can turn off hibernate.create_empty_composites.enabled=true, which generates this warning:
HHH000483: An experimental feature has been enabled (hibernate.create_empty_composites.enabled=true) that instantiates empty composite/embedded objects when all of its attribute values are null. This feature has known issues and should not be used in production until it is stabilized. See Hibernate Jira issue HHH-11936 for details.

This will be nice because we won't need to use an AccountSettingsEntity as an AccountSettings directly, so we can more finely control how things like AccountRateLimitSettings get added to the AccountSettingswithout having to worry if they come backnull` from Hibernate.


Aerospike store support

Coverage decreased (-0.9%) to 82.95% when pulling d239562ebda3d729f8a96fd525894fe3b82fc34e on n0madic:master into fc50db13428acc7bffe804a575c800bf3572975a on abronan:master.

Does Aerospike support locking? Adding more stores without locking support, I find it less interesting.

Aerospike supports CAS (safe read-modify-write) operations and the record’s generation to invalidate the write if another updated happened between when you read, and this write operation.
I implemented the AtomicPut method in this way.

@n0madic Thanks a lot for that! I'm going to review that ASAP.
@victorcoder I think adding support for new stores even without Locking is fine as long as users scan the dependency table correctly and are aware of the implications. Thus they have to use the lowest common denominator if they want to use aerospike.