[BUG] - Form Builder Fails To Customize  the Display Properties When Placing Other Component Inside Column Components

Environment
https://formio.github.io/angular-demo/#/forms/builder

Could be reproduced by cloning and localhost

Hosting type

[X] Local deployment

Version:

Formio.js version:

Frontend framework: Angular 8

Browser: Chrome

Browser version:84.0.4147.89 (Official Build) (64-bit)

Steps to Reproduce

Go to https://formio.github.io/angular-demo/#/forms/builder
Drag column component, and then inside one of the columns, try placing a textbox, and then edit the label
Click Save
Json Viewer should have been updated with customized value, instead it does not reflect any customization that was added to  the textbox.
The same happens on local system

Expected behavior
Json Viewer should have been updated with customized value. For e.g, for a textbox with a custom label "test label", it should have been
components": [
        {
            "label": "Columns",
            "columns": [
                {
                    "components": [
                        {
                            "input": true,
                            "key": "textField",
                            "tableView": true,
                            **_"label": "test label",_**
                            "type": "textfield",
                            "hideOnChildrenHidden": false
                        }
                    ],
                    "width": 6,
                    "offset": 0,
                    "push": 0,
                    "pull": 0,
                    "size": "md"
                },

Observed behavior
{
    "components": [
        {
            "label": "Columns",
            "columns": [
                {
                    "components": [
                        {
                            "input": true,
                            "key": "textField",
                            "tableView": true,
                            "label": "Text Field",
                            "type": "textfield",
                            "hideOnChildrenHidden": false
                        }
                    ],
                    "width": 6,
                    "offset": 0,
                    "push": 0,
                    "pull": 0,
                    "size": "md"
                },
                {
                    "components": [],
                    "width": 6,
                    "offset": 0,
                    "push": 0,
                    "pull": 0,
                    "size": "md"
                }
            ],
            "tableView": false,
            "key": "columns",
            "type": "columns",
            "input": false
        },
        {
            "type": "button",
            "label": "Submit",
            "key": "submit",
            "disableOnInvalid": true,
            "input": true,
            "tableView": false
        }
    ]
}

Example
If possible, please provide a screenshot, live example (via JSFiddle or similar), and/or example code to help demonstrate the issue.

For code or form JSON, please enclose in a code block:
// your code here

Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!


Update Chinese language

Update both zh.yaml and zh-tw.yaml
zh.yaml with Simplified Chinese
zh-tw.yaml with Traditional Chinese

Thanks for your contributions, but they need to be done in crowdin, as those translation are managed there, and then exported periodically into Grav:  https://crowdin.com/project/grav-core

sorry for the mistake

It seens like simplified chinese has 100% translated
@rhukster Maybe consider merge the completed changes to develop branch?

Yup, i need to do a merge for the next release.


speed improvements by optimisation of regular expressions

This pull request focuses on the optimisation of regular expressions, and results in quite a speed increase. The prior pull request optimised memory but lowered speed, now we're back to the speed the gem had until a week ago, or probably a bit faster.
All regular expressions that are not language specific have been converted into constants of a single class, for the pragmatic reason of better identifying which are (more or less) duplicates of others. They have been optimised for speed by keeping them as concise as possible to match all tests, also they don't capture anything when not required, and multiple expressions are run as union.
There remain some similar regular expressions that cannot be merged as then either one or another spec does not pass. It seems to me that in these cases the specs need to be adjusted.
During this process large parts of the code have been updated and refactored. No more constants or method names with "unknown" in their names, and hopefully the code is much easier to understand as previously (which should help other future contributors). E.g. I was able to remove an entire (short) class and replace it with a few lines of code.
@diasks2 , please take a good look at the comments I've made in the code and when you have some spare time consider merging multiple similar regex (e.g. sometimes a character is kept, others are removed, and some regex only handle a very specific case and could be merged with others when instead handling an entire range of characters at once) and adjusting the specs accordingly. And: if you can find any way to reduce the number of chained #flat_map in PostProcessor (by merging the three regular expressions), this should reduce the number of allocated objects.

Thanks! I really appreciate all your hard work on these pull requests. Unfortunately, I am very busy at this time and won't have a chance to dig into your changes in detail for the foreseeable future. So, as all the tests pass, I am going to merge this and bump the version so that you and others can make use of the changes.
I look forward to studying and learning from your changes when I have time though and maybe I can help merge some of the similar regexes.
Thanks again!


script command for npm script

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[x] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->

Current behavior
just wonder is there any way to use cmd or npm script to start live server
wanna bind live server start with npm script & vscode hotkey
to run specific file without select that file every time

Expected behavior

Environment
Browser:

- [x] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:

- Live Server: <!-- Check which version is installed -->
- Platform:  <!-- Mac, Linux, Windows -->
- Visual Studio Code: <!-- `code --version` -->

Others
thxs for great extension !
I'm not a native English speaker
feel free to let me know where i didn't describe well enough

U don't think this could be the good use cases. @ritwickdey what you think?

What is the use case ? I can't think. Can anyone explain?

Never mind just wonder is there a way to Simultaneously start npm & live server when i change vscode settings or install some plugin that require reloading
I'm just too lazy  i guess xd
Feel free to close this  thx  for replying !

@RocMark Actually any vscode extension works on vscode execution context. It does not work through npm script.


wrangler preview --watch=false watches project

We currently only check if --watch is present and do not check its value

nevermind, takes_value is false


README: Improve formatting by removing unneeded indent.

This is an optional stylistic improvement to the README formatting, please see if you like it and feel free to merge.

Since a fenced code block (three backticks) is already used, there's no need to indent code blocks. Either a fenced code block or an indent alone is enough.
Also use tabs instead of spaces in Go code to make it gofmt-compatible, and use Go syntax highlighting for Go code blocks.

Thanks!


Add idl2json to allow external contributors

approved in https://dfinity.atlassian.net/browse/IC-790


docs(dr): propose changes to aliasfy package

Add a DR proposing change to aliasfy package to eliminate redundancy

Summary generated by Reviewpad on 09 Oct 23 02:47 UTC
This pull request proposes changes to the aliafy package in order to eliminate redundancy. The current implementation of aliasified packages introduces redundancy by duplicating the contents of the 'default' directory across multiple environment-specific directories. The proposed solution is to introduce a layer of inheritance for aliasified packages, where the contents in the 'default' directory will be merged with the contents in the <alias> directory if an alias is matched. By implementing this inheritance mechanism, the PR aims to reduce redundancy, simplify maintenance, and minimize the scope for errors.

Checklist
All items have to be completed before a PR is merged

[x] Adhere to Contribution Guidelines
[ ] Updates to Decision Records considered?
[ ] Updates to documentation at DX@Scale Guide considered?
[ ] Tested changes?
[ ] Unit Tests new and existing passing locally?

Great enhancement. We recently talked about it with the team as we started to accumulate so many env variables that we need to maintain.

Nice!!

This a a great idea!


Suggestion

Describe
The color scheme I use is 'Filter Spectrum' in monokai-pro. When using code hints, the first line is highlighted in the same color as the background color of the entire code editor, which makes it not easy to see the first line hints(often what I want) in the whole editing interface. And the first sight is the part other than the first line. Thanks.
Screenshots

Application & System:
PyCharm2022.2.1 on Mac OS 12.3

Looking at the official VSCode theme, it seems the highlighted row use a much lighter color. I'll switch to that. Good catch.

Updated in 1.10


No DNS until restarting firefox

Describe the bug
This is a weird problem. Upon logging in, intermittently Firefox (which starts up automatically depending on if it was open when I last rebooted), refuses to connect to any webpages until I restart the browser entirely (opening a new tab does not help).
To Reproduce
Pertinent component of my configuration.nix. I've tried various permutations of these settings.
  # Enable networking
  networking.interfaces.enp0s31f6.useDHCP = true;
  # networking.interfaces.wlp2s0.useDHCP = true;
  networking.networkmanager.enable = true;
  networking.resolvconf.dnsExtensionMechanism = false;

Restart with Firefox open
Attempt to navigate to any webpage
curl ifconfig.co (confirm internet is working)
Restart Firefox (internet works)

Expected behavior
Firefox connects immediately to internet, or connects to the internet once the network has fully initialized.

How exactly are you starting firefox on login?

I use KDE, so it restores open application open login. These is my journalctl logs
internet_failure.log

I see this once in a while too, but never paid enough attention to recall exact details...

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/domain-name-resolve-problem/885/7

From the log it seems that Firefox is starting even before some network stuff hasn't started up yet.  Perhaps it should just work even without waiting, but I can't immediately see what's the matter.

I have experienced this randomly, on and off, for probably 2 years now. I have never managed to figure out what it is, but it does happen more often when I'm roaming wifi networks. If I wait long enough (too long) sometimes it recovers without restarting.

My gut feeling is that it has something to do with nscd
I'd tell you to make a systemd-analyze graph plot to debug this; but nscd restarts like 3 times (For reasons i do not understand) during bootup which causes it not to get rendered in that graph :(

I had this problem until I configured Firefox to use a local Privoxy instance as a proxy.

new to nixos, configured X with dwm session and starting up chromium and st on login in xinitrc.
I can easily dig the world and ping anything, but chromium would not resolve anything, until i restart it.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/strange-dns-problem/9850/1

Seems like this is a duplicate of #63754. Closing.

Seems like this is a duplicate of #63754. Closing.


Bash script edits

This pull request encompasses all changes I've made to 13 of 31 bash scripts.

Thanks @DiDigsDNA!


Add Sensu to the Landscape 👌

Project or Product name: Sensu
Is it open source?: Yes
What are the best URL(s) for it? Repo and homepage (if different) for open source, product homepage for closed source.: Repo | Homepage
What category does it belong in? Observability & Analysis
What's the URL for the best logo (and it needs to include the name)? https://raw.githubusercontent.com/sensu/sensu-logo/master/sensu1_flat white bg_png.png
Anything else we need to know?: Nope, thank you for curating this incredible list!

👋 @dankohn. Would it be helpful if I opened a PR with edits to the .ai file? Glad to help where I can!

No thanks, you've submitted everything we need and we'll include it in the
next version.
--
Dan Kohn<EMAIL_ADDRESS>Executive Director, Cloud Native Computing Foundation https://cncf.io/
tel:+1-415-233-1000
On Thu, Sep 7, 2017 at 11:38 PM, Matt Broberg<EMAIL_ADDRESS>wrote:

👋 @dankohn https://github.com/dankohn. Would it be helpful if I opened
a PR with edits to the .ai file? Glad to help where I can!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cncf/landscape/issues/170#issuecomment-327990704, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AC8MBoewndnIeWrQoqYgFbSQwaN15F1lks5sgLbAgaJpZM4PILjQ
.

Thanks for all the detail @mbbroberg, Sensu will be included in the upcoming 0.9.8 version!

Thanks so much @shawnpreissner 🙌

Hi @mbbroberg, closing as this update was included in the most recent version https://github.com/cncf/landscape#current-version

🙌  Thanks @shawnpreissner 🙌


Enable linux-{aarch64, ppc64le} builds

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

@conda-forge/opentofu Ready for review / merge. Thanks!

Ping


Merge pull request #10 from Ptt-official-app/development

just update the code format by gofumpt tool

Codecov Report

Merging #250 (7502b28) into development (e22dda2) will not change coverage.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##           development     #250   +/-   ##
============================================
  Coverage        45.36%   45.36%
============================================
  Files               29       29
  Lines             1609     1609
============================================
  Hits               730      730
  Misses             778      778
  Partials           101      101

Impacted Files
Coverage Δ

internal/config/config.go
77.27% <ø> (ø)

internal/delivery/http/errors.go
16.12% <ø> (ø)

internal/delivery/http/route_boards.go
56.00% <ø> (ø)

internal/delivery/http/route_boards_articles.go
42.30% <ø> (ø)

internal/delivery/http/route_token.go
47.54% <ø> (ø)

internal/delivery/http/route_users.go
38.78% <ø> (ø)

internal/mail/mailgun.go
80.64% <ø> (ø)

internal/mail/smtp.go
90.00% <ø> (ø)

internal/repository/repository.go
0.00% <ø> (ø)

internal/repository/user.go
47.61% <ø> (ø)

... and 3 more

Continue to review full report at Codecov.

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

不接受歐，我們盡量只使用官方套件

@y2468101216 撇開這個套件，可以看一下更動的代碼，哪些是你覺得不該改的？

LGTM 沒啥可挑剔的

LGTM


Include Mixed and GeometryCollection arrays in spec

This updates the spec to include a "mixed" array, represented by a union, and a GeometryCollection array, represented by a list of that union.
Closes #23
I have rust implementations of these here and here if anyone's curious.

Mixed == Struct<geometry_type: int8, multipolygon>

That's interesting and hadn't occurred to me.
I do think we should explore that more, but in terms of implementation it seems a bit difficult. I really like the union conceptually because I was able to reuse existing implementations of strongly typed arrays per type. In particular the coordinates array I'd more aptly describe as a generic List[List[List[coordinates]]] rather than a "multi polygon array", because the semantics are very different.
For some use cases it's useful to have the arrays already separated by type (thinking of visualization).
But yes if union support is widely lacking, then that's a good reason to entertain something else.

Thoughts on whether to include or exclude GeometryCollection in this PR?

Go for it! I don't think it adds a lot of extra complexity (it's just List<mixed>, correct?).

This PR already contained it; it was more a question on whether it should be taken out 🙂

Any thoughts on geoarrow.mixed vs geoarrow.geometry? The "geometry" as "generic set of geometry items" definitely has precedent (e.g., in R/sf, a generic set has the class sfc_GEOMETRY; in the Wikipedia WKB section of the WKT page, GEOMETRY has the type ID 0).

At least in the rust crate, I've been referring to a GeometryArray as "any of the geoarrow (native) arrays". (in terms of Rust design, I'm not 100% sure whether to make it an enum or a trait object, but either way, GeometryArray will be "either a PointArray or a LineStringArray etc").
In that sense, I originally used the term "MixedArray" to try and draw a distinction with the type of geometry. That is, our geoarrow.* suffixes refer to the type of a geometry, and so I don't like geoarrow.geometry because geometry doesn't add type meaning. After all a point is a geometry too.

I updated this to reflect our most recent discussion in chat

Sounds good! In terms of implementation, having some integration tests here (or even a manual check) would be nice with your implementation, since it's less obvious that it's correct compared to the simpler arays.
I'll wait for a few days to see if @jorisvandenbossche has time to review before merging.

I think we can tackle that separately from this PR. It may even be simplest to start the integration testing just with interop through our python packages

How should nullability be handled here? For geoarrow.geometrycollection, should we disallow any null items in the children of the union array?

It would also be great to get feedback from cuSpatial developers, especially as this PR closes #23. cc @thomcom @trxcllnt. How similar is this to your existing data structures? I would guess that the ordering of type ids in this PR (e.g. a type id of 1 always means Point, and so on) may be different from your implementation?

One comment came up in https://github.com/geoarrow/geoarrow-rs/pull/646#issuecomment-2139145702. In practice, should the Geometry array include all possible child arrays or just the child arrays that have data? E.g. if you have points and polygons in one column, should you have a data type that only references points and polygons, or a data type that references all possible types? I suppose the former, although it's slightly annoying that you can't create the data type in isolation of data.

Is it true that if the types all have the same child ids, then the physical array layouts need to exist for all union children as well? I.e. I assume you can't have a type that describes 6 children but then export an array that only has 2 or 3 children?

I think that having this type description as you have it here is good (i.e., it's "just" a union), with the convention that you either return union<point, linesting, polygon, mpoint, mlinestring, mpolygon> OR list<union<point, linesting, polygon, mpoint, mlinestring, mpolygon>>> for maximum compatibility?

What do you mean by this OR? It seems the former type is a "geometry" and the latter is a "geometry collection"?

In your last comment, I would expect that the most generic "geometry" type also includes GeometryCollection support? So like union<point, linestring, ...., list<union<point, linestring, ...>>>

Other question: do we want to support mixed coordinate dimensionality?
A characteristic of the current "point", "linestring", "polygon", etc encodings is that they always have a fixed dimension, depending on the storage type (xy, xyz, xym or xymz). I think that is a nice characteristic, and I would expect that we provide (some) mixed type that follows that logic, e.g. it can have both points and linestrings, but they are still all 2D or all 3D.
Maybe there is also room and use case for a truly generic and mixed type, but a type with a bit more constraints seems nice as well (and for this one, it would reduce the number of type ids a lot in the definition of the union, as you only need one for each geometry type, and we could then require that each child field of the union should have the same coord dimensionality)

So like union<point, linestring, ...., list<union<point, linestring, ...>>>

One drawback of this way of representing GeometryCollection (and my understanding is that the current version of this PR is like that), is that you no longer have the property of all points in one child array, all lines in another, etc.
I was thinking that in theory one could also do just list<union<point, linestring, ..., mulitpolygon>>, where then a length-1 list means one of the concrete types, and a longer list is a GeometryCollection (this means you would't be able to roundtrip a GeometryCollection of one sub-geometry).
(this is essentially the format for GeometryCollection as currently written in the PR, except for not allowing recursive GeometryCollections, I think)

Latest changes:

Require all children arrays to have same dimensionality.
Disallow nested geometry collections. That is, not permit a Geometry array to contain GeometryCollections. I think it's easier to add those in the future than remove them, and I think it's easier to postpone consensus on whether nested geometry collections should be allowed.
Children arrays should not contain geoarrow metadata.
Define field names for children arrays

you must always include all six children of a GEOMETRY type

You're only suggesting the six children with the same dimension, not children across multiple dimensions?
With the Rust Arrow implementation, as long as the type ids were strictly defined, it wasn't hard to handle if not all children were included via FFI.
Internally in my Rust implementation I always include all 6 arrays, which simplifies things to ensure the field layout is consistent, but I don't have a strong opinion on whether the FFI should also mandate that. (My implementation today always exports all 6 arrays within a dimension but accepts fewer than that for import).

Disallow nested geometry collections. That is, not permit a Geometry array to contain GeometryCollections

FWIW, while in practice your last update indeed disallows nested geometry collections, that is more a consequence of defining it terms of Geometry, and because of not allowing Geometry type to contain GeometryCollection.
But we could also define GeometryCollection as List<DenseUnion<Point, ..., MultiPolygon>>, and then this is also never a nested collection, without the restriction on Geometry to not contain collections.

But we could also define GeometryCollection as List<DenseUnion<Point, ..., MultiPolygon>>, and then this is also never a nested collection, without the restriction on Geometry to not contain collections.

This still has the property that in a Geometry array, any geometry collection data would be stored in separate buffers as any non-geometry collection data, right?

Yeah, I know, but on second thought that is maybe something we should leave to the user to decide if they are OK with that or not, instead of not allowing it from the spec? (using list (with lenght-1 lists representing simple geometries) also has some overhead)

FWIW, while in practice your last update indeed disallows nested geometry collections, that is more a consequence of defining it terms of Geometry, and because of not allowing Geometry type to contain GeometryCollection.
But we could also define GeometryCollection as List<DenseUnion<Point, ..., MultiPolygon>>, and then this is also never a nested collection, without the restriction on Geometry to not contain collections.

This is a good point. I think this is reasonable to consider so that the Geometry array can be the predominant type that can hold all other types. I have to think about how I'd implement this so that it wouldn't be recursive

Latest changes:

Allow Geometry array to have children with varying dimensionality.
Allow Geometry array to have GeometryCollection as children.
Define GeometryCollection not in terms of Geometry. Therefore, nested geometry collections are explicitly not allowed.

I reordered the GeometryCollection and Geometry sections just as you commented, so the diff was off but then I applied your changes manually.


Use api name instead of ID for friendly name

Description:
In snapcast, a name for each client can be set via the API (it is used in the snapcast app for example). This commit adds that name for homeassistant too, which still can be overridden there via the UI.
The name can be None but it seems like homeassistant is using the ID then without problems. Means if people have not set custom names in the snapcast API, nothing should change for them.
Everything worked for me, but as I have no experience with this project otherwise, I'm not sure if the above described "None" behaviour is normal, so treat it with a grain of salt please.
Checklist:

[x] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass

This PR has been gone stale. Please re-open it when you plan to proceed.


Bump Homebrew version for EKS-A v0.15.3

Trigger Homebrew version update for EKS-A v0.15.3.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherrypick main

/approve


ExternalInit should be TlsVecU16

https://github.com/openmls/openmls/blob/1b27417dd31911b91031a1e448c767640b9065b4/openmls/src/group/tests/kat_messages.rs#L185

This is fixed on the interop branch in https://github.com/openmls/openmls/commit/f7d8f639e0ce4f2a6657e30409b5a1d2dd5713ab

This has been fixed in #436


AccessDeniedError: Unable to get backend outputs due to insufficient permissions

Environment information
System:
  OS: macOS 15.1.1
  CPU: (14) arm64 Apple M3 Max
  Memory: 142.81 MB / 36.00 GB
  Shell: /bin/zsh
Binaries:
  Node: 20.18.1 - ~/.asdf/installs/nodejs/20.18.1/bin/node
  Yarn: 1.22.22 - ~/.asdf/shims/yarn
  npm: 10.8.2 - ~/.asdf/plugins/nodejs/shims/npm
  pnpm: undefined - undefined
NPM Packages:
  @aws-amplify/auth-construct: 1.5.1
  @aws-amplify/backend: 1.9.0
  @aws-amplify/backend-auth: 1.4.2
  @aws-amplify/backend-cli: 1.4.3
  @aws-amplify/backend-data: 1.2.2
  @aws-amplify/backend-deployer: 1.1.11
  @aws-amplify/backend-function: 1.9.0
  @aws-amplify/backend-output-schemas: 1.4.0
  @aws-amplify/backend-output-storage: 1.1.4
  @aws-amplify/backend-secret: 1.1.5
  @aws-amplify/backend-storage: 1.2.4
  @aws-amplify/cli-core: 1.2.1
  @aws-amplify/client-config: 1.5.3
  @aws-amplify/deployed-backend-client: 1.4.2
  @aws-amplify/form-generator: 1.0.3
  @aws-amplify/model-generator: 1.0.9
  @aws-amplify/platform-core: 1.3.0
  @aws-amplify/plugin-types: 1.6.0
  @aws-amplify/sandbox: 1.2.7
  @aws-amplify/schema-generator: 1.2.6
  aws-amplify: 6.8.2
  aws-cdk: 2.172.0
  aws-cdk-lib: 2.172.0
  typescript: 5.6.3
No AWS environment variables
No CDK environment variables

Describe the bug
Using this command in my amplify.yml:
npx ampx generate outputs --branch $AWS_BRANCH --app-id $AWS_APP_ID
In my frontend app build, it is failing with this error:
2024-12-12T05:50:57.672Z [INFO]: AccessDeniedError: Unable to get backend outputs due to insufficient permissions.
Resolution: Ensure you have permissions to call cloudformation:GetTemplateSummary.

Reproduction steps

Monorepo setup with Turborepo
Backend is under packages/backend, frontend app is under apps/dashboard-app
In the Amplify console, the frontend is a separate app from the backend.

The amplify.yml:
version: 1
applications:
  - appRoot: packages/backend
    backend:
      phases:
        preBuild:
          commands: [
            'echo BACKEND PREBUILD',
            'echo Node Version',
            'node -v',
            'nvm install 20',
            'nvm use 20',
            'echo Node Version',
            'node -v',
            'echo Yarn Version',
            'yarn -v'
          ]
        build:
          commands: [
            'echo BACKEND BUILD',
            'pwd',
            'yarn install --frozen-lockfile --cache-folder ~/.cache/yarn',
            'npx ampx pipeline-deploy --branch $AWS_BRANCH --app-id $AWS_APP_ID'
          ]
      cache:
        paths:
          - '~/.cache/yarn'
    frontend:
      phases:
          preBuild:
              commands: [
                'yarn install'
              ]
          build:
              commands: [
                'npx turbo run build --filter=@tabbiapp/backend'
              ]
      artifacts:
          baseDirectory: dist
          files:
              - '**/*'
      cache:
          paths:
              - 'packages/backend/node_modules/**/*'
      buildPath: packages/backend
  - appRoot: apps/dashboard-app
    backend:
      phases:
        build:
          commands: [
            'echo BACKEND BUILD OUTPUTS FOR DASHBOARD APP',
            'echo BACKEND PREBUILD',
            'echo Node Version',
            'node -v',
            'nvm install 20',
            'nvm use 20',
            'echo Node Version',
            'node -v',
            'echo Yarn Version',
            'yarn -v',
            'pwd',
            'yarn install --frozen-lockfile --cache-folder ~/.cache/yarn',
            'npx ampx generate outputs --branch $AWS_BRANCH --app-id $AWS_APP_ID'
          ]
      cache:
        paths:
          - '~/.cache/yarn'
    frontend:
      phases:
        preBuild:
          commands:
            - echo FRONTEND PREBUILD DASHBOARD APP
            - echo Node Version
            - node -v
            - nvm install 20
            - nvm use 20
            - echo Node Version
            - node -v
            - ls -l
            - echo Yarn Version
            - yarn -v
            - echo Turbo clean
            - npx turbo run clean
            - 'yarn install --frozen-lockfile --cache-folder ~/.cache/yarn'
        build:
          commands:
            - echo FRONTEND BUILD DASHBOARD APP
            - pwd
            - ls -l
            - ls -l src/
            - ls -l
            - echo Turbo Version
            - npx turbo --version
            - npx turbo run build --filter=dashboard-app
        postBuild:
          commands:
            - echo FRONTEND POSTBUILD DASHBOARD APP
            - ls -l dist
            - ls -l
            - echo Build Done
      artifacts:
        # baseDirectory: /.next
        baseDirectory: /dist
        files:
          - '**/*'
      cache:
        paths:
          - node_modules/**/*
          - '~/.cache/yarn'

@ykethan When I go to IAM > Access management > Roles, I actually don't see any roles created for the frontend app. I do however see them created for the backend app.

Hey @chrisl777, as the frontend end is deployed on a different app, a service role will need to attached to run
npx ampx generate outputs --branch <backend-app-branch> --app-id <backend-app-id>.
i was able to reproduce this, attaching the service role mitigated the issue.

For what it's worth, I was able to go to my frontend app, then App settings > General settings, and then Edit. I was able to select the same service role being used by the backend app. The build is now working!

Hey @chrisl777, manually creating the role should be fine as this can be reused in other apps as well.
and thank you for the feedback passing this to the team. I do agree adding it to the documentation would be great.
additionally, we are looking into optionally allowing creating a role on a frontend only applications. this is currently being tracked on https://github.com/aws-amplify/amplify-backend/issues/2222

Created a issue on the documentation repository to update the relevant docs pages.
https://github.com/aws-amplify/docs/issues/8163
will close this issue as we are tracking this on https://github.com/aws-amplify/docs/issues/8163 and https://github.com/aws-amplify/amplify-backend/issues/2222, do reach out if you require any additional assistance.

@ykethan Excellent, thank you for your help!


[Nomination] : Frank Dierolf

Hola everyone 👋,
I'm Frank and self nominate myself.
Lets try to selfscore myself.
Technical Expertise: 7-8
Community Involvement: 5-6
Content Creation Experience: 3-4
Leadership Experience: 3-4
Lets write sentences to each topic
Technical Expertise

Rust 9 months ago, Typescript 2.5years ago , 3D/C#  5 years ago
SwipePM - Hack -  Last related polka project project

Community Involvement

+10 in Person Polka Events  &  +5 Polka Munich Meetups

Content Creation Experience

Hackathons could count as content

Leadership experience

Maybe Berlin Blockchain Week 2022 - Polka Event

Lets write my sentence:
My natural strong suite are people & ideas.
My generall weak spot is organizing.
Doing 1 o 1 mentoring. Sounds fun. I mostly do it anyways.
Speak at Events sounds fun as well. Usually I'm not the worst person for it.
I dont look for such things, if a being a hero would elvate the request rate, sure why not.
Basically, I'm Frank, doing Web3 Development in Polkadot. I like the community, found some friends there and so I'm quite involved. Reasonable confident about my expertise. I like people, so just write me if questions or just chatting about the latest stuff🦆
Cheers ✌

Hi @FrankBevr, thank you again for submitting your nomination to become a Hero in the Polkadot Developer Heroes program.
We would like to inform you of an important update regarding the approval criteria for our program. After some careful consideration,  we've decided to update our criteria to minimise subjectivity as much as possible  and ensure fairness and transparency in the Hero selection process. As a result, we kindly ask that you resubmit your application following the new criteria, which you can find here.
Your initial application showed us your passion and dedication, and we'd love for you to build upon that. Once again, thanks a ton for your interest in the Heroes program. We're looking forward to receiving your updated application. Your support means a lot to us, and we're grateful for your understanding as we make these changes.

Resubmission - Frank Dierolf
Scoring Framework:
Technical Expertise

Original

GitHub activity related to Polkadot - in the past quarter
Links
Points to earn

Is an owner or maintainer of any other open-source Polkadot ecosystem project (where the project is not the Polkadot SDK, not a Substrate based chain, not a tooling or library project, or not a dapp)
GitHub link(s)
3

Technical Education - in the past quarter
Scoring via
Points to earn

Has taught a coding workshop or training session on Polkadot and/or Rust in the past quarter
Event link(s)
1 session = 1 pt2 sessions = 2 pts3+ sessions = 3 pts

Has contributed more than once to documentation for Polkadot or a Polkadot ecosystem project in the past quarter
GitHub link(s)
2

Has published a technical research paper or article about Rust or Polkadot with more than 60% of own content
Content link(s)
2

Is in the top 10% on StackExchange
StackExchange profile link
1

Has been graduated from the Polkadot Blockchain Academy
Year - Location
2

Self Evalution

GitHub activity related to Polkadot - in the past quarter
Links
Points

Is an owner or maintainer of any other open-source Polkadot ecosystem project
GH - SwipePM - Previous Hack, GH - Inkora - Current Hack, GH - Key3d - Current Hack
3

Technical Education - in the past quarter
Scoring via
Points to earn

Has taught a coding workshop or training session on Polkadot and/or Rust in the past quarter
Event link(s)
0

Has contributed more than once to documentation for Polkadot or a Polkadot ecosystem project in the past quarter
GitHub link(s)
0

Has published a technical research paper or article about Rust or Polkadot with more than 60% of own content
Content link(s)
0

Is in the top 10% on StackExchange
StackExchange profile link
0

Has been graduated from the Polkadot Blockchain Academy
Year - Location
0

Points: 3/13
Community involvement

Original

Activity on the Polkadot Forum - in the past quarter
Scoring via
Points to earn

Has authored more than one topic on the forum in the past quarter
Forum profile link
1

Has added more than one comment to topics on the forum in the past quarter
Forum profile link
1

Polkadot forum technical contribution - Tech talk category
Scoring via
Points to earn

Created a technical topic for discussion in the tech talk section of the forum in the past quarter  (Non tech topics can still be submitted in this category, but will not count here.)
Forum profile link
1

Gave technical responses to 3 or more topics in the tech talk section of the forum in the past quarter
Forum profile link
1

Attendance at Polkadot-related events - in the past quarter
Scoring via
Points to earn

Has attended two or more Polkadot-related events in the past quarter (e.g. meetups, other community events that's not sub0, Decoded or a hackathon)
Event link(s)
1

Has attended most recent sub0
Event link(s)
1

Has attended most recent Decoded
Event link(s)
1

Participation at a Polkadot hackathon (Polkadot-focused or has a Polkadot track)
Scoring via
Points to earn

Has participated at a hackathon with a submitted project in the past quarter
Event and project link(s)
1

Won a hackathon with a submitted project in the past quarter
Event and project link(s)
1

Mentoring within the Heroes program
Scoring via
Points to earn

Has been mentoring folk(s) within the Heroes program
Name(s)
1 mentored = 1 pt2 mentored = 2 pts 3+ mentored = 3 pts

Polkadot Ambassador Program
Scoring via
Points to earn

Is a Polkadot Ambassador/Senior Ambassador/Head Ambassador
Name
1

Community moderation
Scoring via
Points to earn

Moderator or active contributor in Polkadot-focused online communities (e.g., Telegram, Discord)
Name
1

Self Evalution

Activity on the Polkadot Forum - in the past quarter
Scoring via
Points to earn

Has authored more than one topic on the forum in the past quarter
Forum profile link
0

Has added more than one comment to topics on the forum in the past quarter
Forum profile link
0

Polkadot forum technical contribution - Tech talk category
Scoring via
Points to earn

Created a technical topic for discussion in the tech talk section of the forum in the past quarter  (Non tech topics can still be submitted in this category, but will not count here.)
Forum profile link
0

Gave technical responses to 3 or more topics in the tech talk section of the forum in the past quarter
Forum profile link
0

Attendance at Polkadot-related events - in the past quarter
Scoring via
Points to earn

Has attended two or more Polkadot-related events in the past quarter (e.g. meetups, other community events that's not sub0, Decoded or a hackathon)
Sub0
1

Has attended most recent sub0
Sub0
1

Has attended most recent Decoded
Decoded
1

Participation at a Polkadot hackathon (Polkadot-focused or has a Polkadot track)
Scoring via
Points to earn

Has participated at a hackathon with a submitted project in the past quarter
Angel Hack - Polka Global
1

Won a hackathon with a submitted project in the past quarter
2n Price could count^^ - SwipePM
1

Mentoring within the Heroes program
Scoring via
Points to earn

Has been mentoring folk(s) within the Heroes program
I help out a ambassador friend(write if you wanna know the name)
1

Polkadot Ambassador Program
Scoring via
Points to earn

Is a Polkadot Ambassador/Senior Ambassador/Head Ambassador
Frank
1

Community moderation
Scoring via
Points to earn

Moderator or active contributor in Polkadot-focused online communities
I don't moderate it, but write messages in KodaDot Discord, tiny server
1

Points: 8/15
Content creation

Original

Written content - in the past quarter
Scoring via
Points to earn

Has produced more than one technical blog post
Content link(s)
2

Has produced any interactive educational content related to Polkadot  (e.g. coding challenges, quizzes)
Content link(s)
1

Has produced any Polkadot-related educational content in other languages than English
Content link(s)
2

Has created and shared Polkadot-related infographics or visual content in the past quarter
Content link(s)
1

Recorded content - in the past quarter
Scoring via
Points to earn

Produced more than one technical-focused video on own Youtube (or other platform) or podcast channel in the past quarter
Content link(s)
2

Has been a guest speaker on a Polkadot-focused YouTube (or other platform) channel or podcast in the past quarter
Content link(s)
1

Public speaking - in the past quarter
Scoring via
Points to earn

Served as a speaker or panelist at conferences or events on a Polkadot-related topic in the past quarter
Event (or recording) link(s)
1 event = 1 pt2 events = 2 pts 3+ events = 3 pts

Self Evalution
| Written content - in the past quarter                                                      | Scoring via     | Points to earn |
| :----------------------------------------------------------------------------------------- | :-------------- | :------------- |
| Has produced more than one technical blog post                                             | Content link(s) | 0              |
| Has produced any interactive educational content related to Polkadot                       | Content link(s) | 0              |
| Has produced any Polkadot-related educational content in other languages than English      | Content link(s) | 0              |
| Has created and shared Polkadot-related infographics or visual content in the past quarter | Content link(s) | 0              |

Recorded content - in the past quarter
Scoring via
Points to earn

Produced more than one technical-focused video on own Youtube (or other platform) or podcast channel in the past quarter
If friends ask about the PBA and the Exam I sendt this, its content
2

Has been a guest speaker on a Polkadot-focused YouTube (or other platform) channel or podcast in the past quarter
Content link(s)
0

Public speaking - in the past quarter
Scoring via
Points to earn

Served as a speaker or panelist at conferences or events on a Polkadot-related topic in the past quarter
Introduced People on sub0
1

Points: 3/12
Leadership experience

Original

Organization of or participation at Polkadot-related tech focused events - in the past quarter
Scoring via
Points to earn

Has organized or hosted a Polkadot related technical community meetup in the past quarter
Event link(s)
2

Has organized or hosted a Polkadot related technical workshop in the past quarter
Event link(s)
2

Has organized other community initiatives (eg. Polkadot-focused hackathon or coding challenge) in the past quarter
Event link(s)
2

Served as a judge or mentor at Polkadot hackathons in the past quarter
Event link(s)
1

Active involvement in Polkadot based projects
Scoring via
Points to earn

Founded or is leading a Polkadot-related working group or special interest group
Link(s) for more info
2

Is holding an engineering leadership position in a Polkadot-based project
GitHub or other Link(s) for more info
2

Leading discussions in the online space
Scoring via
Points to earn

Is creating and managing a Polkadot-focused media outlet or publication (Including discussion starters, with twitter threads, acive discussions started in chat rooms, forums, or productions similar to DotLeap, AAG, any newsletters etc.)
Link(s) Username
1

Self Evalution
| Organization of or participation at Polkadot-related tech focused events - in the past quarter                         | Scoring via                                                   | Points to earn |
| :--------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------ | :------------- |
| Has organized or hosted a Polkadot related technical community meetup in the past quarter                              | [Munich Meetups](https://www.youtube.com/watch?v=NtZ-NQSQFrQ) | 2              |
| Has organized or hosted a Polkadot related technical workshop in the past quarter                                      | in person or via google meet to some folks that i met         | 1              |
| Has organized other community initiatives (eg. Polkadot-focused hackathon or coding challenge) in the past quarter | Event link(s)                                                 | 0              |
| Served as a judge or mentor at Polkadot hackathons in the past quarter                                                 | Event link(s)                                                 | 0              |

Active involvement in Polkadot based projects
Scoring via
Note
Points to earn

Founded or is leading a Polkadot-related working group or special interest group
Link(s) for more info
I'm a Founder
1

Is holding an engineering leadership position in a Polkadot-based project
GitHub or other Link(s) for more info
I'm my own CTO
1

Leading discussions in the online space
Scoring via
Points to earn

Is creating and managing a Polkadot-focused media outlet or publication (Including discussion starters, with twitter threads, acive discussions started in chat rooms, forums, or productions similar to DotLeap, AAG, any newsletters etc.)
Link(s) Username
0

Points: 5/10
Outcome

Total Points available: 50
Necessary Points: 25
Earned Points: 19

Passed? 🙅

Todo for next submission:

Write/Record/Comment some stuff, publicly 🐒😅

🧑🏭 W.I.P.  🧑🏭


non-square image

Does mojo supports non-square image? I was trying to use it with VGA size images and it was giving seg-fault error,  then i found this in the code:
const int outsize = node_size*node_size;
it looks like that it only support square images, am I correct?

Sorry for the late reply.  It is 1/2 wired up to handle non-square, but it currently does not.  Either pad or crop the image or just squash it to square.


Add a key to the audit record to uniquely identify an entity

https://github.com/networknt/light-kafka/issues/96

 Add a key to the audit record to uniquely identify an entity kafka-sidecar master


Set openssl legacy flag temporarily to fix open-ssl webpack nodejs error cy integration tests run thrown after Meshery UI is started in dev mode

Notes for Reviewers
This PR fixes #6864.
Trying this out don't merge yet please.
Signed commits

[X] Yes, I signed my commits.

Please note that I have already done some of the leg work on this PR, which will explain some of the packages that broke in the CI build and local development.
https://github.com/meshery/meshery/pull/6747
I added .npmrc with legacy-peer-deps=true in order to get the old packages to stay installed in for the time being. I suggested it to @leecalcote as a short term fix until I finish the code editor portion, and migrate MUI.
Please note that in the midst of migrating to MUI v5, see here on MUI installation page where they are relying on React 17.
https://mui.com/system/styles/basics/
So in my PR, I suggested to upgrade to minimum Next 12. Because when it comes to migrating MUI from v4 to v5, I also suggest using @mui/styles as a temporary package to use until we migrate completely onto MUI v5.
@mui/styles does not work directly on React 18.
https://mui.com/system/styles/basics/
So it is either go all in, and skip @mui/styles or use @mui/styles temporarily so we can gradually move all styles to the newest way of MUI.
To finalize this, we can use .npmrc in order for the packages that rely on a certain version of Next.js and/or React in order to move forward to Next.js 13/React 18.

While making changes to this PR, I ran into this issue.
INFO[2023-01-10T21:35:39-06:00] Updated object: cluster-dns/kube-system of kind: ConfigMap in the database  app=meshery
DEBU[0181] No valid mesh adapter(s) found.               file=events_streamer
DEBU[0186] No valid mesh adapter(s) found.               file=events_streamer
DEBU[0191] No valid mesh adapter(s) found.               file=events_streamer
DEBU[0196] No valid mesh adapter(s) found.               file=events_streamer
DEBU[0201] No valid mesh adapter(s) found.               file=events_streamer
DEBU[0206] No valid mesh adapter(s) found.               file=events_streamer
DEBU[0211] No valid mesh adapter(s) found.               file=events_streamer
DEBU[0216] No valid mesh adapter(s) found.               file=events_streamer
DEBU[0221] No valid mesh adapter(s) found.               file=events_streamer
INFO[2023-01-10T21:36:19-06:00] k3d-k3s-default components for contextID:14b3dd7438b74b84525dd6ff0091ab59 registered  app=meshery
panic: definitions: field not found: a

goroutine 16664 [running]:
github.com/layer5io/meshery/server/models/meshmodel/core.getResolvedManifest({0xc007646000, 0x3f8014})
        /home/phxvlabs-io/go/src/github.com/workspace/meshery/server/models/meshmodel/core/register.go:158 +0x31e
github.com/layer5io/meshery/server/models/meshmodel/core.getCRDsFromManifest({0xc007646000?, 0xc005886000?}, {0xc0005a6000, 0x4f, 0x0?})
        /home/phxvlabs-io/go/src/github.com/workspace/meshery/server/models/meshmodel/core/register.go:165 +0x46
github.com/layer5io/meshery/server/models/meshmodel/core.GetK8sMeshModelComponents({0x40ad560?, 0xc006a88480?}, {0xc000cf5000?, 0x192?, 0x5d?})
        /home/phxvlabs-io/go/src/github.com/workspace/meshery/server/models/meshmodel/core/register.go:119 +0x5eb
github.com/layer5io/meshery/server/handlers.RegisterK8sMeshModelComponents({0x463d4f8?, 0xc000122000?}, {0xc000cf5000?, 0xf?, 0xc0011c2ae0?}, {0xc001d431a0, 0x20}, 0x15?)
        /home/phxvlabs-io/go/src/github.com/workspace/meshery/server/handlers/k8sconfig_handler.go:349 +0x5e
github.com/layer5io/meshery/server/models.(*ComponentsRegistrationHelper).RegisterComponents.func1(0xc001123440?)
        /home/phxvlabs-io/go/src/github.com/workspace/meshery/server/models/k8s_components_registration.go:94 +0x25e
created by github.com/layer5io/meshery/server/models.(*ComponentsRegistrationHelper).RegisterComponents
        /home/phxvlabs-io/go/src/github.com/workspace/meshery/server/models/k8s_components_registration.go:71 +0x58a
exit status 2
make: *** [Makefile:103: server] Error 1

Will need this fixed before I can move forward.

@acald-creator here's some warnings, not sure if we can ignore them for now:
warn  - Url '/' defines a query parameter '__nextDefaultLocale' that is missing in exportPathMap
(node:1889) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 client/ listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1889) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 server/ listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit

But now it seems that running the Meshery UI dev server doesn't fail although cypress fails because of some uncaught exception in the frontend (which I've seen before), I'll see if I can fix it by following "cypress handling errors" recipe we've used in the past:
1) Test if UI components are displayed on Index Page
       "after each" hook for "Left Navigation Panel":
     TypeError: The following error originated from your application code, not from Cypress.

  > Cannot set properties of null (setting 'onopen')

When Cypress detects uncaught errors originating from your application it will automatically fail the current test.

This behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.

@acald-creator here's some warnings, not sure if we can ignore them for now:
warn  - Url '/' defines a query parameter '__nextDefaultLocale' that is missing in exportPathMap
(node:1889) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 client/ listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1889) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 server/ listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit

But now it seems that running the Meshery UI dev server doesn't fail although cypress fails because of some uncaught exception in the frontend (which I've seen before), I'll see if I can fix it by following "cypress handling errors" recipe we've used in the past:
1) Test if UI components are displayed on Index Page
       "after each" hook for "Left Navigation Panel":
     TypeError: The following error originated from your application code, not from Cypress.

  > Cannot set properties of null (setting 'onopen')

When Cypress detects uncaught errors originating from your application it will automatically fail the current test.

This behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.

The first part can be ignored for now. This is something that will needs to be configured in next.config.js but it is just a warning.
The second part refers to when redux and websocket is being called for, and in the process, I believe there is not a timer to check for redux and also websocket until it is actually up. Last I check in the processing of building UI and the server, there is a delay before the server is officially up, where the ui is already looking for the server to be running. Therefore, the error comes up.

Good to close this out?

We can close this out for now, as we're using Node 18 in GitHub Actions, and I will need to do some research on how to use Cypress to test for changes from Redux/React-Redux.
We are also we webpack version 5, so we should be good for now. We can revisit if issues come up again.


Expanding the export functionality for the Associations on the Fly page

As a user, I would like to be able to export different components from both “Associations on the Fly” and "Target prioritisation" pages.
At the moment, it is only possible to export the whole table with pre-set weights.
As discussed with @carcruz, we would like to expand this functionality to include all the features listed below:

[ ] Download the current entity associations (with prioritisation) view with default status
[ ] Download the current entity associations view with customised visualisation properties:
Weights
Required
Pinned (or uploaded list)
Prioritisation view only
Sub-Set of association aggregations
Sub-Set of prioritisation aggregations
[ ] Show share URL option (copy button)
[ ] Allow download of JSON and TSV formats - please note: the filename should contain date and platform version (e.g. MONDO_0004975-associated-targets-16_10_2023-v23.09)

This schema applies to both table modes (associations and prioritisations)
The global associations score will always be displayed in downloaded table (order)

Sketched Wireframe:

AOTF export feature requirements file

Adding a Point to story scope:

When downloading the file, the filename should contain date and platform version.
Example: MONDO_0004975-associated-targets-16_10_2023-v23.09

Proposed disclaimer text: By clicking on the download tabs from this view, you will export the entire association table (default option). Please expand the advanced option to export your own customised view

Discussed in the FE meeting today: the two Include custom weight controls and Include custom required controls boxes will be merged into one box named Include custom controls


Gregification of Trash Cans

They are fine just the way they are. Gregifying them would just be a pain for the player.


Add Log Group Name and arn as outputs

It would be useful to add both the Log Group name and ARN as outputs to this module

Fixed in #144, per the linked PR. 👍


Dockerfiles: empty continuation lines in RUN instructions deprecated

Empty continuation lines will become errors in a future release of Docker.
My understanding is that starting a RUN instruction like RUN \ counts as an empty continuation line.

is that true?   i see some discussions about false positives of comments within multi-line run commands...
what would be the reasoning for this?

My understanding is that RUN \ counts as an empty continuation line.
I did hear about false positives with comments splitting up continuation lines, but we don't do that anywhere AFAIK.
I'll dig into this more.

definitely willing to follow best practice, but usually best practices make sense.    this one doesn't yet.

Is this issue resolved?

Yeah, this one's done.


fix(share credits): use web polyfilled safe Buffer.from over Readable.from

:tada: This PR is included in version 1.20.2-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat: readable print for Stats

topic:feat-readable-print-for-stats

Reviews in this chain:
└https://github.com/kaihowl/git-perf/pull/113 feat: readable print for Stats

#
head
base
diff
date
summary

0
94b5c5ce
f71e1d3b
diff
Dec 23 18:53 PM
5 files changed, 161 insertions(+), 3 deletions(-)


Alexa won't recognize some words like 'ready' and 'pixel.

Hi, I noticed that if you ask Alexa to play a song that has the word 'ready' in it, it won't recognize the word and omit it from search. Here is an example below with what it searched and what I actually said to Alexa. (PS. This seems to affect more than just 'ready'. See images below.)

Try using the query "ask youtube to search for ..." rather than "search youtube for ...".

Closing due to inactivity. In your query, you are using search youtube for when it should be ask youtube to search for. It's a bit of a nuance, but it's because the skill is called youtube, so you must request it first before giving a directive.


database should be repaired but won't repair (times out)

I am having issues with MDS configuration manager.  Am switching my database from local users/groups to AD users/groups by cloning the VM, and configuring the clone to use AD.  This worked fine, but in the meantime, the old machine had additional database changes.  So I figured I'd back up the cloned VM, restore the latest prod backup to the cloned VM, make some minor changes to database to switch groups from local to AD, and then I could theoretically shut down the original VM and tell everyone to use the new clone URL.
So, we wanted to test it all out before actually doing it.
SO I did.  Seemed to work, only I used a backup of a few-day-old backup,
Now, I needed to rollback the changes, using the restore of the cloned backup bak file.
So I did, it restored fine, no issues.
I did forget to change the app pool user's permissions (remember, the original was using a local user, the AD clone is using an AD user).  So when I tested it out, it got permissions problems.  No biggie, I granted it permissions.
The website now works.  However, as a double-check, I looked at MDS Configuration manager.  I selected my database, and it says 'this database should be repaired'.  I click on it Repair database.... and it chunks and chunks and chunks along and.... times out.  tried again, times out again. and again. rebooted the VM, and still times out.  Made sure IIS was down, turned off a windows service as well that also accesses the db.  Still, it times out.
I ran dbcc opentran(), then exec sp_who2 <spid> and I see it's doing some delete (as the app pool user) (and it's suspended).  Not sure why it would be doing a delete at all.  but it times out...
any help/clues?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c767b8a9-9b93-2af4-5bd4-568ad5e5c080
Version Independent ID: 8ee958ea-2b12-3684-283a-8be6168f2e41
Content: Upgrade Master Data Services - SQL Server
Content Source: docs/database-engine/install-windows/upgrade-master-data-services.md
Product: sql
Technology: master-data-services
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

Hi @marc-gmail-towersap , thank you for contacting Microsoft! I really wish I could help but unfortunately this forum is intended for issues specifically with the documentation, and not issues encountered while using the product :(
To get further assistance with your issue, we'd recommend engaging the community, or opening a ticket with Microsoft Support. More information can be found here: https://docs.microsoft.com/en-us/sql/sql-server/sql-server-get-help?view=sql-server-2017.
Our apologies that the SQL Docs team was unable to assist you further with your issue, but we appreciate you reaching out. Please let us know if there's anything more we can do for you.
Thanks again and hope you have a wonderful rest of your day!
Masha from SQL Docs team

never mind, the problem was it was replaying the stuff out of the transaction logs.  for some reason, our logs are freakin huge.

Hi @marc-gmail-towersap , awesome, thanks for the clarification! It's good to have this documented for others that may run into a similar issue :)
Thanks again!
Masha from the SQL Docs team


Release of Table Retrieval and Open-domain QA models

Great work on Table Retrieval and Open-domain QA models! Looking forward to their release. Any rough dates on when these models will be released?

Hi @agupta74 thanks a lot for the interest, I estimate around two weeks. We will notify you here when it's released

Any update on this?

Hi there, sorry for the delay, we have released the models and the code here. We are also working on more releases with the post-processed dataset derived from NQ and a colab to showcase the end to end system.


Incorrect example for cross-domain policy

Example for cross-domain policy is incorrect. Second level node should be  and NOT  as specified in example. See correct example below:
    <cross-domain>
        <cross-domain-policy>
            <allow-http-request-headers-from domain="*" headers="*" />
        </cross-domain-policy>
    </cross-domain>

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b65dd545-40a3-c8c6-e107-351a2ae5a807
Version Independent ID: d901525c-9b5d-35a9-02b1-fa1f2d997c55
Content: Azure API Management cross domain policies
Content Source: articles/api-management/api-management-cross-domain-policies.md
Service: api-management
GitHub Login: @vladvino
Microsoft Alias: apimpm

@bychkov Thank you for your feedback! We will review and update as appropriate.

@bychkov Thanks for reporting this item! I have updated the doc and it will be published soon. We appreciate the feedback!


Android waterfall组件里的position: sticky无效

Your questions.
-给 waterfall 组件里的header加上position: sticky样式无效
Environment.

Mobile model: iphoneX
Mobile system: iOS 8
Dev platform: darwin/windows/linux
Node: 8.x.x
Npm: 5.x.x

What do you think may be caused by the analysis of the problem.

Reappearance of the problem (It's best to have a screenshot).

weex 的问题请直接给weex 官方提bug


VitaCheat/FinalCheat plugin interferes with h-encore exploit

Hello! I'm not sure if this is an issue with h-encore specifically or the actual VitaCheat plugin, but the plugin dev is hard to reach anyway. So I had VitaCheatZ05 installed and working correctly, but then I tried starting h-encore to reinstall VitaShell and it just crashed without flashing the purple screen. Disabling the plugin completely fixes this, but I also tried to exclude the plugin from the h-encore title ID in the tai config with *!PCSG90096, and that didn't work, likely cuz its a kernel plugin.
Since I have enso installed I don't use h-encore often and this isn't really a problem, just something I noticed, and for users on 3.68 the plugin won't be running until after h-encore is executed anyway.
Using a Vita 1000 on FW3.65 enso
And I'm not sure if this is needed, but I attached the VitaCheatZ05 plugin that I'm using:
VitaCheatZ05.zip

yeah the exploit depends on the environment where plugins are not loaded.


Add msg_source element to application/json response

Added a couple of metrics and log messages

Current coverage is 94.38%

Merging #136 into master will increase coverage by +0.06% as of e4eb591

@@            master    #136   diff @@
======================================
  Files           35      35
  Stmts          969     980    +11
  Branches        40      40
  Methods          0       0
======================================
+ Hit            914     925    +11
  Partial          0       0
  Missed          55      55

Review entire Coverage Diff as of e4eb591

Powered by Codecov. Updated on successful CI builds.


Cloud functions GotError

Hi,
while using the gocardless nodejs api in a firebase cloud functions, i have this specific error while creating a paymentFlow
{"severity":"ERROR","message":"Unhandled error GotError: connect ECONNREFUSED <IP_ADDRESS>:443\n    at onError (/Users/herve/dev/xxxxxxx/functions/node_modules/got/dist/source/request-as-event-emitter.js:140:29)\n    at handleRequest (/Users/herve/dev/xxxxxxxx/functions/node_modules/got/dist/source/request-as-event-emitter.js:173:17)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)\n    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1145:16) {\n  name: 'RequestError',\n  code: 'ECONNREFUSED'\n}"}

Do you have any ideas on what could cause this ?
It seem to be related to got
Edit: The error seem to be coming from the mailjet library. There must be some conflic with the http-proxy-agent dependency

@hhochart29 Did you ever find a solution to this, I'm seeing exactly the same thing


SpdxDocumentFile: Warn about artifact download locations that look like Git

It is a common mistake by SPDX document authors to omit the VCS-specific
prefix in download locations that refer to VCS locations instead of
artifacts, so warn about this at least in the Git case.
Signed-off-by: Sebastian Schuberth<EMAIL_ADDRESS>

I found one commit message nit: Typo in "locations".

Fixed.


Fix URL for functional tests

📲 What
Correct the URL that is used by the functional tests
🤔 Why
In the prod environment the tests were pointing to the dev environment
Additionally the Kubernetes manifests for Dev and Prod are being uploaded as artefacts of the pipeline.
🛠 How
By updating the stacks-pipeline-templates to use the tests_baseurl the URL for the tests can now be overridden by setting this variable. Internally the value is set as BaseUrl environment variable which the tests will pick up.
👀 Evidence
The tests are passing and the URLs can be seen in the logs of the app.
The environment variable is being set in the pipeline:

🕵 How to test
Notes for QA
✅ Acceptance criteria Checklist
Code peer reviewed?
Documentation has been updated to reflect the changes?
Passing all automated tests, including a successful deployment?
Passing any exploratory testing?
Rebased/merged with latest changes from development and re-tested?
Meeting the Coding Standards?

/azp run


SolverError: Solver 'CLARABEL' failed

I frequently receive this message:
SolverError: Solver 'CLARABEL' failed for . Try another solver, or solve with solver_params=dict(verbose=True) for more information
What can I change to work around?
jm

That error means that the underlying default convex solver named CLARABEL could not find a solution.
Most of the time, this indicates that you are trying to solve an infeasible problem. The solution is to loosen some of your constraints.
In rare cases, it occurs when the solver didn't converge properly while the problem was feasible. In such cases, you can adjust the solver settings and scaling factors. However, that's rare (if you look at our unit tests, the solver systematically found the solution in over 3,000 tests on very diverse problems and datasets).
If you send me the problem you are trying to solve I could tell you what's happening.


Remove node:path and process.nextTick dependency

Remove node:path and process.nextTick dependency to support edge runtimes.
Here is a working example running on vercel edge:
https://hono-react-nitedani-nitedanis-projects.vercel.app/dynamic?_vercel_share=iFkEgX1gF9U1hM806vEBdiywntbfo7CA
All I had to do:

replace path.join(a,b) with a + "/" + b -  of course this is just for showcase
comment out asserts depending on path
replace process.nextTick with setTimeout

All I had to do:

replace path.join(a,b) with a + "/" + b -  of course this is just for showcase
comment out asserts depending on path
replace process.nextTick with setTimeout

Do you still have that diff somewhere?

Second this! Currently cloudflare throws"Error: Dynamic require of \"node:path\" is not supported" during runtime even with node compat mode enabled.

@samuba Up for a PR? Should be relatively easy.

@brillout I would be up for it. Would use https://github.com/unjs/pathe though, as I see there is more then just path joining involved.
You probably want to keep the runtime code dependency free, so I would drop the 3 file from pathe into the src. What do you think?

How about we start with the pathe npm package at first and in a minimal fashion (i.e. only using for the runtime and not for the Vite plugin). Let's then see whether we can remove or trim down pathe.

https://github.com/brillout/telefunc/pull/126
had to replace usage of path.posix.* with path.* as pathe does not provide that api

<EMAIL_ADDRESS>the server runtime shouldn't depend on Node.js anymore (I didn't test it though so let me know if there's still a Node.js dependency somewhere).


Swift 1.2

create a branch for swift 1.2

Thank you! A new branch "Swift1.2" has been created from your changes.


Pure Humidify+Cool 358 AIQ missing

All working fine but the AIQ (Air Quality Index) is missing, if i can help let me know.
Used this integration (or the cloud one) some time ago and i know that i had this readings, with the local one its gone 🙂

Sorry but now we rely on the reading of the different sensor (PM2.5, PM10 and VOC) as that just makes more sense.
You can calculate the AQI pretty easily with tools like https://www.airnow.gov/aqi/aqi-calculator-concentration/ or even make your own dashboard widget.


HOLD bump download and upload to v4

NOTE: Something is breaking and we need to do a more thorough investigation.

Needed to stop the buildup of renovate complaints in consuming repos (e.g. geo-admin)

@dcbickfo I think we're still version-locked on v3, right?

@skawaguchi-flipp - I did some testing and we were finally able to update to v4. I made the change in another branch and then went looking back through old PRs and saw this one. Not sure when it got unlocked. 🤷


add a keyboard shortcut that allows the user to enter a directory

add a keyboard shortcut that allows the user to enter a directory
for example the button y would open a window that allows the user enter the directory /home/user/Documents

good idea, ill make the c key do that

Added in https://github.com/kivattt/fen/releases/tag/v1.6.0
let me know if you don't like Tab for scrolling through the autocomplete, I could add configuration to change it

I think autocomplete is a perfect feature for a short cut like this

Added in https://github.com/kivattt/fen/releases/tag/v1.6.0 let me know if you don't like Tab for scrolling through the autocomplete, I could add configuration to change it

what if you could make the window bigger so the autocomplete would fit and would look neater


[VS Code] Joining collaboration session: Unable to connect to the host. Verify both you and the host are online.

Error:
Joining collaboration session: Unable to connect to the host. Verify both you and the host are online.
Steps to Reproduce:
1.
2.

Version Data

extensionName
VSLS

extensionVersion
1.0.471

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.34.0

platformName
Windows

platformVersion
10.0.17134

Duplicate of #2258


[Bug]: After applying a sort option the value selected is not displayed on UI

Expected Behavior
The applied sort option should be displayed on the UI.
Actual Behavior
After applying the sort, the default label Select Sorting is visible.
Possible Solution
No response
Steps to reproduce

Go on any collection page
Click on the sort and select an option.
The selected sort gets applied but the option is not displayed on the UI

Screenshot:
Sort Price: Low to high is selected but not visible on UI.

What version of vendure integration are you using?
1.1.0
What version of Node.js are you using?
14.17.0
What browser (and version) are you using?
Chrome
What operating system (and version) are you using?
macOS
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hey @ymaheshwari1
Thanks for creating this issue. Would you be interested in creating a pull request with a fix?

Sure, will debug this and will propose a solution.

Hey @ymaheshwari1
Have you found some solution to this? :)

Hey @ymaheshwari1
Have you found some solution to this? :)

I looked a little bit into this but didn't find any proper solution for the issue, will look more on this weekend.


fix[security-services]: Address race condition for mongodb initialization

Fixes #2383
This fix addresses a race condition for mongodb initialization
wherein the secret store is set up, but has not generated
per-sevice Vault tokens, nor committed mongodb passwords to
the secret store.  This fix introduces a sentinel file that
is used to indicate secretstore-setup completion without
giving access to the secretstore to an untrusted component (consul).
Signed-off-by: Bryon Nevis<EMAIL_ADDRESS>PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://wiki.edgexfoundry.org/display/FA/Contributor's+Guide
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #2383
What is the new behavior?
secretstore-setup will write a sentinel file after completing its execution
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Are there any specific instructions or things that should be known prior to reviewing?
Testing instructions will be placed in #2383.   Requires coordination of multiple components.
Other information

Codecov Report

Merging #2398 into master will decrease coverage by 0.02%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #2398      +/-   ##
=========================================
- Coverage   37.92%   37.9%   -0.03%
=========================================
  Files         157     157
  Lines       12786   12793       +7
=========================================
  Hits         4849    4849
- Misses       7675    7682       +7
  Partials      262     262

Impacted Files
Coverage Δ

internal/core/metadata/rest_provisionwatcher.go
0% <0%> (ø)
:arrow_up:

internal/pkg/config/types.go
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Merge me FIRST.


Implement more performant nested EXCLUDE transpilation for Redshift

Issue #, if available:

Resolves https://github.com/partiql/partiql-scribe/issues/52

Description of changes:

Implements more performant and shorter output for nested EXCLUDE statements in Redshift
More detail on the rewrite and Redshift's OBJECT_TRANSFORM can be found here -- https://github.com/partiql/partiql-scribe/blob/exclude-rs-object-transform/src/main/kotlin/org/partiql/scribe/targets/redshift/RedshiftExcludeTranspilation.md

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Overall looks good to me, just some editorial things and adding some TODOs. Nice job.


[BEAM-12222] Use portable side input expansion always

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

run dataflow validatesrunner

Run Java PreCommit

Run Java Examples on Dataflow Runner V2

run dataflow validatesrunner

run dataflow v2 validatesrunner

run dataflow validatesrunner

Run Java Dataflow V2 ValidatesRunner

Run Java Examples on Dataflow Runner V2

run flink validatesrunner

run spark validatesrunner

run samza validatesrunner

R: @chamikaramj and @ihji since you are 2.30.0 release manager and this helps to fix for 2.30.0.
Please review even though there are some final things. I have run enough tests I don't want to rebase or change the commit history right now.

I will drop the logging commit.
I will keep the new test cases, which are good for getting quick feedback without running a job.
There is another commit that sickbays a test because the test has some hardcoded coder that has changed. All the ViewTest passed when I ran locally so I think side inputs work. The test that I disabled was complex enough that I did not know how to fix it or if it was truly necessary.

run flink validatesrunner

Run Java PreCommit

run flink validatesrunner

run java precommit

run dataflow streaming validatesrunner

Thanks. Checking.

run java precommit

On the Java precommit, 12:45:31 > Task :runners:google-cloud-dataflow-java:worker:legacy-worker:compileJava is still going, more than 1 hour later. I don't understand how this could cause that...

I really don't get why this is still running:
12:45:31 > Task :runners:google-cloud-dataflow-java:worker:legacy-worker:compileJava

run java precommit

run java precommit

Run Java PreCommit

run java precommit

run dataflow streaming validatesrunner

Ah, the streaming VR tests still work because the expansion was changed and it still matches with the ViewFn. Dataflow streaming and all the other runners work this same way, where they work with either expansion.

Run Java PreCommit

The precommit is timing out seems to be due to OOMing in Gradle. Not sure what about this change could be related.

OK it looks like things are pretty green. The logging might actually be the problem so I will now drop the inessential commit and adjust to put the Jira in the TODO.

Run Java Flink PortableValidatesRunner Batch

Run Java Spark PortableValidatesRunner Batch

The failed flink test always passes experiments=beam_fn_api and does not include side inputs anyhow. I will try to repro.

run java precommit

Did not repro. Believe to be a flake. Will see.

Hmm. Same error, different test case. NPE in control client.

Yea I see the same flakes in the _Cron variant. I am going to merge this and then file issues about the flakes.


[v2] flow/random fixes

This is the V2 of #634; these changes were made:

State is not cast to an int when reinitializing the PRNG.
Random seed is initialized using platform-specific entropy pools (getrandom(), /dev/urandom, etc).
GLIBC extension random_r(), if available, is used.

(Repushed with minor stylistic fix to make Semaphore happy.)

Received ack by @barbieri on IRC, and merged.


[W4.4b][W11-A1] Sashankh Chengavalli Kumar

Implemented classes 4.4b

@ChengSashankh
Some comments added. Please ack & close the PR after reading comments.

Acknowledged. Thank you for the comments.


Routes are not working properly

I was testing direction API, tried to get direction for two coordinates (45.52258, -122.6732)  & (45.62258, -122.6732)
The polyline which is getting drawn is totally wrong. It is not using road path.
Please someone help me if there are any mistakes. Otherwise I have to try other libraries
- (void)addTestRoute
{
NSArray<JobLocation *> *array = [LocationsManager getJobLocations];
NSArray<MBWaypoint *> *waypoints = @[[[MBWaypoint alloc] initWithCoordinate:CLLocationCoordinate2DMake(45.52258, -122.6732) coordinateAccuracy:-1 name:@"Mapbox"], [[MBWaypoint alloc] initWithCoordinate:CLLocationCoordinate2DMake(45.62258, -122.6732) coordinateAccuracy:-1 name:@"Mapbox"]];

MBRouteOptions *options = [[MBRouteOptions alloc] initWithWaypoints:waypoints
                                                  profileIdentifier:@"mapbox/driving"];
options.includesSteps = YES;

MBDirections *directions = [MBDirections sharedDirections];

NSURLSessionDataTask *task = [directions calculateDirectionsWithOptions:options completionHandler:^(NSArray<MBWaypoint *> * _Nullable waypoints, NSArray<MBRoute *> * _Nullable routes, NSError * _Nullable error) {
    if (error) {
        NSLog(@"Error calculating directions: %@", error);
        return;
    }

    MBRoute *route = routes.firstObject;
    MBRouteLeg *leg = route.legs.firstObject;
    if (leg) {
        NSLog(@"Route via %@:", leg);

        NSLengthFormatter *distanceFormatter = [[NSLengthFormatter alloc] init];
        NSString *formattedDistance = [distanceFormatter stringFromMeters:leg.distance];

        NSDateComponentsFormatter *travelTimeFormatter = [[NSDateComponentsFormatter alloc] init];
        travelTimeFormatter.unitsStyle = NSDateComponentsFormatterUnitsStyleShort;
        NSString *formattedTravelTime = [travelTimeFormatter stringFromTimeInterval:route.expectedTravelTime];

        NSLog(@"Distance: %@; ETA: %@", formattedDistance, formattedTravelTime);

        for (MBRouteStep *step in leg.steps) {
            NSLog(@"%@", step.instructions);
            NSString *formattedDistance = [distanceFormatter stringFromMeters:step.distance];
            NSLog(@"— %@ —", formattedDistance);
        }
    }

    if (route.coordinateCount) {
        // Convert the route’s coordinates into a polyline.
        CLLocationCoordinate2D *routeCoordinates = malloc(route.coordinateCount * sizeof(CLLocationCoordinate2D));
        [route getCoordinates:routeCoordinates];
        MGLPolyline *routeLine = [MGLPolyline polylineWithCoordinates:routeCoordinates count:route.coordinateCount];

        // Add the polyline to the map and fit the viewport to the polyline.
        [self.mapView addAnnotation:routeLine];
        [self.mapView setVisibleCoordinates:routeCoordinates count:route.coordinateCount edgePadding:UIEdgeInsetsZero animated:YES];

        // Make sure to free this array to avoid leaking memory.
        free(routeCoordinates);
    }
}];
}

I am facing the same issue, the polyline is drawn across the blocks. Any solutions for this?

I changed the Directions API version to V4, by using RouteOptionsV4 and now it's working.
For a route of 200 km in the city, V5 is bringing 74 coordinate points, which is absurd. With V4 for the same route, the API is bringing 2781 coordinates points and is correct.

I'm not sure what the default shape resolution is but try setting it to full:
options.routeShapeResolution = MBRouteShapeResolutionFull;

Indeed, you’ll want to specify a full routeShapeResolution. By default, you get a simplified route line suitable for use in an overview (zoomed out to show the whole route at once on screen). This is consistent with the Directions API, which defaults overview to simplified.

Thank you both, setting routeShapeResolution resolved my issue.


isOpen / openItem / closeItem / setMode are not working

im using a recycler view, here is adapter:
@Override
public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
    View view;
    if (viewType == TYPE_ITEM) {
        view = LayoutInflater.from(parent.getContext()).inflate(R.layout.item, parent, false);
        view.setOnTouchListener(new View.OnTouchListener() {
            @Override
            public boolean onTouch(View v, MotionEvent event) {
                List<Integer> list = Adapter.this.getOpenItems();
                return false;
            }
        });
        return new MemberListViewHolder(view);
    } else {
        view = LayoutInflater.from(parent.getContext()).inflate(R.layout.header, parent, false);
        return new HeaderViewHolder(view);
    }
}

i put a header view in recycler, isOpen / openItem / closeItem / setMode are not working.

Have you got solution for this?

Hi @kiruto Have you got solution for this?

The same issue on me

same Here

you should call the method mItemManager.onbindView in onBindView

@jituijiaqiezi I tried to call it, but it still not work. When you call onbindView method, it may cause other problems. Finally I write a similar view instead about a year ago.


Portrait mode

If I input a jpg with portrait dimensions (e.g. taken on a phone), the output png/svg files are rotated 90 degrees. Is there a way to have them output to the original orientation?

This sounds like an issue with how the file is saved by the camera and the rotation is just set in EXIF. Just rotate the output if needed.


Generalize createBetaMap query for multiple counteries

The calibrationLib.py library contains a constrained date range that applies to the Rwanda project. While this change should also work with countries like Burkina Faso, testing and analysis is needed to confirm that. In the mean time, consideration should be made for how to generalize the query or if the calibration scripts can be updated to lock in the the model dates January 2021 to March 2022 as the window for beta calibration values.

Completed, commits not tagged.


Add updatecli

This pullrequest superseed https://github.com/ossf/ossf-landscape/pull/229
I am reopening a new one as I have a new logo that I would like to see if it works
Pre-submission checklist:
Please check each of these after submitting your pull request:

[x] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[x] Is your project closed source or, if it is open source, does your project have at least 250 GitHub stars?
[x] Have you picked the single best (existing) category for your project?
[ ] Does it follow the other guidelines from the new entries section?
[x] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~10 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

LGTM! @jmertic or @hythloda could you please help with merging, thanks.


Update font functions

Update font functions
Signed-off-by: Bensuperpc<EMAIL_ADDRESS>

Looks great! Removed the functions that were the same as their counterparts. But good additions!


Unit Testing Support

If integrated into ng-packagr, it will be in an opinionated way. It will look like this:
The tool chain will be plain-old Angular testing: karma, webpack, jasmine, istanbul

myfoo.ts
myfoo.spec.ts (right next to the comp, service, whatever being tested)
**/*.spec.ts will be excluded from build task
an auto-generated run-tests.js will include all spec files

var testContext = require.context(${opt.src}, true, /\.spec\.ts/);

karma.conf.js will be auto-generated
webpack.test.js will be auto-generated
test runs will report: lcovonly, json, html (all written to disk). coverage report (html and json written to disk). coverage report to stdout (for the infamous gitlab stuff, still needs to be discussed, since GitLab users could simply pick up the json files and print to stdout with istanbul-combine)

Implementing testing, will arise the need for "commands" in ng-packagr. Usage should be:
$ ng-packagr -p ng-package.json           ### default build command
$ ng-packagr build -p ng-package.json  ### build command
$ ng-packagr test -p ng-package.json    ### test command (run tests once)

to be discussed: "watch mode" for local dev, "headless" runners for CI (phantom, ChromeTravisCI, or something else?)
$ ng-packagr test:dev -p ng-package.json    ### test command for local dev (watch mode)

One idea: describe different test "profiles" (profiles is not a good word ... maybe "premises", "spots"? ... "environment" and "target" are also used veeeeery often).

test:dev: Chrome browser, watch mode
test:ci: 'ChromeTravisCi', phantom as fallback, run once
test: auto-detect or auto-configure best matching premise

Then, maybe allow users to set "premises" in ng-package.json:
  "test": {
    "premises": {
       "dev": {
         "browser": "Chrome",
         "watch": true
       },
       "ci": {
         "browser": "Phantom",
         "watch": false
       },
    }
  }

Congratulations @dherges. I tried ng-packagr yesterday and its an excellent tool and absolutely easy to set up. It did exactly what I expected it to do. I am very happy to read (e.g. in #65) that you are focused and don't plan to make it the next best swiss-army-knife-cli. I really appreciate and share such mindset. :+1:
After having read this thread, though, and that you'd be willing to introduce support for unit testing and cli-like commands I asked myself if I would expect that from the tool. Spec files aren't part of the distributed bundles and thus could actually be completely ignored by a packager/bundler. From that reasoning I came to conclude that I would probably consider anything which has to do with those files out of scope. I admit this might be kind of a fundamentalistic point of view and who am I to judge the plans for your project. I just thought to give you some feedback and start a discussion.
Part of why I am a little skeptic is, I am afraid that once this feature is implemented I need to pull in all these thousands of transitive dependencies of karma, webpack, jasmine etc. in order to enjoy ng-packagr. I am really interested to learn about your rationale and what your plans for ng-packagr are. Have you thought of implementing unit test support kind of like a separate ng-packagr-testing-plugin which is opt-in for anyone who has demand for a testing utility?
Thanks anyway. :heart:

@about-code Uh, I like the idea of a separate ng-packagr-testing utility!
Maybe it's a nice idea to build a "multi-module" project e.g. w/ yarn workspaces for ng-packagr and then publish multiple npm packages as coexistent releases (same version number, et al).

Maybe it's a nice idea to build a "multi-module" project e.g. w/ yarn workspaces for ng-packagr and then publish multiple npm packages as coexistent releases (same version number, et al).

I don't know yarn workspaces and would have thought of Lerna first, but if they are easier to manage, then yeah, it could be a very nice approach.

Deprioritized this feature. Auto-generating the karma.conf.js is probably not a good idea. IntelliJ (and other IDEs) have first-class support for Karma but need to locate that karma.conf.js file in the project.
Will need to elaborate how to use testing in libs w/ minimal configuration. Using the @angular/cli/plugins/karma removes the additional webpack config but it needs the .angular-cli.json to work. A custom angular karma plugin that works w/ the above folder layout would be a good idea.
Rough draft idea: karma.conf.js + test.ts
module.exports = function (config) {
  config.set({
    basePath: '',
    frameworks: ['jasmine', 'angular'],
    plugins: [
      require('karma-jasmine'),
      require('karma-angular-testing-plugin')
    ]
  });
};

Maybe there is already an existing solution?

Changed to "WONTFIX"
Motivation: existing tool support requires a karma.conf.js to work. For example, IntelliJ has good Karma support. See above. Goal should imho to have an Angular test runner for karma

a) w/ support for typescript and scss, less, and so on and on and on ....
b) run tests against dist javascript files


Tweak "initializable values" logic slightly to address source incompatibilities

Back of slightly on when we treat a "let" instance property as immutable within an initializer, to deal with two newly-introduced source incompatibilities.
Fixes rdar://129253556.

@swift-ci please smoke test

@swift-ci please smoke test


Update versions for 17.11.0

No rush on this but all the dependencies are now available.

Codecov Report

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

@@            Coverage Diff             @@
##           master     #867      +/-   ##
==========================================
+ Coverage   80.65%   81.34%   +0.68%
==========================================
  Files          51       51
  Lines         729      729
  Branches       31       31
==========================================
+ Hits          588      593       +5
+ Misses        141      136       -5

Impacted Files
Coverage Δ

core/src/main/scala/io/finch/Input.scala
100% <0%> (+12.5%)
:arrow_up:

Continue to review full report at Codecov.

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

Sweet! Thanks so much @travisbrown!


[Feature Request] Smart line breaks in subtitles

Some subtitles don't have line breaks, but will have white space between phrases. It'd be nice if Animebook would convert white space to line breaks as necessary to avoid breaking in the middle of a word.
For example, take this line: https://i.imgur.com/KTvTDZ1.png
There really shouldn't be a break in the middle of ラビットハウス. There could just be a newline right after 制服があるのが.

Not sure how you'd go about this. It's not technically hard, since you could do a "find and replace" on all your subtitle files beforehand and get the result you're looking for, but I think it's hard to determine the intent of the whitespace character there, since it could be there for any reason really (I believe it's the unicode whitespace you get when you type with a Japanese IME e.g. "　" or \u3000). Some subtitles probably use it for non-newliney things.


[REVIEW] abhinav-22-tech

GitHub Sponsor profile link
https://github.com/sponsors/abhinav-22-tech

Reviewed on live stream https://www.youtube.com/watch?v=He9lBSlTvhQ

suggest featuring 2 repos (use the space)
have different rewards for each tier


Define command callback as a named function

Made lambda callback into a named function to avoid too many nesting

THX!!


Thebe Assets

Any thoughts on using Bower or a CDN for thebe assets?

For the short term, rawgit works pretty well. So you'd link to https://rawgit.com/oreillymedia/thebe/master/static/main-built.js.
Some of the other assets, jquery-ui for instance, are loaded over there a cdn already.

Another pro of sticking with rawgit is that we can use git tags for specifying our build matrix.  It's not clear how we would do this with something like NPM, where you only specify a single, well defined version string.  With tags we can do things like notebook4.1.0,ipywidgets4.0.3 which can be resolved via rawgit https://rawgit.com/oreillymedia/thebe/notebook4.1.0,ipywidgets4.0.3/static/main-built.js.


Remove stray "SIZE" from msmarco docs.

The best I can tell is real prompts this generates don't include that token.

It looks like SIZE is actually part of the source data; the original row is:
1283449 SIZE: There are few measurements available for this bear. Adult spectacled bears can weigh between 140 and 385 pounds (63-173 kg). However, the body length of adults is about 150 to 180 centimeters (60 to 72 inches) and males may be 30 to 40 percent larger than females.


Memory increasing with every request

Version
Tested with 1.0.0-rc.2 and 0.14.23
Platform
Linux 5.15.0-57-generic 63-Ubuntu SMP Thu Nov 24 13:43:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Description
The memory usage of a hyper server is increasing with every request and never decreasing afterwords.
To reproduce this behavior, I just started the hello world example from this repository.
When I start the server with cargo run --release the memory usage is: 1680.

After some load generated with ab -n 20000 -c 30 http://localhost:3000/ the memory is increasing but never decreasing.
After 1. run memory is: 7240

After 2. run memory is: 7572

After 3. run memory is: 8548

After 4. run memory is: 8620

After 5. run memory is: 9384

After the five tests, I let the service just run for one hour, but no memory decreasing was shown.
Am I wrong to expect that the server should release the memory they used during high load after the load disappears?

The OS can take a while to release memory or may not release it until it needs too. There is nothing specific here with tonic and its likely just what your os is setup to do. You can try using different allocators to see if that improves things. Its quite common to see memory increases like this. You can try to use valgrind to see if there are actually any leaks.