Issues found when creating deployment

I'm working directly on setting up a new deployment project for the contracts.
I will add notes here based on the changes I do.
Compile error
TypeError: Member "isSingleBlockchainCall" not found or not visible after argument-dependent lookup in contract CrosschainFunctionCallInterface.
   --> contracts/gpact/application/lockablestorage/OldLockableStorage.sol:134:13:
    |
134 |         if (crossBlockchainControl.isSingleBlockchainCall()) {
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Error HH600: Compilation failed

I get this error on my project on hardhat, why doesn't fail in the gpact repository?

contracts/gpact/application/lockablestorage/OldLockableStorage.sol:134:13:
I get this error on my project on hardhat, why doesn't fail in the gpact repository?

Because that code is not compiled in the gpact build process. This is an old implementation of lockable storage / alternative implementation that has some interesting features, but costs more gas. It has not been kept up to date with the changes in the function call interfaces.

Perhaps the best thing for us to do is to remove the "Old" implementation now.


Support querying server extension for version info

GET /assemble/config/version should return a dict of versions of different pieces, e.g.:
{
    "assemble": "0.8.1",
    "ballet": "0.7.0",
    "project": "021ffac"
}

Progress in bb85fcd

Implemented in 02423ec


what is the jerry_api_create_external_function invoking timing?

I have build the jerryscript in ubuntu15.04 system, when I try extent the jerryscript with the jerry_api_create_external_function method, I found a strange phenomenon:

If I set the external function between jerry_init and jerry_parse, it look fine;
If I set the external function after jerry_parse, it will halt;
If I set the external function after jerry_run, it will halt also;

My question is, is it possible to set the external function after jerry_run? thanks.

Sorry, it is my mistake, the sample program works fine now.
Please close this issue, thank again.


Options framework to allow more control over parsing

This PR creates a framework for creating and applying arbitrary options without breaking changes. It follows the pattern used in github.com/gorilla/handlers. Options are created by implementing the ParserOption interface. They are then passed in a spread to existing parsing functions. The options are passed down into the parser constructor, where they are then applied on the parser. Through the excellent architecture already present in this package, the changes to accomplish this are straightforward.
The first options to implement the ParserOption interface are PreferMonthFirst and RetryAmbiguousDateWithSwap.
PreferMonthFirst exposes parser.preferMonthFirst, and the code handling the false case was added by #88.
RetryAmbiguousDateWithSwap adds a new parser field, parser.retryAmbiguousDateWithSwap, allowing parsing not to fail when the month is not actually ambiguous because if it were swapped with the day it would be outside the range of valid month values. It does this by checking if the month was ambiguous; if so, then trying to parse, and rebuilding the parser with the opposite preferMonthFirst value and disabling retryAmbiguousDateWithSwap. The code of the logic behind the option was added by #88, and this PR places its implementation in a much tighter scope while also exposing it as a ParserOption.

CI is failing due to unrelated issue #90.

Codecov Report

Merging #89 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #89   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines         899    929   +30
=====================================
+ Hits          899    929   +30

Impacted Files
Coverage Δ

parseany.go
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

This now also fixes #90 by vendoring github.com/apcera/termtables

@araddon Any thoughts?

Dates with dots as seperators (like 30.1.2014) don't work with PreferMonthFirst(false):
preferMonthFirst := dateparse.PreferMonthFirst(false)
t, err := dateparse.ParseAny("30.1.2014", preferMonthFirst) // => parsing time "30.1.2014": month out of range
if err != nil {
	fmt.Println(err)
}

t, err = dateparse.ParseAny("30/1/2014", preferMonthFirst) // => 2014-01-30 00:00:00 +0000 UTC
if err != nil {
	fmt.Println(err)
}
fmt.Println(t)

That's due to an inconsistency in how this package labels dates as ambiguous. This flag is only set and returned as the ambiguous date error in the case from the test. If the dot case set ambiguousMMDD, then the option would activate.

Sounds like an issue in general. Do you want to open an issue? I will if you don't want to.

Sure, you can open one, and to elaborate a bit more, it's the check for preferMonthFirst, and alternate logic if it's false which will allow this test (and any similar case with different overall format) to pass; setting ambiguousMMDD will allow the retry with opposite preference option to activate.

I'd love to use this package, but I can't without this feature. Anything holding it up?

Codecov Report

Merging #89 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #89   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines          899       929   +30
=========================================
+ Hits           899       929   +30

Impacted Files
Coverage Δ

parseany.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

I'd love to use this package, but I can't without this feature. Anything holding it up?

Not from me. I just removed the vendoring that was made unnecessary by #101.

@araddon is there a reason this isn't pulled into master?

Thank you!


Sticky send button

An implementation to resolve #94.
This PR adds the ability to being sticky to send button.
Hotkeys are not considered in this PR.

Hey @izerozlu,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: dd7648f0-cb11-11e9-8574-4b7115d53811


Migrate to ESLint instead of TSLint

As per https://github.com/palantir/tslint/issues/4534, we need to migrate TSLint to ESLint.

:rocket: Issue was released in v1.0.1 :rocket:


PR review for phase 1

Please review the PR: https://github.com/COMPASS-DPG/wpcas-service/pull/74

Will be closed today


Refrain from overwriting the span status for unfinished spans

Description
Context https://github.com/getsentry/team-mobile/issues/128

https://github.com/getsentry/sentry-dart/blob/0aaa46e1517a02ba971b15ecbe7960f6045279a1/dart/lib/src/sentry_tracer.dart#L88-L95 solution can be reverted since Relay does it internally now.
Check PR and see if there are more changes that need to be reverted.
Make sure that transactions get ingested after the changes and default values are applied by Relay correctly.
This should be based on v8 branch and add a note about older versions of Sentry self hosted.


Fix ci testing

Fixed the travis.yml file so that it can properly test both the frontend and backend.

Approved


fix: Remove appending ?page=1

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Closes #5592
[ ] Requires deployment <>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[ ] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </bsx/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

pay 20 usd
wfm!

😍 Perfect, I’ve sent the payout
💵 $20 @ 33.22 USD/KSM ~ 0.602 $KSM
🧗 Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
🔗 0x4a2051991ef6e94fb437cc97a6bf19043ace3ddd65bbc9f815a06885af7f4284
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


.NET template output breaks definition lists on listing pages

See rtfd/sphinxcontrib-dotnetdomain#45 for more info.

Nice!


Added CLI use support

Added CLI use support
Added mirror opt as well as ELECTRON_MIRROR

@fritx excellent PR, thanks!

@fritx its out as 1.1.0, I also added you as a collaborator so you can help maintain this module if necessary

@maxogden thanks! my pleasure


MinGW Support (32bit & 64bit)

This PR adds support for MinGW (32bit & 64bit).
I'm not an MinGW expert so I've just done whatever seemed to be the right way.
I've taken some code from PR #150 and extended/modified it.
Tested in all combinations on Windows 10 (1903)

MinGW32 & MinGW64
Clang (i386 / x64)
GCC (i386 / x64)

If this PR gets accepted, I'll add two additional Buildslaves to the CI system.
References:
#300 - Meson build system will probably need some extensions for MinGW support
#276 - Should be fixed now, I've used __MINGW32__ in favour of the suggested __GNUC__
#150 - Original PR which should be obsoleted by this PR

Comments are addressed.


Edozwo 931

publication and de-publication of website versions
currently rolled out on edoweb-test and tested there

this PR intoduces a new parameter in application.conf:
regal-api.public.jobDir="/opt/regal/public-data"


Feature: Add option to change settings via parameter

the docs state that this currently does not work yet ;-)

Yes, setup is not yet supported, but it will be added soon.
For now, it's only JS library, CLI may come in later.

Setup is supported since V0.3.6.
CLI coming in later versions.


baseURL and check_site()

If I create a website with this theme blogdown will tell me "Found baseURL = "https://cranky-lalande-e3373f.netlify.app/"; nothing to do here!". But actually I have something to do here. :wink:

haha, well technically this is correct! There is a baseURL. Not sure I can tackle this- it probably needs to be an actual theme with an exampleSite so I can use / as the baseURL, which check_site() would trigger a [TODO] for.

haha, well technically this is correct! There is a baseURL. Not sure I can tackle this- it probably needs to be an actual theme with an exampleSite so I can use / as the baseURL, which check_site() would trigger a [TODO] for.


ZODB conflict when importing this package

Hi Jaroslav,
I cannot create Plone application with this package, since my plone app depends on older version of ZODB than this package.
The only things I need is structures to communicate throught AMQP.
I can duplicate structures - it is the easiest way.

Structures are dynamically generated, so it may not be the best idea.

I suggest to install the package without dependencies: --no-deps. That way you will have newest version and you should still be able to import the structures.

Thanks, I will try it.

I have not found a way to install without dependencies. Hm.

try: pip install -U --no-deps edeposit.amqp.storage edeposit.amqp.storage.
It is the strange pip syntax.

I have solved it this way:
./bin/pip install --no-deps edeposit.amqp.storage
As you told.
But this is dangerous. I have forgetten to add "--no-deps" and ./bin/buildout did not want to build application. There were so much dependencies. Hm. So I cannot forget to add "--no-deps" when upgrading it.
Hm.

I understand what "dependency hell" means. It not the first time I try to solve this kind of problems. :-)
So I close this question. Thanks.


⚠ 366.ru has degraded performance

In 4b9ff20, 366.ru (https://366.ru) experienced degraded performance:

HTTP code: 200
Response time: 6202 ms

Resolved: 366.ru performance has improved in cd0819f.


Initial build includes inputted files but not resolved files

For example, suppose I give App.ts as input to gulp-tsb:
// App.tsx

import Helper = require('./Helper');

Helper.doSomething()

On the initial build, gulp-tsb will not fully process Helper.ts. It will fully process it when you do an incremental build. This leads to the following symptom. If Helper.ts contains a type error, the initial build won't report it. You'll see it when you do an incremental build.
This is inconsistent with how the TypeScript compiler behaves (e.g. tsc --watch App.ts). By default it finds, compiles, and type checks imported files. You can disable this behavior with the --noResolve flag in which case it'll generate an error if you fail to include an imported file as input.
I propose that gulp-tsb's default behavior be to fully process all files it finds through imports during the initial build.

This is inconsistent with how the TypeScript compiler behaves (e.g. tsc --watch App.ts).

Yes, that is the design of gulp-tsb as it won't go and hunt for more files on disk. You must provide all files of your project upfront as no further resolution happens

@jrieken In the case of my team's project, the files that the initial build didn't see were d.ts files inside of the node_modules folder. If all files must be given directly to gulp-tsb as input, then I see two solutions but neither is great:

We could use a wildcard like ./node_modules/**/*.dts. However, this would likely include some files we don't want which could have bad effects.
We could manually maintain a list of the individual d.ts files from node_modues that our app consumes. However, keeping this list up-to-date is an extra maintenance cost. We'll have to update it anytime we add or remove dependencies.

Those are the solutions I've thought of but both have downsides. Do you have a recommended solution for this scenario?
Can you describe the rationale for deviating from the TypeScript compiler's behavior?
For context, I ran into this issue when attempting to migrate my team's codebase from gulp-typescript to gulp-tsb. gulp-tsb was nearly a drop-in replacement for gulp-typescript except for this and a couple of other issues I've hit. In some cases, gulp-tsb improved incremental build times from 15 seconds to less than 1 second so I'm very excited about switching to it.

Can you describe the rationale for deviating from the TypeScript compiler's behavior?

Purely programmatic as we have build gulp-tsb for VS Code a long time before TypeScript was looking for files in node_modules. Also, the VS Code source tree doesn't have this requirement. So, it's definitely biased towards our use-case...

@jrieken Are you willing to consider a PR to change gulp-tsb's behavior to match the TypeScript compiler's? If so, can you give me some advice on how to approach the change? I'm new to the gulp-tsb codebase.


visualization of this data is missing!

As discussed on twitter: here's the format of each line of log:
(1496624504.928763) can0 167#72804009FFE00000

timestamp
network interface (e.g. can0, vcan0, can1)
CAN ID
Data: Byte Pairs 0 thru 7

1496624504.928763
can0
167
72804009FFE00000

Questions:

is there a table to match an ID to a "real thing"? (A sensor, a piece of data from the car... eg engine temperature)
how should the data (the 8 bytes) be interpreted?

is it just a number?
does it depend on the ID (eg the engine temp would be a number, so as the speed, but the drive mode would be a value in "eco|power|reverse|park|..."?)
are some data split between multiple messages? Eg you need 4 (consecutive?) messages to build a complete data point for a given ID?

The byte pairs are all in hex:
72 80 40 09 FF E0 00 00
so the decimal conversion would be:
114 128 64 9 255 224 0 0

Each byte corresponds to a value but there is no table that defines what each value means.  Or rather, we don't have access to those data dictionaries.  They are commonly called DBC files.  That is why it would be good to have good data visualization tools to look at a changing Byte within a CAN ID and potentially deduce what it is doing based on its behavior.

for example you could plot:
CAN ID = 167
Byte 0 for the entire log file.

Ok so only reverse engineering :( I believe i've found some of those tables/data dictionnaries/DBC files for other brand/models.
So I guess the most important thing to do with those logs, in order to make them usable in the future is to "guess" those data dictionnaries. And in order to do that, visualize them on different scales

time
value of each byte independently
percentage (out of 255) of each byte independently (eg 255 would be 100%)
boolean of each byte (is it 0 or something else?)
total value (if the eight pairs are in fact representing a single value

With all that, we might have some ideas of what is what?

Is there a way to get those data dictionnaries/DBC files? Maybe contact the companies? I'm sorry if those are newbie questions, I have no idea or knowledge of this field, just a bit curious ;)

BTW I see that in the ODB2 protocol there's also a DLC (Data Length Code) after the ID and before the data. Is there a way to record that data?


KAP-1: Purpose and Guidelines for Kabuto Action Proposals

Initial commit of KAP-1

@MilanWR check the latest PR update. I just pushed a new commit. I think this change addresses your thoughts.


k8s: Add support for Egress PodSelector / label-based egress

With the addition of EgressRule. The EgressRule can specify NetworkPolicyPeers.
Parent: https://github.com/cilium/cilium/issues/1489
Currently, Cilium only supports ingress label-based policy. This is because the source endpoint writes its security identity into the packets that it sends to its destination. Since the security identity is an encoding of the set of labels of an endpoint, upon ingress, all the datapath has to do when it receives a packet from an endpoint is check the security identity in the packet against the set of security identities from which traffic is allowed to the destination endpoint. However, upon egress, the cilium-agent on the host sending out packets does not know the set of labels corresponding to the destination endpoint. Consequently, we need a way to determine whether the endpoint to which traffic is being sent from one endpoint is allowed from within the agent based on available metadata in the packet, data from the key-value store, etc.
This ticket requires changes in multiple areas of Cilium, specifically:

[ ] #2552 : Synchronization of endpoint data across the cluster using the key-value store
[ ] #2553 : Changes to the BPF datapath to account for this
[ ] #2555 : CLI changes corresponding to addition of new cilium-internal and datapath data structures
[ ] #2556 : Documentation of this functionality
[ ] #2722 : Plumbing of label-based egress policy throughout Cilium
[ ] Add new CRD validation for label-based egress
[ ] Policy tracing
[ ] Connection tracking changes / associated tests.
[ ] CI integration

Note: make size of first (global) map configurable (IP to security ID). Cache that is synchronized in the BPF datapath.
On policy generation, for each identity need to list other identities that can be talked to (Consumable).
Two phase approach is preferable, especially in case of L3-dependent L4. For ingress, key for lookup contains src identity + destination port (L3-dependent L4). If we do the same for egress, this means that the key needs to contain the destination addressing (identity / IP, L4 port).
Before datapath implementation, addition to the Cilium monitor. Listen to key-value store, build up local cache, transfer IP to identity; allows us to have value from day one.

Removing best-effort and test-week labels as I think we have sufficient test coverage in C for this, and all of the datapath + agent-based components for egress have been merged and tested.
I am leaving #2555 and https://github.com/cilium/cilium/issues/3754 open, and am closing this issue accordingly :)


Lodash full is loading due to dependency from plone/registry

I believe that plone registry isn't using the webpack mechanism to use the tree shaked version of lodash.
running pnpm analyze shows this client bundle:

Checking the bundle stats.json through https://statoscope.tech gave us this reason for the lodash full loading:

Lodash imports should be optimized so that we don't raise client.js bundle which is served by all Volto websites

@sneridagh I don't know how to fix this but this might interest you, it would be nice for someone with more webpack and bundling knowledge to get to the bottom of this issue.

@ichim-david PR needed to be reviewed for this issue


Remove Evidence while keeping ABCI compatibility.

Removes Evidence from Block struct. Comments out relevant code lines with:
// Note: Temporarily remove Evidence #896
for adding back in the future when needed.
Closes: #896

LGTM, but this code needs to be tested against cosmos-sdk to ensure compatibility.

Was this tested @Manav-Aggarwal

LGTM, but this code needs to be tested against cosmos-sdk to ensure compatibility.

Was this tested @Manav-Aggarwal

yes, see https://github.com/rollkit/rollkit/pull/915#discussion_r1191152985


Fixes post-provisioning instructions for Rock Pi 4B

Change-type: patch
Signed-off-by: Alex Bucknall<EMAIL_ADDRESS>

Can one of the admins verify this patch?

@resin-jenkins test this please

this PR will not pass tests until https://github.com/balena-os/balena-radxa/pull/258 is merged

@balena-ci rebase

@resin-jenkins test this please

@balena-ci rebase

@resin-jenkins retest this please

@resin-jenkins retest this please

@resin-jenkins retest this please

@resin-jenkins ok to test


Icompatible with latest swift xcode

Unfortunately it doesn't work with the last update of swift and xcode :(

I created the swift-2.0 branch. Please try it.


Refactor and simplify action

This commit changes the following:

Allow to manually trigger the action from the GH web UI (via workflow_dispatch)
Fix the output of the script being truncated to a single line (action outputs must be a single line, so we need to escape the newlines. Fix from here)
Use the automatically generated GITHUB_TOKEN instead of providing a personal token
Use working-directory instead of calling cd
Create issues using the create-an-issue action, instead of using the GitHub API

Here is an example of how an issue created by this action looks like.

cc: https://github.com/orgs/nodejs/teams/security-wg


Fixed indentation problem on line 119

Great! I will merge this PR tomorrow. :tada:

Thanks

If the indentation problem didn't work out after adding tab to line 119(which was in my case), go to View    -> Indentation -> Convert Indentation to Tabs

Have you checked the new extra keywords commands ?

Youtube and wikipedia worked earlier too. News site, I agree they don't work. We have an issue #7 for that. Please take one issue per PR.

@BrianMwangi21 I am closing this PR. Please submit a PR for the indentation problem you had.  Then you can go to fixing the news part of B.E.N.J.I.

The indentation has been solved by someone else.
Will work on the commands


[safety-rules] improve secure storage interface

Use a single value to store waypoint
Add string support into secure storage
Replace base64 encoding for json encoding

Looks good to me! 😄(Also perhaps you could maybe update the PR with a description about why we went from base64 to json? Is this a compatibility decision or just a consistency thing?)

I wrote reason in the actual commit. I really wish github did a better job surfacing these things in multi commit PRs... reason: human readability.

@bors-libra r=joshlind

:pushpin: Commit 364f477 has been approved by joshlind

:hourglass: Testing commit 364f4774266303fead320fb1ea84c4cb1a17c617 with merge 86fa56dcf3793863c558ce4691a608215e35497e...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: joshlind
Pushing 86fa56dcf3793863c558ce4691a608215e35497e to master...


Default database doesn't work on sql without tables

My case is like this:
I have two db db1 and db2.  db1 ows table t1,t2,t3, function f1, and db2 only onws t2. Only table t2 was in partition, so I want sql related to t1 , t3, f1 to be executed on db1, only t2 be executed on db1 and db2 according to it's condition value. I use the configuration spring.shardingsphere.sharding.default-data-source-name, now sql related to t1 or t3 was executed on d1 as expected, but f1's execution database was in random.
The result I expected is like this,
select 1 from t1; on db1
select 1 from t3; on db1
 select f1; on db1
select 1 from t2; on db1,db2
The actual result is like this:
select 1 from t1; on db1
select 1 from t3; on db1
 select f1; on (db1 or db2 in random)
select 1 from t2; on db1,db2

paste your f1 sql here.
maybe the function f1 you use can not be parse exactly.
I have just opened a issue yesterday.
https://github.com/apache/incubator-shardingsphere/issues/3247

paste your f1 sql here.
maybe the function f1 you use can not be parse exactly.
I have just opened a issue yesterday.
#3247

My case is a little different.
f1 is just like select now();,
There is no table in the sql, but I want the sql executed on default database db1 instead of  a random db.

this seem should add  perfect database 🤔

I think it should be like this:
when the SQL dosn't have a table name
1:  in sharding,   route to the defaultDataSource;
2:  in master-slave, route to master or a slave which configred.
If you agree it , I can try to do this.

+1 for me. We can discuss more details.

Sharding
1.1 With default data source, route to default data source
1.2 Without default data source, unicast route(stay the same)
Master-slave
2.1 route to master database (because slave is readonly, so route to slave maybe unnecessary)

OK,  I am about to do it.    @terrymanu

@RaigorJiang Thank you, assigned.


Clarification on intention with .UseEnvironment( ... )

https://github.com/aspnet/Hosting/blob/dev/samples/SampleStartups/StartupFullControl.cs
:+1: This is wonderful!
Just a quick clarification on your intention though with the environment variable itself for Hosting:Environment ...
.UseEnvironment( ... ) sets the environment, and I can see that when I check with DI on IHostingEnvironment and .EnvironmentName; however, it doesn't seem to actually set the environment variable value [when I explicitly check Environment.GetEnvironmentVariable("Hosting:Environment")].
Is this behavior "by design," or shouldn't the env var value change when .UseEnvironment( ... ) is set explicitly?

By design. Hosting can read configuration from environment variables (and hosting.json and command line) but it never sets any. The UseXXX APIs are overriding the configuration, not modifying it.
Note the name of the environment variable associated with your deployment environment changed a while back from Hosting:Environment to ASPNET_ENVIRONMENT. On the command line and in hosting.json this and other hosting config can be specified without the ASPNET_ prefix.

@Tratcher ... ok ... and can I assume that for all intent and purposes thereafter, when I set it manually with .UseEnvironment( ... ), it will get picked up everywhere and used? Earlier, you and I (or @davidfowl and I) were discussing the inability to set the environment early enough in code to get it picked up everywhere. If this works out, I'm golden.

@GuardRex This already works.

Perfect. I'm all set and lov'in the new Hosting bits.


#62: enable token invalidation by reuse of originating authorization code

Closes #62.
After careful consideration, I believe this PR provides what should be implemented on the library side - namely:

including the auth code ID when the authorization_code grant is used, so the token repository has the information necessary to persist a lookup mechanism for all token descendants of the authorization code
adding an optional revokeDescendantsOf() method to the token repository interface, which - if implemented - will get called by the authorization_code grant upon reuse of the originating code.

Definitely, I’ll get this merged today


Pattern depends on Beat

The available patterns depends on the beat selected.
The index depends on how many pattern are presents
Ex: Shuffle1 is Pattern 19 for 4/4 beat but Pattern 5 for 15/8 beat

Done


Update to NIO 2.1

Change the name WebSocketUpgrader to NIOWebSocketServerUpgrader
Consume https://github.com/apple/swift-nio/pull/976 and remove the HTTPMethod extensions

@pushkarnk you'll want to change the swift-nio dependency to from: "2.1.0" (from from: "2.0.0").

@pushkarnk you'll want to change the swift-nio dependency to from: "2.1.0" (from from: "2.0.0") in your Package.swift.

thanks @weissi


Update Application Insights packages

https://github.com/dotnet/arcade-services/issues/2795
This change will require a lot of changes in downstream repos, detailed in https://dev.azure.com/dnceng/internal/_workitems/edit/5240

I assume that the code changes are due to the package upgrades?

Please carefully check staging environments after this merges to be sure telemetry shows up as expected.


⚠ Site ANTS has degraded performance

In 7d85685, Site ANTS (https://ants.gouv.fr) experienced degraded performance:

HTTP code: 200
Response time: 6646 ms

Resolved: Site ANTS performance has improved in ed4c675.


⚠ ESPN has degraded performance

In 49e2d19, ESPN (https://espn.com) experienced degraded performance:

HTTP code: 200
Response time: 1436 ms

Resolved: ESPN performance has improved in 4bc04f9.


Rewrite killing other plugins

Hi,
The new re-write for script URLs for example seems to be killing some plugins - for example, the output looks like:
<script src="/base//base/wp-content/plugins/jquery-colorbox/js/jquery.colorbox-min.js"></script>
Also - why wouldn't this be hooking into the proper re-write to not only be relative, but also use the /plugins URL as it did in other versions? /base is the root of the site -- in a sub-directory and /base is also the name of the theme folder
Also, when adding in new scripts the standard WP way, this doesn't work properly:
function roots_custom_scripts() {
  wp_register_script('roots_script_less', THEME_PATH . '/js/less.min.js', false, null, false);
  wp_enqueue_script('roots_script_less');
}

add_action('wp_print_scripts', 'roots_custom_scripts');

It spits out <script type='text/javascript' src='/basewp-content/themes/base/js/less.min.js'></script> which is missing a / and also is not rewritten. If we are trying to take the approach of not touching the core roots files, then what's the best way to add JS files? Maybe a quick WIKI addition would help, but something seems a bit off with the plugin rewrite for JS files in general unless I'm missing something. Thanks.

ew, this is a bug. (pinging @swalkinshaw)

A horrible bug!
WP HEAD:
<link rel="stylesheet" href="/plugins/ubermenu/styles/basic.css?ver=<IP_ADDRESS>">

quick and dirty fix for absolute-url by wp_enqueue_script:
at inc/roots-scripts.php 27 row
replace
$src = WP_BASE . leadingslashit($wp_scripts->registered[$handle]->src);
$src = apply_filters('script_loader_src', $src);
on
$src = apply_filters('script_loader_src', $wp_scripts->registered[$handle]->src);

Thanks!

Quick and dirty fix from @waitxd seems to only solve half the problem for me. WP install in /new2 directory.
Before fix:
/new2//new2/wp-content/plugins/the-events-calendar/resources/events.js
/new2/new2/plugins/wp-orbit-slider/js/jquery.orbit-1.3.0.min.js?ver=3.3.1
After:
/new2/plugins/the-events-calendar/resources/events.js
/new2/new2/plugins/wp-orbit-slider/js/jquery.orbit-1.3.0.min.js?ver=3.3.1
Same for css files loaded by plugins .

Any fix yet?
the quick fix mentioned above doesn't work for me.
here's a screenshot:
http://dl.dropbox.com/u/9124270/For Public/rootsbug.jpg

Is there any news on this?, can the re-write be turned off as it's pretty much impossible to work with this issue?

I'll be working on it soon. However, you can easily turn anything off by commenting out the action(s).

Thanks, could you let me know which action(s) to comment out?

https://github.com/retlehs/roots/blob/master/functions.php#L17
This would skip the whole script processing stuff Roots does.

can you see if this is still an issue after https://github.com/retlehs/roots/commit/7f9077cfebd3a479eb63f79078a3e2dbfcff5f7d?

Sorry, no the issue is still there. Wordpress is in the directory /wp2 and the scripts are duplicating the wp2 folder in the path.

I think I am getting the same issue:
<script src="/wp-includes/js/admin-bar.js"></script>
<script src="//wp-content/plugins/wp-views/embedded/res/js/wpv-pagination-embedded.js"></script>
<script src="/http://maps.google.com/maps?file=api&v=2&hl=en&key=!removed!&sensor=false"></script>
<script src="//wp-content/plugins/wp-geo/js/tooltip.js"></script>
<script src="//wp-content/plugins/wp-geo/js/wp-geo.js"></script>
<script src="/js/plugins.js"></script>
<script src="/js/script.js"></script>

On another note, is there a way Roots can clean/rewrite the links to css/js files from other plugins? I hate the way plugins can just call a js file like here:
<script src="//wp-content/plugins/wp-geo/js/tooltip.js"></script>

Problem appears to be with root relative URLs for everything in roots-cleanup.
It's adding either an extra "/" or, if wordpress is installed in a sub-folder, it is duplicating the folder name in the path.
Removing the roots_root_relative_url function prevents the issue.

I haven't tried this with any other plugins installed but to fix this issue for my local testing I took:
wp_register_script('roots_plugins', template_directory_uri() . '/js/plugins.js', false, null, false);
wp_register_script('roots_script', template_directory_uri() . '/js/script.js', false, null, false);
wp_enqueue_script('roots_plugins');
wp_enqueue_script('roots_script');

and replaced it with:
wp_register_script('roots_plugins', '/js/plugins.js', false, null, false);
wp_register_script('roots_script', '/js/script.js', false, null, false);
wp_enqueue_script('roots_plugins');
wp_enqueue_script('roots_script');

I am sure there is some issue that I am not realizing will happen by doing this but it does make the plugins.js and script.js load properly for me via localhost testing.

Seems fixed.
The 404's i used to get for the css files have been fixed.
plugins.js and script.js had the duplicate directory that @stuwaddy pointed out.
the fix @Geroblee pointed out has fixed the issue.

It isn't fixed for me: http://fes.walhout.net/
Any other solutions? I tryed the fix of @Geroblee

Your issue is very similar to issue #330 which i filed yesterday. The rest seems fixed.

@Geroblee fix works on my local version, but not the live one. Could it be due to being a network installation?

I am having the same problem. Fresh install of the latest version of Roots installed into a subfolder. It is duplicating the directory when attempting to reference plugins.js and script.js. The fix from @Geroblee works.

Can anyone confirm that the @Geroblee fix works with other plugins? Removing the roots_root_relative_url function was the only fix that worked for me.


Support for directional widgets (padding, positioned, borderRadius)

This PR should solve this issue #59.
I could make them in one single method with all the method args  for each, instead of having two methods:

padding, paddingDirectional
positioned, positionedDirectional
borderRadius, borderRadiusDirectional

But this would confuse the developer which arg to use if we made a method that takes all these args:

start
end
top
bottom
left
right
horizontal
vertical
all

I think what I did is much more convenient to have those methods separated, like Flutter does:

EdgeInsets, EdgeInsetsDirectional
Positioned, PositionedDirectional
BorderRadius, BorderRadiusDirectional

Thanks for your interest in making the package better!
I am not so sure if making new methods is the way to go. To me the priority hierarchy of the parameters feels quite natural:
start -> left -> horizontal -> all // example

When there are many special-case methods, I personally feel like it takes a longer time to get familiar. There are more names to remember and special purposes to remember. There are some downsides of trying to generalize the methods, but for me, I think its the way to go.
I am here talking broadly about the direction of this package, and not necessary this PR in particular.
What are your thoughts?

Well, it sound cool if we could do that.. but the problem is that currently for instance if we take the positioned widget now your method contains 2 widgets: AnimatedPositioned and Positioned and if we combine these 2 widgets with 2 more (AnimatedPositionedDirectional and PositionedDirectional) this would lead more if conditions and long method block.
This would work only if Flutter itself combined the positioned and positionedDirectional in one widget!
At the end, we can do what you said but as I said this would lead more responsibility to that function and to check which one is null (left? or start?) to switch between the normal one and the directional one in each state (animated? or not).
And I may disagree with you, since Flutter itself provided two different widgets of positioned.. so it would definitely make sense for developers to expect two different methods for each case (including me).
We could do this, as you said:
Widget positioned({
  double? left,
  double? top,
  double? right,
  double? bottom,
  double? start,
  double? end,
  double? width,
  double? height,
  bool animate = false,
}) {
  assert(
    (left == null && right == null) || (start == null && end == null),
    'Can not use both (left or right) and (start or end) at the same time.',
  );

  final isDirectional = start != null || end != null;

  return animate
      ? _StyledAnimatedBuilder(builder: (animation) {
          return isDirectional
              ? AnimatedPositionedDirectional(
                  child: this,
                  duration: animation.duration,
                  curve: animation.curve,
                  start: start,
                  end: end,
                  top: top,
                  bottom: bottom,
                  width: width,
                  height: height,
                )
              : AnimatedPositioned(
                  child: this,
                  duration: animation.duration,
                  curve: animation.curve,
                  left: left,
                  top: top,
                  right: right,
                  bottom: bottom,
                  width: width,
                  height: height,
                );
        })
      : isDirectional
          ? PositionedDirectional(
              child: this,
              start: start,
              end: end,
              top: top,
              bottom: bottom,
              width: width,
              height: height,
            )
          : Positioned(
              child: this,
              left: left,
              top: top,
              right: right,
              bottom: bottom,
              width: width,
              height: height,
            );
}

What do you say? 😄
So I can make another commit if you'd so!

Sorry for taking so long.
That is a good point. The methods should only have one widget, to make the package predictable. Actually PositionedDirectional is just I widget which calls Positioned.directional. But as you say, this would lead to more if-statements to check which constructor to call.
I therefore support your opinion to have PositionedDirectional as a separate method. I would suggest implementing Positioned.directional in positionedDirectional and maybe call the positioned method after the logic to set the direction is complete.
Widget positionedDirectional(...) {
  // logic to set direction, assign left and right
  return this.positioned(...)
}

Hi @ReinBentdal
Well, we could do that logic to determine the current direction.. but this would require the BuildContext in the method's args!
I see no reason to not using the PositionedDirectional widget, because you don't need to reinvent the wheel.

I didnt realize there existed a ´AnimatedPositionedDirectional´ widget. Then I agree with you. Use PositionedDirectional and AnimatedPositionedDirectional

Ok, I think it's ready to be merged?
What do you think?

Thanks for the contribution! I will accept now

@ReinBentdal always happy to give a little hand ❤ to keep things awesome.


Generate OpenAPI schema and place it into docs folder using GH Actions

i've made the workflow file that'll generate the openAPI schema using the django cli and then place it into the docs directory and commit it.
I've tested this workflow in test-schema-ghaction branch in my fork.
Ideally this workflow will trigger when there's a push to main/master branch and on pull request branches that open towards main/master branch

closes #2 (i think? im not sure if the doc part is complete, will redoc automatically build and add this inside the sphinx docs now, as it happens with the IntelOwl docs?)

ok, interesting the action tripped up on pushing to a fork's branch.
let me work on this

I've made 2 new changes now:

apart from branch triggers, workflow triggers when files inside urNode-backend/** have been changed
a fix for the action not able to push on fork's branches have been made taking help from here but that can be tested by opening a dummy PR here to trigger that workflow.
If it doesn't work even then, then I'll remove the PR as a trigger altogether and have it work only on pushes to main/master branch where i know for sure and have tested that this'll work :)))

thanks for your contribution!

yayay!
i am glad i could help


BorderColor type error on Input

Current Behavior
When I try to include a borderColor to a tamagui , it returns me a typescript error but the color is applied.
Also there is no borderColor prop on the autocomplete for the Input component.
Some screenshots of the prove:

Expected Behavior
Input not returning type error for borderColor prop
Tamagui Version
1.85.2

Platform (Web, iOS, Android)
Android

Reproduction
Try to apply borderColor prop to the tamagui starter-free template
Then it will return typescript error.

System Info
System:
    OS: Linux 5.15 Linux Mint 21.1 (Vera)
    CPU: (12) x64 AMD Ryzen 5 5600X 6-Core Processor
    Memory: 20.69 GB / 31.26 GB
    Container: Yes
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
    Yarn: 4.0.2 - ~/.nvm/versions/node/v20.10.0/bin/yarn
    npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 115.0.5790.170
    Firefox: 108.0.1
  npmPackages:
    @babel/runtime: ^7.18.9 => 7.21.0
    @manypkg/cli: ^0.19.1 => 0.19.2
    check-dependency-version-consistency: ^3.0.3 => 3.0.3
    eslint: ^8.21.0 => 8.39.0
    node-gyp: ^9.3.1 => 9.3.1
    prettier: ^2.7.1 => 2.8.8
    turbo: ^1.10.3 => 1.10.3
    typescript: ^5.3.3 => 5.3.3

I upgraded to 1.85.12 and the same thing is happening with borderRadius, it's not just a typescript error as it is not applying the token strings ($1, $2, etc.). I will have to downgrade to the version I was on before, 1.81.4.

probably there is a cache issue with your repos. try to remove node_modules
I'll close this issue for now

Well, I reinstalled with cli the tamagui starter free and same problem perceive.
It's not only borderColor, color and borderRadius also doesn't work, there is a huge problem with props typing on the library.

did you run yarn watch

No I didnt, but  yarn watch doesn't work and there is no documentation about what does this command anywhere


Not clear that fetch is available in hooks

Describe the bug
The docs section on the hooks doesn't mention if fetch is available on the server side to use inside a hook (handle(), for example) and how to obtain a reference to it. A reference to some fetch() is present in the sample code for the externalFetch() hook, but seeing as it's not a complete file, it leads to reader to believe this fetch might have to come from elsewhere, such as node-fetch installed additionally.
I see several solutions to this issue:

Add a note to the documentation on hooks saying that fetch is globally available to use in any custom hook.

Rework the way the references to fetch are obtained. For example, create an internal module that you could import fetch from, so that hooks.ts would look like this:
import { fetch } from '@sveltejs/kit/hooks';

export function handle() {
  console.log(await fetch('https://kit.svelte.dev/'));
}

I would prefer the second solution as it allows explicit reference to fetch as well as explicit typings for TypeScript. As a user of SvelteKit writing hooks, I would be more confident knowing that I can import fetch from somewhere to use in hooks instead of hoping there's a global one.
Reproduction
There is no reproduction
Logs
No response
System Info
Irrelevant

Severity
annoyance
Additional Information
No response

My story behind this bug is the following:
I was writing a handle hook that, in some cases, would make a request to the backend in order to authenticate a user. For that, I wanted to use fetch, but found no note of it in the documentation. VS Code was showing that there was a global fetch coming from typescript/lib/lib.dom.d.ts, so I assumed it was a mistake of TypeScript to believe that hooks.ts had access to DOM APIs. I tried installing node-fetch, but for some reason, the dev server wouldn't start up when 'node-fetch' was imported due to peculiar node:* imports in its source code.
Frustrated, I cloned a fresh demo app, attempted to use a global fetch and it worked.

the same problem wanna use fetch in the handle hook for a token refresh, any workaround?

@iwnow it's already available as a global variable


License?

Hello, could you please state the open source license type for this project?
Most popular ones are: (in the order of freedom - from most free to less free): the MIT license, the Apache V2 license, BSD license, GPL V3 license and so on...

Hi @VladMarius, definitely the most freedom - so I guess MIT License


Fail to set timelimt on CVXPY CBC solver with qcp=True

Describe the bug
I want to set time limit on CBC solver via problem.solve(solver=cp.CBC, verbose=0, qcp=True, maximumSeconds=100).
But I got report: TypeError: bisect() got an unexpected keyword argument 'maximumSeconds'
To Reproduce
import numpy as np
import cvxpy as cp
n = 10
a = np.random.randint(1, 10, size=n)
b = np.random.randint(1, 10, size=n)
x = cp.Variable(shape=n, boolean=True)
objective = cp.Minimize(cp.sum(x@a) / cp.sum(x@b))
constraints = [cp.sum(x@b) >= 1]
problem = cp.Problem(objective, constraints)
problem.solve(solver=cp.CBC, verbose=0, qcp=True, maximumSeconds=10)

Expected behavior
I am sure maximumSeconds works and I managed to set time limit via problem.solve(solver=cp.CBC, verbose=0, maximumSeconds=100)
The only difference is qcp=True. I add this flag because I am solving a problem with fractional objective like cp.Minimize(cp.sum(x@A) / cp.sum(x@B))
Output
TypeError: bisect() got an unexpected keyword argument 'maximumSeconds'
Version

OS: WSL2 ubuntu20
CVXPY Version: 1.1.20

I also raise this problem on stackoverflow

Solving a DQCP problem actually solves a sequence of DCP feasibility problems in the background (hence the reference to a bisect function). Presumably, you would want to apply the maximumSeconds argument to each iteration? Also, interrupting the solve before a global optimum is reached might lead to incorrect steps in the bisection.

Solving a DQCP problem actually solves a sequence of DCP feasibility problems in the background (hence the reference to a bisect function). Presumably, you would want to apply the maximumSeconds argument to each iteration? Also, interrupting the solve before a global optimum is reached might lead to incorrect steps in the bisection.

I am not sure whether setting maximumSeconds to each iteration is good idea. What I want to do is just to set timeout for cvxpy so that I get an expected running time. Any good idea for a DQCP problem?


Error loading library on MacOS X with ruby 1.9.2 from rvm

When I install cityhash gem a try to require it in irb I receive error in opening libcity.so library https://gist.github.com/947959

With help of @qhoxie and @newtonapple we made it! Try it now.


Autocomplete messes up when adding (async ...) to a dynamic import()

Issue still persists on Insiders as of February 14th 2020 (Day of testing)

VSCode Version: 1.42.1
OS Version: Darwin x64 19.0.0

Steps to Reproduce:

Write two dynamic import lines
Set a cursor at the end of each one
Use Intelisense to import a field

Does this issue occur when all extensions are disabled?: Yes

We get all our TypeScript functionality from a separate repository. Please file an issue over on https://github.com/Microsoft/TypeScript. Thanks!

@JacksonKearl I don't see how this is a Typescript problem. It's related to there being a second cursor and using a functionality that's editor related. Should I still open the issue over there?

@mjbvz would know better

Please provide example code to repo this issue

Code example:
foo.js
const foo = 3;
export { foo };
export default foo;

bar.js
const bar = 3;
export { bar };
export default bar;

foobar.js
const test = async () => {
  const a = import('./foo');
  const a = import('./bar');
};

With this setup, if you create a cursor after each import() and use the autocomplete it will behave like the GIF attached to the initial comment.
It doesn't happen when it's two variables importing from the same origin, so you need to be importing from two different sources

@jrieken Do you have any suggestions on how extensions should handle multicurors for suggestion accept? TS only knows about the primary cursor and returns a replacement range for that and returns an insertText for that range.
I don't know what we can reasonably handle multiple cursors this way

There is no good fix for this. We don't expose multiple cursors to language features like completions. That's because  we wanna keep things simple and we don't wanna leak this into LSP which talks to majority of single-cursor-only editors.
What happens is that upon insertion we compare the selected text from the primary cursor (using the range, e.g import('./foo')) with the prefix of secondary cursors. When equal we will replace, otherwise insert the text.
E.g. having the snippet below and accepting bar
foo|
foo|

will become
bar|
bar|

However, with
foo|
bazz|

it will become
bar|
bazzbar|

Given that we don't want make to completion providers more complex we have the option of dropping cursors with a different prefix. E.g the last sample will become this (only one replacement, only one cursor after accepting):
bar|
bazz

However, that would be change in behaviour and I don't know how multicursor suggestion is currently used and what the expectation are. Needs some thing before making a change, but this is definitely something that TypeScript can not (should not) fix.


Figure out what metrics we want the conversion webhooks to report

Additional Info
Follow up issue to https://github.com/knative/pkg/pull/993#discussion_r373031188

/remove-lifecycle stale

curious if @yanweiguo has any opinions?

I don't have much knowledge about this. Conversion request count? Success rate?

/lifecycle frozen
/reopen


Rails/HttpPositionalArguments incorrectly fixes existing arguments

After updating to 0.56.0 my tests were broken due to this cop changing parameters in a few tests.
Expected behavior
The cop should not alter this line
get v1_users_url, headers: { Authorization: token.token }

Actual behavior
The cop inserted my headers into the params argument.
get v1_users_url, params: { headers: { Authorization: token.token } }

Steps to reproduce the problem
Run cop against a test with existing methods like so:
require 'test_helper'

class UsersControllerTest < ActionDispatch::IntegrationTest
  test "Admin can get index" do
    token = authentications(:andrew_token)
    get v1_users_url, headers: { Authorization: token.token }

    assert_response :success
  end

  test "Tom can get his user info" do
    tom_token = authentications(:tom_token)
    get v1_user_url(users(:tom)), headers: { Authorization: tom_token.token }

    assert_response :success
  end
end

It will be changed to:
require 'test_helper'

class UsersControllerTest < ActionDispatch::IntegrationTest
  test "Admin can get index" do
    token = authentications(:andrew_token)
    get v1_users_url, params: { headers: { Authorization: token.token } }

    assert_response :success
  end

  test "Tom can get his user info" do
    tom_token = authentications(:tom_token)
    get v1_user_url(users(:tom)), params: { headers: { Authorization: tom_token.token } }

    assert_response :success
  end
end

The source code from this example is in https://github.com/PinsterTeam/PinsterApi/tree/newell/bad_cop
under test/controllers/v1
RuboCop version
 PinsterApi git:(newell/bad_cop) rubocop -V
0.56.0 (using Parser <IP_ADDRESS>, running on ruby 2.4.3 x86_64-linux)

@scytherswings fix already in master branch (see https://github.com/bbatsov/rubocop/pull/5893).


More features for planes: Landing gears, jetways, more planes, Airport utilities

Hello MTR Mod.
I would like to add more features for planes for the MTR Mod.
1. Landing Gears
In the mod, the planes don't have landing gears, shown here.

I would like to add so that if planes are on the ground, the landing gears are shown.
During taxiing and takeoff, the landing gears are shown, after takeoff, the landing gears will be retracted, then when landing, the landing gears show up.
2. Jetways
You need to add Plane Platforms to Minecraft Transit Railway.

Make a jetway (could be any block or just Airstairs)
Use the Platform Station Rail to make the plane stop at the gate!
Place 3 plane platforms in the exit of the jetway that leads to the plane (max height 3 blocks)
Enjoy!
![Hanoi_jetway](https://user-images.githubusercontent.com/94771839/216234362-bfb42e46-1c04-49d3-8714-

bee190be290a.png)
3. Add more planes + edit the A320 to add Business Class
Add more planes to MTR Mod and add Business Class to A320.
A320-200
2-2 business class configuration
2-2 economy class configuration
1. B737-800
2-2 business class configuration
2-2 economy class configuration
2. A330-300
1-2-1 business class configuration
2-3-2 economy class configuration
3. B757-200ER
2-2 business class configuration
3-3 economy class configuration
4. B787-8
1-2-1 first class configuration
1-2-1 business class configuration
2-4-2 economy class configuration
5. B777-300ER
1-2-1 first class configuration
1-2-1 business class configuration
2-4-2 economy class configuration
6. A350-900
1-2-1 first class configuration
1-2-1 business class configuration
2-4-2 economy class configuration

Plane / airport utilities
Add airport utilities for MTR Mod.

Airport Signs
You can enter text and icons and add more lines. Text lines can be added up to 3.

Airport PIDS
This shows all the flights on the gates (or platforms), departures and arrivals.

Airport Ticket Check-In, Airport Ticket entrance/arrival
This allows you to get airport tickets with emeralds or money.

Build a check-in/go to the check-in counters

Buy a ticket of any flight

Go enter the airport with your ticket (Airport Ticket Enterance)

Exit with your airport ticket when arrival (Airport Ticket Arrival)

Done!

I think you can add more features! Thanks!

Add more planes + edit the A320 to add Business Class

Once again, stop asking for adding new vehicles (both trains, planes, or other transit vehicles).👎
If you want more transit vehicles types, create resource pack by yourself.
If you don’t know how to create resource pack or really want Jonathan add vehicles you want to the mod officially, support him on Patreon.

If you want more transit vehicles types, create resource pack by yourself.
If you don’t know how to create resource pack or really want Jonathan add vehicles you want to the mod officially, support him on Patreon.

I can't believe you are so rude to me, trying to reject my suggestion. I am just adding ideas when you are trying to ruin people's ideas. Try to be considerate.

👎 If you want more transit vehicles types, create resource pack by yourself.
If you don’t know how to create resource pack or really want Jonathan add vehicles you want to the mod officially, support him on Patreon.

I can't believe you are so rude to me, trying to reject my suggestion. I am just adding ideas when you are trying to ruin people's ideas. Try to be considerate.

Once again, stop asking for adding new vehicles (both trains, planes, or other transit vehicles).👎
If you want more transit vehicles types, create resource pack by yourself.
If you don’t know how to create resource pack or really want Jonathan add vehicles you want to the mod officially, support him on Patreon.

I can't believe you are rude to me and others. I am just making ideas when you are flotting around ruining people's suggestions. Try to be more considerate!

 They are just making ideas when you are flotting around ruining people's suggestions. Try to be more considerate!

Making ideas not mean to give something is impossible or not real or breaking rules, OK?
First, no matter on Discord or MTRBBS, it already mentioned that only Patreon supporter can ask for adding new vehcles.
Second, why don't you think the reason there is a tool called resource pack creater?
Third, considerate doesn't mean can accept everything, especially some breaking the rules, understand?

Other than the plane requests, the other items seem to be purely cosmetic. Closing this for now.


fix: sending email with a restricted API key

Improve the error displayed when trying to send an email with a restricted API key if the API call didn't pass the restriction
Exemple: Trying to send an email from a server haviing the x.x.x.x IP address using an API key that is only allowed from IP y.y.y.y

@nstCactus thanks again! Released in version 1.0.3


feat: maps between the unitization of a non-unital subalgebra and its Algebra.adjoin

If S is non-unital subalgebra of a unital R-algebra A, there is a natural surjective map Unitization R S →ₐ[R] Algebra.adjoin R (S : Set A). When 1 ∉ S and R is a field, this becomes and AlgEquiv.
We specialize this to the ℕ-unitization of a non-unital subsemiring and its Subsemiring.closure, as well as the ℤ-unitization of a non-unital subring and its Subring.closure. We also extend the above map to a StarAlgHom in the case of NonUnitalStarSubalgebras.
This continues the non-unital-ization of mathlib.

[x] depends on: #5151
[x] depends on: #5512
[x] depends on: #5537

This PR/issue depends on:

leanprover-community/mathlib4#5151
leanprover-community/mathlib4#5512
leanprover-community/mathlib4#5537
By Dependent Issues (🤖). Happy coding!

I'm not a big fan of the filename, what do you think of moving it to Algebra.Algebra.Subalgebra.Unitization?

Thanks!
bors merge


VDSM - Did not start after updating to 7.15

Operating system
docker lxc container under latest proxmox version
Description
Hello,
after updating to vfsm 7.15 last night the container did not come up. The following lines are logged.
This is running in an infinite loop.
Rolling back to version 7:14 manually is working as desired and everything comes up as normal.
In the moment i've no plan what happend here and any help would be useful for me.
Thanks
Docker compose
services:
dsm:
image: vdsm/virtual-dsm:latest
hostname: synology
container_name: synology
environment:
DISK_SIZE: "768G"
ALLOCATE: "N"
CPU_CORES: "2"
RAM_SIZE: "2048M"
DHCP: "Y"
DEBUG: "N"
        VM_NET_MAC: "xx-xx-xx-xx-xx-xx"
        HOST_SERIAL: "xxxxxxxxxxxxxxx"
        GUEST_SERIAL: "xxxxxxxxxxxxxxx"
        HOST_MAC: "xx-xx-xx-xx-xx-xx"
        HOST_MODEL: "DSxxxx+"
    labels:
      com.centurylinklabs.watchtower.enable: true
    networks:
        vdsm:
            ipv4_address: yyy.yyy.yyy.yyy
    devices:
        - /dev/kvm
        - /dev/vhost-net
    cap_add:
        - NET_ADMIN
    volumes:
        - /synology:/storage
    restart: unless-stopped
    stop_grace_period: 1m
    device_cgroup_rules:
        - 'c *:* rwm'

networks:
vdsm:
external: true
Docker log
❯ Warning: unexpected clocksource: kvm-clock
❯ Booting Virtual DSM using QEMU v8.2.4...
❯ ERROR: qemu-system-x86_64: -netdev tap,id=hostnet0,vhost=on,vhostfd=40,fd=30,script=no,downscript=no: ifname=, script=, downscript=, vnet_hdr=, helper=, queues=, fds=, and vhostfds= are invalid with fd=
❯ Starting Virtual DSM for Docker v7.15...
❯ For support visit https://github.com/vdsm/virtual-dsm
❯ CPU: Intel Core TM i5 6500T CPU | RAM: 4/5 GB | DISK: 303 GB (ext4) | HOST: 5.15.0-112...
Screenshots (optional)
No response

Yes, of course, you're right. After updating the stack via the portainer tool with reloading the source image again it works like desired.
Initial the stack was updated automatically via watchtower at 3:55 UTC time.
So everyone outside with the same problem. The solution in this case is:

Stop the stack with
docker-compose down
Start the stack again and force recreate
docker-compose up -d --force-recreate
Cleanup danging image with e.g. (Attention, this will clean all dangling images)
docker rmi $(docker images -f "dangling=true" -q) -f

A bit easier it is via portainer management tool.

Navigate to the desired stack and go to the edit mode
Scroll down until you see the button: "Update the stack", click on it.
In the popup window put the slider "Re-pull image and redeploy" to on and click on "Update"

This is doing nearling the same as the above docker-compose commands except cleaning up the dangling images
Have a nice day and thank you very much for your help.
Greetings from germany.
Michael

hi bro, how can you set HOST_SERIAL and GUEST_SERIAL?

Operating system
docker lxc container under latest proxmox version
Description
Hello,
after updating to vfsm 7.15 last night the container did not come up. The following lines are logged. This is running in an infinite loop.
Rolling back to version 7:14 manually is working as desired and everything comes up as normal.
In the moment i've no plan what happend here and any help would be useful for me.
Thanks
Docker compose
services: dsm: image: vdsm/virtual-dsm:latest hostname: synology container_name: synology environment: DISK_SIZE: "768G" ALLOCATE: "N" CPU_CORES: "2" RAM_SIZE: "2048M" DHCP: "Y" DEBUG: "N"
        VM_NET_MAC: "xx-xx-xx-xx-xx-xx"
        HOST_SERIAL: "xxxxxxxxxxxxxxx"
        GUEST_SERIAL: "xxxxxxxxxxxxxxx"
        HOST_MAC: "xx-xx-xx-xx-xx-xx"
        HOST_MODEL: "DSxxxx+"
    labels:
      com.centurylinklabs.watchtower.enable: true
    networks:
        vdsm:
            ipv4_address: yyy.yyy.yyy.yyy
    devices:
        - /dev/kvm
        - /dev/vhost-net
    cap_add:
        - NET_ADMIN
    volumes:
        - /synology:/storage
    restart: unless-stopped
    stop_grace_period: 1m
    device_cgroup_rules:
        - 'c *:* rwm'

networks: vdsm: external: true
Docker log
❯ Warning: unexpected clocksource: kvm-clock ❯ Booting Virtual DSM using QEMU v8.2.4... ❯ ERROR: qemu-system-x86_64: -netdev tap,id=hostnet0,vhost=on,vhostfd=40,fd=30,script=no,downscript=no: ifname=, script=, downscript=, vnet_hdr=, helper=, queues=, fds=, and vhostfds= are invalid with fd= ❯ Starting Virtual DSM for Docker v7.15... ❯ For support visit https://github.com/vdsm/virtual-dsm ❯ CPU: Intel Core TM i5 6500T CPU | RAM: 4/5 GB | DISK: 303 GB (ext4) | HOST: 5.15.0-112...
Screenshots (optional)
No response

Hello JiweiMaster,
hello all other who are interested in setting host and guest serial.
i followed this forum thread:

In my case i really own a physical DS1815+ Synology NAS Device with 8 bays.
The virtual one is always on running as docker container for using Synology Photos.
I wanted to add Advanced Media Extensions and this is only possible with an valid synology account and with
the additional information in the docker container. On my physical NAS i already installed the media extensions.
I'm using this solution because the 8-bay NAS is consuming a lot of power and was running all the time (except sleepmode in the night). Now i upload photos to the virtuals synology and view them from there and when physical NAS is online the photos are synced via synology drive share sync. My homeserver is consuming only 15W and is hosting many docker services around the clock. So i save a lot of money every year.
Most of the needed information you can find here:

    VM_NET_MAC: "xx-xx-xx-xx-xx-xx"        # Via link above
    HOST_SERIAL: "xxxxxxxxxxxxxxx"           # Via link above
    GUEST_SERIAL: "xxxxxxxxxxxxxxx"          # In the webgui under Info-Center inside the virtual DSM
    HOST_MAC: "xx-xx-xx-xx-xx-xx"            # In the webgui under Info-Center inside the network tab of the physical NAS
    HOST_MODEL: "DSxxxx+"                      # In the webgui under Info-Center

That it. I'll hope this information is enough to answer your question and to help you fulfil your requirements.
Sincerly Michael
P.S. If you don't own a physical synology nas, it is maybe a way to by a used one from ebay for a few bucks and use the information from this device.


Fix a typo in input_producer documentation

Just what it says on the tin..

Can one of the admins verify this patch?


independently set proxy for this plugin.

Now it could not set proxy for code-gpt plugin enabled on WSL in VScode independently. If possible,  it is more convenient.

Well, not at the moment, but if you want to run a model on a WSL server, you must verify that the server of VSCode has a connection and access to the WSL server. To help you with this, you can follow this article: https://medium.com/p/881b91ba193e


Add image registry plugin and api client

Fixes: https://github.com/janus-idp/backstage-plugins/issues/300

@divyanshiGupta seems like prettier is complaining.

@divyanshiGupta seems like prettier is complaining.

@tumido yeah there was some issue with the tekton README. Not sure how it got merged though. I have fixed the issue.

@divyanshiGupta it was merged manually despite failing CI. Not good.


Make a better default value for Release Date

When a release date is null, it is invalid JSON, and will cause crashing of JSON parsers.  There are (currently) 352 cards that have "releasedAt":null , and all of those cause issues.
Two examples are Charcoal Diamond (http://api.mtgdb.info/cards/389463) and Wrath of God (http://api.mtgdb.info/cards/386298).
Perhaps you could use a default "valid date" that is actually meaningless?  (e.g. January 1, 1900)

"releasedAt":null is not invalid JSON, null is fine for use in this scenario.

Hmmm.. maybe the issue is with the Java wrapper around the API.  I'll post the issue there.


⚠ Bofrost.lu has degraded performance

In d1a252c, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1158 ms

Resolved: Bofrost.lu performance has improved in b09371f after 6 minutes.


Add classes ByteProperty and PasswordProperty

Following https://github.com/swagger-api/swagger-spec/issues/518
Added classes ByteProperty and PasswordProperty.

Hm... no unit tests and these are not used from anywhere... say like in PrimitiveTypes

@garydgregory right you are.  I have updated the tests and addressed some issues in this PR via #1578.


Improving the readme file of this project

I would like to work on improving the readme file of this project making it engaging for the users and make it more expressive.

I would like to work on this issue, please assign this issue to me under SSoC'23.

Hello, I am reaching out as a participant of the SSoC'23 program with a request to assign an issue in GitHub for the purpose of improving the README file of our project. Please consider me for assigning this issue because I have experience in technical writing, project documentation, and familiarity with the project's codebase.

Hey @TusharKesarwani ,
I would love to contribute in your project and improve your README file of your project.

I would like to contribute !

Create a fresh issue after 1st June


[babel-plugin-root] fixed syntax sugar of props passing

What changed?
fixed syntax sugar of props passing. The sugar is about following transformation:
- const x = props;
+ const x = this ? this.asProps : arguments[0]

Transformation in root plugin passes props to Root node of component.
What makes things worser, that transformation is wrong and currently works only because of components code second babel transformation, which has a undocumented behaviour, that sometimes mess things up and confuses developers.
That incorrect behaviour was detected during using esbuild to build components. We still can transform components thrice (build time in components repo, build with babel in host repo, build of the final bundle with esbuild), but it is really bad way to solve issues and, surely, makes build time slower.
Transformation may still be wrong in some rare cases but I hope that syntax sugar will be removed before rare cases ocasion.
Definition of Done

[x] All repo tests passed successfully, even screenshots
[x] Now props passed without second babel transformation (e.g. with esbuild)

Reviewer checklist

[ ] Does the code work? Does it perform its intended function and the logic is correct?
[ ] Is the code easily understandable?
[ ] Verify the unit tests are testing the code to perform the intended functionality
[ ] Verify the unit tests cover the positive and negative scenarios
[ ] Verify the screenshot tests are added and are they comprehensive

@lsroman, is fix ok? If that is I will increment patch of core and publish all components


Task Solved: Ability to pass scenarios to run over http

The earlier implementation reads the scenarios to run using file paths, having a way to define scenarios over http will make it more easy for users to run their test configurations.
So here in this, I have worked to write the configurations in such a way that earlier it didn't ran on http server. Now, with current implementation, scenarios can be defined on the file system as well as directly over http.

Looks like you need to rebase your PR with updates that have gone in during your work
git fetch upstream
git rebase upstream/master
<fix any issues>
git push origin <branch_name> --force

Also might be good to create a branch off of your master branch to work on and squash your commits, see directions here


Unable to install yt-dlp on Android using Termux

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[ ] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
When trying to install yt-dlp on Android using Termux (using command python3 -m pip install yt-dlp) I get the following error: ERROR: Could not find a version that satisfies the requirement yt-dlp (from versions: none) ERROR: No matching distribution found for yt-dlp
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
WARNING: Disabling truststore since ssl support is missing
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/yt-dlp/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/yt-dlp/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/yt-dlp/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/yt-dlp/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/yt-dlp/
Could not fetch URL https://pypi.org/simple/yt-dlp/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/yt-dlp/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement yt-dlp (from versions: none)
ERROR: No matching distribution found for yt-dlp

did you follow the steps here: https://github.com/yt-dlp/yt-dlp/wiki/Installation#android

Thank you, it worked using those steps!


Remove juno/juno2 distinction

All Juno boards now have the same hwmon setup, so we don't need the
juno/juno2 distinction any more.

This supersedes https://github.com/ARM-software/lisa/pull/225 as it's quite urgent to get this fixed.
Note I haven't included backwards compatibility here, people who currently use 'juno2' will need to change their config. Any objections there?

Need to check if notebooks need updating

Nope, all is good.

Per what you said "people who currently use 'juno2' will need to change their config", is there a method to make all Juno R0/R2 board users happy at the same time in LISA source code?
You know some R0/R1/R2 boards were sold to users out of ARM. Complains from R2 board users may come back accordingly.

This should make all Juno revision users happy, it means that they can use "juno" for any revision/kernel config. Anyone who is already using the "juno2" option will just have to change their target.config to say "juno" instead.
I thought about treating "juno" and "juno2" as equivalent but decided to avoid introducing the first "legacy cruft" into LISA.

Agree, let's keep it simple... however, this patch should fix at least update this notebook:
https://github.com/ARM-software/lisa/blob/master/ipynb/tutorial/04_ExecutorUsage.ipynb
to use "board" : 'juno'.

Ah yeah thanks for spotting that (it wasn't there in my branch, only saw it once I rebased on master). Fixed and pushed.

Nice and neat clean-up! :+1:


🐛 Camera Glitchy on Initial Switch From Front to Back

What's happening?
This is a continuation of an issue that was closed (somewhat) prematurely, but when attempting to switch between the camera using different zooms and the properly initialized device array I observe:
"It seems that the glitchy behavior from before happens the first time in a given session that I open the camera and attempt to switch from front to back. If I close the camera and re-open within the same session, the switch looks as it does in the video when I switch from front to back the second time in a given session. Is this normal behavior, or can it be improved in some way?
Thank you!"
https://github.com/mrousavy/react-native-vision-camera/assets/96966609/4234a718-ef11-4352-ae2e-2e69a0b4a2be
Reproduceable Code
useLayoutEffect(() => { if (cameraPos === "front") { zoom.value = withTiming(device?.minZoom ?? 1, { duration: 300 }); } else { if (includeUltraWide) { zoom.value = withTiming(device?.minZoom ?? 1, { duration: 300 }); } else { zoom.value = withTiming(device?.neutralZoom ?? 2, { duration: 300 }); } } }, [cameraPos, includeUltraWide]);

I initialized the device array accordingly as well:

const physicalDevices: PhysicalCameraDeviceType[] = ['wide-angle-camera', 'ultra-wide-angle-camera'];

Relevant log output
...

Camera Device
{
  "name": "Back Camera",
  "hasFlash": true,
  "position": "back",
  "hardwareLevel": "full",
  "supportsLowLightBoost": false,
  "sensorOrientation": "landscape-right",
  "isMultiCam": false,
  "id": "com.apple.avfoundation.avcapturedevice.built-in_video:0",
  "formats": [],
  "neutralZoom": 1,
  "physicalDevices": [
    "wide-angle-camera"
  ],
  "supportsFocus": true,
  "supportsRawCapture": false,
  "hasTorch": true,
  "maxZoom": 123.75,
  "minZoom": 1
}
 LOG  {
  "sensorOrientation": "landscape-right",
  "hasTorch": false,
  "isMultiCam": false,
  "minZoom": 1,
  "id": "com.apple.avfoundation.avcapturedevice.built-in_video:1",
  "supportsFocus": true,
  "supportsRawCapture": false,
  "neutralZoom": 1,
  "physicalDevices": [
    "wide-angle-camera"
  ],
  "hardwareLevel": "full",
  "position": "front",
  "supportsLowLightBoost": false,
  "name": "Front Camera",
  "hasFlash": true,
  "maxZoom": 128.875,
  "formats": []
}

Device
iPhone 15 Pro
VisionCamera Version
3.6.8
Can you reproduce this issue in the VisionCamera Example app?
No, I cannot reproduce the issue in the Example app
Additional information

[X] I am using Expo
[ ] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

I think that's what it looks like when the camera is initializing — most apps (like the native iOS camera) provide a static loading view or a blurred view of the last active frame until the camera is ready. Handling this better is on my to-do list for my own app, but I just checked and it looks like onInitialized gets called when the camera is fully ready — have you tried using that to set a loading state?

I have also seen that in ShadowLens.
Could you please add logs though, as without logs I will need to close the issue.

Ok, not sure if this is helpful, but: I spent some time on this today and attempted to use the onStarted, onStopped, and onInitialized callbacks to show a BlurView until the camera is ready, similar to the native photos app or instagram. I was able to do this somewhat successfully, and found that it depends on the camera format.
My app allows users to choose from 4 photo quality settings; the first 3 affect the value of qualityPrioritization when calling Camera.takePhoto, and the highest setting changes the format filter to also use the max iso:
const formatFilter = [
        {
            photoAspectRatio: 4 / 3,
        },
        { photoResolution: 'max' },
        { videoResolution: { width: 1024, height: 768 } },
        { photoHdr: true },
    ]
    if (photoQualitySetting === 3) {
        formatFilter.unshift({ iso: 'max' })
    }

In this video (recorded on an iPhone 14 pro), I'm switching to and from the camera screen and flipping the device orientation first in the "quality" setting, and then in the "max" setting (max iso). The former works as expected, but the latter causes the camera view to visibly resize when it first starts up and each time it flips from front to back.

Looks much better already with the BlurView!
I'd still say there is a little jump here, maybe this is a bug in VisionCamera, I'm not sure.
That's what I need the logs for, otherwise I can't help.

What logs would be helpful for you to see?
Also, @stevengoldberg thank you for posting that video. That is the same behavior that I am observing as well. I would probably take the approach of showing a blurred view of the last frame because you can still see the glitchy behavior underneath, but I appreciate the demonstration. How are you controlling when to show it? I know you mention those 3 callbacks, but a larger example would be awesome.
The issues that @stevengoldberg refer to in his video are the same that I am experiencing as well.

Sure @griffinbaker12 — I've found that navigating to a screen with the Camera component on it causes onInitialized and then onStarted to be called the first time it happens, and onStopped is called when navigating away. Navigating back to the camera subsequently just calls onStarted, and switching between front and back cameras just calls onInitialized.
Therefore I have it set up basically like this:
const [isCameraReady, setIsCameraReady] = useState(false)
const [cameraPosition, setCameraPosition] = useState('back')
const isCameraFlipping = useRef(false)

// pass this to a button somewhere
const onFlipCameraPressed = useCallback(() => {
    isCameraFlipping.current = true
    setIsCameraReady(false)
    setCameraPosition((p) => (p === 'back' ? 'front' : 'back'))
}, [])

return (
    <>
        <Camera
            onStarted={() => setIsCameraReady(true)}
            onStopped={() => setIsCameraReady(false)}
            onInitialized={() => {
                if (isCameraFlipping.current) {
                    setIsCameraReady(true)
                    isCameraFlipping.current = false
                }
             }}
            // etc
        />
        {!isCameraReady && <BlurView />}
    </>
)

@mrousavy here are some of the camera logs from my iPhone 14 pro when I switch from front to back camera, as in the video I posted:
error	16:00:09.754394-0500	appleh13camerad	H13ISPServicesAssistant: setProperty 15
error	16:00:09.754416-0500	appleh13camerad	H10ISPServicesAssistant: setProperty 15 complete (res=0x00000000)
error	16:00:09.764570-0500	appleh13camerad	H13ISPServicesAssistant: setProperty 2
error	16:00:09.764658-0500	appleh13camerad	H10ISPServicesAssistant: setProperty 2 complete (res=0x00000000)
error	16:00:09.818445-0500	appleh13camerad	H13ISPServicesAssistant: setProperty 15
error	16:00:09.818470-0500	appleh13camerad	H10ISPServicesAssistant: setProperty 15 complete (res=0x00000000)
error	16:00:09.822952-0500	appleh13camerad	H13ISPServicesAssistant: setProperty 2
error	16:00:09.823246-0500	appleh13camerad	H10ISPServicesAssistant: setProperty 2 complete (res=0x00000000)
error	16:00:09.824237-0500	appleh13camerad	H13ISPServicesAssistant: setProperty 10
error	16:00:09.824260-0500	appleh13camerad	H10ISPServicesAssistant: setProperty 10 complete (res=0x00000000)
error	16:00:09.830796-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 10
error	16:00:09.831013-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 10 complete (res=0x00000000)
error	16:00:09.833564-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 10
error	16:00:09.833839-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 10 complete (res=0x00000000)
error	16:00:09.836628-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 10
error	16:00:09.836836-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 10 complete (res=0x00000000)
error	16:00:09.840286-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 7
default	16:00:09.840334-0500	appleh13camerad	Jasper calibration
default	16:00:09.840590-0500	appleh13camerad		Looking for local cache
default	16:00:09.842593-0500	appleh13camerad		Found
error	16:00:09.842618-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 7 complete (res=0x00000000)
error	16:00:09.855195-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 7
default	16:00:09.855220-0500	appleh13camerad	Jasper calibration
default	16:00:09.855242-0500	appleh13camerad		Looking for local cache
default	16:00:09.855264-0500	appleh13camerad		Found
error	16:00:09.855287-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 7 complete (res=0x00000000)
error	16:00:10.325464-0500	appleh13camerad	New connection: pid <private>
error	16:00:10.325488-0500	appleh13camerad	Total number of connections: 2
default	16:00:10.325593-0500	appleh13camerad	[0xa5aa1d080] activating connection: mach=false listener=false peer=true name=com.apple.appleh13camerad.peer.0xa5aa1d080
error	16:00:10.325619-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 103
error	16:00:10.325644-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 103 complete (res=0x00000000)
error	16:00:10.325695-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 104
error	16:00:10.325717-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 104 complete (res=0x00000000)
default	16:00:10.328440-0500	appleh13camerad	[0xa5aa1d080] invalidated after getting a no-senders notification - client is gone
error	16:00:10.328707-0500	appleh13camerad	Client disconnecting (pid <private>)
error	16:00:10.328732-0500	appleh13camerad	Active client pid = 28973
error	16:00:10.329201-0500	appleh13camerad	Removing client: pid <private>
error	16:00:10.329261-0500	appleh13camerad	Total number of connections: 1
default	16:00:10.329315-0500	appleh13camerad	Active client pid <private> deviceID <private>
error	16:00:10.329363-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 7
default	16:00:10.329418-0500	appleh13camerad	Jasper calibration
default	16:00:10.329441-0500	appleh13camerad		Looking for local cache
default	16:00:10.329463-0500	appleh13camerad		Found
error	16:00:10.329515-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 7 complete (res=0x00000000)
error	16:00:10.400016-0500	appleh13camerad	H13ISPServicesAssistant: setProperty 2
error	16:00:10.400048-0500	appleh13camerad	H10ISPServicesAssistant: setProperty 2 complete (res=0x00000000)
error	16:00:10.647667-0500	appleh13camerad	H13ISPServicesAssistant: setProperty 2
error	16:00:10.647710-0500	appleh13camerad	H10ISPServicesAssistant: setProperty 2 complete (res=0x00000000)
error	16:00:10.733912-0500	appleh13camerad	H13ISPServicesAssistant: setProperty 2
error	16:00:10.734000-0500	appleh13camerad	H10ISPServicesAssistant: setProperty 2 complete (res=0x00000000)
error	16:00:10.995667-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 7
default	16:00:10.995717-0500	appleh13camerad	Jasper calibration
default	16:00:10.995851-0500	appleh13camerad		Looking for local cache
default	16:00:10.996088-0500	appleh13camerad		Found
error	16:00:10.996114-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 7 complete (res=0x00000000)
error	16:00:11.008822-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 7
default	16:00:11.008848-0500	appleh13camerad	Jasper calibration
default	16:00:11.008872-0500	appleh13camerad		Looking for local cache
default	16:00:11.009520-0500	appleh13camerad		Found
error	16:00:11.009553-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 7 complete (res=0x00000000)
error	16:00:11.010862-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 9
error	16:00:11.012016-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 9 complete (res=0x00000000)
error	16:00:11.062035-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 7
default	16:00:11.062067-0500	appleh13camerad	Jasper calibration
default	16:00:11.062526-0500	appleh13camerad		Looking for local cache
default	16:00:11.062583-0500	appleh13camerad		Found
error	16:00:11.062722-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 7 complete (res=0x00000000)
error	16:00:11.064081-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 9
error	16:00:11.064105-0500	appleh13camerad	H13ISPServicesAssistant: getProperty 9 complete (res=0x00000000)
error	16:00:11.172883-0500	appleh13camerad	H13ISPServicesAssistant: setProperty 2
error	16:00:11.172908-0500	appleh13camerad	H10ISPServicesAssistant: setProperty 2 complete (res=0x00000000)
error	16:00:11.190185-0500	appleh13camerad	H13ISPServicesAssistant: setProperty 14
error	16:00:11.190210-0500	appleh13camerad	H10ISPServicesAssistant: setProperty 14 complete (res=0x00000000)
error	16:00:11.215864-0500	appleh13camerad	H13ISPServicesAssistant: setProperty 14
error	16:00:11.215893-0500	appleh13camerad	H10ISPServicesAssistant: setProperty 14 complete (res=0x00000000)

@stevengoldberg makes sense, thx for the help on this.

Found a solution! 💪😄  https://github.com/mrousavy/react-native-vision-camera/pull/2537

I just tested this with 3.9.0 and the resizing is still visible when I use the maxISO format.
 Can you run your app through Xcode and share the logs in that console please? I need to see if the session is being configured more than once

Sorry about that — here are those logs (taken when switching from front to back camera):
VisionCamera.didSetProps(_:): Updating 2 props: [cameraId, format]
VisionCamera.configure(_:): configure { ... }: Waiting for lock...
VisionCamera.configure(_:): configure { ... }: Updating CameraSession Configuration...
VisionCamera.configureDevice(configuration:): Configuring Camera com.apple.avfoundation.avcapturedevice.built-in_video:7...
VisionCamera.configureDevice(configuration:): Successfully configured Input Device!
VisionCamera.configureOutputs(configuration:): Configuring Outputs...
VisionCamera.configureOutputs(configuration:): Adding Photo output...
VisionCamera.configureOutputs(configuration:): Successfully configured all outputs!
VisionCamera.configureFormat(configuration:device:): Configuring Format (4032x3024 |<EMAIL_ADDRESS>(ISO: 57.0..12768.0, Pixel Formats: [VisionCamera.PixelFormat.yuv, VisionCamera.PixelFormat.yuv, VisionCamera.PixelFormat.rgb, VisionCamera.PixelFormat.unknown, VisionCamera.PixelFormat.yuv, VisionCamera.PixelFormat.unknown, VisionCamera.PixelFormat.yuv, VisionCamera.PixelFormat.unknown, VisionCamera.PixelFormat.rgb]))...
VisionCamera.configureFormat(configuration:device:): Already selected active format, no need to configure.
VisionCamera.didSetProps(_:): Updating 2 props: [exposure, zoom]
VisionCamera.configure(_:): configure { ... }: Waiting for lock...
VisionCamera.onSessionInitialized(): Camera initialized!
VisionCamera.configure(_:): configure { ... }: Updating CameraSession Configuration... Difference(inputChanged: false, outputsChanged: false, videoStabilizationChanged: false, orientationChanged: false, formatChanged: false, sidePropsChanged: false, torchChanged: false, zoomChanged: true, exposureChanged: false, audioSessionChanged: false)


[PURCHASE-1264] When clicking on a link from a markdown component section (i.e. About the Artist), new page opens from the bottom instead of the right

We should be able to configure between opening in modal vs. pushing onto the stack from within Emission. Pushing onto the existing nav stack should be the default.
I gave the ReadMore component an optional prop (presentLinksModally). I change defaultRules in the renderMarkdown component from a constant to a function that accepts a boolean and renders links modally only when it is true. It defaults to false, so unless true is passed in it will not open links modally.
@ashfurrow Can you double check and make sure I'm opening things modally in the correct places?

Fails

:no_entry_sign:
No CHANGELOG added.

  Generated by :no_entry_sign: dangerJS


fix typos, add comma

Hey @wes-novack , thanks for the finds here!
A couple things:

These edits are made in docs/ which is the generated site.  You want to make the changes in the appropriate packages/site files.  Given I know you found typos on the landing page, I'd be looking at packages/site/src/home/index.js first.
The commit message for this project is significant and follows this format: https://github.com/pluralsight/design-system/blob/master/CONTRIBUTING.md#commit-messages  I'm going to automate the validation of this eventually.  I'm sorry that wasn't clear for your first commit.

fwiw, Instead of a reverting the commit, you can also either rebranch from master or interactive-rebase remove the commits.


SUBMARINE-885. Fix KinD error and remove docker layer cache

What is this PR for?
There are setting bugs that make the python-sdk test fails.  Use the official KinD to install the submarine and remove the docker layer cache which is not available in this repo.
What type of PR is it?
[Bug Fix]
Todos
What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-885
How should this be tested?
See the GitHub Actions.
Screenshots (if appropriate)
Questions:

Do the license files need updating? No
Are there breaking changes for older versions? No
Does this need new documentation? No

@ByronHsu  Could you help me review the code? Thanks!

LGTM. Thanks for your contribution!


Snapshots tab is missing for cluster owner that is a standard user

Setup

Rancher version: v2.6.5-rc8
Browser type & version: Chrome Build 101.0.4951.54

Describe the bug

After creating a cluster with Standard user, the snapshots tab is missing and doesn't appear until I take a snapshot from the Cluster Management page.
To Reproduce

Create RKE2 node driver cluster
Click on cluster from Cluster management page
Look for Snapshots on navigation tab

Result
Snapshots tab is missing

Expected Result

Snapshots tab should be there.

@samjustus based on the feedback from Nancy, this is almost certainly going to be a Neo issue. Can you prioritize for 2.6.6? We should release note for 2.6.5.

On 2.6head commit id: 628b1b9

Deployed an RKE2 cluster
Add user1 as standard user.
Login as user1
snapshots tab is missing
As user1 take a manual snapshot
Snapshot tab and snapshots are available
Restore option is also available on the snapshot

@sowmyav27 @timhaneunsoo aren't your scenario's different ? Original case is for cluster owner / creator, and not a cluster member.

SURE-3770

Root Cause
After a snapshot is created, it is stored in the fleet-default namespace in the local cluster, and then the specific resource gets a roleBinding to desired roles. When this binding is complete, /schemas can correctly inform the UI that the user has permission to manage snapshots. If there are no snapshots taken, there is no binding, and /schema is not populated with etcdsnapshot.rke.cattle.io. Thus, the users appear not to have permissions to manage snapshots.
What was fixed, or what change has occurred
We create a roleTemplates with permissions to etcdsnapshot.cattle.io in the cluster namespace to fix this issue. Snapshots are not stored in the cluster namespace,  But this allows the UI to see if a user has permissions for the CRD regardless of if any resources are present.
Areas or cases that should be tested
Test that non-admin users with the cluster-owner role can view and create snapshots for their assigned cluster even if there are no previously created clusters

Verify cluster-owner can view and create snapshots

Provision a new cluster using RKE2
Create a new User (testUser)
Assign testUser to the role cluster-owner in the newly provisioned cluster.
Login as testUser.
Verify the snapshots tab is present.
Verify the user can view an empty list of snapshots
Verify the user can create a new snapshot.

Verify users can only view snapshots for their cluster

Provision 2 downstream cluster using RKE2 (clusterA and clusterB).
Create a new User (testUser)
Assign the cluster-owner in clusterA.
As the admin create a snapshot in clusterB.
Login as testUser.
Verify that the testUser views an empty list in snapshots and not the snapshot created in clusterA

What areas could experience regressions
Creation and viewing of snapshots in an RKE2 provisioned cluster.
Are the repro steps accurate/minimal?
Yes
Steps To Reproduce

Create a rancher server v2.6.5-rcX.
Deploy RKE2 provisioned cluster.
Create a new user (testUsers).
Assign testUsers the role of cluster-owner in the newly provisioned cluster.
Attempt to create a new snapshot in the newly provisioned cluster as the testUser.

SURE-4792

Test Environment:
Rancher version: v2.6-head f40e542
Rancher cluster type: HA
Docker version: 20.10
Downstream cluster type: RKE2 node driver

Testing:
Tested this issue with the following steps:

Create RKE2 node driver cluster
Click on cluster from Cluster management page
Look for Snapshots on navigation tab

Result - Pass
After creating a cluster with Standard user, the snapshots tab is no longer missing.

@KevinJoiner will need release note for this issue

Release Note
Synopsis of issue: Users with the role 'Cluster Owners' who were not also 'Admins' were not able to manage snapshots on rke2 clusters.
Status: Resolved


fix: except * from quotation

[x] tests and linter show no problems (npm t)
[x] code is properly formatted (npm run fmt)

Landed in https://github.com/metarhia/metasql/commit/70afb56f22ea5d3f75cdb25ba675afe141cb38c7


Adding further annotation to subset

Hi, Alex,
Fantastic package! As a python guy, I have become such a huge fan of Scanpy.
I'm encountering an issue when trying to add further annotation to a subset, what I'm doing is basically:
adata = sc.read(filename)
adata.var_names = pd.read_csv('genes.tsv')
adata.obs_names = pd.read_csv('barcodes.tsv')

adata_subset = adata[ list_of_barcodes,:]
anno = pd.read_csv(filename_sample_annotation)
adata_subset.obs = anno

But unfortunately adata_subset.obs didn't get updated (I checked the index of anno and it's consistent with adata_subset.obs_names).
It works only if I add the annotation column by column (In my case there are too many columns so it won't be ideal), e.g.
adata_subset.obs['cell_groups'] = anno['cell_groups']
Could you please help me figure it out? Many thanks!
Huidong

Thanks for the quick solution! It works perfectly. I'm closing the issue now. Thanks again!


Support 16-bit add kernel

Add support for 16-bit add, 8bit-16bit quantize, transpose_conv 16-bit bias and add relevant tests.
BUG=http://b/184839019

We really should refactor the CMSIS kernels to call into the reference code for all types other than int8. Maybe follow-on PR?

Agreed. Filed b/192114220.


validateExpiryDate always returns false on iOS

Describe the bug
On the version 1.1.0 the validateExpiryDate always returns false on iOS
To Reproduce
const date: ValidateExpiryDateOptions = {
exp_month,
exp_year
}
async validateExpiry(date: ValidateExpiryDateOptions) {
return await Stripe.validateExpiryDate(date);
}
Expected behavior
validateExpiry return false even for valid dates
Additional context
I'm aware that there is a new version, but for now I'm working using capacitor v2, is it possible to know where I can fix the swift code.
Thank you :)

I see v2's validateExpiryDate method is not be implements. ( only always return false )

@Jud-Ken-Do Did you adapt this plugin for production? If yes, please tell us what app. Please help us to develop this plugin in 2022.
https://github.com/capacitor-community/stripe/issues/145
Thanks.