Create message#4656.bal

Issue https://github.com/ballerina-platform/ballerina-standard-library/issues/4656 solved
Purpose
The modified code I provided will help address the two problems you mentioned:
The grpc command has crashed: The code does not cause the gRPC command to crash. Instead, it captures the exit status of the command and provides an error message with details if the command fails. This helps prevent the script from crashing and provides a more graceful way to handle errors.
No explanation for the failure: The modified code captures the standard error (stderr) output of the executed command when it fails. This stderr output is included in the error message, providing more detailed information about the failure, which helps in diagnosing the issue.
Examples
Example 1: Successful Execution
If the gRPC command executes successfully, you will see the following output: "gRPC command completed successfully."
Example 2: Failure without Stderr Output
Let's simulate a failure where the gRPC command does not print anything to stderr:
ballerina
Copy code
// Uncomment the following function to simulate a failure without stderr output.
// function simulateFailureWithoutStderr() {
// io:println("Simulating a failure without stderr output.");
// }
Uncomment the simulateFailureWithoutStderr() function, and you will see the following output:
lua
Copy code
Simulating a failure without stderr output.
Error: gRPC command failed with exit status 1
Error Details:
https://github.com/ballerina-platform/ballerina-standard-library/issues/4656
Checklist
Linked to an issue
Updated the changelog
Added tests
Updated the spec

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Delay kernel fetch

To test: make sure no calls to kernels are made before reaching the advanced settings page.

Coverage decreased (-0.05%) to 82.26% when pulling 546cef018d68a5a40d0fe7f6ce2debbcc3922e8a on eatonphil:delay-kernel-fetch into 130bb6c0645e308894b903064174fbe940463c60 on linode:master.

Coverage decreased (-0.01%) to 82.298% when pulling 130cb44b8e9f216bcb232a56e5a1cc5f4eb6da4d on eatonphil:delay-kernel-fetch into 130bb6c0645e308894b903064174fbe940463c60 on linode:master.


Human readable times in kubectl

Instead of:
$ kubectl get events
FIRSTSEEN                         LASTSEEN                          COUNT     NAME          KIND      SUBOBJECT   REASON             SOURCE         MESSAGE
Tue, 21 Jul 2015 16:25:06 -0700   Wed, 05 Aug 2015 08:56:09 -0700   416805    frontend4     Pod                   failedScheduling   {scheduler }   Failed for reason MatchNodeSelector and possibly others

let's print
$ kubectl get events
FIRSTSEEN        LASTSEEN         COUNT     NAME          KIND      SUBOBJECT   REASON             SOURCE         MESSAGE
15 days ago      30 seconds ago   416805    frontend4     Pod                   failedScheduling   {scheduler }   Failed for reason MatchNodeSelector and possibly others

That save about 30 characters of width.  We could have a flag like --machine-readable-time or something to enable the old behavior.  Default to the new.
We could use https://gowalker.org/github.com/dustin/go-humanize or just write a 20 line function that specifically handles humanized time printing.

Same thing for when we print events at the end of a describe.

@hurf this might interest you since you made a similar change last month.

@erictune - sure, I'll working on it.

We have a more concise printer we use for the AGE column.

@bgrant0607 I also noticed the function we used to format time. And I mentioned this in the PR for ideas.  In latest patch I have made the output same with the old style.


Is it possible to pass null as a parameter value?

Hello!
How to pass null as parameter value to Session.executeQuery() in YDB java sdk?
PrimitiveValue.datetime(...) creates a not null value. But how to create a null value of the type datetime?

#89


requesting users for guild never stops

it just keeps saying the same thing over and over

Hello @SimplisticGH
That is the intended behavior. Since a guild has a lot of members, and discord API limits how many users can be fetched per single request, it sequentially "asks" the guild about the next batch over and over until there are no more users.

Ah ok


Browserslist: caniuse-lite is outdated

When building the frontend I get:
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme

Sorry totally missed this, done in #1032

#1032 is an issue and not a PR?

Sry, I meant #1046

Ok, the version pump there needs to be removed then so that we can merge this before the release. Or we simply skip 0.3.5 and directly release 0.3.6? It is only a number after all.

Done.

Is this still an issue?

I think it was fixed by you in a6dca28fc225b25eb0825378889223c6278894ca
I close it for now. Eventually it will again to be updated npm install complaints then, then we can reopen this issue.


4.641: Stage Strike App/Layout

So during yesterday’s local tournament, there were some issues that came up on the stage strike side.
On the layout, whenever I swap the names to the right position, the app updates the change just fine and it shows who is actually striking on the app. The layout on other hand, it shows the the wrong tag on whoever is striking. It’s more noticeable when counterpicks are applied. The layout on the stream show the last game’s loser making the stage strike.
For the actual stage strike app, I received a complaint from one of our players. So what happened is our Grands Final went to game 5 and we ran mDSR for our ruleset. I have mDSR set on the stage strike app. So, he won game 1 on FD and won game 2 on PS2. But on game 5, FD was still locked, even though won on another stage. I went to check to see if mDSR is on, and the setting is for mDSR is active. Not sure what is going on, or if that is how mDSR is actually meant to be played.

Having this exact issue with DSR settings. What we're wanting is what I'll call Original DSR. Original DSR is just you can't play the most recent stage you won on, but previous wins are fair game (Ex. a Fox wins on FD and then PS2, he can pick FD but not PS2). Most commonly called mDSR. Which is what I'm looking for, too.
However, neither DSR or mDSR in TSH are Original DSR. Currently in TSH, DSR is "if a stage is picked, it can't be picked again" which is actually Game-Restricted DSR sometimes called mDSR, sometimes DSR. mDSR in TSH currently is "P1 cannot pick any stage they have won on", which is Winner's Variation DSR, which is the most common variation to be called just DSR lol. - this is with version 4.641
Note TSH's DSR types match what Smashpedia puts for DSR, but this differs from the Wiki's version of DSR types. And even the Smashpedia page disagrees on what just normal DSR is bc it says its Game-Restricted DSR is just DSR but most players from what I know/can find refer to DSR as Winner's Variation DSR.
POINT BEING, DSR doesn't have finite meaning and it would be really nice to have a little helpbox appear when hovering over the DSR selections that explains what type of DSR the options are and an third option for Original DSR in case you don't want to use Winner's Variation or Game-Restricted DSR <3
If I rely on recent Twitter/Reddit posts, the general community usage of DSR is Winner's Variation is DSR and Original DSR is mDSR and rarely Game-Restricted is used as mDSR (mDSR sometimes just being a catchall for everything not Winner's Variation)
Sorry for the ramblings. I just spent 40 min researching DSR definitions just to confuse myself after thinking I knew what I was talking about lol

Ok well that answers one of my questions. That leaves the technical issue. Every time I switch the names around there are times where after I swap names on the overlay, it shows the wrong name doing the stage ban on the stage strike overlay.

The tablets show up fine when I swap the names around. It is on the stream overlay. There are times where I use the swap teams button to make sure the players tags are in the correct player position. And whenever I do that, it sometimes show the loser banning the stage instead of the winner. And the players has been reporting their wins on the tablet themselves.

Hi, is that still a bug in 5.22?

Nothing has been reported on this issue in quite some time and have made a few Stage Strike improvements around this since then. If this issue reappears, please open a new issue with the new details.


Unlock staging area nightly in case of stall

:nut_and_bolt: Description: What code changed, and why?
Prior to this, the only time the staging area got unlocked was upon completion of the habitat build.
However, as we saw in December, the habitat build stalled completely (it never ran) for about 4 weeks.
:chains: Related Resources
NA
:+1: Definition of Done
Staging area is always unlocked once per day in case other pipelines get stalled.
:athletic_shoe: How to Build and Test the Change
?? Not sure
:white_check_mark: Checklist

[ ] I have read the CONTRIBUTING document.
[ ] Tests added/updated?
[ ] Docs added/updated?
[ ] All commits have been signed-off for the Developer Certification of Origin.

:camera: Screenshots, if applicable

@tduffield Thanks for your note. Once this is merged, how can I tell that it is working? Is there any hint anywhere (perhaps in some log file) that it runs?

You should see a note in the a2-notify Slack channel saying that the action set ran

You are correct, @tduffield -- thanks!

You are correct, @tduffield -- thanks!


Documentation

Hi, do you have some documentation, examples for commands?

I have an interesting image, how can I understand the last number in output it is TTL of the key?

@topilski Did you see the "usage" section in the README?


⚠ HopeAlley Ecards has degraded performance

In 14b9915, HopeAlley Ecards (https://hopealley.com/ecards) experienced degraded performance:

HTTP code: 200
Response time: 6035 ms

Resolved: HopeAlley Ecards performance has improved in 821c982.


Gallery Submission Feedback

While reviewing your template, we noticed the following:

[Required]: Incorrect format for template display name. Please format your template's display name to have the following format: "
[Recommended]: when using setDefaultConsentState in your template, it is recommended (but not required) to scope the request per region. API doc: https://developers.google.com/tag-platform/tag-manager/templates/api#setdefaultconsentstate

While reviewing your template, we noticed the following:

[Required]: Incorrect format for template display name. Please format your template's display name to have the following format: " ". Here is our template style guide for reference: https://developers.google.com/tag-platform/tag-manager/templates/style#name
[Recommended]: when using setDefaultConsentState in your template, it is recommended (but not required) to scope the request per region. API doc: https://developers.google.com/tag-platform/tag-manager/templates/api#setdefaultconsentstate

I've updated the template display name and added region scope to the default state. Please review it again. Thanks

To make the template changes live you need to update your metadata.yaml file to point to the latest commit with the template changes.


Adds deterministic namespace in generated test file path

In order to more clearly identify the origin of an in-repo addon's test file after it's merged into the app tree's test tree, this PR adds a deterministic prefix (using the addon's name) in addition to using the physical file path after that prefix.
eg. The physical path starts at the  directory, or the root of the Ember app project.
Physical path: lib/<inRepoAddonName>/<testType>/foo-test.js
Merged path:   /Users/tester/root/<app>/tests/ember-add-in-repo-tests/lib/<inRepoAddonName>/<testType>/foo-test.js
This allows us to 'trim off' the segments up to and including the "ember-add-in-repo-tests" prefix, which leaves us with the physical path.

@zhanwang626 not sure what happened there, but I suspect when jest updates snapshots it tries to use the prettier config (which we don't have in this project yet), and used double quotes instead of single. I'll make sure I add a prettier config to resolve this.


Add two more AVD for api level 21 and 19.

Change the target to Google-Api, since gms only exist in Google-Api targets for api level 19 and older.

@ejona86, please take a look, thanks!

@madongfly LGTM


feat: add seed to reproduce simulations

In this PR, I add the possibility to set a seed, so that simulations are reproducible. Also it will allow to make more fair comparisons betweens methods of analysis.
The main sources of stochasticity that are controlled with the seed are:

The splitter
The binary perturbator

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.04 :tada:

Comparison is base (96a78d5) 97.91% compared to head (a835d90) 97.95%.

:exclamation: Current head a835d90 differs from pull request most recent head 2a316b0. Consider uploading reports for the commit 2a316b0 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #107      +/-   ##
==========================================
+ Coverage   97.91%   97.95%   +0.04%
==========================================
  Files           9        9
  Lines         576      588      +12
==========================================
+ Hits          564      576      +12
  Misses         12       12

Impacted Files
Coverage Δ

cluster_experiments/power_analysis.py
98.42% <100.00%> (+0.06%)
:arrow_up:

cluster_experiments/power_config.py
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


"force" user deletion for EUMAPI

Context
From #9789. Organization user deletion through EUMAPI fails with unregistered tables.
Steps to Reproduce

Create a table with the SQL with a non-owner organization user. Don't login with him afterwards.
Delete him with EUMAPI

Current Result
You get a error similar to this:
User couldn't be deleted: PG::Error: ERROR:  cannot drop schema juanignaciosl-ded-06-7 because other objects depend on it
DETAIL:  table "juanignaciosl-ded-06-7".wadus depends on schema juanignaciosl-ded-06-7
HINT:  Use DROP ... CASCADE to drop the dependent objects too.

Additional info
EUMAPI user deletion should support a force parameter. In that case, the users should be successfully deleted even in case of unregistered tables.

Note: nowadays, this should probably take full organization deletion into account.


Eager load - Segfault

Laravel Version: 5.4.16
PHP Version: 7.0.15
Database Driver & Version: mysql Ver 14.14 Distrib 5.7.17

Description:
Hello,
I'm receiving a SegFault when I have 2 distinct models with Eloquent relationship and eager load established by the protected array "$with"
On this example, when I get either Father or Son, Eloquent recurrently tries to fetch a relation Father -> Son -> Father -> Son until SegFault
<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Father extends Model
{
    protected $with = ['son'];

    /**
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
     */
    public function sons()
    {
        return $this->hasMany(Son::class);
    }
}

class Son extends Model
{
    protected $with = ['father'];

    /**
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function father()
    {
        return $this->belongsTo(Father::class);
    }
}

Steps To Reproduce:
$ php artisan tinker
\App\Son::create(['father_id', \App\Father::create([])->id])->get()

Because laravel will try to load the relationships infinitely since they both load each other, you need to use a different approach to avoid that.
Please continue on the forums since it's the place for such questions, we try to keep this repo for bug reporting only.

I understand what caused the issue but thought about a Pull Request in order to avoid loading repeated instances of the same model when using Eager Loading operation.
It can be easily avoided by another modeling approach, tho.

Well, feel free to open a PR then :)


Adding a new rebus - Xmen

Associated Issue: #
Summary of Changes

change 1
change 2

Pull Request Test Coverage Report for Build 1018

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 87.143%

Totals

Change from base Build 937:
0.0%

Covered Lines:
158

Relevant Lines:
180

💛  - Coveralls


regression on dependabot PR ?

Describe the bug
hello,
I'm using the app to check PRs and it was working fine for months but since today, dependabot PRs are all failing on semantic checks
https://github.com/podman-desktop/podman-desktop/pull/10483
so I'm wondering if there is a regression in latest commits ?
semantic.yml contents
enabled: true
titleAndCommits: true
allowMergeCommits: true

Sample PR Title(s) (if relevant)
chore(deps-dev): bump octokit from 4.0.2 to 4.0.3
PR is there: https://github.com/podman-desktop/podman-desktop/pull/10483
Sample Commit Message(s) (if relevant)
chore(deps-dev): bump octokit from 4.0.2 to 4.0.3
Bumps [octokit](https://github.com/octokit/octokit.js) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/octokit/octokit.js/releases)
- [Commits](https://github.com/octokit/octokit.js/compare/v4.0.2...v4.0.3)

---
updated-dependencies:
- dependency-name: octokit
  dependency-type: direct:development
  update-type: version-update:semver-patch

commit is there: https://github.com/podman-desktop/podman-desktop/pull/10483/commits

Hey @benoitf, thanks for the report!
There was indeed an issue with a recent deployment, but I rolled it back after I spotted it; the issue was around between 18:00 (UTC) on the 29th and 02:00 on the 30th
If a PR was created or edited during this time then it would've been affected; you can get the check to run again by editing the PR in some way (e.g. by changing the title of it)
Let me know if you're still seeing issues!

hello @Ezard thanks for your reply
On my end I still see the issue (I created a new PR 1 hour ago)
https://github.com/podman-desktop/podman-desktop/pull/10490
I also asked dependabot to rebase its PR few minutes ago https://github.com/podman-desktop/podman-desktop/pull/10483#issuecomment-2565507665 and it's still failing (Semantic check is a red cross)

+1 still appears to be an open issue.

Our GitHub repositories use this GitHub action are also seeing failed Semantic PR checks despite the commit and PR title following the correct format. We've had to turn off the required PR check to bypass the false-positive failures.
Is there any progress investigating/resolving this?

@benoitf @maxrake @jusiskin I've now rolled back to the last known good version - let me know if that resolves things for you
I'll leave this issue open for the moment; when I've got some new infrastructure set up for testing deployments better, would any of you be up for trialling a fixed version on your repo before it gets rolled out to the masses please?

@Ezard it worked for me now.
Thanks 👍🏼


Improve MidpointRounding docs

The enum summary should also be fixed as it currently says:

Specifies how mathematical rounding methods should process a number that is midway between two numbers.

Originally posted by @mikernet in https://github.com/dotnet/docs/issues/19314#issuecomment-850415196
In addition, there are many other improvements to make in this general area. Descriptions and examples for methods that accept a MidpointRounding parameter refer to "rounding to the nearest", but with the directed rounding modes that were added in .NET Core 3.0, it's not always "to the nearest".

I have adopted the following custom rounding enumeration in my library that I believe covers all the desired rounding modes in a clear and consice manner:
    public enum RoundingMode
    {
        // Existing modes which map directly to System.MidpointRounding:

        /// <summary>
        /// Round to nearest mode: when a number is halfway between two others, it is rounded toward the nearest even number.
        /// </summary>
        MidpointToEven,

        /// <summary>
        /// Round to nearest mode: when a number is halfway between two others, it is rounded toward the nearest number that is away from zero.
        /// </summary>
        MidpointAwayFromZero,

        /// <summary>
        /// Directed mode: the number is rounded toward zero, with the result closest to and no greater in magnitude than the infinitely precise result.
        /// </summary>
        ToZero,

        /// <summary>
        /// Directed mode: the number is rounded down, with the result closest to and no greater than the infinitely precise result.
        /// </summary>
        ToNegativeInfinity,

        /// <summary>
        /// Directed mode: the number is rounded up, with the result closest to and no less than the infinitely precise result.
        /// </summary>
        ToPositiveInfinity,

        // New modes:

        /// <summary>
        /// Directed mode: the number is rounded toward the nearest number that is away from zero.
        /// </summary>
        AwayFromZero,

        /// <summary>
        /// Round to nearest mode: when a number is halfway between two others, it is rounded toward zero, with the result closest to and no greater in
        /// magnitude than the infinitely precise result.
        /// </summary>
        MidpointToZero,

        /// <summary>
        /// Round to nearest mode: when a number is halfway between two others, it is rounded down, with the result closest to and no greater than the
        /// infinitely precise result.
        /// </summary>
        MidpointToNegativeInfinity,

        /// <summary>
        /// Round to nearest mode: when a number is halfway between two others, the number is rounded up, with the result closest to and no less than the
        /// infinitely precise result.
        /// </summary>
        MidpointToPositiveInfinity,
    }
    ```
    Perhaps the BCL could do something similar.


Getting prompted for Docker's password on vagrant up

On vagrant up, I'm seeing this:
    default: The machine you're rsyncing folders to is configured to use
    default: password-based authentication. Vagrant can't script rsync to automatically
    default: enter this password, so you'll likely be prompted for a password
    default: shortly.
    default:
    default: If you don't want to have to do this, please enable automatic
    default: key insertion using `config.ssh.insert_key`.
    default: Rsyncing folder: /git/fieldblogger_web/ => /var/lib/docker/docker_1443720491_99939
<EMAIL_ADDRESS>password:

I enabled key insertion in my VagrantFile, but it didn't seem to do the trick. Any ideas?

The username is not docker, but root, so not sure why it's asking for that password. Did you modify the Vagrantfile? It's not even using rsync.

Weird, didn't modify anything. All I did wa include the vagrant file and
dev directory and run vagrant up. Maybe there was some kind of collision,
I'll do some digging and post back.
On Thu, Oct 1, 2015 at 2:38 PM Sándor Czettner<EMAIL_ADDRESS>wrote:

The username is not docker, but root, so not sure why it's asking for that
password. Did you modify the Vagrantfile? It's not even using rsync.
—
Reply to this email directly or view it on GitHub
https://github.com/czettnersandor/vagrant-docker-lamp/issues/1#issuecomment-144857331
.

What is your version of Vagrant and Docker?
~ $ vagrant -v
Vagrant 1.7.4
~ $ docker -v
Docker version 1.8.2, build 0a8c2e3-dirty

I'm seeing exactly the same console output and request for password, using the same versions of Vagrant and Docker listed above (1.7.4 and 1.8.2)

The password it's looking for is tcuser, FWIW. Perhaps this is related to boot2docker?

Any idea why would that be? It's not happening here. We are using it on at least 5+ machines, Ubuntu, Fedora and Arch linux. Can I have more details? What operating system is it?

I'm using OSX 10.11.1. Not sure what's up, but entering that password allowed vagrant up to continue... though it currently seems to be stalled at default: => Waiting for confirmation of MySQL service startup

I'm attempting to run on OSX
On Fri, Oct 9, 2015 at 9:25 AM Sándor Czettner<EMAIL_ADDRESS>wrote:

Any idea why would that be? It's not happening here. We are using it on at
least 5+ machines, Ubuntu, Fedora and Arch linux. Can I have more details?
What operating system is it?
—
Reply to this email directly or view it on GitHub
https://github.com/czettnersandor/vagrant-docker-lamp/issues/1#issuecomment-146919511
.

Unfortunately I don't have a Mac to test with. If you find a solution for the problem, let me know or create a pull request, it will be more than welcomed.

for some inexplicable reason, "tcuser" is the valid password (just type that in at the docker password prompt and it suddenly worked for me).
I found http://stackoverflow.com/questions/31613483/vagrant-with-docker-provider-requires-rsync-password after much googling and gnashing of teeth.

Thank you, it's a great discovery. I'm looking into ways to automate this. I also found this issue with boot2docker: https://github.com/mitchellh/boot2docker-vagrant-box/issues/79 However, I'm using the config.ssh.password for something else. I'll post here if I found a solution.

Hello!
You have a new message, please read http://bookings4holiday.com/aisle.php?b
<EMAIL_ADDRESS>

Hello!
You have a new message, please read http://nattaneeclinic.com/rape.php?5mrk
<EMAIL_ADDRESS>

Hello!
You have a new message, please read http://pawlok.com.pl/swim.php?l
<EMAIL_ADDRESS>

@czettnersandor Your github account is posting spam.

wow how is that possible? I changed password anyway.

+1


Romanian full translation of auth.json

Explain your changes
Romanian full translation of auth.json
Checklist

[x] I have read the “Pull requests” section in the contributing guidelines.
[x] I agree to the terms within the code of conduct.

🛟 If you need help, consider asking for advice over in the Kinde community.

@boai1 awesome, thanks for the PR!


Design pattern: versioning

I've been thinking how to deal with model versioning. The scenario I'm looking at is saving a snapshot of the current state in local storage, so when the browser is closed and re-opened (or the app is reloaded), the previous state is automatically loaded again. All is good as long as the state layout does not change. But what happens when a snapshot is saved, I change a model class (or multiple model classes, or the entire state layout), re-deploy the app, and then the snapshot, which has the old layout, is loaded by the new state implementation? A way to migrate from one/any (old) snapshot version to the current version is needed, I think.
A couple of questions I've been asking myself:

Should models have version information (e.g. semver-style versions)?

What is the version of a parent model class when the version of one of its child model classes changes?
Would each model class implement migration code in its fromSnapshot method?

Should the root store have a version?
How and where is migration code implemented for complex layout changes?

That's why "fromSnapshot" in models are there.
E.g.
// first version
@model("...")
class M extends Model({
}) {
  _version: prop(1)
  fullName: prop<string>()
} {}

// second version
@model("...")
class M extends Model({
}) {
  _version: prop(2)
  firstName: prop<string>(),
  lastName: prop<string>()
} {
  fromJson(maybeOldSnapshot: any) {
    if (maybeOldSnapshot._version >= 2) {
      return maybeOldSnapshot // up to date
    }
    // update to latest
    return {
      _version: 2,
      firstName: maybeOldSnapshot.fullName.split(" ")[0],
      lastName: maybeOldSnapshot.fullName.split(" ")[1],
    }
  }
}

That way whenever an old snapshot is loaded with fromSnapshot it will be updated to the latest version.

I implemented some kind of persist library with built-in support for migrations for mobx-state-tree.
The idea here is to have serialize, deserialize and migrate methods in each migration.
The serialize defines how to transform data from the snapshot to JSON. The main mission of it is resolving all the references, for example, I'm storing part of the store where I'm using some reference, in serialize I'm finding the exact entity and storing it too.
The deserialize doing vise-versa.
And the migrate transforming snapshot from v1 to v2. I'm storing the last migration index in the local store. It's pretty the same thing we do on the backend side. Each migration migrate snapshot.

See #326 for the latest API related to versioning.

@xaviergonz, regarding https://github.com/xaviergonz/mobx-keystone/issues/52#issuecomment-538323617:
is there a preferred, canonical way to handle more complex scenarios?

An old model is split into multiple new models
Multiple old models are merged into one new model
Both 1 and 2 happen in same migration, multiple occurrences


Fixed memory leak issue

See #74.
Removed 'previous' field from metadata.

From my tests, this partially fixes the issue (reduces memory usage by about half), so we have some more way to go.

@hoffmansc and I will work on this.


Cleanup/postcodes

Hi Vlad,
What is this all about?
Cheers,
Adi
On Wed, Sep 9, 2020, 09:38 Chiovianu Vlad<EMAIL_ADDRESS>wrote:

@vmcvlad commented on this pull request.
In database/seeds/TownshipSeeder.php
https://github.com/laravel-enso/addresses/pull/111#discussion_r485371839
:

private function townships(Country $country): Collection
{

   return (new JsonReader($this->path(["{$country->iso_3166_3}.json"])))

       ->collection()

       ->unique(fn ($township) => $township['id']);

}

private function countries(): Collection
{

   return (new Collection(File::files($this->path())))

       ->map(fn (SplFileInfo $file) => Country::where('iso_3166_3', $file->getBasename('.json'))->first())

       ->filter();

}

private function path(array $path = []): string

@adi https://github.com/adi why does it make sense to have array here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/laravel-enso/addresses/pull/111#pullrequestreview-484700888,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACTMAFUBPX2XIOF7QZJNLE3SE4PHZANCNFSM4QX7EHSA
.

Hello Adrian,
Wrong tag :D. My sincerest apologies.
Best regards!


Aliasing table reference in cost_per_query and hourly_spend models

@NiallRees For the two models in the subject, we need to alias tables like daily_rates, 'stg_usage_in_currency_daily', stg_metering_history, stg_serverless_task_history, and stg_metering_daily_history. As the dbt CI adds the schema name as the prefix to the table name. Referencing columns from these tables breaks the object definition as they defer in the names, having an alias name should fix this.
Please refer to the screenshots:

Tried creating PR to fix this by myself but was not able to commit changes.

Looks like my PR here would fix this as well

Thanks for working on it @ernestoongaro. Do you have a steps on how did you contribute to the repo? I was strugling to setup in locally.

Think this is now resolved! Let me know if 4.6.0 doesn't fix this for you @saurasingh


versions: Update CRI-O version to 1.14.1

Now that CRI-O released a new version we can update it.
Fixes #1696
Signed-off-by: Gabriela Cervantes<EMAIL_ADDRESS>

/test

Only ARM CI not ack'ing here - seems stuck. iirc, there is no k8s on ARM?
I'm gonna merge...


[0.9.5-rc2]The datas shared with three machines in cluster are Inconsistent, "show shards" has only two onwers

I update influxdb to 0.9.5-rc2 with three machines, but the last one does not have any datas.
My output information is below:

when I want to "show measurements" ,error occurs：

My configure file is below:
[meta]
dir = "/data1/influxdb/meta"
hostname = "<IP_ADDRESS>"
bind-address = ":8088"
retention-autocreate = true
election-timeout = "1s"
heartbeat-timeout = "1s"
leader-lease-timeout = "500ms"
commit-timeout = "50ms"
cluster-tracing = false
peers = ["<IP_ADDRESS>:8088", "<IP_ADDRESS>:8088", "<IP_ADDRESS>:8088"]
[data]
dir = "/data1/influxdb/data"
max-wal-size = 104857600 # Maximum size the WAL can reach before a flush. Defaults to 100MB.
wal-flush-interval = "10m" # Maximum time data can sit in WAL before a flush.
wal-partition-flush-delay = "2s" # The delay time between each WAL partition being flushed.
These are the WAL settings for the storage engine >= 0.9.3
wal-dir = "/data1/influxdb/wal"
wal-enable-logging = true
[hinted-handoff]
enabled = true
dir = "/data1/influxdb/hh"
max-size =<PHONE_NUMBER>
max-age = "168h"
retry-rate-limit = 0
[cluster]
shard-writer-timeout = "10s" # The time within which a shard must respond to write.
write-timeout = "5s" # The time within which a write operation must complete on the cluster.
[retention]
enabled = true
check-interval = "30m"
[shard-precreation]
enabled = true
check-interval = "10m"
advance-period = "30m"
[monitor]
store-enabled = true # Whether to record statistics internally.
store-database = "_internal" # The destination database for recorded statistics
store-interval = "10s" # The interval at which to record statistics
[admin]
enabled = true
bind-address = ":8081"
https-enabled = false
https-certificate = "/etc/ssl/influxdb.pem"
[http]
enabled = true
bind-address = ":8080"
auth-enabled = false
log-enabled = true
write-tracing = false
pprof-enabled = false
https-enabled = false
https-certificate = "/etc/ssl/influxdb.pem"
[continuous_queries]
log-enabled = true
enabled = true
recompute-previous-n = 2
recompute-no-older-than = "10m"
compute-runs-per-interval = 10
compute-no-more-than = "2m"
~/influxdb/conf/influxdb.conf

I also confuse that my log shows  datas has been written into influxdb:

but nothing left in my directory, there are all dropped???

Try to set replication factor equal to number of nodes in cluster.

@guaiguaihw - what replication factor are you using for the target retention policy?
@dgnorton -- the marshaling error looks like the issue you were looking at.

closing as duplicate of https://github.com/influxdb/influxdb/issues/4550.
@guaiguaihw thanks for the report, please add any additional details to https://github.com/influxdb/influxdb/issues/4550, and if possible, copy/paste the text from the terminal rather than screenshots.


Adding missing config property

From documentation below it seems, code example missing mutationKey

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Undesired scroll behavior at lower scale ratios after device rotation

I've initialized MapState with a scale of 0f for a tile map to ensure the initial view displays the entire map. It uses the default MinimumScaleMode.Fit. After rotating the device, the tile map shifts either to the left or top, depending on whether the initial orientation was portrait or landscape, thus failing to maintain the center of the image.
I believe this shift occurs due to how SetScroll is recalculated within ZoomPanRotateState.onSizeChanged.  On larger scale ratios, the center of the image is maintained after device rotation as the code is intended. It looks as if the calculations aren't friendly for scales < 1.
https://github.com/p-lr/MapCompose/blob/dd015ac4c1e8588cd41e6edec24defb8e27c1da5/mapcompose/src/main/java/ovh/plrapps/mapcompose/ui/state/ZoomPanRotateState.kt#L538

Could you reproduce the behavior you describe in a fork of the demo app?
It will be easier to investigate.
Le ven. 8 nov. 2024, 20:08, Ryan W. @.***> a écrit :

I've initialized MapState with a scale of 0f for a tile map to ensure the
initial view displays the entire map. It uses the default
MinimumScaleMode.Fit. However, after rotating the device, the tile map
shifts either to the left or top, depending on whether the initial
orientation was portrait or landscape.
I believe this shift occurs due to how SetScroll is recalculated within
ZoomPanRotateState.onSizeChanged.
https://github.com/p-lr/MapCompose/blob/dd015ac4c1e8588cd41e6edec24defb8e27c1da5/mapcompose/src/main/java/ovh/plrapps/mapcompose/ui/state/ZoomPanRotateState.kt#L538
—
Reply to this email directly, view it on GitHub
https://github.com/p-lr/MapCompose/issues/122, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADXKCCVYJZ4NAWGSL6HLH6DZ7UD2DAVCNFSM6AAAAABRODOB3KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY2DIOJRHAZDEMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I could reproduce the issue, thanks. I'll look into this.

You were right, the problem was indeed in ZoomPanRotateState.onSizeChanged()

You were right, the problem was indeed in ZoomPanRotateState.onSizeChanged()

Thanks. When do you plan to include this commit in a new release?

The version 2.12.12 is being published.


connection with a database get all databases in the connection

I connect to a server with multiple databases. I've specified in the connection the name of the database.  Queries go to that database and work but I get the list of all databases present in that connection.  The expected result would be to see the only one database I've configured

Closing in favor of #322.

@mato777 which dialect are you using?


Dimensional Transceiver fails to power Electric Pump

The dimensional transceiver (DT) is set to receive power. When I place it next to the power connector of a Mekanism's electric pump, it won't power it. Note that the same DT can power other machines and that a power conduit or a capacitor bank can power the electric pump as expected. While I can only see this bug with Mekanism's electric pump, it may affect other machines. The special thing about this pump is that it only accepts power on a single side (rather than all 6 like most machines). It would be nice if someone can test it with another machine that only gets power on 1 side.
Addendum: looks like a DT can't power a fluidic plenisher at all.

It's likely mek's end screwing up the RF API, this wouldn't be the first time.

Can be.
I was just puzzled because both TE's energy cell and EIO's capacitor bank can power it (both using the RF api right?). Shall I open an issue at Mekanism's?

Probably the same issue as in #2538


Deploying through Github User Pages

Upon reading the create-react-app docs, I only know how to deploy via gh-pages by adding a "homepage" section in my package.json. However, that requires the domain name to be <username>.github.io/<repository_name>. I want to deploy via master, with my domain name being <username>.github.io, but Github isn't reading my /build folder correctly. My site is just showing the README.md file.
How do I force Github to look at my /build folder and display my site? I tried renaming /build to /docs which didn't work either.

There's a workaround here.

Simply change your default branch for your project to something else like real_master.
Change your deploy script to push to master branch: "deploy": "gh-pages -b master -d build".

That's all that is necessary. I just tested this a few minutes ago and it seems to be working just fine.
It would be nice if this case could be documented somewhere or even have the recommended script during build changed to this if the user is specifying a GitHub user page, instead of project page.

I'm no expert with gh-pages, but if this situation is unique as @aaronlna described I'd be open to a docs modification for this specific case.

https://github.com/facebookincubator/create-react-app/pull/3510

Since the PR is merged I believe this can be closed 🙂

Thanks @denkristoffer !


[Popover] Can't set canvas width and height

What problem does this feature solve?
const canvas = document.querySelector('.img-qrcode');
canvas.width = 230;
canvas.height = 230;
const ctx = canvas.getContext('2d');
I want to create qrcode ,but get the error:   Property 'width' does not exist on type 'Element'.
What does the proposed API look like?
<nz-popover [nzTitle]="''" [nzPlacement]="'bottom'" (nzVisibleChange)="makeQrcode($event)">
        <button class="button-deepGreen" nz-button nz-popover>扫码上传</button>
        <ng-template #nzTemplate>
          <canvas class="img-qrcode" style="width: 230px;height: 230px;background:#ffffff"></canvas>
        </ng-template>
      </nz-popover>

not related to ng-zorro, closed.


Implement methods #1

**Hi team,
I added the following:**

[ ] Create a Book class in a separate .rb file.
[ ] Create a Label class with an association to the Item class (in a separate .rb file).
[ ] All Book class properties visible in the diagram should be defined and set up in the constructor method.
[ ] All Label class properties visible in the diagram should be defined and set up in the constructor method.
[ ] Implement methods:
add_item method in the Label class
should take an instance of the Item class as an input
should add the input item to the collection of items
should add self as a property of the item object (by using the correct setter from the item object)
can_be_archived?() in the Book class
should override the method from the parent class
should return true if parent's method returns true OR if cover_state equals to "bad"
otherwise, it should return false

Thanks @tonnymuchui


QA & Cert: Duplicate RATA Check

The scope of this ticket is to address the following RATA check
QA and Certification Data Checks

[ ] RATA-106 Duplicate RATA

moved to 4650


Placing tables in a note does not work

While inside a note, when you type the "/" key and choose the option to create a table, it creates a blank box with the options of search for element, display mode, options such as grouping and sorting, but you cannot see the table nor write on it.
Also when in read-only mode the note only appears "![![test folder/#^Table2]]"
Editing mode:

Reading mode:

Thanks for reporting this, these issues are being addressed very soon

Fixed in latest patch


Robot Name - Iteration 2

Should I generally be making a new branch when I submit iteration 2? Or just keep committing on the same branch I did the first iteration?

@cstavitsky Yes, you can keep committing on the same branch as the first iteration.

@cstavitsky Nice overall work on this! Take a look at my comments and please submit a final iteration. Good progress on this.


[SPARK-15532] [SQL] Add SQLConf.ALLOW_MULTIPLE_CONTEXTS back and make the error message configurable

What changes were proposed in this pull request?
This PR adds spark.sql.allowMultipleContexts back and removes isRootContext.
How was this patch tested?
MultiSQLContextsSuite

Test build #59309 has started for PR 13310 at commit 313e59f.

Test build #59309 has finished for PR 13310 at commit 313e59f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59309/
Test FAILed.

Test build #59325 has started for PR 13310 at commit 16918fb.

oh, some ml tests failed. Let me take a look.

Test build #59325 has finished for PR 13310 at commit 16918fb.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59325/
Test FAILed.

Test build #59330 has started for PR 13310 at commit bed21b0.

Test build #59330 has finished for PR 13310 at commit bed21b0.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59330/
Test FAILed.

Test build #59333 has started for PR 13310 at commit f40a898.

Test build #59333 has finished for PR 13310 at commit f40a898.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59333/
Test PASSed.

Test build #59419 has started for PR 13310 at commit 89fac81.

LGTM pending tests.

Test build #59419 has finished for PR 13310 at commit 89fac81.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59419/
Test PASSed.

Merging to master and branch 2.0.


fix(ci): use correct junit name in the artifact upload

What does this PR do?
Name for the junit tarball was recently changed (#24693), adapt the name in the artifacs command

Motivation
Set the junit files as available for investigation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


39 fix small bug in preprocessing pipeline closes #39

Included a parameter for the population file in the submission config for the preprocessing pipeline. Updated the tutorial accordingly.

@geoffwoollard @DavidHerreros
For some reason the test is only failing for 3.8 and 3.10, but the error the tests give me is a "key error". Not really sure why this is happening. I am also running the tests locally and they run fine.

It seems like the submission config file is different for different python versions

It was the cache, everything is fine now. I will remove some things I added to debug and push again.

It was the cache, everything is fine now. I will remove some things I added to debug and push again.

That's really good to know for debugging - in case this comes up again.

In the notebook this wording is a bit confusing to me "keep this if you want to revert anonymity."

I suggest you commit the notebook with a plot shown for the projected volumes.


Backend updates to case formatting and to the Anime guide

Pull request
Purpose
Update Sonarr area with standard naming convention as per guidelines and updates to the CF Sonarr Anime guide
Updated redirects with new formatting and all md files and links in md files
Open Questions and Pre-Merge TODOs
Check all boxes as they are completed

[x] Use github checklists. When solved, check the box and explain the answer.

Learning
If you're adding a new Custom Format make sure you follow the Radarr/Sonarr Custom Format (JSON) Guidelines.
Requirements
Check all boxes as they are completed

[x] These changes meet the standards for contributing.
[x] I have read the code of conduct.

We can't merge this before we have some more info that i've reported here https://github.com/mkdocs/mkdocs-redirects/issues/43


Two-tier approach to overcome GitHub permission restriction

Using a two-tier approach to overcome GitHub permission restriction on pull requested-based runs.
The caller_virtual_hardware.yml is triggered by PRs (with limited permission if forked), it collects PR number to be passed to the called virtual_hardware.yml (this run has full permissions, e.g. to assume-role and consume secrets).
The Arm Virtual Hardware workflow will feedback on its status to the PR with a "Arm Virtual Hardware" check name.
Caveat: The virtual_hardware.yml code is, by GH design, run from the base branch, not from the PR. So, changes on integration-test.yml file only take effect when merged to the base branch (e.g. main)

My expectation is that the PRs from Fork's will come to add additional:
a) applications
b) board layers
Is this covered?

My expectation is that the PRs from Fork's will come to add additional: a) applications b) board layers Is this covered?

As long as the additionals are covered/run/compiled/tested by the demo project:
https://github.com/Open-CMSIS-Pack/AWS_MQTT_MutualAuth_SW_Framework/blob/main/avh.yml


selectedRanges for TablePlugins do not update when selection is changed

Description
If you create a TablePlugin that listens to selectedRange, it does not update reactively and is just []. Also, panel is no longer passed through. See https://github.com/deephaven/web-client-ui/pull/2181/files which added these props back, but didn't add panel back.
By just passing through this.irisGrid.current?.state.selectedRanges, it's not re-rendering the plugin when the selected ranges is actually changed: https://github.com/deephaven/web-client-ui/blob/b5522828a3bc812e7e83440b6d52257a131ce1d2/packages/dashboard-core-plugins/src/panels/IrisGridPanel.tsx#L442

@mofojed @vbabich It's blocking us from upgrading to DH 0.37? do you have any guidance here, either on timelines or on proposed implementation?

@ilyaberdnikov I've opened a PR to fix the issue with panel not being passed through: https://github.com/deephaven/web-client-ui/pull/2308
For selectedRanges not updating, we'll be baking that functionality into ui.table soon: https://github.com/deephaven/deephaven-plugins/issues/822
I'll see if we can also hotfix it for these table plugins to update correctly. I don't believe it was a regression of existing behaviour.


Error: Assertion failed: Did not find press (phet-io pan/zoom)

While working on https://github.com/phetsims/scenery/issues/1048 and https://github.com/phetsims/scenery/issues/1119
Steps to reproduce:

Gravity Force lab in studio
Zoom in to the reset all button
Press launch
Bug number 1: the zoom isn't on the reset all button
When I drag around a bit with the mouse I get the following error:

Uncaught Error: Assertion failed: Did not find press
    at window.assertions.assertFunction (assert.js:25)
    at AnimatedPanZoomListener.findPress (MultiListener.js:235)
    at Object.move (MultiListener.js:198)
    at Input.dispatchToListeners (Input.js:1822)
    at Input.dispatchEvent (Input.js:1776)
    at Input.branchChangeEvents (Input.js:1678)
    at Input.moveEvent (Input.js:1613)
    at Input.mouseMoveAction.Action.phetioPlayback (Input.js:312)
    at Action.execute (Action.js:225)
    at Input.mouseMove (Input.js:1122)

Thanks, also from https://github.com/phetsims/phet-io/issues/1705 - I think something is missing in the instrumentation.

Let me know if I can help.

OK I think I have a potential solution to this using stateSetEmitter after discussing with @zepumph. Here is the patch

Index: js/listeners/PanZoomListener.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- js/listeners/PanZoomListener.js	(revision<PHONE_NUMBER>df0414d77805e18cd7cefdf9c0b73f)
+++ js/listeners/PanZoomListener.js	(date<PHONE_NUMBER>649)
@@ -8,8 +8,12 @@
  * @author Jesse Greenberg (PhET Interactive Simulations)
  */

+import Property from '../../../axon/js/Property.js';
 import Bounds2 from '../../../dot/js/Bounds2.js';
+import Matrix3 from '../../../dot/js/Matrix3.js';
 import merge from '../../../phet-core/js/merge.js';
+import ModelViewTransform2 from '../../../phetcommon/js/view/ModelViewTransform2.js';
+import Tandem from '../../../tandem/js/Tandem.js';
 import scenery from '../scenery.js';
 import MultiListener from './MultiListener.js';

@@ -49,6 +53,26 @@
     this._panBounds = options.panBounds;
     this._targetBounds = options.targetBounds || targetNode.globalBounds.copy();

+    // @public {Property.<Bounds2>} - For PhET-iO stateSetEmitter below. The pan bounds of the source
+    // so if the destination bounds are different due to a differently sized iframe or window,
+    // this can be used to determine a correction for the destination targetNode transform.
+    this.sourcePanBoundsProperty = new Property( this._panBounds, {
+      tandem: options.tandem.createTandem( 'sourceBoundsProperty' ),
+      phetioType: Property.PropertyIO( Bounds2.Bounds2IO )
+    } );
+
+    Tandem.PHET_IO_ENABLED && phet.phetio.phetioEngine.phetioStateEngine.stateSetEmitter.addListener( ( state, scopeTandem ) => {
+
+      // The matrixProperty has transformations relative to the global view coordinates of the source simulation,
+      // so it will not be correct if source and destination frames are different sizes. This will map transforamtions
+      // if destination frame has different size.
+      const sourceDestinationTransform = ModelViewTransform2.createRectangleMapping( this.sourcePanBoundsProperty.get(), this._panBounds );
+
+      const newTranslation = this._targetNode.matrix.translation.componentMultiply( sourceDestinationTransform.matrix.getScaleVector() );
+      const scale = this.matrixProperty.get().getScaleVector();
+      this._targetNode.matrix = Matrix3.translationFromVector( newTranslation ).timesMatrix( Matrix3.scaling( scale.x, scale.y ) );
+    } );
+
     // @protected {number}
     this._targetScale = options.targetScale;
   }
@@ -130,6 +154,7 @@
    */
   setPanBounds( panBounds ) {
     this._panBounds = panBounds;
+    this.sourcePanBoundsProperty.set( this._panBounds );
     this.correctReposition();
   }

This creates a mapping that will correct the transformation when going from source window to destination window if they are of different sizes. This is mostly correct but have a couple of questions.

matrixProperty no longer describes the transformation matrix of the targetNode in the downstream sim. Is that problematic?
There is still some weirdness after the correction because of Sim layout. For example, consider the following where the downstream sim is scaled way  down due to aspect ratio, but the navigation bar buttons extend the full width of the screen.

If I zoom into the PhetButton, the mapping works well. But notice how the simulation components do not match because the map goes from source bounds -> destination bounds rather than source ScreenView bounds -> destination ScreenView bounds.

I believe that this behavior is correct, but could be strange because the downstream sim doesn't display what you are zoomed in on in the upstream sim. Honestly, this complexity makes me question whether zoom should be in state. Can we convey the transformation matrix in state for the API but not have it carry over to set state of new sim in state wrapper or on launch?

matrixProperty no longer describes the transformation matrix of the targetNode in the downstream sim. Is that problematic?

Isn't it better though, because the matrix now holds that actual coordinates, taking into consideration the targetScale etc, so that when you transform a global point using it, we won't have the small differences (that looked like rounding problems) that we did last time?

Dicussing with @zepumph he recommended a way to do this without using stateSetEmitter, in this patch:

Index: js/listeners/PanZoomListener.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- js/listeners/PanZoomListener.js	(revision<PHONE_NUMBER>df0414d77805e18cd7cefdf9c0b73f)
+++ js/listeners/PanZoomListener.js	(date<PHONE_NUMBER>596)
@@ -8,8 +8,12 @@
  * @author Jesse Greenberg (PhET Interactive Simulations)
  */

+import Property from '../../../axon/js/Property.js';
 import Bounds2 from '../../../dot/js/Bounds2.js';
+import Matrix3 from '../../../dot/js/Matrix3.js';
 import merge from '../../../phet-core/js/merge.js';
+import ModelViewTransform2 from '../../../phetcommon/js/view/ModelViewTransform2.js';
+import Tandem from '../../../tandem/js/Tandem.js';
 import scenery from '../scenery.js';
 import MultiListener from './MultiListener.js';

@@ -49,6 +53,32 @@
     this._panBounds = options.panBounds;
     this._targetBounds = options.targetBounds || targetNode.globalBounds.copy();

+    // @public {Property.<Bounds2>} - For PhET-iO stateSetEmitter below. The pan bounds of the source
+    // so if the destination bounds are different due to a differently sized iframe or window,
+    // this can be used to determine a correction for the destination targetNode transform.
+    this.sourcePanBoundsProperty = new Property( this._panBounds, {
+      tandem: options.tandem.createTandem( 'sourceBoundsProperty' ),
+      phetioType: Property.PropertyIO( Bounds2.Bounds2IO )
+    } );
+
+    this.sourcePanBoundsProperty.lazyLink( () => {
+      if ( ( _.hasIn( window, 'phet.joist.sim' ) && phet.joist.sim.isSettingPhetioStateProperty.value ) ) {
+
+        // The matrixProperty has transformations relative to the global view coordinates of the source simulation,
+        // so it will not be correct if source and destination frames are different sizes. This will map transforamtions
+        // if destination frame has different size.
+        const sourceDestinationTransform = ModelViewTransform2.createRectangleMapping( this.sourcePanBoundsProperty.get(), this._panBounds );
+
+        const newTranslation = this._targetNode.matrix.translation.componentMultiply( sourceDestinationTransform.matrix.getScaleVector() );
+        const scale = this.matrixProperty.get().getScaleVector();
+        this._targetNode.matrix = Matrix3.translationFromVector( newTranslation ).timesMatrix( Matrix3.scaling( scale.x, scale.y ) );
+
+        assert && assert( this._targetNode );
+      }
+    }, {
+      phetioDependencies: [ this.matrixProperty ]
+    } );
+
     // @protected {number}
     this._targetScale = options.targetScale;
   }
@@ -130,6 +160,7 @@
    */
   setPanBounds( panBounds ) {
     this._panBounds = panBounds;
+    this.sourcePanBoundsProperty.set( this._panBounds );
     this.correctReposition();
   }

Yestereday @zepumph and I also worked on a modified implementation of PanZoomListener that did not instrument the matrixProperty, but created a "model" for the bounds of the targetNode that are displayed within the panBounds, with an instrumented Property for this that can be used in the downstream sim so that it doesn't need to know the bounds of the upstream sim. This is a pretty big improvement over https://github.com/phetsims/scenery/issues/1120#issuecomment-741063044 in terms of PhET-iO, but is also a cool abstraction that I would like to see working. We got pretty far with it, but I cannot spend more time on it now unfortunately. I am going to create a new issue to explore this soon. Here is the patch:

Index: js/listeners/AnimatedPanZoomListener.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- js/listeners/AnimatedPanZoomListener.js	(revision<PHONE_NUMBER>df0414d77805e18cd7cefdf9c0b73f)
+++ js/listeners/AnimatedPanZoomListener.js	(date<PHONE_NUMBER>469)
@@ -628,6 +628,7 @@

     this.sourcePosition = this._transformedPanBounds.center;
     this.sourceScale = this.getCurrentScale();
+    console.log( 'setting source scale' );
   }

   /**
@@ -782,7 +783,8 @@
         // after applying the scale, the source position has changed, update destination to match
         this.setDestinationPosition( this.sourcePosition );
       }
-      else if ( this.destinationScale !== this.sourceScale ) {
+      else if ( this.destinationScale !== this.sourceScale && this.scaleGestureTargetPosition ) {
+        assert && assert( this.scaleGestureTargetPosition, 'TODO: scaleGestureTargetPosition required' );

         // not far enough to animate but close enough that we can set destination equal to source to avoid further
         // animation steps
@@ -869,6 +871,7 @@
    * @param {number} scale
    */
   setDestinationScale( scale ) {
+    console.log( 'setting destination scale' );
     this.destinationScale = this.limitScale( scale );
   }

Index: js/listeners/PanZoomListener.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- js/listeners/PanZoomListener.js	(revision<PHONE_NUMBER>df0414d77805e18cd7cefdf9c0b73f)
+++ js/listeners/PanZoomListener.js	(date<PHONE_NUMBER>478)
@@ -8,8 +8,10 @@
  * @author Jesse Greenberg (PhET Interactive Simulations)
  */

+import Property from '../../../axon/js/Property.js';
 import Bounds2 from '../../../dot/js/Bounds2.js';
 import merge from '../../../phet-core/js/merge.js';
+import ModelViewTransform2 from '../../../phetcommon/js/view/ModelViewTransform2.js';
 import scenery from '../scenery.js';
 import MultiListener from './MultiListener.js';

@@ -49,6 +51,31 @@
     this._panBounds = options.panBounds;
     this._targetBounds = options.targetBounds || targetNode.globalBounds.copy();

+    // @protected {Bounds2} - Noramlized model bounds representing the full area
+    // within the pan bounds. The pan bounds in model coordinates extend from (0, 0)
+    // to (1,1).
+    this.modelBounds = new Bounds2( 0, 0, 1, 1 );
+
+    // @protected {ModelViewTransform2} - The transform from model coordinates to view
+    // coordinates, specifically this.modelBounds -> this._panBounds
+    this.modelViewTransform = ModelViewTransform2.createIdentity();
+
+    // @protected {Property.<Bounds2>} - The bounds of the targetNode that is displayed within
+    // this._panBounds, in model coordinates.
+    this.transformedModelBoundsProperty = new Property( this.modelBounds, {
+      tandem: options.tandem.createTandem( 'transformedModelBoundsProperty' ),
+      phetioType: Property.PropertyIO( Bounds2.Bounds2IO )
+    } );
+
+    // when the transformedModelBoundsChange, determine the matrix to apply to the targetNode
+    this.transformedModelBoundsProperty.lazyLink( modelBounds => {
+      if ( this._panBounds.isFinite() && this._transformedPanBounds.isFinite() ) {
+        const viewBounds = this.modelViewTransform.modelToViewBounds( modelBounds );
+        const transform = ModelViewTransform2.createRectangleMapping( this._panBounds, viewBounds );
+        this._targetNode.matrix = transform.matrix.inverted().copy();
+      }
+    } );
+
     // @protected {number}
     this._targetScale = options.targetScale;
   }
@@ -78,10 +105,10 @@
       this._targetNode.bottom = this._panBounds.bottom + ( this._targetNode.bottom - transformedBounds.bottom );
     }

-    // update Property with matrix once position has been corrected, using notifyListenersStatic
-    // to avoid creating a new Matrix3 instance
-    this.matrixProperty.set( this._targetNode.matrix );
-    this.matrixProperty.notifyListenersStatic();
+    // the bounds of the targetNode that are visible relative to the global view bounds in model coordinates
+    const scratchViewBounds = this._panBounds.copy();
+    scratchViewBounds.transform( this._targetNode.matrix.inverted() );
+    this.transformedModelBoundsProperty.value = this.modelViewTransform.viewToModelBounds( scratchViewBounds );
   }

   /**
@@ -117,7 +144,7 @@
    * @override
    */
   resetTransform() {
-    MultiListener.prototype.resetTransform.call( this );
+    super.resetTransform();
     this.correctReposition();
   }

@@ -130,6 +157,7 @@
    */
   setPanBounds( panBounds ) {
     this._panBounds = panBounds;
+    this.modelViewTransform = ModelViewTransform2.createRectangleMapping( this.modelBounds, this._panBounds );
     this.correctReposition();
   }

Index: js/listeners/MultiListener.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- js/listeners/MultiListener.js	(revision<PHONE_NUMBER>df0414d77805e18cd7cefdf9c0b73f)
+++ js/listeners/MultiListener.js	(date<PHONE_NUMBER>333)
@@ -110,18 +110,6 @@
     // other Pointer listeners are interrupted in these cases.
     this._backgroundPresses = [];

-    // @protected {Property.<Matrix3>} - The matrix applied to the targetNode in response to various
-    // input for the MultiListener
-    this.matrixProperty = new Property( targetNode.matrix.copy(), {
-      phetioType: Property.PropertyIO( Matrix3.Matrix3IO ),
-      tandem: options.tandem.createTandem( 'matrixProperty' )
-    } );
-
-    // assign the matrix to the targetNode whenever it changes
-    this.matrixProperty.link( matrix => {
-      this._targetNode.matrix = matrix;
-    } );
-
     // @private - attached to the Pointer when a Press is added
     this._pressListener = {
       move: event => {
@@ -486,7 +474,7 @@
     sceneryLog && sceneryLog.InputListener && sceneryLog.InputListener( 'MultiListener reposition' );
     sceneryLog && sceneryLog.InputListener && sceneryLog.push();

-    this.matrixProperty.set( this.computeMatrix() );
+    this._targetNode.matrix = this.computeMatrix();

     sceneryLog && sceneryLog.InputListener && sceneryLog.pop();
   }
@@ -737,7 +725,6 @@
    */
   resetTransform() {
     this._targetNode.resetTransform();
-    this.matrixProperty.set( this._targetNode.matrix.copy() );
   }
 }

Mostly, this isn't working with AnimatedPanZoomListener. I think to get it working in full, we need the changes from various input in that class to make changes in model coordinates. That way the matrix for the targetNode can be set only in response to changes to transformedModelPanBoundsProperty.
I am going to clean up https://github.com/phetsims/scenery/issues/1120#issuecomment-741063044 now to remove the blocking-publication label.

Commit made above and it is working for me in state wrapper and sim launched from studio. @zepumph can you please review the change? Can we make sourceFramePanBoundsProperty private or something so it is stateful but doesn't show up in studio? Is there anything else that is blocking for this issue?

Back to me, #1123 popped up after this.

#1123 is closed, back to @zepumph for https://github.com/phetsims/scenery/issues/1120#issuecomment-742105839

Mostly, this isn't working with AnimatedPanZoomListener. I think to get it working in full, we need the changes from various input in that class to make changes in model coordinates. That way the matrix for the targetNode can be set only in response to changes to transformedModelPanBoundsProperty.

Dang, I'm sorry it didn't work out. Thanks for diving in with me though.
Your commit looks good, I just updated doc. Anything else here?

I don't think so, thanks @zepumph. Closing this issue.


Bridge: Show SLO goals (pass/warn) in heatmap

The Heatmap currently only displays the overall score of a run and changes the color to red in case of a failed build. What we dont show is the actual SLO pass & warn threshold, e.g: 90%pass and 50% warning. The heatmap should visualize that threshold

I would propose to implement like this:

More details about implementing this feature are provided here: https://github.com/keptn/keptn/issues/2305

This will be implemented by #2305


mount: make rename fall back to copy then delete (was unable to move files in mounted hubic)

I mounted a hubic remote target and tried to move a file:
$ mv blub bla
mv: cannot move 'blub' to 'bla': Input/output error

My rclone command (rclone mount -vv hubic_open:default ~/mnt/) displayed the following error:
2018/01/07 20:06:10 DEBUG : /: Lookup: name="bla"
2018/01/07 20:06:10 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2018/01/07 20:06:10 DEBUG : /: Lookup: name="blub"
2018/01/07 20:06:10 DEBUG : /: >Lookup: node=blub, err=<nil>
2018/01/07 20:06:10 DEBUG : blub: Attr:
2018/01/07 20:06:10 DEBUG : blub: >Attr: a=valid=1m0s ino=0 size=4 mode=-rw-r--r--, err=<nil>
2018/01/07 20:06:10 DEBUG : /: Lookup: name="bla"
2018/01/07 20:06:10 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2018/01/07 20:06:10 DEBUG : /: Lookup: name="bla"
2018/01/07 20:06:10 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2018/01/07 20:06:10 DEBUG : /: Rename: oldName="blub", newName="bla", newDir=/
2018/01/07 20:06:10 ERROR : blub: Dir.Rename error: Fs "Hubic Swift container default" can't rename files (no Move)
2018/01/07 20:06:10 DEBUG : /: >Rename: err=Fs "Hubic Swift container default" can't rename files (no Move)

I am using rclone v1.37 on Debian 9.2 amd64. This limitation is not mentioned in the online documentation. Renaming inside mounts works using Dropbox.
Having this feature on hubic would be very useful to me. I am actually trying to rename inside an encrypted  storage based on the hubic target, so renaming using the webinterface is very hard.

I hope this someday. I'm using the Rstudio server on the mounted Swift device, but Rstudio cannot save the working image, that works with the rename.

I have attempted to fix this here
https://beta.rclone.org/branch/v1.43-096-ga9fc86f5-fix-2569-mount-move-beta/ (uploaded in 15-30 mins)
Feedback welcome :-)

I've merged this fix to master now, it will be in the latest beta in 15-30 mins an in v1.44.


"Give Control" missing in new version of teams

"Give Control" missing in new version of teams

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

ID: 442f8c6b-95ba-a09e-639d-b9dd141198f6
Version Independent ID: 442f8c6b-95ba-a09e-639d-b9dd141198f6
Content: Known issues in the new Microsoft Teams desktop client - Microsoft Teams
Content Source: Teams/new-teams-known-issues.md
Service: msteams
GitHub Login: @JoanneHendrickson
Microsoft Alias: jhendr

Hello @JarrodGross
I do see it and use it in new teams.
Please let me know if I understood you correctly,

Hello, my team of 6 instructors did not have this feature last week but when we came to the office this week it was back.
Not sure if this is something done by Microsoft or my Tenant-Admin.
OK to mark this as resolved. Thank you
From: Andres Mariano Gorzelany @.>
Sent: Tuesday, November 7, 2023 9:08 AM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness @.>
Cc: Jarrod Gross @.>; Mention @.>
Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] "Give Control" missing in new version of teams (Issue #10562)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hello @JarrodGrosshttps://github.com/JarrodGross
I do see it and use it in new teams.
Please let me know if I understood you correctly,

Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/10562#issuecomment-1798594557, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDWILXXB7M6YR4MUWREKZOTYDI6DBAVCNFSM6AAAAAA63MMNP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJYGU4TINJVG4.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>
One Call (including its affiliates and subsidiaries) is not a healthcare or transportation provider, but instead schedules and coordinates such services on behalf of its clients through a proprietary network of independently contracted licensed practitioners, healthcare provider groups and vendors (collectively, "Network Providers"). Network Providers are solely responsible for all of their actions, omissions and decisions regarding the services they provide. One Call is not a claims administrator and does not make determinations regarding coverage and compensability of services rendered by Network Providers. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email in error, please notify the sender immediately by a "reply to sender only" message and destroy the original message and all copies.


Break datafusion crate into smaller crates

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
a new feature: to break datafusion crate into separate smaller crates.
It helps with code management and dependency reasoning
Describe the solution you'd like

[x] #1752

[x] #1751
[x] #1758
[x] #1760

[x] #1753

[x] #1759
[x] #1761
[ ] #1763
[ ] #1764
[ ] #1765
[ ] 9 - move udf and udaf functions to datafusion-expr
[ ] #1774
[ ] #1762

[ ] #1772

[ ] file format
[ ] listing and object store

[ ] #1755

[ ] move logical plan builder
[ ] move logical plan structs
[ ] move move optimizers

[ ] #1754

[ ] move physical planner
[ ] move execution exprs
[ ] move physical plan optimizer

[ ] split datafusion-execution sub-module

[ ] move memory and disk manager
[ ] move stats collection

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

cc @alamb @houqp @Dandandan what do you think?

I like this idea @Jimexist  👍  There is some related commentary / information here: https://github.com/apache/arrow-datafusion/issues/348 as well
Some other crates that might be useful to consider;

datafusion_core (DataFusionError, DFSchema, etc)
datafusion_datasource (the built in parquet, avro, csv and json readers and supporting logic)

This will be helpful for use cases where users are looking to use DataFusion in a similar fashion to Calcite, for query parsing and planning, but not for execution. I like this idea.

Thank you @Jimexist for taking on this! I think this is the right path forward.
cc @jorgecarleitao and @yjshen since they have proposed the similar ideas before.

Hi @Jimexist, is it possible to make a exclusive crate for the data source so that it will be easy for the integration of the different kinds of remote object store?

Thanks @Jimexist

my current plan is to finish items for:

datafusion-common
datafusion-expr

before release 7:

#1587

and finish the rest after the release, to cap the amount of changes in a release

@Jimexist could this lead to a smaller ballista client crate as well ? Potentially, this could greatly speed up compilation of programs who just want to be datafusion clients and not run the entire stack.

Contributor

i'm not sure as of now - but probably if we split up logical/physical planning further - but that won't happen soon

Related comment: https://github.com/apache/arrow-datafusion/pull/1762#discussion_r802563462

i wanted to continue iterating on this split but obviously i didn't have time to keep up. a lot has happened in the last few months. i wonder if this is still relevant or it shall be closed now. @alamb and @andygrove any suggestions?

@Jimexist welcome back!
I would say that the main "break datafusion into smaller crates" has been completed. There are still some items in the description of this ticket that might not be done - I would personally recommend filing a new issue with any items that you think would still be good to work on and then closing this one.

Closing this ticket and we can track further splitting in follow on issues. Again 👏

I am thinking of trying to push us to the next level here https://github.com/apache/arrow-datafusion/issues/4181


there is not command 'apt' in centos steam9

the last step:"# Build harbor arm image:
make build GOBUILDTAGS="include_oss include_gcs" BUILDBIN=true NOTARYFLAG=true TRIVYFLAG=true CHARTFLAG=true GEN_TLS=true PULL_BASE_FROM_DOCKERHUB=false"
it will use command 'apt' to install somethings, but my arm os is centos steam9,how to fix it?

" >>>     && apt-get install -y --no-install-recommends python-yaml=3.12-1"
the console output these message.And it is the error cause   centos steam9 has no "apt" command


⚠ Fortnite has degraded performance

In 759fa3d, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1633 ms

Resolved: Fortnite performance has improved in 9cc00f7.


Scrolling problem

when i am set the visibility gone by default and visible view bye programmatically and enter the values ..
view scroll on the top automatically ... delete the input come back to position ..

you can put android:singleLine="true"


Cleanup NetBeans license header for module spring.beans

Review and cleanup the license header in spring.beans
Oracle donated NetBeans to the Apache Software Foundation.
Your task now is to replace the old license header that has Oracle (and/or Sun Microsystems
and/or NetBeans) in it with the standard Apache Software Foundation license header.
For an empty file that supports headers you must add the Apache license header.
Note that you have to use the proper license header for Java, .properties or HTML files.
Look at the nearby files for templates and copy-paste the license header.
When done commit the changes with a commit message that starts with first line
"[NETBEANS-54] Module Review " and a message body describing your review.
See a longer explanation about what we are doing here: https://cwiki.apache.org/confluence/display/NETBEANS/List+of+Modules+to+Review
Please announce in a comment when you have started work.
Files that need to be looked at in spring.beans:
spring.beans/src/org/netbeans/modules/spring/beans/resources/templates/springXMLConfig.template
spring.beans/src/org/netbeans/modules/spring/beans/ui/customizer/Bundle.properties

I'm going to work on this issue.


Drop vendoring of helloworld image

As per title. This image is unused.
/assign @jmprusi @davidor

/lgtm


Issue: <Please write a comprehensive title after the 'Issue: ' prefix>

Issue you'd like to raise.
llm = ChatOpenAI(
    openai_api_key= os.environ["OPENAI_API_KEY"],
    temperature=0,
    streaming=True,
    callbacks=[AsyncIteratorCallbackHandler()]
)
embeddings = OpenAIEmbeddings()

loader = TextLoader("static/faq/ecommerce_faq.txt")
documents = loader.load()
text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
texts = text_splitter.split_documents(documents)

docsearch = Chroma.from_documents(texts, embeddings)

faq_chain = RetrievalQA.from_chain_type(
    llm,
    chain_type="stuff",
    retriever=docsearch.as_retriever(),
)

async def call_openai(question):

    callback = AsyncIteratorCallbackHandler()

    # coroutine = wait_done(model.agenerate(messages=[[HumanMessage(content=question)]]), callback.done)

    coroutine = wait_done(faq_chain.arun(question), callback.done)

    task = asyncio.create_task(coroutine)

    async for token in callback.aiter():
        print('token', token)
        yield f"data: {token}\n\n"

    await task

app = FastAPI()

@app.get("/")
async def homepage():
    return FileResponse('static/index.html')

@app.post("/ask")
def ask(body: dict):
    return StreamingResponse(call_openai(body['question']), media_type="text/event-stream")

if __name__ == "__main__":
   uvicorn.run(host="<IP_ADDRESS>", port=8888, app=app)

I can run it normally using model.agenerate, but it cannot run after using faq_chain.arun. what is the reason for this?
Suggestion:
No response

I know the reason. I have to define callbacks twice. They should share one callback.


Additional functionality for offsets in index expressions #6

This introduces additional capabilities for handling multiple different offsets for RHS index expressions as well as a modified convention for un-allocated negative indices.

I would be happy to add documentation and tests.

Actually, I think this convention for determining the allocation size is still not quite clean, let me think about it a little more.

Documentation for the offsets would be greatly appreciated!

Actually, I think this convention for determining the allocation size is still not quite clean

Yes, I agree. Cross-referencing from your examples in https://github.com/ahwillia/Einsum.jl/issues/6#issuecomment-245061487
I think I would prefer:
X = randn(10)

@einsum A[i] := X[i-5]
@test size(A) == (5,)
@test all(A .== X[6:end])

Does that make sense? Thanks so much for catching my oversights!

Hey Alex, that would be an option but then there would be a marked difference between the behavior of a pre-allocated array (in which case I don't think we should shift the LHS indices) and a non-pre-allocated array.
I think the simplest thing may just be to not allow any offset indices in combination with :=, i.e., non-pre-allocated expressions. What do you think?

What are the desired rules for pre-allocated arrays?
B = collect(1:10)

# produce errors?
A = zeros(5)
@einsum A[i] = B[i+5]
@einsum A[i] = B[i-5]

# legal?
A = zeros(10)
@einsum A[i] = B[i+5]
A == [6, 7, 8, 9, 10, 0, 0, 0, 0, 0]

A = zeros(10)
@einsum A[i] = B[i-5]
A == [0, 0, 0, 0, 0, 1, 2, 3, 4, 5]

If this is the case, then I guess it would make sense to allocate A to be the size of B in all these cases and the behavior would be consistent.
Side note. This is silly, but would be kind of cool to support this:
B = collect(1:10)
A = zeros(10)
@einsum A[i] = B[i>>5]
A == [6, 7, 8, 9, 10, 1, 2, 3, 4, 5]

@einsum A[i] = B[i<<2]
A == [3, 4, 5, 6, 7, 8, 9, 10, 1, 2]

In case someone is watching this: index shifts of the form @einsum A[i] := X[i+:offset] seem to be broken on Julia 1.0. This feature never made it into the readme but was in the tests... and in #29 I commented these out. It should still work as before on 0.6, but someone who needs this would have to fix it on 1.0.


Overrides for 1.0.4 compatible mods

Chatterer
CollisionFX
DMagicOrbitalScience
InfernalRobotics-Sequencer
IR-Model-Rework-Core
IR-Model-Rework-Expansion
MissionController2
PlanetShine-Config-Default
PlanetShine
PortableScienceContainer
RCSBuildAid
RoutineMissionManager
SAVE

Reverted RCSBuildAid.netkan to its original state (forgot it doesn't work with m4v's github)

Chatterer has been marked as 1.0.4 compatible on KS. I did the PlanetShine changes in another PR which makes this one fail to merge.

I didn't see PlanetShine was updated because you merged yours after I submitted my PR. My predictive skills have failed me.

I'd rather just not deal with this, I have no idea how to undo the specific PlanetShine changes to have this not fail.

You can just replace them with the current version of the files.

I'd rather just not deal with this. Thanks for the info though.


Typings

This PR adds typescript typings and closes #78
Please pay particular attention to packages/storybook/index.d.ts
This PR also incidentally adds .js to some relative imports in semantic-dom-diff, in anticipation of some future where bare and url specifiers can coexist. I though it was a minor enough change to include, if deemed out of scope i'll rebase.

oups - sorry I pressed the "Update branch" button and it merged the master in... while I was expecting a rebase 🙈

I'm happy to merge now and deal with things later.

agreed 👍 - merged 🎉
ci will release it in a couple of minutes 🤗


[BUG] When launching roblox from Bloxstrap, it freezes onto white screen

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?

Basically when I add a mod or change anything on bloxstrap and then launch roblox from it, it freezes onto a white screen.

Well, nothing but its won't  install after I put on run on multiple clients. Then i turn it off again and nothing

There doesn't really seem to be a correlation here. Can you check right now to see if this happens with the standard launcher? https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap

Issue has been awaiting clarification for over a month, closing as stale. If you have anything further to add, just respond and I'll reopen.


Excon::Errors::SocketError: EOFError while using a proxy

After "fixing" #96 I get a step further, however I get another error:

Excon::Errors::SocketError: EOFError
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/openssl/buffering.rb:133:in `readline'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/excon-0.9.2/lib/excon/ssl_socket.rb:56:in `initialize'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/excon-0.9.2/lib/excon/connection.rb:282:in `new'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/excon-0.9.2/lib/excon/connection.rb:282:in `socket'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/excon-0.9.2/lib/excon/connection.rb:145:in `request_kernel'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/excon-0.9.2/lib/excon/connection.rb:89:in `request'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/core/connection.rb:20:in `request'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/vcloud/compute.rb:312:in `do_request'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/vcloud/compute.rb:279:in `unauthenticated_request'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/vcloud/requests/compute/login.rb:17:in `login'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/vcloud/models/compute/organizations.rb:14:in `all'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/core/collection.rb:131:in `lazy_load'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/core/collection.rb:11:in `empty?'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/core/collection.rb:75:in `inspect'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/formatador-0.2.1/lib/formatador.rb:92:in `indent'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/core/collection.rb:68:in `inspect'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/wirble-0.1.3/lib/wirble.rb:432:in `output_value'
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/irb.rb:159:in `eval_input'
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/irb.rb:271:in `signal_status'
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/irb.rb:155:in `eval_input'
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/irb.rb:154:in `eval_input'
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/irb.rb:71:in `start'
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/irb.rb:70:in `catch'
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/irb.rb:70:in `start'
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/bin/irb:18

As you can see I'm forced to use a proxy and it looks like the socket has some issues reading from what the proxy sent.

@duritong Sorry about that stuff, not sure why only you would be getting it, maybe something to do with REE.  In any event, I believe the last couple fixes should help with that.  Let me know if you have any remaining issues (I wasn't seeing your issues locally in the first place).  If it all looks good I can see about releasing the fixes later today.  Thanks!

Sorry, but the problem still exists. I'm getting exactly the same error.
Also note, that I am using a proxy, so proxy and hence @proxy is set.
I put a puts at the very beginning of the initialize and right before the message is thrown and I get:

> compute.organizations
proxy: {:port=>80, :scheme=>"http", :host=>"X.Y.Z.12"}
@proxy: {:port=>80, :scheme=>"http", :host=>"X.Y.Z.12"}
Excon::Errors::SocketError: EOFError
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/openssl/buffering.rb:133:in `readline'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/excon-0.9.2/lib/excon/ssl_socket.rb:58:in `initialize'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/excon-0.9.2/lib/excon/connection.rb:282:in `new'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/excon-0.9.2/lib/excon/connection.rb:282:in `socket'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/excon-0.9.2/lib/excon/connection.rb:145:in `request_kernel'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/excon-0.9.2/lib/excon/connection.rb:89:in `request'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/core/connection.rb:20:in `request'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/vcloud/compute.rb:312:in `do_request'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/vcloud/compute.rb:279:in `unauthenticated_request'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/vcloud/requests/compute/login.rb:17:in `login'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/vcloud/models/compute/organizations.rb:14:in `all'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/core/collection.rb:131:in `lazy_load'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/core/collection.rb:11:in `empty?'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/core/collection.rb:75:in `inspect'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/formatador-0.2.1/lib/formatador.rb:92:in `indent'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/fog-1.1.2/lib/fog/core/collection.rb:68:in `inspect'
        from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/wirble-0.1.3/lib/wirble.rb:432:in `output_value'
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/irb.rb:159:in `eval_input'
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/irb.rb:271:in `signal_status'
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/irb.rb:155:in `eval_input'
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/irb.rb:154:in `eval_input'
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/irb.rb:71:in `start'
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/irb.rb:70:in `catch'
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/irb.rb:70:in `start'
        from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/bin/irb:18

Note: I will be able to provide additional information regarding my current environment for about the next 2 hours, otherwise I won't be here till next year. Let me know if you would like to have additional information, like other puts etc.
Using 0.7.6 works without any problems, however I can't use that one anymore with the latest fog.

Nothing is jumping out at me, I'll circle the wagons with the other developers and see if they have ideas.
@nextmat Do you have any thoughts on what may be off?
@dpiddy   Looks like, timing wise, it may have to do with the addrinfo stuff you did, mind double checking that?

If you need any more infos please let me know.

@duritong Could you try again against the master branch?  I suspect the recent changes @dpiddy did may help out.

Unfortunately not. I still get the same error:

> compute.login
Excon::Errors::SocketError: EOFError
	from /home/duritong/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/openssl/buffering.rb:133:in `readline'
	from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/excon-0.9.4/lib/excon/ssl_socket.rb:56:in `initialize'
	from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/excon-0.9.4/lib/excon/connection.rb:289:in `new'
	from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/excon-0.9.4/lib/excon/connection.rb:289:in `socket'
	from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/excon-0.9.4/lib/excon/connection.rb:145:in `request_kernel'
	from /home/duritong/.rvm/gems/ree-1.8.7-2010.02/gems/excon-0.9.4/lib/excon/connection.rb:89:in `request'
	from /home/duritong/workspace/fog/lib/fog/core/connection.rb:20:in `request'
	from /home/duritong/workspace/fog/lib/fog/vcloud/compute.rb:310:in `do_request'
	from /home/duritong/workspace/fog/lib/fog/vcloud/compute.rb:277:in `unauthenticated_request'
	from /home/duritong/workspace/fog/lib/fog/vcloud/requests/compute/login.rb:17:in `login'

@duritong that is unfortunate, thanks for giving it a shot though.
@nextmat have any thoughts on how to narrow this down and/or what might be going wrong?

Hrm. Will take a look and see if I can't sort this out.

@nextmat thanks, let me know if I can help (I just don't know enough about using proxies to really even get started at this point).

I'm noticing the same error when accessing S3 with Fog on Ruby 1.8.7. However, my setup is not using a proxy.

  /usr/local/lib/ruby/1.8/openssl/buffering.rb:134:in `readline'
  vendor/bundle/ruby/1.8/gems/excon-0.9.5/lib/excon/response.rb:21:in `parse'
  vendor/bundle/ruby/1.8/gems/excon-0.9.5/lib/excon/connection.rb:215:in `request_kernel'
  vendor/bundle/ruby/1.8/gems/excon-0.9.5/lib/excon/connection.rb:89:in `request'
  vendor/bundle/ruby/1.8/gems/fog-1.1.2/lib/fog/core/connection.rb:20:in `request'
  vendor/bundle/ruby/1.8/gems/fog-1.1.2/lib/fog/aws/storage.rb:381:in `request'
  vendor/bundle/ruby/1.8/gems/fog-1.1.2/lib/fog/aws/requests/storage/head_object.rb:52:in `head_object'
  vendor/bundle/ruby/1.8/gems/fog-1.1.2/lib/fog/aws/models/storage/files.rb:93:in `head'

This error seems to be occurring more frequently when accessing private S3 buckets on Ruby 1.8.7-p299 running on an Amazon EC2 instance (OpenSSL 0.9.8b).

In case anybody else ran into this (@postmodern and I continued discussion on twitter).  Fog now uses :idempotent for the head requests and that seemed to prevent the issue from becoming a problem, updating to newer OpenSSL may also help.
@duritong What openssl are you using?  I'm beginning to think that might contribute...

@geemus Not to pester, but when is the next patch-level release planned for?

@postmodern I presume you mean for fog?  I hope to get it out this week.  The ibm support is at the "almost" stage so I'm hoping they can fixup the last remaining bits so that I can include it and get it out.  I didn't have any immediate plans to release excon (if thats what you meant) but could easily release it if needed.

I will be able to test that next week. Will report back then.

@geemus If the next Fog release drags on, would it be possible to release a patch-level release just with the bug fixes included?

@postmodern possibly, I need to probably just stop waiting and cut the release.  I'm travelling, but I'll try to do it this weekend or next week at the latest.


Add files via upload

Fixes or introduces:
Proposed Changes
-just added a basic HTML code

thanks

Nice work, thank you! 🙌


KeyError: 'Cascade Mask R-CNN'

I've followed the installation steps from https://mmdetection.readthedocs.io/en/v2.25.0/get_started.html
Then I try to execute the following command from the manual mim download mmdet --config yolov3_mobilenetv2_320_300e_coco --dest .

$ mim download mmdet --config yolov3_mobilenetv2_320_300e_coco --dest .
~/miniconda3/envs/openmmlab/lib/python3.8/site-packages/_distutils_hack/__init__.py:30: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")
Traceback (most recent call last):
  File "~/miniconda3/envs/openmmlab/bin/mim", line 33, in <module>
    sys.exit(load_entry_point('openmim', 'console_scripts', 'mim')())
  File "~/miniconda3/envs/openmmlab/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "~/miniconda3/envs/openmmlab/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "~/miniconda3/envs/openmmlab/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "~/miniconda3/envs/openmmlab/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "~/miniconda3/envs/openmmlab/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "~/repositories/mim/mim/commands/download.py", line 44, in cli
    download(package, configs, dest_root)
  File "~/repositories/mim/mim/commands/download.py", line 75, in download
    model_info = get_model_info(
  File "~/repositories/mim/mim/commands/search.py", line 170, in get_model_info
    dataframe = convert2df(metadata)
  File "~/repositories/mim/mim/commands/search.py", line 396, in convert2df
    for key, value in name2collection[collection_name].items():
KeyError: 'Cascade Mask R-CNN'

I've also tried to install mim directly from master, but the same error appears.

Hi @tik0 , this looks like a bug introduced in mmdet==2.25.0, related commit: https://github.com/open-mmlab/mmdetection/commit/1fd48f7318ac70bab6de371025c74a76c5219e1c.
A quick workaround is to use mmdet<2.25.0.

The same issue under mmdet: https://github.com/open-mmlab/mmdetection/issues/8122

So - how would I specify mmdet<2.25.0 during download? I see that the download command rejects the version number as part of the package name (it rejects mmdet==2.24.0 for example).

Hi @tamersalama , you should install mmdet<2.25.0. For example: mim install mmdet==2.24.0.
In addition, if you are interested, you can create a PR for mmdet to fix this problem, just change the Cascade Mask R-CNN in this file to Mask R-CNN.

@ice-tong Hello, I am happy to do this, however I am unsure how I would actually test these changes if you wouldn't mind advising :)

@RepetitiveRoutine Hi, you just need to modify two places in this file, change Cascade Mask R-CNN to Mask R-CNN, the steps in this tutorial will work fine.
The contributing doc can be found here. If you have any questions, feel free to feedback to us.

Fixed in https://github.com/open-mmlab/mmdetection/pull/8240/files


Add XAF currency

XAF is a currency shared by a couple of countries in central Africa (just like EUR is shared by countries in Europe).
My app targets users in those regions.
Could you add support for this currency?
Thanks

Please confirm that the following info is correct.
 {
    "code": "XAF",
    "name": "Central African CFA franc",
    "symbol": "FCFA",
    "flag": "",
    "decimal_digits": 2,
    "number": 950,
    "name_plural": "Central African CFA franc",
    "thousands_separator": ",",
    "decimal_separator": ".",
    "space_between_amount_and_symbol": false,
    "symbol_on_left": true,
  },

Also I don't have the flag. For EUR that is also shared by many countries, package use Europe flag (🇪🇺).
Is there any flag we can use?

Hi, thanks for looking into this.
The information is correct.
There's really no flag for the currency as there is no flag for the central African countries.
Most platforms representing XAF currently either use "XAF" as both the code and flag or use a white flag (e.g 🏳).
Leaving flag empty is also common...I think it's up to you.

Ok thanks, I will add XAF in the following days.

Released in v2.0.10.