Cannot export the diagram as a PNG

 Issue by dilinisg
Thursday Aug 03, 2017 at 10:37 GMT
Originally opened as https://github.com/ballerina-lang/composer/issues/2659

Release - 0.91
Firefox
Cannot export the diagram as a PNG

 Comment by NipunaMarcus
Thursday Aug 10, 2017 at 10:19 GMT

This looks like firefox browser related disability.
https://bugzilla.mozilla.org/show_bug.cgi?id=788226
I'm currently researching on ways to fix this issue.

 Comment by dilinisg
Saturday Nov 04, 2017 at 16:24 GMT

Can still observe in 0.95 release

Duplicate of #8310


http: multiple response.WriteHeader calls

How would one use the gzip handler with non-200 responses? The following example seems like it should work but logs http: multiple response.WriteHeader calls and the response isn't compressed.
package main

import (
    "fmt"
    "net/http"
    "os"

    "github.com/gorilla/mux"
    "github.com/nytimes/gziphandler"
)

func main() {
    r := mux.NewRouter()
    r.HandleFunc("/", homeHandler)
    r.NotFoundHandler = http.HandlerFunc(notFoundHandler)
    http.Handle("/", gziphandler.GzipHandler(r))
    http.ListenAndServe(":"+os.Getenv("PORT"), r)
}

func homeHandler(w http.ResponseWriter, r *http.Request) {
    fmt.Fprintf(w, "Hello, World!\n")
}

func notFoundHandler(w http.ResponseWriter, r *http.Request) {
    w.WriteHeader(http.StatusNotFound)
    fmt.Fprintf(w, "404 - Not Found!\n")
}

This might be related to #5 but I'm mentioning it because I thought #16 might have fixed it. This also seems to be related to https://github.com/gorilla/handlers/issues/83. Although this handler just logs the error but still returns the response successfully (although uncompressed).
Here's some debug information if this helps:
$GOPATH/src/github.com/nytimes/gziphandler master
❯ git rev-parse HEAD
44668d75e46f05932cf7c1c7a375d0765b324a0b

❯ go version
go version go1.7.1 darwin/amd64

Caveat emptor: I have nothing to do with this library. That being said, the following example works perfectly fine.
The first bug in the above example is that you're not actually using the gzip handler because you are registering it with http.DefaultServeMux but then explicitly passing a handler into http.ListenAndServe (which is very good practice IMO).
The second bug in the above example is that the notFoundHandler doesn't set the Content-Type before it writes the error message. <speculation> This leaves it too late for the GzipHandler to set the Content-Type header but the http.Server does it's own sniffing and infers the incorrect mime-type application/x-gzip. </speculation> The built-in http.Error method does set the Content-Type header before it calls WriteHeader and thus avoids this problem.
Working example:
package main

import (
	"fmt"
	"net/http"

	"github.com/gorilla/mux"
	"github.com/NYTimes/gziphandler"
)

func main() {
	r := mux.NewRouter()
	r.HandleFunc("/", homeHandler)
	r.NotFoundHandler = http.HandlerFunc(notFoundHandler)
	http.ListenAndServe(":3333", gziphandler.GzipHandler(r))
}

func homeHandler(w http.ResponseWriter, r *http.Request) {
	fmt.Fprintf(w, "Hello, World!\n")
}

func notFoundHandler(w http.ResponseWriter, r *http.Request) {
	http.Error(w, "404 - Not Found!", http.StatusNotFound)
}


Change LOM OAI-PMH output

The implementation of the OAI-PMH output is for the contribute tag not totally correct.

introduce a new version of the output
implement centry with VCARD (additions)
add the description to the VCARD (additions)
combine same roles into one contribute tag (change from current behavior, not backwards compatible therefore new version)

For documentation's sake:
LOM-UIBK states that contribute.role MUST be unique within lifecycle/metametadata (e.g. only one contribute of role "Author" is allowed within lifecycle, all authors must be within that contribute).

invenio-records-lom.utils.LOMMetadata already assures this
so does invenio-moodle, which uses LOMMetadata internally
however, some of the other connector-modules don't

so, as of right now,

some JSONs within the database conform with LOM-UIBK, while others don't
some connector-modules create LOM-UIBK-conform data, while others don't
some of the non-conforming modules store additional information in lifecycle.contribute, which is particular to that contribution (e.g. first name of that exact "Author", hence merging all contributes of role "Author" requires another way to store their particular first names)

to solve this,

introduce VCARDs to store first names and such
update non-conforming connector-modules
migrate the database


2016 BMW 2-series Active Tourer (F45)

vehicles_0.txt
status_0.txt

Hey @PaskoMoto ,
thx for your data :spiral_notepad:!
The contents of you status_0.txt is quite short compared to the other examples that we have, e.g. https://github.com/m1n3rva/bimmer_connected/blob/master/test/responses/G31_NBTevo/status.json
If this as the data was provided from the tool? Or did you shorten it somehow?

Thx @PaskoMoto for your data :heart:
Does the app show much about the state of your vehicle? I guess you can only trigger the remote services of the vehicle. Correct?

Hi.
Indeed yesterday I installed a new version of the Connected app (without being in the car) and it 'triggered' some new things in the responses I got from your app. Here are the results. They now include location and technical info of the car...
status_0.txt
vehicles_0.txt
Also I will connect an app-enabled smartphone to the car tomorrow and see this still adds more info :-)
Regards.

@PaskoMoto thx for the update. I also updated the test data for the vehicle.
The only change I've seen is that new we have a position on your vehicle.


docs: Add seed configuration for database population with Nitro Tasks

Add a section to let users know how to populate their database using Nitro Tasks.
It would be great if we had an extensible component, something like
### Adding Seed Config with Nitro Tasks (optional)

::expandable{title="Click here to see details"}

Instructions...

::

Currently the seed config steps are quite long and not that useful for everyone, so it is a bit of a waste of space. I tried to create a component with UAccordion but was unsuccessful in getting it to work.
If you have a reference of somewhere with the same component I am happy to port it here or feel free to implement it yourself in this PR. Let me know what you think :)

Could you try with this component? https://ui.nuxt.com/pro/prose/collapsible
::collapsible{name="instructions"}
Instructions...
::

it worked, thanks. I pushed the changes


Suggestion: Add a flag to clean all currently unused build artifacts

Add a lastest flag to the CLI to enable cleaning of all build artifacts current not in use by making use of cargo check --message-format=json

Unfortunately that requires either

Running cargo clean beforehand so all artifacts get recreated during cargo check
Using a separate target directory

In either case, it means that a full build is necessary. This could be avoided by instead using Cargo's build plan output, which includes all compiler invocations and doesn't require actually building the crate. Unfortunately that Cargo feature is still unstable.
To add to that, I don't think either approach will easily handle dev-dependencies.

Yeah, but that'd still be a somewhat imprecise solution relying on atime. Really, the simplest way to implement this reliably would probably be using the build plan (however, there might be some difficulty if you want to eg. run cargo test with different feature combinations).

Yes, that is true. I am not familiar with the build-plan so I am not sure if it may fail due to nightly compiler not being compatible with some dependency and if its output is different from the stable. Furthermore this would require having the nightly compiler installed which may or may not be a problem.
Finally there is the issue of feature flags as you mention, as well as --release vs debug mode etc. Perhaps it would require some type of pass-through of flags to the compiler so that the user can specify it.

Hmm, AFAIK enabling features can only add dependencies to the graph, so specifying --all-features might Just Work™.
--release vs. debug will result in different artifacts, that's true (they're even in different target subdirectories), but it should be relatively easy to just invoke Cargo twice and merge the resulting sets of paths (or require the user to run cargo-sweep twice, but I imagine most users would want to clean both at once).
Another issue that might be harder to solve is the use of --target for cross-compilation, which can also change the dependencies. Maybe it's best not to touch anything inside target if it's not located within target/debug or target/release, unless --target is passed, which you could then forward to Cargo and clean just that target's artifacts. (maybe it's also possible to automate even this by checking all directories inside target - they're named after the target you'd pass to --target after all)
The build plan being unstable is the biggest problem here. While it's possible to just invoke cargo +nightly build -Z..., using a different version of Cargo than the user uses for building the crate will result in collecting different artifacts - if I'm not mistaken different Cargo versions always use a different hash in the file names (which ironically is one of the biggest causes of target bloat - the target dir for my xmlrpc crate sits at a whopping 5.7 GiB and contains up to 15 duplicate artifacts for every dependency where only the hash differs).

Ah ok. As Long as build-plan is only useable for unstable I will be very unlikely to implement it as the primary/only solution althoughI agree it is probably the most reliable. As for now I think I will move on with the suggestion in #5

--release vs. debug will result in different artifacts,

Another issue that might be harder to solve is the use of --target for cross-compilation, which can also change the dependencies

If we make assumptions on the target layout (see https://github.com/holmgr/cargo-sweep/issues/6) then it could be reasonable to only clean up the current target which I think is what you are suggesting.
We could also accept target-dir like cargo-build and clean that up.  This would be helpful in the CI case where the user consistently passes the same flags to all cargo commands.
The issue is if no target is specified, do we clean up all or only the default target?  I'm assuming we'd want a flag to control this kind of behavior. One is better for CIs (precise cleanup), I imagine users just want it all gone.

As for now I think I will move on with the suggestion in #5

I hope we'll at least keep this around, tracking to the build plan becoming stable?

Some features are mutually exclusive though. For example some crates let you choose the type of hashmap used.

That's true, but AFAIK this is not done on a Cargo.toml level but rather by intentionally failing the build of your lib.rs, so as far as Cargo is concerned this is fine.

Yes, I will keep this issue open until the build-plan is stabilized

I have an idea, and really want to know if you think it will work. If every Cargo command added a filename.timestamp file for each file menchen in the build-plan, would that be enough for cargo-sweep to work with? If so, I can look into making a PR to cargo.

Then you can just as well integrate the cargo sweep functionality into Cargo proper.

Indeed, one day I would love to have "cargo clean --outdated" in cargo proper. I think creating an RFC to add it at this point will just lead to a large amount of bikeshedding about exactly which definition of outdated should be used.
I think, but can't guarantee, that the cargo team would be willing to add a simple file to the folders maintained by cargo. The contents of those folders are in implementation detail, and don't require an RFC to be changed.

Adding a file.timestamp file would work very well, since currently sweep can only look at access times as an approximate measure. That said, I do not see any use for this timestamp files for any other projects than sweep really, and making such a change just to improve sweep seems like too little incentive for the cargo team (it has to be implemented and maintained). Then I think it is better just to integrate sweeps functionality into cargo as @jonas-schievink said.
If you want to make a PR/issue @Eh2406 to cargo then go ahead, I will back you up since I think it would be nice for my project. But if they do not find it to be useful for a wider context then atleast we can have a discussion about an --outdated flag or similar by possibly integrating parts of sweep into cargo directly.

I just submitted a PR at cargo https://github.com/rust-lang/cargo/pull/6477. All feedback is welcome!

I have an idea, and really want to know if you think it will work. If every Cargo command added a filename.timestamp file containing the time when the command was invoked for each file menchen in the build-plan, would that be enough for cargo-sweep to work with? If so, I can look into making a PR to cargo.

I am confused how this is related to the original issue. I see that you've implemented that in cargo and the fingerprint directories have an invoked.timestamp file, but I'm not sure how that helps cargo-sweep? The question @holmgr wanted to answer was "will cargo build need to recreate this file" and I don't think we can determine that from the timestamp (imagine that someone runs cargo build && cargo +nightly build, so that artifacts from the non-default toolchain are newer).

--build-plan on the other hand I think should help, we can use the invocations[*].outputs key.
 ; cargo build --build-plan -Zunstable-options 2>&1 1>/dev/null | jq '.invocations[0].outputs'
[
  "/Users/jyn/src/cargo-sweep/target/debug/build/anyhow-1cf9b89f7ea6e648/build_script_build-1cf9b89f7ea6e648",
  "/Users/jyn/src/cargo-sweep/target/debug/build/anyhow-1cf9b89f7ea6e648/build_script_build-1cf9b89f7ea6e648.dSYM"
]


Add feature to support multiple env files per target

Small feature to allow specifying multiple environment files for a deploy target. The last environment file specified in the array takes precedence.
e.g. in this example:
...
config.targets = {
  test_target: {
    env_file: [env_file1, env_file2]
  }
}
...

Any environment variables specified in env_file1 will be overridden by equivalently named ones in env_file2.
@dtboctor @apurvis fyi

what is the motivation here?

@dtboctor requested this feature a month? ago. This sort of functionality is also supported by docker-compose so I thought it would be useful here as well.
The particular use case IIRC is to specify a shared environment file across multiple targets, as well as a target-specific one.

This was requested related to our story with revising our configuration.


Bundle menuinst v2

Description

Add menuinst v2.0.0a0, which is backwards compatible, so we can test the canaries in constructor.
Checklist - did you ...

[x] Add a file to the news directory (using the template) for the next release's release notes?

[x] Add / update necessary tests?
[ ] Add / update outdated documentation?

Failures should be fixed when https://github.com/conda/conda/pull/11882 is merged and released. In the meantime we can patch conda-standalone to include that, or just wait.


Evolving the syntax of PLS_* macros.

Work in progress as of now, I will update this message once the PR is ready to review & merge.

(The force-pushes are me rebasing the safe_readlink() commit into this one.)


Pass keywords to model

https://github.com/elifesciences/data-hub-issues/issues/216
https://github.com/elifesciences/data-hub-issues/issues/217
https://github.com/elifesciences/data-hub-issues/issues/218

Do the recommendation match the ones with the dashboard? (for the same abstract)

Do the recommendation match the ones with the dashboard? (for the same abstract)

Yes the result is same:

What about extending the unit tests? :-)

What about extending the unit tests? :-)

I will raise a ticket for it 👍🏻


Set resize options tru attributes

Hey, great component 👍
My issue is more a cosmetic request...
Would it be possible to set resize options through attibutes instead of having to add all those spans?
I would suggest to use 'corners' to add handlers to all corners
<tile corners></tile>

But anyaway...tx for the component

@Stefdv, the resize attribute have to be set on the element that handles the grab, so you can define and design your own grabbers/grippers. There is no "default" grippers.
Consequently, <tile corners></tile> would have no effect. It is up to you to add them as tile children.


Option to disable a checkbox

Like the Title says there should be a Option to disable the Checkbox.
In the Documentation of Semant UI it looks like: disabled="disabled"

Closed. Pull Request #36


Improved performance of BoundField.label_tag with lazy labels.

For the common case of 'label' being a lazy string (created via lazy i18n
functions), the wrapped callable was being evaluated 3 times without this
patch, but just once with it.

Superseded by #10708


file not found: common/common/files

when we run ./install_all.sh, got error:
fatal: [localhost] => input file not found at /home/ubuntu/on-imagebuilder/roles/initrd/make_initrd_build_env/files/common/files/*** or /home/ubuntu/on-imagebuilder/common/common/files/***

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
           to retry, use: --limit @/root/initrd_wrapper.retry

localhost                  : ok=9    changed=5    unreachable=1    failed=0

I think some scripts have typo common/files -> common/common/files

@panpan0000 @changev @PengTian0 @RackHD/corecommitters

@kaleo211  I think you're running './build_all.sh‘ not './install_all.sh' right? and could you also post more logs before this line ’fatal: [localhost] => input file not found at ....‘  ? more logs will help a lot to identify which item fail.


SelectPanel should compare Objects based on key or id instead of the Objects themselves

Description
When passing in objects to the SelectPanel component, the selected items may not render correctly since they are doing direct object comparison:
https://github.com/primer/react/blob/ea44386e4d7afae7bfd07a679604baaecca55965/packages/react/src/SelectPanel/SelectPanel.tsx#L135-L155
If the items are defined in the component, they could rerender and create new object references. Then this comparison check will always return false as the original objects are held in useState.
Instead, we should rely on comparing the key or id props as these are guaranteed* to be unique per object.
So our comparison function would instead look something like the following:
onAction: (itemFromAction, event) => {
          item.onAction?.(itemFromAction, event)

          if (event.defaultPrevented) {
            return
          }

          if (isMultiSelectVariant(selected)) {
            const otherSelectedItems = selected.filter(selectedItem => selectedItem.key !== item.key)
            const newSelectedItems = selected.find(selectedItem => selectedItem.key === item.key) ? otherSelectedItems : [...otherSelectedItems, item]

            const multiSelectOnChange = onSelectedChange as SelectPanelMultiSelection['onSelectedChange']
            multiSelectOnChange(newSelectedItems)
            return
          }

          // single select
          const singleSelectOnChange = onSelectedChange as SelectPanelSingleSelection['onSelectedChange']
          singleSelectOnChange(item.key === selected.key ? undefined : item)
          onClose('selection')
        },

cc: @ipc103
Steps to reproduce
Minimal Repo
https://codesandbox.io/p/sandbox/dreamy-cache-msfqyq
Version
v35.26.0
Browser
Chrome

@ipc103 and I are happy to take this on 😄


Display skill level and proc chance for item granted skills

example of implementation:

We'll have to investigate if that info is readily available in the metadata.

ItemSkillLevel is embedded directly into item dbr (wonder is it possible for an item to grant two skills).
Proc chance is defined by another dbr linked by ItemSkillAutoController field.


temporary image / pre transform and double hash

I did read the "9 tips" article and do the pre transform (4. Reduce the size of the source image).
The thing is that the files get a double hash what makes really long filenames.
the-name-of-my-image_d5836807d7416256748889b4cab36b2f_0d86a0a781f23c89d6213036f06875c2.jpg
Is there a way to prevent that?

Thanks that works. Only thing i also did is trimming the extension.
{% set image = row.textImage.one() %}
{% set fileName = image.filename|trim('.' ~ image.extension, 'right') %}

{% set transformedImages = craft.imager.transformImage(tempImage, imageSizes,
    {
        format: imageType,
        allowUpscale: false,
        resizeFilter: 'lanczos',
        effects: { unsharpMask: [0, 0.55, 0.55, 0.008] },
        interlace: false,
        convertToRGB: true,
        filenamePattern: fileName ~ '_{fullname|hash}.{extension}'
    }
) %}


Develop

What kind of change does this PR introduce?

Does this PR introduce a breaking change?

What needs to be documented once your changes are merged?

👷 Deploy Preview for idyllic-kitsune-574f1a processing.

Name
Link

🔨 Latest commit
f388cc5564babcea26453a61349c248f24813546

🔍 Latest deploy log
https://app.netlify.com/sites/idyllic-kitsune-574f1a/deploys/64ed051101380100089743ba


Ability to set package password in yaml

Added in #8
The package name, password and dependencies can now be entered in the file sfdx-package.json


Tags

Add a new tags table. Post mirroring will become slightly more complex, but I think it'll definitely be worth it.

Just thought...
I could make this easier on myself. I already have full text search with sqlite, why not just do something like that with hashtags? Could probably work pretty nicely, could just add the "tags" column to the "fts_post" table and see how that works out!


Line 656

Mission Hills- Hollywood Owl via Woodley-Chandler- Cahuenga --should read instead: Panorama- Hollywood Owl via Chandler- Cahuenga
Also planners are asking if we can link to the 162 and the 224 timetables.

awesome @matikin9


fix: inconsistent results with RecursiveCharacterTextSplitter's add_start_index=True

This PR fixes issue #16579

@baskaryan done. The new test case fails if executed with the current master implementation. Instead, should be ok with the current implementation.
Unfortunately it always depends on what type of text splitter we are using... however with the implemented approach it's likely that we won't find a substring "before" the real one because we are trying to apply the find with an higher offset then before.


[iOS] AirDrop to macOS doesn't work when VPN is enabled

With VPN enabled, iOS device cannot AirDrop to Mac. The Mac is able to discover the iOS device, but the iOS device cannot discover the Mac. Disabling the VPN makes the Mac device discoverable.
Device: iPhone 13 mini
iOS version: 17.2.1
Model: MNF93LL/A
App version: 1.66

Thank you for your feedback on the libraries for VPN by Google One. Due to the planned turndown of the VPN, this repo will soon be archived. I’m marking this issue as closed. Thank you again for your input.


component does not re-render when uploading videos

hi, really nice file upload component, but the component does not re-render when uploading videos, when the first video is selected, it shows up as normal, but when replaced with a second video, the first one still persists

I'll try to reproduce this and let you know.

ok, thanks


Environment writeable error

When i attempt to run "train.py" it asks to import yaml and when i write in command prompt like 'conda install yaml' it gives this error
"the current user does not have write permissions to the target environment"
IPlz guide, how to resolve this issue

Dear Author, thanks for providing a base for active voltage control.
When i attempt to run "train.py" it gives the following error
ile "train.py", line 33, in
assert net_topology in ['case33_3min_final', 'case141_3min_final', 'case322_3min_final'], f'{net_topology} is not a valid scenario.'
AssertionError: bus33_3min_final is not a valid scenario.
Plz help me to resolve this issue

Hi,
The save_path you assigned to the arguement needs to be an existing path. Thus, you need to create the folder manually.

Completed


Possibility to use third-party location provider ?

This project depends on geolocalisation's accuracy / quality.
Location Manager is fine for most outdoor usages, but it quickly becomes out of usage in dense city areas (multipaths) or indoor.
In theses situations, buildings / areas are getting equipped with third-party geolocation systems, often relying on BLE.
In order to use ARKit-CoreLocation indoor, it would be interesting to be able to input location / orientation.
The idea would be if delegate is specified, use it, otherwise use location manager.

This app is meant for outdoor use anyway, but even for outdoor, accuracy is still a big issue.

I second this; my use case would be indoor positioning with some billboards / objects displayed on POIs in the AR view. The indoor positioning library (https://steerpath.com/) is providing the location as CLLocation objects.
Therefore, I would see it beneficial to make the LocationManager a protocol or something to allow for the location to be provided by another kinds of implementations beyond the device GPS.

CoreLocation supports the use of beacons natively, so they're included in the location updates from CLLocationManager.


Add ahmet3231's file

layout: slide
title: "Welcome to our second slide!

you have: created a branch, created a file and made a commit, and opened a pull request


Add tests for sf::Image

Thanks a lot for making a contribution to SFML! 🙂
Before you create the pull request, we ask you to check the follow boxes. (For small changes not everything needs to ticked, but the more the better!)

[ ] Has this change been discussed on the forum or in an issue before?
[ ] Does the code follow the SFML Code Style Guide?
[ ] Have you provided some example/test code for your changes?
[ ] If you have additional steps which need to be performed list them as tasks!

Description
Currently there are no tests for the sf::Image class, this PR will add tests for the following functions

Default constructor
create()
getPixel()/setPixel()
copy()
flipHorizontally()
flipVertically()

I have plans to come back and add tests for the copy(Image, Vector2u, IntRect, bool). And also for the createMaskFromColor() but I want to understand them both properly before I do that. I'd prefer to at least get these tests in now as there's presently no existing tests so this is gives us a base to work from.
Tasks

[ ] Tested on Linux
[x] Tested on Windows
[ ] Tested on macOS
[ ] Tested on iOS
[ ] Tested on Android

How to test this PR?
Run the tests! 😄

SFMLBuildMaster: Build this please.

Looking at the coverage report it seems there some cases that could easily be covered as well:

Negative case for create() function: https://app.codecov.io/gh/SFML/SFML/compare/2117/changes#D1L110
Copy & Move constructor/assignment: https://app.codecov.io/gh/SFML/SFML/compare/2117/changes#D1L57
Pass an image with size (0, 0) to the copy function (either source or destination): https://app.codecov.io/gh/SFML/SFML/compare/2117/changes#D1L208
Pass a bad sourceRect to the copy function: https://app.codecov.io/gh/SFML/SFML/compare/2117/changes#D1L235
Test case for applyAlpha = true with the copy function: https://app.codecov.io/gh/SFML/SFML/compare/2117/changes#D1L250
Test case for createMaskFromColor: https://app.codecov.io/gh/SFML/SFML/compare/2117/changes#D1L186

For later tests that end up touching classes with non-trivial destructors, I do think we should start explicitly testing copy and move semantics to be sure that they all work since supporting move semantics is a significant SFML 3 feature. For sf::Image with it's soon-to-be-removed destructor, I don't think we should bother. Once SFML perfectly follows the rule of 0/5 then it'll be much more apparent what needs testing and what does not.

Honestly happy with this as-is, we can always provide improvements as subsequent PRs.

Haven't had the chance to push my subsequent changes yet but I did identify an out of bounds read occurring within sf::Image. I'll aim to push the other changes today.

I added the createMaskFromColor and missing copy tests, the test that I think reveals a hidden issue is the test for Copy (Out of bounds sourceRect). It will fail on the initial push but I'm adding another commit with a 'temporary' fix, I don't think the fix is ideal but it will prevent the test from failing.
In that test I have an image of dimension 5x5, and I set the sourceRect parameter of the copy() to be {5, 5, 9, 9} which should be totally out of bounds for the sourceRect. What I assumed would happen is no copy would occur. Instead it appears that a copy still happens since the pixels of image2 are changed despite the sourceRect being invalid from what I can tell. You can check the logs of the CI and you should see during the failure completely unexpected colour values in the test logs.

This PR added tests, found a bug, reproduced the bug, and fixed the bug. That's a lovely, succinct 2-commit PR. Adding a [[nodiscard]] bool return value is a good idea now that we're more aware of the ways copying can fail, but that shouldn't cause us to change the scope of this PR. Let's get these tests through first.

SFMLBuildMaster: Build this please.

Another success story. Implementing tests, finding a bug and fixing it 🥳

Yes, great job @Bambo-Borris!


item transition effect in infinite mode

when using infinite mode. last item will be cloned. When we move to last item, slick will 'redirect'  us from last index to first index item. However this action will terminate item transition effect (e.g scale, opacity)
here is codepen
http://codepen.io/mike623/pen/mArdAm

Yeah, the grouping of transforms bums me out. I think your best bet is to factor your scale in a nested element. Don't think there's much the library can do about transform overwrites.
Thanks!


Steeltoe Config server provider as Github

In the process of understanding Cloud Foundry ConfigServer provider as github, We are following configuration example the problem here is we are not able to see the values for 'Config Server Data' section.
All the values under that particular section has ;Not Returned' value.
Can you help us what we are doing wrong/going wrong. And what are the steps we can check to make it work.
Note: I deployed to PCF with 'configserviceapp' name.
Example followed: samples/Configuration

Hi @RajeshUppara,
Can you share how your config server is configured?
In PCF Apps Manager:

Find your Config server instance
Click Manage
Click "Copy to Clipboard"


Look at this other similar project and improve based on it

https://github.com/MisterDA/love-release

Additional things from that to read:

https://love2d.org/forums/viewtopic.php?f=5&t=75387&start=30#p168721
https://love2d.org/forums/viewtopic.php?f=5&t=75387&start=30#p171262


How to export images using this plugin

Currently this plugin exports html and css in grapesjs. if we want to export images also, how it can be achieved ?
We want to export the images separately, in a separate folder just like CSS.

And finally I got the solution. Very easy: render css, render html, build a list of images then add to zip file in plugin root options.

Exactly, use the root option to customize the ZIP content (there is also an example)

And finally I got the solution. Very easy: render css, render html, build a list of images then add them to zip file in plugin root options.

@jotakar  Can you give any example for that?

I'll try to explain my way  for getting images downloaded. Now I have this project in stand-by ;)
Config cloud-export in index.html
`			  'grapesjs-plugin-export':{
root : {
css: {
'style.css': editor => editor.getCss().replace(/"img//g,'"../img/'),
},
				  img:  async editor => {
							const images = await readImgs(editor);
							return images;
							},
				  'index.html': editor =>
							`<!doctype html><html lang="es"><head><meta charset="utf-8"><link rel="stylesheet" href="./css/style.css"><title="${editor.getConfig().title}"></head><body>${editor.getHtml()}</body></html>`,
			}
		  },`

The readImages() function is in the  script file attached.
exportimages.js.txt

I'll try to explain my way for getting images downloaded. Now I have this project in stand-by ;)
Config cloud-export in index.html
`	'grapesjs-plugin-export':{
root : {
css: {
'style.css': editor => editor.getCss().replace(/"img//g,'"../img/'),
},
				  img:  async editor => {
							const images = await readImgs(editor);
							return images;
							},
				  'index.html': editor =>
							`<!doctype html><html lang="es"><head><meta charset="utf-8"><link rel="stylesheet" href="./css/style.css"><title="${editor.getConfig().title}"></head><body>${editor.getHtml()}</body></html>`,
			}
		  },`

The readImages() function is in the script file attached.
exportimages.js.txt

@jotakar , Hi really thanks for this help. But I dont know what you are doing in the peticion = await fetch(listaImgs[i]); . Can you please explain little bit more in this. Thanks in advance.

Async processess are the hell for me, my mind is sequential :)
What I know is that the program needs an image downloaded for going on, so  it awaits until the image is downloaded (await fetch(listaImgs[i])) then it awaits until data are ready to be converted to binary (second await), finally it convert arrayBuffer into binary.
"peticion" (spanish) is "asking for", I didn't commented enaugh tje script, and there is a mix english/spanish, sorry but I worte it for my own use.
I'm sure there is a better way to solve the problem, but i't's the way I found.


WIP: OCPBUGS-2028: Override kubelet hostname for GCP platform

This is a WIP PR for references only.
https://github.com/saifshaikh48/windows-machine-config-operator/tree/bootstrap-using-wicd was used as the base branch.
Depends on:

https://github.com/openshift/windows-machine-config-operator/pull/1279

/close
Moved the PR to main repo

https://github.com/openshift/windows-machine-config-operator/pull/1284


Why is Pandas <2 required?

Lake API version: 0.8.0
Python version: 3.10
Operating System: macOS, Ubuntu

Description
I want to install lake API with a Pandas version greater than 2.0.0.
Why is lake api restricting pandas version to <2?
What I Did
Just installing requirements as follows:
pandas >= 2.1.0
lakeapi

Hi @nosalorenz, this is caused by one of our dependencies awswrangler that also depends on pandas. We knew about this issue, but we will increase its priority and hopefully remove the <2 constraint within a few days to solve your issues.

Hi, thanks for the fast answer. I see the problem. I hope you are able to move to the new awswrangler version as soon as possible.

Hi, are there any news on this?

Hi @nosalorenz, I just released lakeapi==0.9.1 that should remove awswrangler dependency completely. Check it out and let me know if I can close this, it worked well with latest Pandas version for me plus removed a lot of indirect dependencies from our code.
There are some ugly temporary workarounds there as we would like to move away from direct s3 access completely, but my efforts in this direction were not successful yet.


Prepare release Batch 5 RPs (2)

Azure.ResourceManager.DataShare
Azure.ResourceManager.DeviceProvisioningServices
Azure.ResourceManager.DigitalTwins
Azure.ResourceManager.FrontDoor
Azure.ResourceManager.HealthcareApis
Azure.ResourceManager.Kusto

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


Getting "Message":"Failed Hydrating Credentials"

After both stacks are UP, getting below error while running command in Cloud9
cloud_user:~/environment $ ALBURL="patte-Patte-1AO1M7YY2EQAY-707364305.us-east-1.elb.amazonaws.com"
cloud_user:~/environment $
cloud_user:~/environment $ curl --header "Content-Type: application/json" --request POST --data '{"Name":"Andy Jassey","Text":"Welcome to ReInvent 2020!"}' $ALBURL/encrypt
{"Message":"Failed Hydrating Credentials"}cloud_user:~/environment $
cloud_user:~/environment $
cloud_user:~/environment $ curl -v --header "Content-Type: application/json" --request POST --data '{"Name":"Andy Jassey","Text":"Welcome to ReInvent 2020!"}' $ALBURL/encrypt
Note: Unnecessary use of -X or --request, POST is already inferred.
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to patte-Patte-1AO1M7YY2EQAY-707364305.us-east-1.elb.amazonaws.com (<IP_ADDRESS>) port 80 (#0)
> POST /encrypt HTTP/1.1
> Host: patte-Patte-1AO1M7YY2EQAY-707364305.us-east-1.elb.amazonaws.com
> User-Agent: curl/7.61.1
> Accept: */*
> Content-Type: application/json
> Content-Length: 57
>
* upload completely sent off: 57 out of 57 bytes
< HTTP/1.1 400 Bad Request
< Date: Sat, 09 Jan 2021 10:45:02 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 42
< Connection: keep-alive
< X-Powered-By: Express
< ETag: W/"2a-a+qdoISdZMp08hCMPddrtw4V/a0"
<
* Connection #0 to host patte-Patte-1AO1M7YY2EQAY-707364305.us-east-1.elb.amazonaws.com left intact
{"Message":"Failed Hydrating Credentials"}cloud_user:~/environment $

What am I doing wrong?

Which lab?
Which stack?
you misspelled "Jassy" 😉

Which lab?
Which stack?
you misspelled "Jassy" 😉

I am getting the same issue, May I know what could be the problem?

Let me take a look now and I will see if I can reproduce the errors they are seeing.

After both stacks are UP, getting below error while running command in Cloud9
cloud_user:~/environment $ ALBURL="patte-Patte-1AO1M7YY2EQAY-707364305.us-east-1.elb.amazonaws.com"
cloud_user:~/environment $
cloud_user:~/environment $ curl --header "Content-Type: application/json" --request POST --data '{"Name":"Andy Jassey","Text":"Welcome to ReInvent 2020!"}' $ALBURL/encrypt
{"Message":"Failed Hydrating Credentials"}cloud_user:~/environment $
cloud_user:~/environment $
cloud_user:~/environment $ curl -v --header "Content-Type: application/json" --request POST --data '{"Name":"Andy Jassey","Text":"Welcome to ReInvent 2020!"}' $ALBURL/encrypt
Note: Unnecessary use of -X or --request, POST is already inferred.
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to patte-Patte-1AO1M7YY2EQAY-707364305.us-east-1.elb.amazonaws.com (<IP_ADDRESS>) port 80 (#0)
> POST /encrypt HTTP/1.1
> Host: patte-Patte-1AO1M7YY2EQAY-707364305.us-east-1.elb.amazonaws.com
> User-Agent: curl/7.61.1
> Accept: */*
> Content-Type: application/json
> Content-Length: 57
>
* upload completely sent off: 57 out of 57 bytes
< HTTP/1.1 400 Bad Request
< Date: Sat, 09 Jan 2021 10:45:02 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 42
< Connection: keep-alive
< X-Powered-By: Express
< ETag: W/"2a-a+qdoISdZMp08hCMPddrtw4V/a0"
<
* Connection #0 to host patte-Patte-1AO1M7YY2EQAY-707364305.us-east-1.elb.amazonaws.com left intact
{"Message":"Failed Hydrating Credentials"}cloud_user:~/environment $

What am I doing wrong?

Firstly apologies for the late response.
I notice that your end point address is in us-east-1 The lab needs to be run from ap-southeast-1 (Sydney). We did try and add a note to this effect in the introduction to the lab, but I will try and update to add a reminder in later points in the lab. Can you try and deploy all the stacks to ap-southeast-1 and let me know if this addresses your issue?
I will also update the lab to fix the spelling mistake with the example!
Please let me know how you go...if you are still experiencing issues, respond to this thread and we can arrange a quick debug session.
Thanks!
Tim

@skinnytimmy resolved this issue and should have been closed earlier


Fix Delta Lake truncation of min/max string values [databricks]

This pulls in the changes from delta-io/delta#3430 to fix incorrect truncation of strings in Delta log statistics.  Since this does not match the behavior of the CPU on most Delta Lake versions we support, the test was updated to use canned values and check the GPU statistics for what is expected when those values are truncated.

build

build

failed https://github.com/NVIDIA/spark-rapids/issues/8418 in CI. going to re-kick

build


Failed examples (for 4.1)

Examples that fails for 4.1. List based on http://cdash-bipop.inrialpes.fr/viewTest.php?onlyfailed&buildid=26952
Causes include: missing files, missing dependency (OCC, ...), and bugs. Feel free to make the test not run.

[ ] BulletBouncingBox_BulletBouncingBox
[ ] BulletBouncingBox_BulletBouncingBoxDynamic
[ ] BulletBouncingBox_BulletBouncingBoxDynamic_py
[ ] BulletBouncingBox_BulletBouncingBox_py
[ ] DirectProjection_cube_directproj_py
[ ] DirectProjection_doublePendulum_directproj_py
[ ] DirectProjection_n_cubes_directproj_py
[ ] GeometricPrimitives_box_stacks_py
[ ] GeometricPrimitives_convexhull_py
[ ] GeometricPrimitives_cube_simulation_py
[ ] GeometricPrimitives_cylinder_py
[ ] GeometricPrimitives_mesh_py
[ ] GeometricPrimitives_reused_cube_py
[ ] GeometricPrimitives_sphere_clusters_py
[ ] GeometricPrimitives_tetra_py
[ ] GranularMaterial_chute_con_rocas_y_vibradores_py
[ ] ImpactingBar_ImpactingBar
[ ] InterestingDynamics_doublePendulum_py
[ ] InterestingDynamics_moving_block_py
[ ] InterestingDynamics_MultipleContactorsAndNSlaws_py
[ ] InterestingDynamics_slide_roll_py
[ ] InterestingDynamics_tippe_top_py
[ ] InterestingDynamics_walker_py
[ ] JointsTestsWithBoundaryConditions_NE_3DS_3Knee_1Prism_GMP
[ ] JointsTestsWithContactDetection_Joint_stops_py
[ ] Music_run_py
[ ] NewtonEuler_BouncingBallNE-MoreauJeanGOSI
[ ] NewtonEuler_BouncingBallNETS_py
[ ] NewtonEuler_FastSpinningObjects_py
[ ] OCC_Examples_occ_balls_in_a_bowl_py
[ ] OCC_Examples_occ_bouncing_ball_py
[ ] OCC_Examples_occ_double_pendulum_py
[ ] OCC_Examples_occ_slider_crank_py
[ ] OptimalControl_OptimalControl
[ ] RigidBodiesCollection_n_cubes_py
[ ] RigidBodiesCollection_n_cubes_simulation_py
[ ] RockFall_cubes_sphere_contactors_py
[ ] RockingBlock_RockingBlockED_NewMarkAlpha
[ ] SMC_SMCExampleExplicit
[ ] SMC_SMCExampleImplicit
[ ] SMC_SMCExampleImplicitOT2
[ ] StepSystem_StepSystem
[ ] Zhuravlev_ZhuravlevIvanovMCP_py
[ ] Zhuravlev_ZhuravlevIvanovVI_py

Many are ref files that need investigating / updating.  (The BouncingBox ones are known..)
In the case of some Python failures with matplotlib, I guess the examples need to skip the plotting code in case that there is no display.
The OCC examples fail because OCC is not configured I think.  (e.g., "ImportError: No module named OCC.BRepPrimAPI")
Some of these tests end with, e.g.,

The rest of the test output was removed since it exceeds the threshold of 307200 bytes.

What's the command to use to run all the examples locally?
It would be nice if there was a way to distinguish easily between failures due to ref files and failures due to segfaults for example.

I believe you run ``cmake siconos/example'', but you may need to tweak some env var or cmake option so that it can find your siconos install.
For matplotlib there is this code in some examples:
import matplotlib,os
havedisplay = "DISPLAY" in os.environ
if not havedisplay:
matplotlib.use('Agg')
That appear to be sufficient for Unix-based systems

Here's my run,
mkdir ex
cd ex
cmake ../siconos/examples
make
ctest

output is:
The following tests FAILED:
          5 - StepSystem_StepSystem (Failed)
         20 - ImpactingBar_ImpactingBar (Failed)
         23 - JointsTestsWithBoundaryConditions_NE_3DS_3Knee_1Prism_GMP (Failed)
         47 - NewtonEuler_BouncingBallNE-MoreauJeanGOSI (Failed)
         59 - BulletBouncingBox_BulletBouncingBoxDynamic (Failed)
         60 - BulletBouncingBox_BulletBouncingBox (Failed)
         66 - FourBarLinkageWith3clearance_FourBarClearance (Timeout)
         68 - ColumnOfBeads_ColumnOfBeadsTS-SBM (Failed)
         81 - RockingBlock_RockingBlockED_NewMarkAlpha (Failed)
         98 - OptimalControl_OptimalControl (Failed)
        100 - TwoLinkManipulator_Two-linkMulticonstrManip (Timeout)
        101 - TwoLinkManipulator_TwolinkMultiFlex (Timeout)
        104 - SMC_SMCExampleExplicit (Failed)
        106 - SMC_SMCExampleImplicitOT2 (Failed)
        107 - SMC_SMCExampleImplicit (Failed)

I'll try to take a look at most of these soon.  I am away next week unfortunately.  I examined a few, it seems BulletBouncingBox has reference file problems.  (The dynamics of BulletBouncingBox are a little crazy..)
FourBarLinkageWIthClearance is a plugin loading problem, it works when I run it by setting LD_LIBRARY_PATH=.
NE_3DS_3Knee_1Prism_GMP is a plugin problem and a reference file problem.  Maybe due to changing the joint references, I'll check on that. ImpactingBar and ColumnsOfBeadsTS-SBM are indeed reference file mismatches.
RockingBlockED-NewMarkAlpha is a plugin loading problem, but on running it with LD_LIBRARY_PATH, it crashes with
A new event occurs at time: 4.882813e-07
Runtime Exception : NewMarkAlphaOSI::computeFreeOutput, this OSNSP does not exist

Hi,
There are 5 examples that fail :
https://cdash-bipop.inrialpes.fr/viewTest.php?onlyfailed&buildid=28120
Two are important since they are clearly the results of our recent (or old) modifications:

RockingBlock_RockingBlockED_NewMarkAlpha
StepSystem_StepSystem
The other issues are very simple to solve.

I am working on RockingBlock_RockingBlockED_NewMarkAlpha the problem comes from the new initialization of the osi.
For StepSystem_StepSystem, the example is broken since two years. I think we can release without fixing it and put it into known issues.
The most important thing for the release is not to succeed to pass all the examples but writing the ChangeLog. If some examples are still failing, we will indicate in the "known issues" section.

There are 5 examples that fail :
https://cdash-bipop.inrialpes.fr/viewTest.php?onlyfailed&buildid=28120

Yesterday, I set Jenkins to build 4.1.x branch with the master on
siconos---vm3.ci, the host which build examples. 4.1.x is in the state
we leave it at the beginning of the summer and it is nearly releasable.
They are also a few tests that fails, but depending on the config they
are not the same.
I do not understand why the master examples have not been built at the
same time (Siconos-with_umfpack-Release-Linux-x86_64 is the only config
it have builded, why? I am really fed up with Jenkins), but
anyway, for comparison the latest ones to have been built, the day
before, are there:
http://cdash-bipop.inrialpes.fr/viewTest.php?onlyfailed&buildid=28113
many regressions, but it is another story.


Log about loadRunningFlows in azkaban-web startup

For example setupExecutors() logs a similar message. However fetching active executors is quick.
Loading the active flows is what happens after it, and it may take a while (last time in my case it took ~20s). It's comforting to see in the log what we're waiting for, when the server is starting.

As an example, some output from ExecutorManagerTest:
2018/08/08 13:36:53.900 +0300 INFO [ExecutorManager] Initializing multi executors from database.
2018/08/08 13:36:53.918 +0300 INFO [ExecutorManager] Loading running flows from database..
2018/08/08 13:36:53.918 +0300 INFO [ExecutorManager] Loaded 0 running flows
2018/08/08 13:36:53.940 +0300 INFO [ExecutorManager] QueueProcessorThread active turned true
...

Pull Request Test Coverage Report for Build 3940

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
24 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.06%) to 35.817%

Files with Coverage Reduction
New Missed Lines
%

azkaban-exec-server/src/main/java/azkaban/execapp/ConditionalWorkflowUtils.java
1
92.5%

azkaban-exec-server/src/main/java/azkaban/execapp/JobRunner.java
2
76.89%

azkaban-exec-server/src/main/java/azkaban/execapp/event/JobCallbackRequestMaker.java
21
56.25%

Totals

Change from base Build 3938:
-0.06%

Covered Lines:
10306

Relevant Lines:
28774

💛  - Coveralls


JwtTokenExtractor.getIdentity:err! https://Telegram.enterprisechannel.botframework.com/v1/.well-known/openidconfiguration

Versions
all is latest
Describe the bug
Creating bot framework adapter, in config set ChannelService=Telegram
tried to post to jwtTokenExtractor.ts tries to post to
"https://Telegram.enterprisechannel.botframework.com/v1/.well-known/openidconfiguration"
which fails with not found as url probably does not exist then JwtTokenExtractor.getIdentity:err!
To Reproduce
// Create adapter.
const adapter = new BotFrameworkAdapter({
appId: process.env.MicrosoftAppId,
appPassword: process.env.MicrosoftAppPassword,
channelService: process.env.ChannelService,
openIdMetadata: process.env.BotOpenIdMetadata
});
set channel service to Telegram
Additional context
Using ngrok and local instance, note if ChannelService is left empty all works fine as url generated will be https://login.enterprisechannel.botframework.com/v1/.well-known/openidconfiguration
Why do we need this ChannelService if it does not  work?

Hello @pagex
You can see in the source code that any channel service that's not public Azure or government Azure is interpreted as Enterprise Channel Validation. That means your channel service is used to form this URL:
export const ToBotFromEnterpriseChannelOpenIdMetadataUrlFormat =
    'https://{channelService}.enterprisechannel.botframework.com/v1/.well-known/openidconfiguration';

I think you may be misunderstanding the purpose of the channel service configuration. What are you trying to accomplish? Are you just trying to build a bot for the Telegram channel?

@pagex - Are you still working on this?

@pagex - please let us know if @v-kydela's explanation made sense. I'll close this out at the end of the week, if we don't hear back.

Thanks all for responses, I was under impression that ChannelService suppose to be set to channel I build bot for e.g. Skype or Telegram.  I can't find online valid options for ChannelService though.  Yes I built a telegram bot that works fine now when ChannelService is not set or set to empty. But some explanation when and how to use it would be much appreciated.

@pagex - The idea behind the Bot Framework is that you can build one bot that works on many different channels without having to alter the code for each one. It doesn't make any sense to want to configure your bot so that it only works with a specific channel. Each activity your bot receives will contain information about the channel it's communicating with in the activity's channelId and serviceUrl properties, and if you want you can write channel-specific code based on the activity's channel ID.
When you come across a feature that you don't understand like BotFrameworkAdapterSettings.channelService, it's probably best not to use it until you figure out what it's for. The optional channelService property is an advanced feature not for configuring what channel the bot uses but rather for configuring the service that the bot uses to access channels. If you leave it alone then your bot will use the ordinary Azure Bot Service or "public Azure," but if you set it to https://botframework.azure.us (found here) then that configures the bot to use government Azure. In your case you don't have to worry about channelService.
Was there some tutorial you were following that told you to use the channelService property? Why did you want to use it?

Thanks @v-kydela, from my initial search I was unable to clearly understand what range of options this parameter takes that lead me to do some guesswork. Now its clear.

@pagex - I'm happy we could get this resolved. Please feel free to ask any more questions you might have on Stack Overflow or use this repo to post bug reports and feature requests.


Adds NodeReady status condition to IngressController

Many ingresscontroller failure scenarios can be traced back to a lack of available worker nodes. This PR introduces the NodeReady condition type, indicating whether the number of required nodes are available to support ingresscontroller.spec.replicas.
Note: The type's name is not prefaced with Worker since the limitation for running ingress controllers on masters will be removed in the future.
/cc @Miciah @ironcladlou @knobunc

Given evidence today, a large majority of failed deployments / cluster operator unavailable are simply a down node (1.5% of clusters have a down node). So if you can unambiguously or can reasonably pin that down, your Degraded=true reason should be NodeNotReady. That we can then filter from our results and see a much more nuanced view.

This popped back up to front of mind because of metal problems that we hit several time where nodes didn't come up.  A reason is probably enough, but I'd really like see such a reason with a very nice message to make this more obvious to users.


Copy Link in Command Palette

I did not notice at first that after creating a Pull Request in VSCode that there is a "Copy URL" button when hovering over the Pull Request name. I searched in the Command Palette and it wasn't there. I prefer to do most action via the keyboard. It would be nice to have this added to the Command Palette. Thank you.

Closing as we have no plans to address this feature request.


Transfer command

I've started implementing a command in the cli to transfer an amount of ether/wei/gwei between accounts.
For this, I've created a TransactionController in the cli package that will probably host almost all functions that will interact with the Transactions lib's object.
A demo of how the command works:

Ready for review!
I refactored and finished implementing the command. I also removed the unit type prompt question. Now, if the user do not specify any unit type, ether will be the default, and if the user specifies an non-existent unit, an error will be thrown. Note that we're allowing the user to specify any unit that is here.
Updated demo:

Why ZWeb3.getBalance returns string when eth.getBalance returns BigNumber?

Note that, in web3 beta 37, getBalance returns a string and not a BN. However, I agree that we should move into BN - the question is which one. Given the last contributions by george on ethers, I think it's time to revisit that.


feat: allow multi-browser configuration

Description
Closes #5963
Closes #7017
I am hacking for now, but the general idea is to inject new projects if configs are defined that inherit the same config and vite server

How does it work in dev? Should we only open a single project if it's not headless? Do we need a selector like in cypress? What to do with --browser?
Tests
Docs

With this PR, browser.name and browser.providerOptions are deprecated. Use configs instead:
export default defineConfig({
  test: {
    browser: {
      provider: 'playwright',
      configs: [
        {
          browser: 'chromium',
          launch: { devtools: true },
        },
        {
          browser: 'firefox',
          setupFiles: ['./setup.firefox.ts'],
          provide: {
            secret: 'my-secret',
          },
        },
      ],
    }
  }
})

The main performance optimization here instead of using different projects is that we can reuse the same server and keep the cache.

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
[ ] Ideally, include a test that fails without this PR but passes with it.
[ ] Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

[ ] Run the tests with pnpm test:ci.

Documentation

[ ] If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

[ ] Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

@sheremet-va asked for naming help. After going back and forth in Discord, I farmed the work out to some of our future Robot overlords. I think the overlords did an okay job.
instances is its choice. I don't quite know what mine is. I definitely dislike test.browser.browsers though.

🤖 Browser Configuration Naming Analysis
Quick Reference: All Options
// Current
test: {
  browser: {
    provider: 'playwright',
    configs: [{ browser: 'chromium' }, { browser: 'firefox' }]
  }
}

// Option 1: browsers
test: {
  browser: {
    provider: 'playwright',
    browsers: [{ browser: 'chromium' }, { browser: 'firefox' }]
  }
}

// Option 2: capabilities (conflicts with WebDriverIO)
test: {
  browser: {
    provider: 'playwright',
    capabilities: [{ browser: 'chromium' }, { browser: 'firefox' }]
  }
}

// Option 3: environments
test: {
  browser: {
    provider: 'playwright',
    environments: [{ browser: 'chromium' }, { browser: 'firefox' }]
  }
}

// Option 4: targets
test: {
  browser: {
    provider: 'playwright',
    targets: [{ browser: 'chromium' }, { browser: 'firefox' }]
  }
}

// Option 5: profiles
test: {
  browser: {
    provider: 'playwright',
    profiles: [{ browser: 'chromium' }, { browser: 'firefox' }]
  }
}

// Option 6: instances (recommended)
test: {
  browser: {
    provider: 'playwright',
    instances: [{ browser: 'chromium' }, { browser: 'firefox' }]
  }
}

Context
Vitest needs to name the configuration array for multiple browser setups in test.browser. The configuration allows running tests across different browsers while sharing a single Vite server instance for improved performance.
Current API:
test: {
  browser: {
    provider: 'playwright',
    configs: [
      { browser: 'chromium', launch: { devtools: true } },
      { browser: 'firefox', setupFiles: ['./setup.firefox.ts'] }
    ]
  }
}

Requirements

Must be semantically accurate
Should avoid naming conflicts with existing APIs
Must be clear in documentation
Should avoid redundant terminology (e.g., browser.capabilities.capabilities)
Should align with architectural concepts

Options Analysis
1. configs (current)
Pros:

Generic enough to encompass all configuration options
Common terminology in config files

Cons:

Creates ambiguity with parent browser config
Too generic for specific purpose
Harder to reference in documentation

2. browsers
Pros:

Direct and clear
Matches mental model
Intuitive for users

Cons:

Creates repetitive test.browser.browsers path
Could be confused with browser selection vs configuration

3. capabilities
Pros:

Common terminology in browser testing
Well understood in the industry

Cons:

Conflicts with WebDriverIO's API
Would create browser.capabilities.capabilities
Too broad for specific purpose

4. environments
Pros:

Encompasses full test environment concept
Distinct from other terminology
Clear in documentation

Cons:

May be too broad (environment includes more than browser)
Could be confused with test environments (dev/staging/prod)

5. targets
Pros:

Clear purpose (targeting specific browsers)
Distinct from other terminology
Natural in documentation

Cons:

Could be confused with build targets
Slightly less accurate (configurations do more than target browsers)

6. profiles
Pros:

Suggests complete configuration sets
Distinct from other terminology
Common in development tools

Cons:

May be confused with user profiles
Less specific to browser testing context

7. instances (recommended)
Pros:

Matches diagram terminology ("test project instance")
Avoids repetition with browser
Accurately describes browser instances with specific configs
Natural in documentation
Clear relationship to runtime behavior

Cons:

Could be confused with class instances in other contexts
Slightly technical term

Recommendation: instances
Sample documentation text:
"Configure multiple browser instances by providing an array of configurations in test.browser.instances. Each instance can specify its own browser type, setup files, and launch options while sharing a single Vite server for improved performance.
export default defineConfig({
  test: {
    browser: {
      provider: 'playwright',
      instances: [
        {
          browser: 'chromium',
          launch: { devtools: true },
        },
        {
          browser: 'firefox',
          setupFiles: ['./setup.firefox.ts'],
          provide: {
            secret: 'my-secret',
          },
        },
      ],
    }
  }
})

Each instance inherits from the global browser configuration while allowing browser-specific overrides."
This terminology:

Avoids repetition in the config path
Matches existing architectural concepts
Accurately describes the technical implementation
Reads naturally in documentation
Maps clearly to the runtime behavior where each configuration spawns a browser instance
Maintains clarity when referenced in other contexts (e.g., "browser instance configuration", "configure test instances")


Is it possible to Reduce the cell paddings

Hi @daniel-nagy ,
I had a table in which i wanted to display around 40 entries in a page which i found would be possible if i reduce the top and bottom padding used in the md-row :: md-cell. I know it might spoil the responsiveness of the your table but  we can try using 'vmin' as a work around. I tried adding padding:0 both in  tag and also as table.md-table td.md-cell with !important but it didnt work .
is there a way to fix the padding ?
Thanks in advance

table.md-table tbody.md-body > tr.md-row {
height: 5vh;
}


Integration with ePad or Topaz?

I'm sure I know the answer, but it would appear there isn't any integration/planned integration with ePad or Topaz signature pads correct?

What would you expect from such integration? I've never used these tools, so I really don't know anything about them.

In this case the expectation would be that the topaz and ePad device input would be captured in the signature_pad canvas component.  Essentially exactly how it is now except being able to interface with the hardware signature pads as well as mouse driven input.
Here's the SDKs for each of them:
http://www.epadsupport.com/getlatest/ePad-visionSDK_ChromeFirefox_IntegrationGuide.pdf
http://www.topazsystems.com/sigweb.html

I haven't read the docs yet, but I'm working (very slowly, due to lack of free time :/) on a version of this library that will give access to all drawn points and also allow to pass such list of points to draw a signature.
This could make such integration possible - you could get a list of points (or whatever they actually provide) from these devices and map them to a format that this library can understand.
If you'd like to play with it yourself without waiting for me, here's the branch with the new version: https://github.com/szimek/signature_pad/tree/draw-signature-from-point-data.

Ok thanks for the heads up!


Add local audio sources

Lavaplayer now supports encoding of local audio tracks https://github.com/sedmelluq/lavaplayer/pull/56 so this can now be a feature in lavalink!

LGTM, but let me change the base branch to the dev one


Add etcd

Rename project to etcd
Include the dependency jetcd library

There are no tests, that's why the GraalVM CE CI / Test Report gate is complaining. We are good to go at this stage


Path duplication on lookup

I am trying to run this example code here:
in /Users/vadim/Development/temp/terragrunt-infrastructure-live-example/non-prod/us-east-1
I execute terragrunt plan-all and get the error that the files can't be found. I seems, because the lookup is in the wrong path.
prod/us-east-1/stage/webserver-cluster/Users/vadim/Development/temp/terragrunt-infrastructure-live-example/non-prod/us-east-1/region.yaml., and 1 other diagnostic(s)
[terragrunt] 2020/03/05 15:21:37 Encountered the following errors:
/Users/vadim/Development/temp/terragrunt-infrastructure-live-example/non-prod/terragrunt.hcl:38,5-10: Error in function call; Call to function "file" failed: no file exists at /Users/vadim/Development/temp/terragrunt-infrastructure-live-example/non-prod/us-east-1/qa/mysql/Users/vadim/Development/temp/terragrunt-infrastructure-live-example/non-prod/us-east-1/region.yaml., and 1 other diagnostic(s)
/Users/vadim/Development/temp/terragrunt-infrastructure-live-example/non-prod/terragrunt.hcl:38,5-10: Error in function call; Call to function "file" failed: no file exists at /Users/vadim/Development/temp/terragrunt-infrastructure-live-example/non-prod/us-east-1/qa/webserver-cluster/Users/vadim/Development/temp/terragrunt-infrastructure-live-example/non-prod/us-east-1/region.yaml., and 1 other diagnostic(s)
/Users/vadim/Development/temp/terragrunt-infrastructure-live-example/non-prod/terragrunt.hcl:38,5-10: Error in function call; Call to function "file" failed: no file exists at /Users/vadim/Development/temp/terragrunt-infrastructure-live-example/non-prod/us-east-1/stage/mysql/Users/vadim/Development/temp/terragrunt-infrastructure-live-example/non-prod/us-east-1/region.yaml., and 1 other diagnostic(s)
/Users/vadim/Development/temp/terragrunt-infrastructure-live-example/non-prod/terragrunt.hcl:38,5-10: Error in function call; Call to function "file" failed: no file exists at /Users/vadim/Development/temp/terragrunt-infrastructure-live-example/non-prod/us-east-1/stage/webserver-cluster/Users/vadim/Development/temp/terragrunt-infrastructure-live-example/non-prod/us-east-1/region.yaml., and 1 other diagnostic(s)

Terraform v0.12.21
terragrunt version v0.23.0

Ah yes this was from the recent backwards incompatible change. It should work if you downgrade to 0.22.5.
Or alternatively, you can try out https://github.com/gruntwork-io/terragrunt-infrastructure-live-example/pull/29. Note that you will need to update the aws_account_id for it to work.

#29 is now merged so this issue is resolved.


[Device support]

Anything you want to mention?
### Attributes the integration pulled!
Sensors:
2.4Ghz Download Speed
5Ghz Download Speed
RT-AC82U BRIDGE Download
RT-AC82U BRIDGE Download Speed
RT-AC82U BRIDGE Upload
RT-AC82U BRIDGE Upload Speed
WIRED Download
WIRED Download Speed
WIRED Upload
WIRED Upload Speed
WLAN0 Download
WLAN0 Upload
WLAN0 Upload Speed
WLAN1 Download
WLAN1 Upload
WLAN1 Upload Speed
Wireless 2.4 GHz
Wireless 5 GHz
RT-AC82U OpenVPN Client 1
RT-AC82U OpenVPN Client 2
RT-AC82U OpenVPN Client 3
RT-AC82U OpenVPN Client 4
RT-AC82U OpenVPN Client 5
Diagnostic:
Boot Time
CPU
Connected Devices
LAN Speed
RAM
WAN
WAN IP
WAN Speed
The only thing I could add is the router came up as a different model than the one I have. I have RT-ARCH17 but the integration is showing attributes under model RT-AC82U
Your device model
RT-ACRH17
Firmware type
Stock
Firmware version
<IP_ADDRESS>.382_52517
Does everything work well?
No

Hello, @tismofied,
Thank you for your feedback! 👍🏻
As I see, you don't have LED control (which is probably due to firmware 382 limitation). Is any other sensor missing from what you would expect? Don't you have WAN speed and traffic sensors (WAN Upload, WAN Download, WAN Upload Speed and WAN Download Speed) or you just didn't select the WAN interface for monitoring?
With model names, it happens for some models. Unfortunately, Asus does not make it easy, having 5 different names saved in the device memory, with only some of them being correct.

The device will be added to the supported list in PR #219 with a remark of a wrong model reporting in HA and LED control not being available. If you have any other comments, you can post them here. If you want to report any problem running the integration, please open a new issue.

Hello, @tismofied,
Thank you for your feedback! 👍🏻
As I see, you don't have LED control (which is probably due to firmware 382 limitation). Is any other sensor missing from what you would expect? Don't you have WAN speed and traffic sensors (WAN Upload, WAN Download, WAN Upload Speed and WAN Download Speed) or you just didn't select the WAN interface for monitoring?
With model names, it happens for some models. Unfortunately, Asus does not make it easy, having 5 different names saved in the device memory, with only some of them being correct.

I don't know why WAN is not exposed from my router. These are the snaps of configuration I get.

In the router web panel, you can try going to the Traffic monitor page (Fig. 1).

Fig. 1

After that press F12 to open the Developer tools of your browser. Find a tab called Network (which might vary depending on your browser). You will see all the requests sent from the web panel and the replies (Fig. 2).

Fig. 2

Find the one to update.cgi (any of them, they are sent each 1-3 seconds). Its reply should be similar to the following.
netdev = {
    'BRIDGE':{rx:0x3d0557dc0,tx:0x2630b46dcd},
    'INTERNET':{rx:0x17ed28b028,tx:0x25f6778dd},
    'WIRED':{rx:0x346ae54b5,tx:0x1e8ad8aa7b},
    'WIRELESS0':{rx:0x401bb39e,tx:0x23a8920b},
    'WIRELESS1':{rx:0x157cbfafd,tx:0x77a82dd95}
}

Post it here, please. We'll try to find out, why you don't have WAN in the integration.

Yes, in AP mode, WAN monitoring does not work the way it works for the router mode


Getting the logged in user name

Try as I might on the server side I can't seem to get the current application user name of the logged in user.
The best I've been able to do is UserId.
Just wondering if anyone else has had this issue and how they've managed to pull it out without another db hit?
Below is the method I'm using to try:
string IGetCurrentApplicationUserName.GetCurrentApplicationUserName()
{
var email = contextAccessor.HttpContext?.User?.Claims?.FirstOrDefault(c => c.Type == "sub")?.Value;
var userId = contextAccessor.HttpContext?.User?.FindFirst(ClaimTypes.NameIdentifier).Value;
return contextAccessor.HttpContext?.User?.Identity?.Name;
}
The only line that populates anything is the userId var - I've debugged and explored the objects as well and can't find it either.
My startup.cs identity config is like so:
services.AddDefaultIdentity<ApplicationUser>()
.AddEntityFrameworkStores<ApplicationDbContext>();
services.AddIdentityServer()
.AddApiAuthorization<ApplicationUser, ApplicationDbContext>();
services.AddAuthentication()
.AddIdentityServerJwt();

Cheers :)

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

ID: 21cb7455-3305-9316-5440-bdc22947a82d
Version Independent ID: 137d4b94-7b26-3911-b22d-42c754a95fc1
Content: Introduction to authentication for Single Page Apps on ASP.NET Core
Content Source: aspnetcore/security/authentication/identity-api-authorization.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @javiercn
Microsoft Alias: scaddie

Check out Pages\Shared_LoginPartial.cshtml
User.Identity.Name

Check out Pages\Shared_LoginPartial.cshtml
User.Identity.Name

Hi Rick,
I'm trying to get it as part of an injected service using an IHttpContextAccessor:
{
    public class GetCurrentApplicationUserName : IGetCurrentApplicationUserName
    {
        readonly IHttpContextAccessor contextAccessor;

        public GetCurrentApplicationUserName(IHttpContextAccessor contextAccessor)
        {
            this.contextAccessor = contextAccessor;
        }

        string IGetCurrentApplicationUserName.GetCurrentApplicationUserName()
        {
            var email = contextAccessor.HttpContext?.User?.Claims?.FirstOrDefault(c => c.Type == "sub")?.Value;
            var userId = contextAccessor.HttpContext?.User?.FindFirst(ClaimTypes.NameIdentifier).Value;
            return contextAccessor.HttpContext?.User?.Identity?.Name;
        }
    }
}```

You'll notice my last line ```contextAccessor.HttpContext?.User?.Identity?.Name``` - Name is null

![image](https://user-images.githubusercontent.com/1916426/69128691-fb2a9980-0b00-11ea-8a8f-c9cda59ff3d6.png)

@Rick-Anderson sorry that doesn't seem to work


Some of the functions in zephyr, porting lib, and zephyr seem to be causing large amounts of TPS lag

using spark profiler after noticing i was having a large amount of TPS lag from somewhere, i noticed that zenith, porting lib loot, and zephyr seem to be having very long thread loads between 95 and 115 ms
as far as i can tell from looking at the logs and the profiler, its something to do with loot and rarity generation constantly ticking

found a potential cause, it seems to be a conflict with dungeonZ, adventureZ, and the other Z mods

For some reason Globox’s mods are calling loot functions an absurd number of times, leading to this performance hit


feat(sdk): show default payment method

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 9.379%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
9560

Relevant Lines:
101934

💛  - Coveralls


Add first iteration of Calavera and automated release tools

Commit the first basic, working version of the tool. As part of this commit also add semantic-release and commitizen.

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


PowerShell modules fail due to /usr/local/bin/pwsh: Permission denied

Image: "mcr.microsoft.com/vscode/devcontainers/base:ubuntu-22.04"
During build there is an error installing modules due to permission issue, and pwsh can't be run after container build with same error:
Installing latest version for Az module
./install.sh: line 262: /usr/local/bin/pwsh: Permission denied
This can be fixed with:
sudo chmod +x $(readlink -f /usr/local/bin/pwsh)
Can this be done during build script prior to modules being installed?

This should be fixed with https://github.com/devcontainers/features/pull/1050. Feel free to reopen if needed, thanks!


Update docs for kubedb/webhook-server@26e96671

Signed-off-by: 1gtm<EMAIL_ADDRESS>

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: 1gtm:x: kodiak-appscode[bot]You have signed the CLA already but the status is still pending? Let us recheck it.


JIT: Avoid calling default constructor if possible

Rel https://github.com/cupy/cupy/issues/5280#issuecomment-1087142600.
Combines variable declaration and initialization if the variable is first used at the top level.
cc: @leofang

Thanks for coming up the solution in such a short period @asi1024! I am sure this nice improvement would also help when we support Python classes 🙂 Will help review later tonight.

/test mini

Right now, I think we don't have constructors in the JIT that would use a default constructor, so the only thing I can think of for testing this is to parse the generated cuda code. Once #6620 is in, we will have the testing for free so I wouldn't care too much.

/test mini

@emcastillo All tests have passed!


Add to Lua project ?

Not an Issue per se... but any thoughts on possibility as adding the ws2812 driver to the nodemcu-firmware project ? https://github.com/nodemcu/nodemcu-firmware
It would be a great addition to that if it could be done. thanks

Sadly, I've never had any interest in Lua, and everything I'm doing is with C... I don't really see any use in Lua personally... Though I wouldn't mind if people figure out better ways of doing the wait times and committing it to their project.

Well the contribution would be a driver in C :-)
But not a problem. thanks.

I'm not sure what you mean by that?  It just sounds like a feature request that should be filed to them?

Yes - exactly... I will. Thanks for the project.


implement --gi-divide-*-reverse

I think should fix the issues described in #84

Thank you for the contribution. I am a bit busy at the moment and will review it as soon as I have time.


Unable to load prebuilt M1 (arm64) binary

Did you see the documentation relating to installation?
Yes
Have you ensured the architecture and platform of Node.js used for npm install is the same as the architecture and platform of Node.js used at runtime?
Yes.  I'm also using yarn v1.22.11, not npm
> node -p "process.arch"
arm64

> which yarn
/opt/homebrew/bin/yarn  # /opt/homebrew prefix proves arm64. Not sure how to tell yarn arch another way

> brew --version
Homebrew 3.2.11
Homebrew/homebrew-core (git revision 430f112115; last commit 2021-09-10)
Homebrew/homebrew-cask (git revision 8aa19dc042; last commit 2021-09-10)

Are you using the latest version? Is the version currently in use as reported by npm ls sharp the same as the latest version as reported by npm view sharp dist-tags.latest?
Yes. Of note, I had to run this before doing yarn add<EMAIL_ADDRESS>arch -arm64 brew install pkg-config cairo pango libpng jpeg giflib librsvg || return $?

What is the complete output of running yarn add --verbose<EMAIL_ADDRESS>yarn add --verbose<EMAIL_ADDRESS>...

^ output is huge. See this gist.
What is the output of running npx envinfo --binaries --system?
System:
    OS: macOS 11.5.2
    CPU: (8) arm64 Apple M1
    Memory: 217.99 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 12.16.1 - ~/.nvm/versions/node/v12.16.1/bin/node
    Yarn: 1.22.11 - /opt/homebrew/bin/yarn
    npm: 6.13.4 - ~/.nvm/versions/node/v12.16.1/bin/npm

The error
node ./main.js

Something went wrong installing the "sharp" module

dlopen(<redacted>/emoji_generator/node_modules/sharp/build/Release/sharp-darwin-arm64v8.node, 1): no suitable image found.  Did find:
	<redacted>/emoji_generator/node_modules/sharp/build/Release/sharp-darwin-arm64v8.node: mach-o, but wrong architecture
	<redacted>/emoji_generator/node_modules/sharp/build/Release/sharp-darwin-arm64v8.node: mach-o, but wrong architecture

Possible solutions:
- Install with the --verbose flag and look for errors: "npm install --ignore-scripts=false --verbose sharp"
- Install for the current runtime: "npm install --platform=darwin --arch=arm64 sharp"
- Consult the installation documentation: https://sharp.pixelplumbing.com/install

Of note the native .node exists:
> ll <redacted>/emoji_generator/node_modules/sharp/build/Release/sharp-darwin-arm64v8.node
-rwxr-xr-x  1 rynop  staff   215K Sep  7 04:26 <redacted>/emoji_generator/node_modules/sharp/build/Release/sharp-darwin-arm64v8.node

I've multiple times trying to rm -rf node_modules && yarn cache clean
I am aware of https://github.com/lovell/sharp/issues/2678#issuecomment-827310464 but I don't want to change  my terminal architecture.  I also tried:
export SHARP_IGNORE_GLOBAL_LIBVIPS=1
export npm_config_arch=arm64
export npm_config_target_arch=arm64
export npm_config_platform=darwin
yarn install  --frozen-lockfile
node ./main.js

but ^ produces same error

Hi, is it possible that you have multiple, conflicting versions of Node.js installed? The appearance of sharp-darwin-arm64v8 with mach-o, but wrong architecture error suggests you might be using ARM64 at install time but x64/Rosetta emulation at runtime.

Hi, is it possible that you have multiple, conflicting versions of Node.js installed?

First off, I really appreciate the quick reply, so thank you for that (and this OSS).
I don't think so, cuz the iTerm session I have was launched with the "Open using Rosetta" unchecked and yarn add as well as node ./main.js were all run in the same session.
Here is an easy repro:
➜  ~ mkdir sharp-test
➜  ~ cd sharp-test
➜  sharp-test yarn init
yarn init v1.22.11
...
➜  sharp-test echo "const sharp = require('sharp');" > main.js
➜  sharp-test yarn add -s<EMAIL_ADDRESS>/Users/rynop/.nvm/versions/node/v12.16.1/bin/node
➜  sharp-test node ./main.js

Something went wrong installing the "sharp" module

dlopen(/Users/rynop/sharp-test/node_modules/sharp/build/Release/sharp-darwin-arm64v8.node, 1): no suitable image found.  Did find:
	/Users/rynop/sharp-test/node_modules/sharp/build/Release/sharp-darwin-arm64v8.node: mach-o, but wrong architecture
	/Users/rynop/sharp-test/node_modules/sharp/build/Release/sharp-darwin-arm64v8.node: mach-o, but wrong architecture

Possible solutions:
- Install with the --verbose flag and look for errors: "npm install --ignore-scripts=false --verbose sharp"
- Install for the current runtime: "npm install --platform=darwin --arch=arm64 sharp"
- Consult the installation documentation: https://sharp.pixelplumbing.com/install

env:
➜  sharp-test arch
arm64
➜  sharp-test yarn --version
1.22.11
➜  sharp-test which yarn
/opt/homebrew/bin/yarn
➜  sharp-test which node
/Users/rynop/.nvm/versions/node/v12.16.1/bin/node
➜  sharp-test ll ~/.nvm/versions/node/
total 0
drwxr-xr-x  6 rynop  staff   192B Sep  8 17:02 v12.16.1
➜  node -p 'process.arch';
arm64

I've read that node < v15 doesn't support arm64.  That can't be true / what is going on here can it? (note I'm using v12.16.1).  I can do a hello world no problem:
➜  sharp-test echo 'console.log("hi")' > ./hello.js && node ./hello.js
hi

https://github.com/nvm-sh/nvm#macos-troubleshooting says

there are no pre-compiled NodeJS binaries for versions prior to 15.x for Apple's new M1 chip (arm64 architecture).

This means that if you're using Node.js v12.16.1 then you're very likely to be running under Rosetta emulation. Make sure you're not setting environment variables such as npm_config_arch with the wrong values, either at install or runtime.

@rynop Were you able to make any progress with this?

Nope. I have a hard requirement on Node v12.16.1 so I had to move over to using Rosetta translation (everything was installed and launches from iTerm that was "Open using Rosetta")


Placeholder: Metrics for the SessionCache

This is a placeholder so we do not forget to add metrics to the Session Cache.
@kathirsvn  we thought there was an existing issue for this but could not find one. Can you reply on here and let us know.

@amorton I missed to create an issue for this and thanks for creating the same.

Fixed by https://github.com/stargate/jsonapi/pull/689


Send audios bigger than 10Mo => "artist - title" and duration not correct

Hello,
Thank you VERY MUCH for your API, it is really great to code bot with ruby with it.
I am experiencing a bug (maybe due to Faraday), I don't know how to debug that.
I have an app that send mp3 files as send message, here is the code :
bot.api.send_audio(chat_id: message.chat.id, audio: Faraday::UploadIO.new(filename, 'audio/mp3'))
Everything works well for files under 10Mo, but if I try with files bigger than 10Mb, it send it but I don't get ID3 tags displayed in telegram

name of the file is displayed instead of "artist - title"
total time of the audio is not displayed (0:00)

When I download the file from telegram and I check, id3 tags are ok, and md5sum of the file is same as original.
I tried with these files:

11Mb: http://download.quran.islamway.net/quran3/31/8091/32/020.mp3 don't work
9.9Mb: http://download.quran.islamway.net/quran3/31/8091/32/021.mp3 works
26.5Mb: http://server9.mp3quran.net/hthfi/007.mp3 don't works
9.7Mb: http://server9.mp3quran.net/hthfi/008.mp3 works

I tried the app on my ubuntu computer and on heroku I get same result.
If I upload the file manually (020.mp3) from telegram desktop, it works,
Can you help me find the problem ?
Thanks

A quick fix to that :
bot.api.send_audio(chat_id: message.chat.id, audio: Faraday::UploadIO.new(filename, 'audio/mp3'), performer: id3.artist, title: id3.title)

@abumalick looks like it is Telegram API related.
The problem is solved? Can you close the issue?

I used the workaround,
you can close it it is not related to your code

Please close it yourself, I don't have the ability.


Created basic skeleton for the application.

Hi @souravbadami,  thanks for the pull request. Since this project is one of GSOC project ideas of Sugar Labs, we prefer not to accept code pull requests to this repository right now. I advise you to create a repository on your account or fork this repository (which I think you have already done) and you can share the link with me and the other mentors of the project (do check the README for the contact details) so that we can see your work and give feedback.

@geekrypter -- Sure!


After pausing HLS Segmenter livestream on jellyfin, it can deadlock

I'm using HLS Segmenter directly over MPEG-TS, since that one fills up my diskspace when I accidentally pause the livestream for too long, and takes a while longer to load on Jellyfin.
However, pausing HLS Segmenter seems to eventually time out the stream, and make the worker stop. On Jellyfin's side, this then makes the player become the watermark image, but after pressing "play", it does not restart.
Usually I'd expect jellyfin to then snap to the latest time on the livestream, but here that doesn't seem to happen, and instead ETV is just stopping the worker, while not seeing to restart it after pressing "play" in Jellyfin.

The URL in the channels.m3u returns a multi-variant playlist AND starts the transcoding session for the channel. Inside that playlist is one variant playlist URL that can be used for playback. This variant playlist URL will fail if no transcoding session is active.
I'll give this some thought. I'm not sure if there would be a downside to having the variant playlist also (re-)start a transcoding session.


Rename incorrect translation domains.

Questions
Answers

Description?
This replaces the old translations domains of Modules.Mailalerts with the current ones Modules.Emailalerts

Type?
refacto

BC breaks?
no

Deprecations?
no

Fixed ticket?
Fixes PrestaShop/PrestaShop#17810

How to test?
Inspect the code. As the wrong translations domains do not cause a bug in FO, there is not a specific test.

Hi @Julievrz could you confirm this PR content that modifies translation domains?

@PrestaShop/qa-team I believe this PR can be validated without QA can you confirm?

@lmeyer1 your PR has confilts, could you please try to rebase your PR :pray:
Thanks in advance!

@matks I think it's better to make sure that the errors messages are well displayed :wink:

@hibatallahAouadni This is the intended behavior. More about it in PM.

Thanks @lmeyer1 & @hibatallahAouadni


Add support for star tree segments with udfs

Adding support in RequestUtils to parse expressions and check those columns in star tree segments case. Eventually we will move the logic for compiling expressions one level up, into ServerQueryRequest, and resuse them, instead of compiling multiple times in the lifespan of the query

Codecov Report

Merging #1946 into master will decrease coverage by <.01%.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##           master    #1946      +/-   ##
==========================================
- Coverage   69.55%   69.55%   -0.01%
==========================================
  Files         833      833
  Lines       40430    40442      +12
  Branches     5418     5421       +3
==========================================
+ Hits        28123    28130       +7
+ Misses      10433    10431       -2
- Partials     1874     1881       +7

Impacted Files
Coverage Δ

...kedin/pinot/common/utils/request/RequestUtils.java
77.14% <84.61%> (+0.58%)
:arrow_up:

...impl/dictionary/DoubleOnHeapMutableDictionary.java
68.88% <0%> (-13.34%)
:arrow_down:

...kedin/pinot/core/query/reduce/EqualComparison.java
55.55% <0%> (-11.12%)
:arrow_down:

...impl/dictionary/FloatOffHeapMutableDictionary.java
83.63% <0%> (-10.91%)
:arrow_down:

...mpl/dictionary/DoubleOffHeapMutableDictionary.java
72.72% <0%> (-5.46%)
:arrow_down:

...r/filter/predicate/PredicateEvaluatorProvider.java
68% <0%> (-4%)
:arrow_down:

...afkaHighLevelConsumerBasedRoutingTableBuilder.java
89.28% <0%> (-3.58%)
:arrow_down:

.../filter/predicate/InPredicateEvaluatorFactory.java
76.28% <0%> (-3.1%)
:arrow_down:

...lter/predicate/NotInPredicateEvaluatorFactory.java
79.8% <0%> (-2.89%)
:arrow_down:

...linkedin/pinot/common/metrics/AbstractMetrics.java
75.39% <0%> (-1.59%)
:arrow_down:

... and 14 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 8733cee...92c3261. Read the comment docs.


Link to "WDK Insider Preview builds" returns 404

The link to the "WDK Insider Preview builds" at the top of this page is broken and also at the bottom of this page the "Download the WDK Insider Preview" link also returns 404.

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

ID: 5930505f-6810-b2a2-86b5-3c678aae7f89
Version Independent ID: 28315cf8-f06f-23ad-2088-9d51d08efe0d
Content: Download the Windows Driver Kit (WDK) - Windows drivers
Content Source: windows-driver-docs-pr/download-the-wdk.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @windows-driver-content
Microsoft Alias: windowsdriverdev

Thanks so much, @brussee for bringing this to my attention.
Both those links work for me, HOWEVER, I am already a member of the Windows Insider program. I've made the first phrase in that sentence a link to https://insider.windows.com/, where you can quickly sign up. THEN, you can download the Windows Insider kits all day long!
Appreciate that you found this, told us about it, and I apologize for any inconvenience.
Eliot


Add support for node 0.12

0.12 was just released, cool, let's support it.

Coverage remained the same at 81.68% when pulling 296b508cda2c43231397ea85850bf8f16cc70e0a on support-0.12 into 87d3deed38a03dc37417c09a77de2a00c2d9bfc0 on master.


Footer

@ArunJ98 yes, there are mobile footer mocks in the Figma document

Made a couple of small edits and merged master into footer. Looks good to go.


[WIP] Upgrade hawkular gem to 2.6

@miq-bot add_label providers/hawkular, wip

@lucasponce fyi

@lucasponce I validated that refresh and metrics flow ok. please also make some checks before we ask to merge it (especially the scenarios you've been interested in)
@miq-bot assign @lucasponce
@simon3z fyi

@miq-bot rm_label wip

@simon3z fyi

Thanks @abonas. LGTM, @yaacov do you want to take a closer look?

LGTM ( It's reading metrics from me server:-) )

cc @jshaughn

I ran a couple of local tests to validate LiveMetrics or other potential areas and it is working as expected.
LGTM

@miq-bot assign @chessbyte


Make the scenario object available in hooks compatible with v1.3.x

#768 identified that the scenario.name of the scenario object available in hooks includes the keyword, which makes it different compared to the case in v1.3.x. Unfortunately, also after the changes triggered by #768, the keyword is still included in scenario.name (see the before_hook.feature).
In case of Scenario Outlines, achieving full compatibility with v1.3.x is rather complicated as in that case scenario.name is cell values for the example row, and scenario.scenario_outline.name is the name of the Scenario Outline. The name of the test_case is neither, it is <scenario outline name>, <examples table name> (row <nr>).
The name of the test_case is in a sense quite informative, so it raises the question of how important backward compatibility is in this specific case.

IMO the scenario.name in the hook should be the test case's name.

See also #430

I pushed up the change everyone agree on to the master (https://github.com/cucumber/cucumber/commit/eb950d10f4112ea9a70ade68e9b0092e4553c257), that the keyword should not be part of the name exposed to the hooks.
I leave the PR open (rebased) as a place holder for the discussion if we should opt for exact compatibility with v1.3.x, and if not, whether the example row cell values should be make available to hooks (in v1.3.x they are part of the name).

I think we should expose the cell values, but through their own attributes.

Maybe with a method cell_values on ScenarioOutlineExample, that returns what Cucumber::Core::Ast::ExampleTrable::Row.values returns.

I say we close this and don't merge. Any objections?

No objection.


Adding MIOpen Contributing Guide

Add a contributing guide to the MIOpen repository. Please review the document and provide comments and suggestions below.

Open Question: Should we address anything about how the library is licensed in this document?

Open Question: Should we address anything about how the library is licensed in this document?

Like this: Any contributed changes must not violate or jeopardize the MIOpen license. For example, it is not allowed to include code snippets from third-party programs that do not allow free use.


Add a release containing PR #42

Latest release doesn't contain https://github.com/snaptortoise/konami-js/pull/42, so a lot of console.log are triggered when installing through  npm install or yarn add which get latest release and not master.
Anyway, thanks for your work :).

Good catch! It should be working now.


conda install also fails

My settings:
panda:pyemma_tutorials noe$ conda --version
conda 4.5.4
panda:pyemma_tutorials noe$ python
Python 3.5.2 |Anaconda custom (64-bit)| (default, Jul  2 2016, 17:52:12)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

Trying the conda install described in the README fails with
panda:pyemma_tutorials noe$ conda create -n pyemma_tutorials -c conda-forge pyemma_tutorials
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - pyemma_tutorials

Current channels:

  - https://conda.anaconda.org/conda-forge/osx-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/osx-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/osx-64
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/osx-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/pro/osx-64
  - https://repo.anaconda.com/pkgs/pro/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

the CF release is on its way.


Add AWS Signature (SigV4) destination authentication

A new destination authentication AWS_SIGNATURE has been added to the API and needs to be supported in through the provider

Will get this added to https://github.com/hookdeck/terraform-provider-hookdeck/pull/48


The viewModel() method may be missing the postInvalidate() logic.

In activity by viewModel() is not working properly, the invalidate() method doesn't callback when the viewLifecycleOwner is started, viewModel() is missing the postInvalidate() logic like activityViewModel(), please tell me how should I do it in activity.
Can I modify the viewModel() code like this:
inline fun <T, reified VM : MavericksViewModel<S>, reified S : MavericksState> T.viewModel(
    viewModelClass: KClass<VM> = VM::class,
    crossinline keyFactory: () -> String = { viewModelClass.java.name }
): Lazy<VM> where T : ComponentActivity, T : MavericksView = lifecycleAwareLazy(this) {
    val lifecycleOwner = this
    MavericksViewModelProvider.get(
        viewModelClass = viewModelClass.java,
        stateClass = S::class.java,
        viewModelContext = ActivityViewModelContext(this, intent.extras?.get(Mavericks.KEY_ARG)),
        key = keyFactory()
    ).apply { _internal(lifecycleOwner, action = { lifecycleOwner.postInvalidate() }) }
}

I'm experiencing the same issue, is it because it's not recommended for use in Activity and therefore doesn't provide a solution?

invalidate function has comment: "Override this to handle any state changes from MavericksViewModels created through Mavericks Fragment delegates." so this method is just used in Fragment class.
If you want to observe state change in Activity, you can use :
viewModel.onEach(State::property) {
   // refresh ui
}


Create graniteschools.txt

Granite School District is in Utah, USA. (https://www.graniteschools.org/)
They have a technical institute (GTI) shared by all the high schools in the district. More information about the technical institute's information technology program can be found here: https://schools.graniteschools.org/gti/information-technology/
About GTI
Welcome to the Granite Technical Institute
The mission of the Granite Technical Institute is to support students in finding personal purpose, potential and a pathway to their future. This is accomplished by helping students achieve in their program and to move seamlessly to further training and employment. Efforts are being made to directly align critical academic subjects with career and technical education courses, thus promoting real-world application to academic theory in such areas as mathematics, science and English. In addition, articulation and collaboration with Salt Lake Community College and other post-secondary institutions is being enhanced in order to make the transition to further education easier for students. Clear pathways of training have been designed to support student growth from the 9th through the 12th grades.

@rkbarth Pull request merged. Please notice that free educational license for JetBrains tools is for high and higher schools students, i.e. those who are over 13 of age. Thank you!


How to pre-define server list?

I want to predefine server list and disable connect screen for client. How can I do it?

I also need this one.

I may have a solution for you on the OSX side:
I added the server my end-users were supposed to connect to and hid the server list on a clean account/install of Rocket.Chat.Electron.
I then copied this directory from that configuration:
~/Library/Containers/chat.rocket/
I then pushed that to the same path of all other home users on existing machines, as well as I set that up in the User Template folder so any new user account will pull the settings.
It has worked successfully on all 80 or so machines I have applied this strategy to. We are mostly an OSX environment so I do not have any experience tips with other deployments.

I'd love to push this out to all my users, but until we have this feature, its kinda dead in the water. Too confusing for your average user. Needs to be something we can deploy, then they can just click to run with no more thought. If you combined this function (pre-defined servers) with a deployable MSI, it would be perfect.

We can build MSI (according to building manual, but we can't add serverlist into it.

Ref: https://github.com/electron-userland/electron-builder/wiki/Options#SquirrelWindowsOptions

Wonder if we could check for a file (servers.json) in the installation directory of Rocket.Chat on first load and if that is defined then use that? That file would have to be pushed with Group Policy or something like that.