Move anonymous type instantiation cache from AST node to root type

Fixes #40995.

@typescript-bot perf test this

Hmm, the performance here looks a little worse than #41003 on material-ui and monaco, but that makes me wonder if there were previously more incorrect instantiations in material-ui that just went unnoticed 🤔. The difference is almost within the margin of error, so maybe not too bad...

It's possible the slowdown is just a result of reduced monomorphism in object layouts, but the numbers are higher enough that likely there are more type objects being allocated. Would be interesting to know where those extra allocations are coming from. I have a sense it isn't just spreads in object literals.

I'll see if I can find out—in my first attempts I had some code that used the cache both the old way and the new way and hit a debugger statement any time the results differed. I'll bring that back and see what I can find.

I think I see what's causing the slowdown. The changes aren't quite right for deferred type references, we need to obtain the "root" deferred type reference (the one produced by getTypeFromTypeNode) and then store the cache there. As it currently stands the caching is spread out over multiple type objects when we're doing instantiations of instantiations. In material-ui this causes the type count to increase from 159.5K to 165K. I'll put up a fix shortly.

Much better. Looks like we're now in the margin of error.

BTW, I have manually verified that this PR now doesn't affect the number of types created when compiling material-ui.


#869522144 Feature game onboarding

What does this PR do?
Users should be quickly and effectively onboarded onto the app
Description of Task to be completed?
Users should be able to take a brief tour of how the game is played and the important controls how to play the game
Any background context you want to provide?
N/A
What are the relevant pivotal tracker stories?
#139456265 Users should be quickly and effectively onboarded onto the app
Screenshots (if appropriate)
N/A
Questions
N/A

Coverage remained the same at 100.0% when pulling ecc50678eaf6c14860f1c343a67095cccaea77e9 on feature/139456265/game_onboarding into b171d0b3e4bbabee509b2b5c6bc1df22a72e2b1c on develop.

Coverage remained the same at 100.0% when pulling 017723935b1b84da2f0b11bd6e3567496f42140e on feature/139456265/game_onboarding into b171d0b3e4bbabee509b2b5c6bc1df22a72e2b1c on develop.

Coverage remained the same at 100.0% when pulling f7c32280fe3906d4a87aad8123a6a31cffb28038 on feature/139456265/game_onboarding into b171d0b3e4bbabee509b2b5c6bc1df22a72e2b1c on develop.

Coverage remained the same at 100.0% when pulling a105dca69feeda629b8f9766b0f07ede1d556d0b on feature/139456265/game_onboarding into b171d0b3e4bbabee509b2b5c6bc1df22a72e2b1c on develop.


Encrypt testgrid support bundles

Problem to solve
Developers without production account access cannot access testgrid support bundles as they are stored in production s3.
Change
Encrypt bundles before uploading to s3 ahead of making bucket public. Encryption passphrase will be documented internally.

[sc-59261]


Slow runtime。use i5-14600kf,it take 1.5seconds for descriptor Extract。

start_time = time.time()
descriptors1 = xfeat.get_descriptor(image1, top_k=4096)
end_time = time.time()
def get_descriptor(self, img1, top_k = None, min_cossim = -1):
if top_k is None: top_k = self.top_k
img1 = self.parse_input(img1)
out1 = self.detectAndCompute(img1, top_k=top_k)[0]
return out1['descriptors'].cpu().numpy()

it takes 1.5s for 1 img

I had same issue. I fixed it with pc format. It was caused by some dependencies but I couldnt know which.

Thank you for your comment,Could you elaborate on the specific operations of pc format.?

Thank you for your comment .I still have the question。Could you elaborate on the specific operations of pc format?


Add files via upload

Elementary school

@ntsagia I am sorry, I have to close this request without merging because of the reason described in the duplicated request #5520: NO umbrella organizations are allowed in this repository. Thank you for the understanding.


Pointing arrows are bent

Description

Screenshots

Additional context

Probably due to space-wizards/RobustToolbox/pull/2594
I'm guessing this is a world vs local rotation problem where the grid is rotated but the arrows aren't.

Putting noRot on the sprite should fix it.

Putting noRot on the sprite should fix it.

Only complication might be the rogue pointing arrows, which are initially upright but then turn to face where they're going. But I guess they can just turn off no-rot when they start chasing.


Installing in Forge conflict

When installing miaoshouai in forge, it installs langchain 0.0.132. It requires pydantic<2,>=1...
Installing pydantic < 2 breaks gradio:
File "I:\Forge\system\python\lib\site-packages\gradio\components\annotated_image.py", line 10, in <module>     from gradio_client import handle_file ImportError: cannot import name 'handle_file' from 'gradio_client' (I:\Forge\system\python\lib\site-packages\gradio_client\__init__.py)
Reinstalling gradio don't work either.

Can someone give me a hand in making it load or at least make Forge work again?
Deleting the miaoshouai folder and reinstalling dependencies for forge didn't work.

The same problem 😭, i tried everything, but nothing worked, guess i have to use old forge

https://github.com/miaoshouai/miaoshouai-assistant-forge
use this extention for forge. new forge updated to gadio 4, a lot of rewriting is needed.

When installing miaoshouai in forge, it installs langchain 0.0.132. It requires pydantic<2,>=1... Installing pydantic < 2 breaks gradio: File "I:\Forge\system\python\lib\site-packages\gradio\components\annotated_image.py", line 10, in <module> from gradio_client import handle_file ImportError: cannot import name 'handle_file' from 'gradio_client' (I:\Forge\system\python\lib\site-packages\gradio_client\__init__.py) Reinstalling gradio don't work either.

Can someone give me a hand in making it load or at least make Forge work again? Deleting the miaoshouai folder and reinstalling dependencies for forge didn't work.

https://github.com/miaoshouai/miaoshouai-assistant-forge
use this extention for forge. new forge updated to gadio 4, a lot of rewriting is needed.


Fixed a typo in the documentation

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@kasunkv : Thanks for your contribution to the Azure documentation! The author, @christopheranderson, has been notified to review your proposed change.

@kasunkv thanks for finding and fixing this rather humorous typo. @christopheranderson can you please #sign-off on this PR?

#sign-off


Can I use mistune to write markdown?

I need to write a tool which takes Markdown, looks at the links and footnotes in it and writes a changed Markdown file out.
Can I use mistune for this by adding my own Markdown renderer?
Thanks!

You should be able to add a markdown renderer. I've been looking for one already made but haven't found one yet. @halloleo did you make a markdown renderer or find one?


Add vaadin-text-area

Connects to https://github.com/vaadin/vaadin-core/issues/101

This change is

Is this an initial PR or the final thing? It seems to be missing the "multi-line" feature described in https://github.com/vaadin/vaadin-core/issues/101 (implemented in paper-textarea)

Review status: 0 of 28 files reviewed at latest revision, 3 unresolved discussions, some commit checks broke.

vaadin-text-area.html, line 14 at r1 (raw file):

<dom-module id="vaadin-text-area-default-theme" theme-for="vaadin-text-area">
  <template>


feat(Rstudio): update branch rhoai-2.11 for the rstudio builds

feat(Rstudio): update branch rhoai-2.11 for the rstudio builds

Merging to get the rhoai-2.11 ready for code freeze.

/cherrypick rhoai-2.11


Convert strconv.AppendFloat to use the internal buffer for writing.

I just noticed this on #23
This is pretty much the built-in function that writes directly to the buffer instead of a temporary byte array.

extfloat.go is already in the v1/internal directory -- i'd like to put as many symbols as possible in internal / make them not public except for the AppendFloat function.

Ah - I will move it tomorrow!

I just checked. There aren't any new exported functions or variables, so it doesn't really make any difference. But I will move it, just so we don't have duplicate code.

one other thought I had about this was to use the Buffer. Pool object, but use the 128 []byte arrays rather than having another pool... but maybe not worth messing with.

Merged in 2df0f0d


Use Result URL Parameter when Invoking Actions

Instead of programmatically obtaining the result field from an activation record for action invocations, get the result from the backend by using the result=true URL parameter

Closes https://github.com/openwhisk/openwhisk/issues/1743

PG2 995

PG2 1000

PG approved.

@rabbah, please review.

@rabbah, as a side effect of this PR, it will be easier in the future to modify the action invocation to not encode the API response scheme with the CLI.

@rabbah, as a side effect of this PR, it will be easier in the future to modify the action invocation to not encode the API response scheme with the CLI.

woot woot!

@dubeejw LG. Anything preventing the schema removal now?

@rabbah, was planning on removing the schema after this was merged.


Standardize endpoint URI configuration by domain and subdomain suffix

The goal of this PR is to extract "endpoint" URI configuration (i.e., auth, api, billing, etc.) into a separate helper detectEndpointUri, and to standardize the way in which these endpoint URIs are determined for a given database deployment.
Ultimately, the idea is to make it easier to deploy "primary" stacks (see aptible/pancake#8), for personal or feature-specific use, with their own Auth/API/Billing, and front these with a dedicated Dashboard.

Restarted Travis (it had a weird NPM failure).

Going to change the semantics of --subdomain-suffixto assume that there will always be a hyphen. (So --subdomain-suffix bob would reference auth-bob, api-bob, etc.)
This is to conform with Pancake, which is hamstrung by the bug fixed in erikhuda/thor#498 (but which probably won't make it into a released gem soon). Will request a review/merge once those changes are pushed.

@rwjblue: Sorry for delay. Ready for re-review pending CI.

@rwjblue: Tested (and works) as part of end-to-end stack creation as follows:
ember create-website --domain=aptible-sandbox.com --subdomain-suffix=${USER}
DOMAIN=aptible-sandbox.com SUBDOMAIN_SUFFIX=${USER} ember deploy -e sandbox

Anything else I should look at/fix here pre-merge?

Nope, looks good to me!


Ch/add quarry ex

What
Addition of an example of career detection using the repo scripts.
The new example can be found in the \example\quarry-detection folder.
Comments
I encountered package compatibility issues in the ac/improve-code-quality branch that I did not encounter when testing the proj-dqry project with ac/add-set-up-tools. As a result, I have set the version of some packages to the previous version for which I used to run proj-dqry:

geopandas==0.11.1
numpy==1.23.3
pillow==9.5.0 (version 10.0.0 was initially installed with this problem: https://github.com/facebookresearch/detectron2/issues/5010)
scikit-learn==0.24.2 (which I actually forgot to add in the branch recently merged with ch/dev_tm, I'll fix it when I finalize this branch. I got slight changes to the final prediction depending on the package version, so for now I prefer to keep the version I used to provide results).
Further investigations are needed to understand the compatibility issues with the first two packages.

To improve in the future
Include the CRS transformation of the Swiss DEM directly in the script filter_prediction.py
To Do
Run the example and check if everything looks good and running fine. Test if more recent packages of the libraries mentioned above are also causing errors on other machines.

See https://github.com/swiss-territorial-data-lab/object-detector/pull/13

The branch is ready to be merged on ac/improve-code-quality.


allow customized setup ui-event-page

ref: ui-event-page-custom-setup
Proof of concept that allows customizing the initialization of PageAttributes.

refer to setup method via an extra setup parameter in UIEventPage, have a look here: setup
setup-parameter is optional, by default it refers  to the setupAttributes-method
parameters SecurityContext and/or SeverRequest are optional and can be provided in any order
reflection is only needed at deploy-time

The engine to achieve this is UIEventController. have a look here: UIEventController
I think this will give the code a cleaner feel:

a controller only need the UIEventPage-annotation
the initial  values for PageAttributes can be provided with or without the use of ServerRequest and SecurityContext

What do you think? Is this useful?
Examples and integration tests are included,

This looked very good and felt very natural to work with. I've refactored it a little bit and merged it into main.


Get dropwdown menu eventlistener to work on touch screens

Fixed by setting up the click function in a different way;
Now triggering the function through onclick="toggleMenu()" in the HTML files


Add dev mode flag to speed up startup during development

Reduces startup in dev mode from ~ 12-14 secs to ~7 secs
Description
Currently the base standalone server starts in ~ 12-14 seconds. Some of this time is spent in pre flight checks and doing explicit pulls for some of the images used. This is useful for end user so as to ensure that system has required support.
However for regular development it adds up to startup time. So added a --dev-mode flag which disables the preflight checks and disabled explicit pulls. This should be fine for people developing on core codebase.
java -jar openwhisk-standalone.jar --dev-mode

Codecov Report

Merging #4603 into master will decrease coverage by 5.79%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #4603     +/-   ##
=========================================
- Coverage   84.55%   78.75%   -5.8%
=========================================
  Files         183      183
  Lines        8305     8305
  Branches      581      581
=========================================
- Hits         7022     6541    -481
- Misses       1283     1764    +481

Impacted Files
Coverage Δ

...core/database/cosmosdb/RxObservableImplicits.scala
0% <0%> (-100%)
:arrow_down:

...ore/database/cosmosdb/cache/CacheInvalidator.scala
0% <0%> (-100%)
:arrow_down:

...core/database/cosmosdb/CosmosDBArtifactStore.scala
0% <0%> (-95.89%)
:arrow_down:

...tabase/cosmosdb/cache/CacheInvalidatorConfig.scala
0% <0%> (-94.74%)
:arrow_down:

...sk/core/database/cosmosdb/CosmosDBViewMapper.scala
0% <0%> (-92.6%)
:arrow_down:

...e/database/cosmosdb/cache/ChangeFeedListener.scala
0% <0%> (-86.67%)
:arrow_down:

...e/database/cosmosdb/cache/KafkaEventProducer.scala
0% <0%> (-76.48%)
:arrow_down:

...whisk/core/database/cosmosdb/CosmosDBSupport.scala
0% <0%> (-74.08%)
:arrow_down:

...a/org/apache/openwhisk/common/ExecutorCloser.scala
0% <0%> (-66.67%)
:arrow_down:

...abase/cosmosdb/CosmosDBArtifactStoreProvider.scala
4% <0%> (-52%)
:arrow_down:

... and 10 more

Continue to review full report at Codecov.

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


Uses coverallsapp/github-action

Uses coverallsapp github action to upload coverage report.

@lucasmichot What are the changes for? Just curious

@ncpope Looks like it using an Action pre-built to handle coverage reporting instead of "manually" publishing/setting it up in the Action as we do now.

👋 @ncpope

@ncpope Looks like it using an Action pre-built to handle coverage reporting instead of "manually" publishing/setting it up in the Action as we do now.

@osiset has perfectly sum it up

@osiset @lucasmichot thanks, I'll probably use this on my project :)

@ncpope I would also mention that, if I were to pick a different SAAS, it would be codecov 😁

Maybe this log could be an extra argument : https://github.com/osiset/laravel-shopify/pull/885/checks?check_run_id=3036792071

Anything you need from my side to clue this up?

Replaced by https://github.com/osiset/laravel-shopify/pull/899


fix static analysis errors in shopwares core files

1. Why is this change necessary?
shopware has numerous wrong typehints and even missing use statements. This PR tries to eliminate some of them
2. What does this change do, exactly?
fixes a huge amount of wrong typehints, missing use statements, duplicate array key usage, missing parameters, unnecessary function calls, unused methods and some generic optimisations for less error prone static analysis of the shopware core
3. Describe each step to reproduce the issue or behaviour.
phpstorm should display most of the errors when comparing the files with the older version. For a more complete look you need to install phpstan and run a level=1 analysis.
4. Please link to the relevant issues (if any).
none
5. Which documentation changes (if any) need to be made because of this PR?
none
6. Checklist

[ ] I have written tests and verified that they fail without my change
[ ] I have squashed any insignificant commits
[X] This change has comments for package types, values, functions, and non-obvious lines of code
[X] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-20622
Please use this issue to track the state of your pull request.


Update IPv6-method in Internet.php

Keep example IPv6-address within scope designated for documentation etc.

Not sure I understand. The documentation doesn't mention unicast. This should be offered as an option, otherwise the behavior differs from the ipv4() provider.

Allright, well I just figured it would be nice to not use adresses which could be mistaken for being real :-)

The very purpose of Faker it to provide real-looking data ;)


refs #1979, #1992: workaround for settings.js not served from the root

This fixes #1992, assuming it's coming from the same rustdoc issue as #1979 / #1980.
Newer builds correctly reference this file via static-root-path.

r? @rust-lang/docs-rs


Handle suspending execution when receiving SIGTSTP signal (CTRL+Z)

This would improve presentations by being able to pause execution, do something in the terminal, and then resume execution at the same location the presentation was at previously.
Currently I either shift between two terminals or, kill the process and start it over again - navigating to where I was in the presentation.

This makes sense. I'll see how to implement this, I guess presenterm SIGTSTP'ing itself should work.


Fix canExit not functioning

Please verify the following:

[☑] yarn ci:test jest tests pass with new tests, if relevant
[☑] README.md has been updated with your changes, if relevant

Describe your PR

This fixes canExit not functioning (Issue: https://github.com/infinitered/ignite/issues/1841)
There were two reasons

useBackButtonHandler() was called prematurely so the hook might not be able to detect the event from the screens.
When a screen canExit, just let the react-native listener know that we're not handling the event manually by returning false. We should "exit" properly and let the react-native listener know that we handled it.

Proof

Created a temporary screen and its route name is test
Continue button on the initial screen navigates to test screen
Added test route to exitRoutes in app-navigator.tsxconst exitRoutes = ["test"]

Pressed hardware back button on test screen

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


storagecluster: add MinimumNodes field

I think there is benefit to finally adding an field to explicitly specify the minimum number of nodes required for the StorageCluster, for admins that know what they want. This would override the current algorithm that tries to determine the minimum number of nodes based on the replica count of the configured StorageDeviceSets and a few other StorageCluster fields.
Due to continued confusion, we could also consider deprecating the Replica field for StorageDeviceSets in favor of just using Count to explicitly represent the total number of OSDs. In so doing, we could move to using the MinimumNodes field exclusively, with an implicit default of 3 (or 4 for arbiter mode).
The only potential downside is that this would no longer allow the StorageDeviceSet to represent an estimate of the total available space of the StorageCluster (once Ceph replication is taken into account). I've personally never been fond of it anyway, since the estimate is rarely ever going to be close to accurate. This change would have no impact on the OpenShift Console, since they use hardcoded constants for their replica calculations anyway.

@raghavendra-talur FYI

I like the idea in general. And it does not seem to harm since it's anyway only overriding default behaviour and does not have to be set.
But I think we need to have a more general discussion how we would possibly re-design the whole historically grown replica vs count vs expectation of estimated capacity mess.

I like the idea too. In addition to the above, we also need to consider the implication of user specifying a value that is too low. For example, if the user specifies 1 node as the minimum then we will end up in a state where not enough OSDs can be scheduled. IIUC, in such scenarios, ocs-operator phase would not be ready because it detected the requirements mismatch. With this change, the phase might be shown as ready. This however can be part of the larger discussion.
For this PR, I would prefer to see a log and/or an event generated where we warn the users if their specified value is lesser than what the algorithm computed.

For this PR, I would prefer to see a log and/or an event generated where we warn the users if their specified value is lesser than what the algorithm computed.

I agree something like this would be useful, but a log message would just spam the log every reconciliation. Maybe a new Status field?

For this PR, I would prefer to see a log and/or an event generated where we warn the users if their specified value is lesser than what the algorithm computed.

I agree something like this would be useful, but a log message would just spam the log every reconciliation. Maybe a new Status field?

Sorry I missed this. Yes, a status condition works too.


feat: add PostgreSQL integration

Applicable spec:
Overview
Maubot requires a database.
Note: This PR is a mashup of code I liked from other charms while working on PostgreSQL integration. I hope you'll find it familiar during your review.
Rationale
Add PostgreSQL integration as required.
Juju Events Changes
database-created
endpoints-changed.
Module Changes

Library Changes

Checklist

[x] The charm style guide was applied
[x] The contributing guide was applied
[x] The changes are compliant with ISD054 - Managing Charm Complexity
[x] The documentation is generated using src-docs
[ ] The documentation for charmhub is updated
[x] The PR is tagged with appropriate label (urgent, trivial, complex)

No CH available yet

LGTM, some minor comments


Rhel8 compatibility

When I started to use RHEL 8 license from my developer subscription (free up to 16 servers for any use) then I have discovered that here are differences between Centos8 and RHEL8. This PR contains fixes to run the role on RHEL 8.3 without any issues.  One problem is classically with EPEL repository, and second one was duplicity of the python2-rpm package installation, because it is installed in the pre.yml file.

Going to provide things better


how to delete data

i'm using influx serverless, how do i delete the data?

Hi @dwarakanathanravi - I suggest you reach out to<EMAIL_ADDRESS>with this question, as they can give the best guidance. Taking a glance at the documentation reveals that you can delete buckets in serverless (see docs), but not individual data points (see docs).


WIP - add support for action descriptions

Description
This is a WIP proposed solution to resolve #10660.  This PR is not complete, but I did want to gather feedback as I'm not sure I like it as a direction; it touches internal state I'd rather not touch, but it may be a worthwhile tradeoff for the feature.  The net effects of this change are that actions can now be declared with descriptions; and these descriptions will be captured by the resource-inspector (and doc task).
With this change, the following is supported:
action :action, description: "my own action" do
...
end

and
allowed_actions action_a: "This is action a",
  action_b: "This is action b"

The original usage (just a symbol) is still supported as well.
Temporary breaking change
allowed_actions now returns a hash istead of an array. This resulted in a leakage of implementation so that we now have .keys scattered all over the place. This is temporary and will get reverted shortly - it was an easier to start with it like this while I pinned down all the places this (and related) fields were coming in/going out, but I don't intend to keep it this way.
Changes in behavior
LWRPs will now inherit their base class's  allowed_actions; this appears to be a change in which LWRPs previously would have only their own  declared actions as 'allowed_actions'.  Anyone know historically if we explicitly avoided that?
Other
Existing unit tests are passing (except one it seems), but new tests are still needed; and I've seen a couple places where we can expand coverage around allowed_actions/action/default_action.
Related Issue
#10660

I'm going to have ponder the changes on subclassing.  Offhand it feels like subclasses should inherit because otherwise you violate Liskov.
Of course I don't think anyone should write resources that subclass because "prefer composition over inheritance" and all the abuse of inheritance in resources that never ends well and the Custom Resources DSL explicitly makes that impossible.
Mostly would need to check against the mysql and httpd cookbooks I think which have a lot of abuse of inheritance in them...  As long as they don't explode I'm leaning towards this being better.

I'm going to have ponder the changes on subclassing.  Offhand it feels like subclasses should inherit because otherwise you violate Liskov.
Of course I don't think anyone should write resources that subclass because "prefer composition over inheritance" and all the abuse of inheritance in resources that never ends well and the Custom Resources DSL explicitly makes that impossible.
Mostly would need to check against the mysql and httpd cookbooks I think which have a lot of abuse of inheritance in them...  As long as they don't explode I'm leaning towards this being better.

 I was hoping at first that continuing to keep it exposed as an array would smooth over usage differences, but not when direct access is common.
Okay, that  means we'll have to split managing actions from adding descriptions in Resource.  Shouldn't be too bad, and should still be able to support declaring action docs with the same DSL already in use here.

Thanks @lamont-granquist . I was hoping at first that continuing to keep it exposed as an array would smooth over usage differences, but not when direct access is common.
Okay, that  means we'll have to split managing actions from adding descriptions in Resource.  Shouldn't be too bad, and should still be able to support declaring action docs with the same DSL already in use here.


Search by related model (belongsTo relation)

Hi
Assume that I have two models: User & Article.
I want to get all articles which have been written by high school students.
It seems so easy but I'm giving up with it, I tried those two solutions:
$articles = Article::with(
array('user'=>function($user_query)
{
$user_query->where('school_level','=','high school');
})
)->get();

And:
$articles = Articles::where('user.school_level','=','high school');

Both don't work,  SQL developers use join to solve this problem, what should we use?
Also, if the relationship was Has Many the search works good using whereHas, for example :
$users = User::whereHas(
'articles', function($article_query)
{
$article->where('subject','like','some text');
})->get()

Any suggestions?

hi , do you get any solution for this ?

@manojnegii90 Hi
I did it by getting all user ids at first then send it to a new query to get articles.
I'm sorry I can't find the code since it is from 2014 and I made up a scenario for company policy, I'll write it here if I found it.

@EhsanZ Hi, thanks for the reply  but I want to search on both article title and user name something like this :
$articles = Article::with('user')->where('title','like',$search')->orWhereHas('user',function($q) use($search) {
$q->where('user_name','like', $search);
})->paginate(20);
Thanks again for the quick reply. 👍

Your code should work, I had a similar scenario but without or operator and it did work.
btw, I don't know if this is the issue but you added - mistakenly - quotes around $search variable.

Well, The code do work when the relation is hasMany but it is not working in case of belongsTo. I don't know why ?
and that quote doesn't exits. It shouldn't be there . It exists mysteriously . I've no idea :)


Split libvcx crate

Split libvcx in 2 crates

libvcx_core - this would be today's "handle" layer of libvcx
libvcx - this would be today's api_c later of libvcx, eg built on top of libvcx_core crate

This will enable building different FFI approaches on shared base layer, ruling out a chance of dealing with some c symbol conflicts. For example we can build new libvcx_napi on top of libvcx_core as initiated in this PR https://github.com/hyperledger/aries-vcx/pull/665
Similarly per @dinbtechit question https://github.com/hyperledger/aries-vcx/discussions/669 this would enable writing new wrappers, like flutter, with relative ease.
Implementation of this should have no breaking changes and the split should be invisible to the currently built libvcx dynamic library

libvcx was not split, but separated in 2 submodules api_c, api_vcx, see https://github.com/hyperledger/aries-vcx/pull/710


Add thread/comment endpoints to OpenAPI specs

Description

[x] Create thread
[x] Edit thread metadata
[x] Create comment
[x] Edit comment
[x] Delete comment
[x] Add comment reaction
[x] Remove comment reaction

I'll finish up tomorrow 👍 great work on starting this!

Thanks for making this PR so much better @CTNicholas . Going through the changes right now, and I think it is very well written and explained. Thanks for the amazing work! ❤


Wish list : ILR transform from bp trees

It would be nice if there was a function in this package that could directly generate an ILR basis from a bp tree.
Basically, it would recoding the gneiss.balance.sparse_balance_basis.  We can technically perform the ILR transform on 100K dimensions, but reading / creating these bases becomes a bottleneck.  And this definitely won't scale well for more than 100K dimensions.

That would be super cool. The algorithm doesn't look very complex assuming
the API methods are there but we may need to implement a method to enforce
bifurcation. And i think we have level order but we may not.
On Thu, Mar 16, 2023, 10:26 Jamie Morton @.***> wrote:

It would be nice if there was a function in this package that could
directly generate an ILR basis from a bp tree.
Basically, it would recoding the gneiss.balance.sparse_balance_basis
https://github.com/biocore/gneiss/blob/master/gneiss/balances.py#L170.
We can technically perform the ILR transform on 100K dimensions, but
reading / creating these bases becomes a bottleneck.
—
Reply to this email directly, view it on GitHub
https://github.com/biocore/improved-octo-waddle/issues/53, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AADTZMX7P3U274MOKASDCO3W4NENVANCNFSM6AAAAAAV5QP5ZQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

https://github.com/khovvannak23/verbose-octo-waddle.git

$ bp placement --help
Usage: bp placement [OPTIONS]
Options:
--placements PATH               jplace formatted data  [required]
--output PATH                   Where to write the resulting newick
[required]
--method [fully-resolved|multifurcating]
Whether to fully resolve or multifurcate
[required]
--help                          Show this message and exit.


What am I doing wrong (ErrorException on incorrect password)

Hi Steve -- First off, thanks for all your hard work on this package!
I've been trying for the last few days to get everything working correctly, but I'm hitting a snag. I spun a nice, clean "test" project with Laravel just to make sure I know how to get everything running properly. I was trying to use Auth methods, but kept getting errors, so I dropped back to the simplest case modifed from your readme documentation like so:
// Authenticating.
if (Adldap::authenticate($username, $password)) {
   echo "Passed!
";
} else {
   echo "Failed!
";
}

It works fine is the username and password are correct. If the password is incorrect, though, I the "Whoops, looks like something went wrong." with:
ErrorException in Ldap.php line 502
ldap_bind(): Unable to bind to server: Invalid credentials
That's not what I expected. Is this correct behavior that I need to catch and code for, or should it actually have echoed out "Failed!" as I intended?
Thanks,
Kevin

Hi @gunnk, if your application is in debug mode (in your .env file check APP_DEBUG=true), then LDAP errors will be shown by default. You can catch the exception:
// Authenticating
try {
    if (Adldap::authenticate($username, $password)) {
       echo "Passed!
";
    } else {
       echo "Failed!
";
    }
} catch (\Exception $e) {
    // Binding exception
}

Or you can hide the errors using Adldap::getConnection()->supressErrors();.
I realize right now that this is inconsistent behavior and ugly when having your application in debug mode, however this has already been overhauled and removed in the upcoming v6 version.

Oh, wow... thanks Steve! It would never have dawned on me that debug mode was the culprit. I'll use suppressErrors() and get on with my work!

No problem at all! If you have any more questions or issues please create one and I'll respond as soon as possible.


WIP: Add getInitialMessage method for handling push notification in Terminated App State

Ticket: #1027

Here's how you can resolve the race condition:

in NotificationManager, have init() returns the initial message.
in main, await for the NotificationManager's init() and retreieve this initial message.
if the messge has screenId/screenName, pass them into EnsembleApp.

 You are removing the logic to execute callbacks but added somewhere else?

I added it in the screen widget, it's because the ensemble_app fetches the definition and then only it renders the widget. So I just added it in the screen widget, here the material app is already initialized with the definition.

@vusters I'll merge this PR


"Extension host terminated unexpectedly" error persists

I keep getting "Extension host terminated unexpectedly" error persists,

VSCode Version: 1.30.0
OS Version: Windows 10.0.17134

Steps to Reproduce:

Closed all folders/projects (so VS Code is empty) and rebooted.
Renamed folder "C:\Program Files (x86)\Microsoft VS Code\resources\app\extensions" to "extensions1" to force out all extensions, even Microsoft ones
Start vscode with  --disable-extensions.

I still get the error "Extension host terminated unexpectedly", and I am out of ideas on what else to try.
Trying to reveal "F1 > Developer: Show Logs ... > Extension Host" shows nothing, presumably because the extension host has crashed and the log has been closed.

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

I do see this in the Window log:
[2018-12-18 09:30:05.995] [renderer1] [info] no standard startup: not the explorer viewlet [2018-12-18 09:30:09.162] [renderer1] [error] Cannot read property 'id' of undefined: TypeError: Cannot read property 'id' of undefined     at Object.s [as getGalleryExtensionIdFromLocal] (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1201:509)     at e.hasDuplicates (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:3101:987)     at e.getDistinctInstalledExtensions (file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:3100:795)     at file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:3099:10     at <anonymous>     at process._tickCallback (internal/process/next_tick.js:188:7) [2018-12-18 09:30:09.248] [renderer1] [error] Cannot read property 'id' of undefined: TypeError: Cannot read property 'id' of undefined     at file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:5679:893     at Array.map (<anonymous>)     at file:///C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:5679:812     at <anonymous>     at process._tickCallback (internal/process/next_tick.js:188:7)

@szalapski To rule out any installation specific problems, can you please install the insiders version -- https://code.visualstudio.com/insiders/
Does this one also fail to start the extension host?

Trying it now...

The Insider's edition works well; no extension host crash.  What should I do next?

ugh... I think there could be two kind of things:

corruption in the installation bits
corruption in the user settings / user data

Let's start with the first one (since it is easier). Can you please uninstall the stable version and install it again?

I suppose.  Ugh indeed.  I need to be working on my code instead of this!  I'll have to copy down all my extensions first...

OK, a remove and install fixed this issue.  No idea what could have caused it.  The only think I can think is that my system administrator pushed a group policy update that allowed me to choose my own default browser, and I did so.  (Before this change it was forced to be IE11).
I am now reinstating settings and installing extensions.

Hmm, looks like my extensions were retained.  Nice!  Thanks again.


How to archive IOS add 2 app .ipa?  And Distribute to Appstore?

Usual ,   We can archive iOS project with Xcode ===>> Product === > Archive,  Then few seconds later , when Xcode tip Archive success,  An Archive will show in   Xcode === > Window === > Organizer  .  then  we can  validate this App , or Distribute this app ,  But , when Add flutter module to IOS native project   ,,  when archive finished , the .xcarchive  Can't see in the  Xcode === > Window === > Organizer .   So ,  How to archive an flutter add 2  ios ,app  , and distribute it's to APPSTORE???

flutter doctor -v
[✓] Flutter (Channel master, 1.23.0-19.0.pre.41, on Mac OS X 10.15.7 19H2
    darwin-x64, locale en-CN)
    • Flutter version 1.23.0-19.0.pre.41 at
      /Users/shiweiwei/Desktop/Study/flutter
    • Framework revision ed2a4809da (4 days ago), 2020-10-14 20:02:04 -0400
    • Engine revision ce75dda492
    • Dart version 2.11.0 (build 2.11.0-218.0.dev)
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at
      /Users/shiweiwei/Desktop/Study/Android/Android_SDK/android-sdk-macosx
    • Platform android-29, build-tools 30.0.2
    • ANDROID_HOME =
      /Users/shiweiwei/Desktop/Study/Android/Android_SDK/android-sdk-macosx
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.50.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.15.1

[✓] Connected device (2 available)
    • shiweiwei’s iPhone (mobile) • c578619393aa85cd066dfbd1864f5886c51a35d8 •
      ios • iOS 13.3.1
    • iPhone 8 (mobile)           • 6175D695-E8F0-4608-80E8-4D5062F5748F     •
      ios • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
    ! Error: shiweiwei’s iPhone is busy: Copying cache files from device. Xcode
      will continue when shiweiwei’s iPhone is finished. (code -10)

• No issues found!
``

</details>

I have see this document :    https://flutter.dev/docs/deployment/ios   , And it only introduce the situation  about how Pure Flutter app build and release to APPSTORE,    and no information about how to build and release  and add flutter module 2  existing iOS project ,

You should be able to archive your host app in Xcode, there's nothing Flutter-specific about it once the frameworks are embedded.

the .xcarchive Can't see in the Xcode === > Window === > Organizer

This sounds like an Xcode bug, Flutter isn't involved at this point.  I think it should be in ~/Library/Developer/Xcode/Archives?

Hi!  I can find the .xcarchive in directory ~/Library/Developer/Xcode/Archives ,  but it's size is Zero bytes ??   Maybe is not available ,  So  Xcode === > Window === > Organizer don't show this file ,  Could you please provide a more detaild process about how to archive add flutter module to host app In Xcode ?

@shi1234ww Can you attach your archive log?

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


XML Config: Support for constant variable in level attributes (level, minlevel, etc)

allow ${loglevel} for minLevel, maxLevel, level and levels on <logger>

[x] merge #2707 first
[x] rebase then

fixes https://github.com/NLog/NLog/issues/2479

maybe waiting first for https://github.com/NLog/NLog/pull/2624

docs added to https://github.com/NLog/NLog/wiki/configuration-file#variables-for-level-attributes

@304NotModified  I'm curious how to make use of this feature. Lets say you have this:
<nlog>
   <variable name='myLevel' value='debug'/>
    <rules>
      <logger minLevel='${myLevel}'/>
    </rules>
</nlog>

And you do this:
LogManager.KeepVariablesOnReload = true;
LogManager.Configuration.Variables["myLevel"] = "Info";
LogManager.Configuration.Reload();

Then nothing will happen because the old variables are applied after having parsed and reloaded the Nlog.config-file.

@304NotModified Created #3184 as possible solution for dynamic LogLevel-filtering


About runtimes of the models

Do you have any runtime information on individual model versions on specific image dimensions? I am using 720p images, and the iteration takes > 20 seconds per image on an A6000 GPU. I get no errors on the execution, and the GPU memory is allocated. I am confident that the model runs on GPU. I use CUDA 11.3 with CuDNN 8.2.

The model I run is the Image Enhancement Model - FiveK


Add an empty line between kubebuilder markers and function to make the rbac auto-generated

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Documentation:

Does this PR introduce a user-facing change?:

NONE

/lgtm


Pack libtensorflow.dll at runtimes/win-x64/native

In .NET Core projects that consume TensorFlowSharp with RuntimeIdentifier=win-x64, libtensorflow.dll is never copied to the output directory. This change also packs libtensorflow.dll at win-x64 too. I didn't get rid of win7-x64 for the sake of backwards compatibility.

Any chance of having this published to NuGet? It has passed CI and produced a nupkg:
https://dev.azure.com/migueldeicaza/TensorFlowSharp/_build/results?buildId=2339&view=results


orderGrantRefundCreate should be clear about already refunded lines

What are you trying to achieve?
I want to improve experience with granted refunds
At the moment mutation orderGrantRefundCreate allows attaching line.
Called 2nd time with the same line ID, it will error with
 {
          "message": "Provided input for lines is invalid.",
          "field": "lines"
        }

I belive the reason is conflict - this line was already refunded.
Error is not clear
(this is assumption of 1 product in order. If multiple products, behavior is the same until grant refunds exceed limit of quantity)
Steps to reproduce the problem
Create a refund
mutation {
  orderGrantRefundCreate(
    id: "T3JkZXI6ZjdkYTFkY2ItOTVlNS00YjQ1LWJmMzUtNDNmNGVhOGYwMDg2"
    input: {reason: "global reason", lines: [{id: "T3JkZXJMaW5lOjRmMzMwN2UzLTc0ODUtNDdmOS05OTIzLTYzMjIxZmQyOGRhNw==", quantity: 1, reason: "line reason"}]}
  ) {
    errors {
      message
      field
    }
    order {
      errors {
        message
      }
      grantedRefunds {
        reason
        id
        lines {
          id
          reason
          orderLine {

            id
          }
        }
      }
    }
  }
}

Call it twice
What did you expect to happen?
I expect message to be clear that line was already granted
Logs
No response
Environment
Saleor version: 3.16.1
OS and version: …

@lkostrowski
These details are already there. The error code that you provided is generic, as you can have different errors for each line.
The details about line error, can be found in the error field dedicated to specific line.
{
	"data": {
		"orderGrantRefundCreate": {
			"grantedRefund": null,
			"order": null,
			"errors": [
				{
					"field": "lines",
					"code": "INVALID",
					"message": "Provided input for lines is invalid.",
					"lines": [
						{
							"lineId": "T3JkZXJMaW5lOjdlNzg5NzY0LTUyZWMtNDU3Mi05NWNkLTM5ZjQ0OTJmZDk4Z1==",
							"field": "id",
							"message": "Invalid ID: T3JkZXJMaW5lOjdlNzg5NzY0LTUyZWMtNDU3Mi05NWNkLTM5ZjQ0OTJmZDk4Z1==. Expected: OrderLine.",
							"code": "GRAPHQL_ERROR"
						},
						{
							"lineId": "T3JkZXJMaW5lOjdlNzg5NzY0LTUyZWMtNDU3Mi05NWNkLTM5ZjQ0OTJmZDk4ZA==",
							"field": "quantity",
							"message": "Cannot grant refund for more than the available quantity of the line (4).",
							"code": "QUANTITY_GREATER_THAN_AVAILABLE"
						}
					]
				}
			]
		}
	},
	"extensions": {
		"cost": {
			"requestedQueryCost": 0,
			"maximumAvailable": 50000
		}
	}
}

Thanks. I'd expect that root error will be more self-explaining, I was not aware about nested errors.


quickstart imports seem not to work out of the box

https://pygments.org/docs/quickstart/
has:
from pygments import highlight
from pygments.lexers import PythonLexer
from pygments.formatters import HtmlFormatter

which didn't work for me. I had to modify the lines to:
from pygments import highlight
from pygments.lexers.sql import SqlLexer
from pygments.formatters.html import HtmlFormatter

I don't think so. For me, this works:
>>> from pygments import highlight
>>> from pygments.lexers import SqlLexer
>>> from pygments.formatters import HtmlFormatter

@Jean-Abou-Samra  thanks for checking. Since it's not reproducible with 2.11.2 i am closing the issue.
pip install -U pygments
Installing collected packages: pygments
  Attempting uninstall: pygments
    Found existing installation: Pygments 2.11.1
    Uninstalling Pygments-2.11.1:
      Successfully uninstalled Pygments-2.11.1
Successfully installed pygments-2.11.2

cat ptest.py
from pygments import highlight
from pygments.lexers import PythonLexer
from pygments.formatters import HtmlFormatter

print ("Look ma - no import errors!")

python ptest.py
Look ma - no import errors!


Add end time to house activities

Activities in the house without an end time are not useful, as no more than 72 activities can be retrieved.
"version" is no longer required

@Dejniel Can you fix the lint issues?

No response from the OP in over a year. closing this PR


Mock Error Response

Angular $http documentation dictates, "A response status code between 200 and 299 is considered a success status and will result in the success callback being called".
If I create a mock which returns a 400/500 status it gets routed to the success callback.

Looks like there is some logic to handle this already at httpMock.js:211, maybe this is a configuration problem on my end.

Can you supply a sample of this? This should be handled correctly all ready as seen in this test: https://github.com/atecarlos/protractor-http-mock/blob/master/tests/promises.test.js#L19

Hi @jasteph .
I'm going to close this issue for now. I assume that you have moved forward from this problem. Please open up a new issue if you continue having problems.


[Question] How does the language server process the code?

How does the language server process the code like showing multiple errors of the active document file, unlike the default lua parser or compiler only showing one error. Could you please link me something that would help me understand this more? I'm confused I've been studying it for awhile but I can't seem to find answers.

Parse lua by myself, see: https://github.com/sumneko/lua-language-server/blob/master/script/parser/newparser.lua


[WIP]: Improve logs

I want to improve the way logs are displayed and managed.
Here are the features:

[x] Add a "Download button"
[ ] Add a checkbox to download using max lines
[ ] Add type="number" to max lines input
[ ] Add search filter
[ ] Add option to download logs on only filtered logs
[ ] Add styles to logs ?
[x]  Add a wrap lines checkbox so that log lines are automatically wrapped (to viewport size).
[ ] Save wrap lines option
[ ] Add style for + and - button (For wrapping lines)
[ ] Make time clickable to filter logs
[ ] Review the code in GetLogs.php to simplify it (duplicate code, etc.).

If I need to, I'll make a design modification to keep it readable and understandable.

No idea if this can work but for logs that are very long a wrap lines feature would be handy:

[ ] Add a wrap lines checkbox so that log lines are automatically wrapped (to viewport size).

For the moment, I did that:

@yohannlog Looks amazing. Thank you so much.

Add styles to logs ?
@yohannlog  I think this would be possible, for example, errors could be highlighted in red, success in green, warning in orange/yellow and the rest in white.

Add styles to logs ?

@yohannlog  I think this would be possible, for example, errors could be highlighted in red, success in green, warning in orange/yellow and the rest in white.

The only thing I can test is show colors from logs generated by an application. It is complicated to determine what log type it is.

The only thing I can test is show colors from logs generated by an application. It is complicated to determine what log type it is.

Showing colors generated by an application sounds cool.

I've added a discussion about this PR: #2618

[ PR TEXT UPDATED ]

@yohannlog I am not sure if the maintainer is interested in starting an additional container, at least I would want to run as few containers for such things as possible, just for logs, is this really needed? Maybe there is a way to do this without needing another container?

This pull request is currently in draft status. We would like to merge the currently available changes, please take the PR out of draft status. If no action is taken, this PR will be closed for inactivity.

If you decide to work on this again, feel free to open a new PR that is also up to date with the latest available version.


VEX schema/spec version should be a field in the metadata

Currently there is no way to specify the current version of spec/schema used. Given that we most likely will have iterations and newer versions, we should encode it so that tooling can use it in the appropriate way.
This proposal is to add a field in Statement and Document to encode a VEX spec version.

@luhring @puerco @rnjudge @wagoodman thoughts?

I would not add it at the statement level because I think one document is expected to be all in one version. But moving forward the context uri will be versioned to do exactly that. I'm planning to do a final pass once the VEX Minimum Elements document is officially published and freeze the spec as v1.0.0.
After that I will update the context URL to start versioning it. WDYT?

Yea that sounds good, we are exploring some usecases where a full document isn't necessary, but nonetheless we can still encode it as a document... so unless that pattern becomes more prevalent. i think this proposal for context uri is good

Since spec v0.2.0 the context in OpenVEX documents is now versioned :tada:


NPM

Hey! I see a package.json, are you planning on publishing this?

Also, if you're looking for a maintainer, please consider me! This is an incredible tool that I'd love to help keep going.


https://exe.io/WApHIwhE

Domain
https://exe.io/
Link
NSFW
https://exe.io/WApHIwhE
Version
0.0.0
What browsers are you seeing the problem on?
Chrome
What OS are you seeing the problem on?
Windows
(Optional) Anything else?
No response
Code of Conduct

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

// Place in ensureDomLoaded
domainBypass(/exey\.io/, () => ifElement("button.btn.btn-primary.btn-goo", a => a.click()))

// Place in ensureDomLoaded
domainBypass(/exey\.io/, () => ifElement("button.btn.btn-primary.btn-goo", a => a.click()))

will need crowd bypass for the second step, though.

so i need to just waiting? does the
// Place in ensureDomLoaded
domainBypass(/exey.io/, () => ifElement("button.btn.btn-primary.btn-goo", a => a.click()))
will implemented too on next update? or i need to do it alone?

you don't need to wait too long, I will make a PR and implement it. Meanwhile you can test it

you don't need to wait too long, I will make a PR and implement it. Meanwhile you can test it

ah i see. thanks :D

Fixed, thanks for the report

crowd bypass isn't working on exe.io/exey.io

site addded new domain exey.app
exmple: https://exey.app/9a9HPF8S
need to be bypassed

exe.io is redirecting to eio.io

Will be fixed in mv3, but closed so that all discussion is in #769.


ServiceProvider boot() method optimization

Hello, guys!
Because that all code inside ServiceProviders boot() methods is calling all the time in all requests, it even trying to publish migrations, configs and in some of packages it doing some kind of preparations of files before publishing or doing other stuff which isn't needed for production usage and should be used only in console. Am I missed something?
If it's true, what do you think about optimization of this behaviour by adding a helper methods to separate blocks on code for only console usage in boot method or at least write about it in documentation. Because I haven't seen any kind of checks for such thing in any of packages I've used recently.

You can pretty much check if the app is running on console or not but doing something like
if ($this->app->runningInConsole()) {
   // stuff that should run only on console here
}

https://github.com/laravel/spark/blob/master/app/Providers/SparkServiceProvider.php#L59

If you want an example.

Thanks for the publishing solution. I mean that maybe it would be good to have this recommendation in official documentation? Because most of the packages don't have it. It could be helpful to make custom packages better.


Arm Support

Hello, is OVS-CNI usable for arm nodes? I noticed that it was crosscompiled to work for the arm environment, however, I'm getting an issue where the OVS CNI pods are crashing randomly only for my arm nodes.
The only error that's visible on the pod is as follows:
ovs-cni-marker qemu: uncaught target signal 11 (Segmentation fault) - core dumped

Is there a way to get more verbose logging options to determine where it had a segfault?
Thanks so much!

Hello, could you try removing or overriding the GOARCH variable here https://github.com/k8snetworkplumbingwg/ovs-cni/blob/main/cmd/Dockerfile#L12, and then compiling? Perhaps that may help.
Is it crashing immediately on start or only after a while?
If I remember correctly, you should be able to change the log level in the manifest: https://github.com/k8snetworkplumbingwg/ovs-cni/blob/main/manifests/ovs-cni.yml.in#L63

I opened PR #266 to at least make the plumbing for building arm64 easier. For now I am able to use this for my needs, but it would be nice to have this extended to release official binaries for both architectures.

Can we release arm64 assets in https://github.com/k8snetworkplumbingwg/ovs-cni/releases？

root@cyclinder3:~/cyclinder/ovs-cni# make GOARCH=arm64 build
/root/cyclinder/ovs-cni/build/_output/bin//go//bin//go fmt ./pkg/... ./cmd/...
/root/cyclinder/ovs-cni/build/_output/bin//go//bin//go vet ./pkg/... ./cmd/...
cd cmd/marker && /root/cyclinder/ovs-cni/build/_output/bin//go//bin//go fmt && /root/cyclinder/ovs-cni/build/_output/bin//go//bin//go vet && GOOS=linux GOARCH=amd64 CGO_ENABLED=0 GO111MODULE=on /root/cyclinder/ovs-cni/build/_output/bin//go//bin//go build -tags no_openssl -mod vendor

It seems GOARCH=arm64 doesn't works...

full ARM support was added in https://github.com/k8snetworkplumbingwg/ovs-cni/pull/307
multiarch image (amd64/arm64/ppc64le) is available in Github package registry https://github.com/k8snetworkplumbingwg/ovs-cni/pkgs/container/ovs-cni-plugin

Something is wrong. I pulled the image to an rpi, and its showing as:
ovs: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=oNYYpA_PXVOUIymuqdXj/tvkfxnphLQ8hc88kh6Lg/v8an6yT6kQUzM_MPeT68/9D_V569EcTByq9tMT-zs, with debug_info, not stripped
./ovs
-bash: ./ovs: cannot execute binary file: Exec format error

I tested the latest images and can confirm the issue.
v0.34.0 is ok

$ docker create --platform linux/arm64 ghcr.io/k8snetworkplumbingwg/ovs-cni-plugin:v0.34.0
$ docker cp 6c4eee5c8bf1a29759fe1c8dac91a18b5e27296bda1be06aafa6fdc8077e0277:/ovs .
$ file ovs
ovs: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=yfbLA94ZBe1nbqt2uMmY/sKcGXweTpDNeOSWpDxo7/jGoMNfKR8CBK4BlqozjH/3B1SVQ6mkxulXU8G-23W, with debug_info, not stripped

but v0.34.1 is not
$ docker create --platform linux/arm64 ghcr.io/k8snetworkplumbingwg/ovs-cni-plugin:v0.34.1
$ docker cp 6823821fc26a859a04f0abe8678f2695a347ecb013061c3b9f3d7bd03b362766:/ovs .
$ file ovs
ovs: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=N7R0T7dqpFKJdIs-1QlG/MX4aFH7E9rq88KEqo0I2/cJWMDP32MkuiMagGoA5o/Sm9w_e_OQwOiXbwx8NRI, with debug_info, not stripped

I think this PR https://github.com/k8snetworkplumbingwg/ovs-cni/pull/319 broke the multiarch build.
@oshoval  Can you check?

@kfox1111, thanks for the report!  As a short term workaround I propose to use v0.34.0 if it fits your needs

Hi, we didn't officially supported yet multi arch as far as i can tell (i do understand it is a regression)
atm i need to finish first other things, and then will be able to come back to it
cc @ashokpariya0
maybe it is part of your plan please ?

cc @zhlhahaha
maybe interesting for you
thanks

I opened PR to fix the multiarch build https://github.com/k8snetworkplumbingwg/ovs-cni/pull/336

Hi, we didn't officially supported yet multi arch as far as i can tell (i do understand it is a regression) atm i need to finish first other things, and then will be able to come back to it
cc @ashokpariya0 maybe it is part of your plan please ?

Yes


[BEAM-2687] Correctly handle read-before-write semantics for user state.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

R: @ryan-williams

looks good, thanks!


multipart/form-data form with multiselect

<EMAIL_ADDRESS>in v0.6.5+ always throws an TypeError: first argument must be a string or Buffer exception, when you're trying to submit form with enctype="multipart/form-data", that has <select multiple="multiple"> in it.
Example to reproduce:
var zombie  = require('zombie')
  , browser = new zombie.Browser();

browser.visit('http://localhost/zombie_bug.html', function() {
    browser.fill('first_name', 'Konstantin');
    browser.pressButton('submit', function() {
        // never executed because of exception
    });
});

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
<head>
    <title>Multipart form with multiselect</title>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
</head>
<body>
    <form method="POST" enctype="multipart/form-data" action="/advanced_form_post.php">
        <input name="first_name" value="" type="text" />

        <select name="select_multiple_numbers[]" multiple="multiple">
            <option value="1">one</option>
            <option value="2">two</option>
            <option value="3">three</option>
        </select>

        <input type="file" name="about" />

        <input type="submit" name="submit" value="Submit" />
    </form>
</body>
</html>

It always throws:
node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
TypeError: first argument must be a string or Buffer
    at ClientRequest.write (http.js:601:11)
    at Resources._makeRequest (/usr/local/lib/node_modules/zombie/lib/zombie/resources.coffee:316:26)
    at /usr/local/lib/node_modules/zombie/lib/zombie/resources.coffee:136:22
    at EventLoop.perform (/usr/local/lib/node_modules/zombie/lib/zombie/eventloop.coffee:116:7)
    at Resources.request (/usr/local/lib/node_modules/zombie/lib/zombie/resources.coffee:135:39)
    at History._resource (/usr/local/lib/node_modules/zombie/lib/zombie/history.coffee:120:38)
    at History._submit (/usr/local/lib/node_modules/zombie/lib/zombie/history.coffee:239:19)
    at /usr/local/lib/node_modules/zombie/lib/zombie/forms.coffee:63:24
    at /usr/local/lib/node_modules/zombie/lib/zombie/forms.coffee:59:16
    at /usr/local/lib/node_modules/zombie/lib/zombie/forms.coffee:59:16

If you remove either enctype="multipart/form-data" from form OR multiple="multiple" from select - bug disappears, but together - they simply don't work.

Hi,
AFAIK, this is not actually a bug, it's a part of zombie's specifications.
This occurs because zombie sends files as base64 encoded strings.
So if there is a form of "multipart/form-data" in a html, it fails submit a form in some environments.
I confirmed that it failed against node-formidable and nginx + php.
But it works against apache + php.
It's not curable unless you change the zombie code to send files as binary data.
Actually I tried it by myself and succeeded to send a file as binary,
but unfortunately I couldn't pass the tests shipped with zombie.
So, well... it went nowhere.
Hopefully this spec will be changed in near future.
Regards.

Oh, and I recommend you to use webdriverjs, if it's suffice for you purpose.


Error ROUND_HALF_EVEN?

We are facing the next problem:

We understand first case is correct, but the second one should be 3.77, right? Are we missing something?

I don't know why you think the result should be 3.77 and not 3.78, when the rounding mode is ROUND_HALF_EVEN and 7 is odd and 8 is even.

@MikeMcl ok, I understand the behavior now. Is there any way to perform ROUND_HALF_DOWN rounding?

Not really, no.


Not working correctly after reboot

Describe the bug
The app works fine, until I reboot the computer. After that I'm no longer able to move windows between monitors using mod2 + J or mod2 + K.
To Reproduce
Steps to reproduce the behavior:

Install the app, it works fine
Reboot the computer
App won't work correctly anymore

Expected behavior
I should be abel to move windows to my other monitor using either mod2 + J or mod2 + K. But once I restart Windows this doesn't work anymore.
I also noticed that, after a reboot, sometimes pressing mod2 + J or mod2 + K swaps the focused window with the main window (the behavior of mod1 + ENTER)
Desktop (please complete the following information):

OS: Windows 10 - 19043.1055
Vivaldi
Version 4.0.2312.27

Hello @dordio, let me do an investigation and I will come back to you. Are you customizing keys?

Sorry for the late response. No, I'm not customizing keys.
I should add that I'm using a Razer Huntsman Mini, maybe that will help.

I've got exactly the same problem - first install worked perfectly, updated and rebooted and it doesn't work anymore. To add some detail, the list of windows is empty in the Amethyst window, and in the Event Viewer I find the following call stack:
Application: AmethystWindowsSystray.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidCastException
   at WindowsDesktop.Internal.IServiceProvider10.QueryService(System.Guid ByRef, System.Guid ByRef)
   at WindowsDesktop.Internal.DesktopManager..cctor()

Exception Info: System.TypeInitializationException
   at WindowsDesktop.VirtualDesktop.get_Current()
   at DesktopWindowManager.Internal.DesktopWindow.GetVirtualDesktop()
   at DesktopWindowManager.Internal.DesktopWindow.GetInfo()
   at AmethystWindowsSystray.DesktopWindowsManager.<GetWindows>b__21_0(Vanara.PInvoke.HWND, IntPtr)
   at Vanara.PInvoke.User32.EnumWindows(EnumWindowsProc, IntPtr)
   at AmethystWindowsSystray.DesktopWindowsManager.GetWindows()
   at AmethystWindowsSystray.SystrayContext+<Initialize>d__10.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1(System.Object)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Hello @tgolsson  thank you for the report. I will try to gitve it alook during the weekend.

I just wanted to chime in and say I am having the same issue. Currently, the only workaround I have found is to uninstall and reinstall amethyst after a reboot.

I just wanted to chime in and say I am having the same issue. Currently, the only workaround I have found is to uninstall and reinstall amethyst after a reboot.

And if you reboot after that it still works correctly?

And if you reboot after that it still works correctly?

No, I will have to uninstall and reinstall again after every reboot.

I do have a similar same issue. The applications just doesn't start.

hi! Could you check you have not deleted the 5 vdesktops?

I do have the 5 virtual desktops.

I've uninstalled and installed as suggested by @silver-dragon. BUt I'm attaching the errors I gor before in the Event Viewer
Faulting application name: AmethystWindowsSystray.exe, version: 1.0.21150.1, time stamp: 0xc46a19be
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1151, time stamp: 0x5da51925
Exception code: 0xe0434352
Fault offset: 0x0012b512
Faulting process id: 0x5fd4
Faulting application start time: 0x01d7901dbc631d18
Faulting application path: C:\Program Files\WindowsApps\e7e2fe78-574a-47c3-81a2-66484cda1c60_1.0.21150.1_x64__wr4dg9c1cnpd8\AmethystWindowsSystray\AmethystWindowsSystray.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: eb06008b-82ee-4b6f-a04c-4c91609747ac
Faulting package full name: e7e2fe78-574a-47c3-81a2-66484cda1c60_1.0.21150.1_x64__wr4dg9c1cnpd8
Faulting package-relative application ID: App
Application: AmethystWindowsSystray.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
at System.ThrowHelper.ThrowArgumentException(System.ExceptionResource)
at System.Collections.Generic.Dictionary2[[DesktopWindowManager.Internal.Pair2[[System.__Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Vanara.PInvoke.HMONITOR, Vanara.PInvoke.Shared, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c37e4080322237fa]], AmethystWindowsSystray, Version=1.0.21150.1, Culture=neutral, PublicKeyToken=null],[DesktopWindowManager.Internal.Layout, AmethystWindowsSystray, Version=1.0.21150.1, Culture=neutral, PublicKeyToken=null]].Insert(DesktopWindowManager.Internal.Pair2<System.__Canon,Vanara.PInvoke.HMONITOR>, DesktopWindowManager.Internal.Layout, Boolean)    at System.Linq.Enumerable.ToDictionary[[System.Collections.Generic.KeyValuePair2[[DesktopWindowManager.Internal.Pair2[[System.__Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Vanara.PInvoke.HMONITOR, Vanara.PInvoke.Shared, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c37e4080322237fa]], AmethystWindowsSystray, Version=1.0.21150.1, Culture=neutral, PublicKeyToken=null],[DesktopWindowManager.Internal.Layout, AmethystWindowsSystray, Version=1.0.21150.1, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089],[DesktopWindowManager.Internal.Pair2[[System.__Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Vanara.PInvoke.HMONITOR, Vanara.PInvoke.Shared, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c37e4080322237fa]], AmethystWindowsSystray, Version=1.0.21150.1, Culture=neutral, PublicKeyToken=null],[DesktopWindowManager.Internal.Layout, AmethystWindowsSystray, Version=1.0.21150.1, Culture=neutral, PublicKeyToken=null]](System.Collections.Generic.IEnumerable1<System.Collections.Generic.KeyValuePair2<DesktopWindowManager.Internal.Pair2<System.__Canon,Vanara.PInvoke.HMONITOR>,DesktopWindowManager.Internal.Layout>>, System.Func2<System.Collections.Generic.KeyValuePair2<DesktopWindowManager.Internal.Pair2<System.__Canon,Vanara.PInvoke.HMONITOR>,DesktopWindowManager.Internal.Layout>,DesktopWindowManager.Internal.Pair2<System.__Canon,Vanara.PInvoke.HMONITOR>>, System.Func2<System.Collections.Generic.KeyValuePair2<DesktopWindowManager.Internal.Pair2<System.__Canon,Vanara.PInvoke.HMONITOR>,DesktopWindowManager.Internal.Layout>,DesktopWindowManager.Internal.Layout>, System.Collections.Generic.IEqualityComparer1<DesktopWindowManager.Internal.Pair2<System.__Canon,Vanara.PInvoke.HMONITOR>>)
at AmethystWindowsSystray.DesktopWindowsManager.ReadLayouts()
at AmethystWindowsSystray.DesktopWindowsManager.LoadLayouts()
at AmethystWindowsSystray.SystrayContext+d__10.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_1(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

There is something not quite right with the way the I save and load the layouts for each vdesktop. Have you changed desktop names while amethyst was up? I think that scenario is not covered but I need a bit of time to check.

I did change the names, after installing Amethyst. But once I've rebooted the virtual desktops were already created with the previous name. Not sure if that is a problem or not.
Also for me the problem has that no auto layout of windows was working. I need to check if I can get time to also help you looking at the code of this (maybe during holidays)

@sirbabyface any help would be welcome.

After the reboot this is the look of the Amethyst Windows:

So it seems the windows list is not being returned. Error in the Event Viewer
Application: AmethystWindowsSystray.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
   at System.ThrowHelper.ThrowArgumentException(System.ExceptionResource)
   at System.Collections.Generic.Dictionary`2[[DesktopWindowManager.Internal.Pair`2[[System.__Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Vanara.PInvoke.HMONITOR, Vanara.PInvoke.Shared, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c37e4080322237fa]], AmethystWindowsSystray, Version=1.0.21150.1, Culture=neutral, PublicKeyToken=null],[DesktopWindowManager.Internal.Layout, AmethystWindowsSystray, Version=1.0.21150.1, Culture=neutral, PublicKeyToken=null]].Insert(DesktopWindowManager.Internal.Pair`2<System.__Canon,Vanara.PInvoke.HMONITOR>, DesktopWindowManager.Internal.Layout, Boolean)
   at System.Linq.Enumerable.ToDictionary[[System.Collections.Generic.KeyValuePair`2[[DesktopWindowManager.Internal.Pair`2[[System.__Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Vanara.PInvoke.HMONITOR, Vanara.PInvoke.Shared, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c37e4080322237fa]], AmethystWindowsSystray, Version=1.0.21150.1, Culture=neutral, PublicKeyToken=null],[DesktopWindowManager.Internal.Layout, AmethystWindowsSystray, Version=1.0.21150.1, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089],[DesktopWindowManager.Internal.Pair`2[[System.__Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089],[Vanara.PInvoke.HMONITOR, Vanara.PInvoke.Shared, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c37e4080322237fa]], AmethystWindowsSystray, Version=1.0.21150.1, Culture=neutral, PublicKeyToken=null],[DesktopWindowManager.Internal.Layout, AmethystWindowsSystray, Version=1.0.21150.1, Culture=neutral, PublicKeyToken=null]](System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<DesktopWindowManager.Internal.Pair`2<System.__Canon,Vanara.PInvoke.HMONITOR>,DesktopWindowManager.Internal.Layout>>, System.Func`2<System.Collections.Generic.KeyValuePair`2<DesktopWindowManager.Internal.Pair`2<System.__Canon,Vanara.PInvoke.HMONITOR>,DesktopWindowManager.Internal.Layout>,DesktopWindowManager.Internal.Pair`2<System.__Canon,Vanara.PInvoke.HMONITOR>>, System.Func`2<System.Collections.Generic.KeyValuePair`2<DesktopWindowManager.Internal.Pair`2<System.__Canon,Vanara.PInvoke.HMONITOR>,DesktopWindowManager.Internal.Layout>,DesktopWindowManager.Internal.Layout>, System.Collections.Generic.IEqualityComparer`1<DesktopWindowManager.Internal.Pair`2<System.__Canon,Vanara.PInvoke.HMONITOR>>)
   at AmethystWindowsSystray.DesktopWindowsManager.ReadLayouts()
   at AmethystWindowsSystray.DesktopWindowsManager.LoadLayouts()
   at AmethystWindowsSystray.SystrayContext+<Initialize>d__10.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1(System.Object)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

I completely rewritten settings savings in v2 https://github.com/glsorre/amethystwindows/releases/tag/<IP_ADDRESS> . Please try it.

Sorry I'm no longer using Windows 10, I've moved to Windows 11. I can say that it's working on Windows 11. There are some issues though.
It sometimes crashes without error, just closes.
You have duplicated hotkeys setup.
If you change the hotkeys and restart the app the change are reset to the original.
If you don't mind a sugestion: the ability to change the main modkey. I'd like to use the windows key as the modkey if possible, of course.
Thank you for all your work. I apreciate it very much.

@dordio are you reporting on v2?

I am. I'm sorry I didn't mention that. I can open an issue in the correct place if you wish.

I am investigating the hotkey issue and come back to you.

@dordio https://github.com/glsorre/amethystwindows/releases/tag/<IP_ADDRESS> could you try this build?
I have added crashes reporting as well to see if I can spot the errors you are talking about.

Sure, no problem I'll report back as soon as I can. Thank you.

This is what I've found so far:

Moving windows between screens doesn't work
Expand and shrink main pane doesn't work
Moving focus between previous/next screen only works if the focus is on the secondary screen. If focus is on primary screen is does nothing. I've got a couple of crashes without errors while testing this.
Swaping focus and moving focused window around works fine.
Rotating layout also works fine.

 Couldyou try with https://github.com/glsorre/amethystwindows/releases/tag/<IP_ADDRESS>?
Also could you paste %APPDATA%/Amethyst Windows/MySettings.json here?

Hello @glsorre! Version <IP_ADDRESS> is having the same issues as before, but this time only after I restarted my PC. I tested all shortcuts and they worked fine, also no crashes. Once I restarted the PC and loaded the app all the previous problems came back.
As per your request here is the content of my MySettings.json:

{"DesktopMonitors":[{"DesktopID":"0192cb74-78d3-4ac5-9cf1-2e743d6a78d4","MonitorX":0,"MonitorY":0,"Layout":3,"Factor":-8},{"DesktopID":"0192cb74-78d3-4ac5-9cf1-2e743d6a78d4","MonitorX":-1920,"MonitorY":0,"Layout":0,"Factor":0}],"Padding":10,"Step":25,"LayoutPadding":0,"MarginTop":10,"MarginRight":10,"MarginBottom":10,"MarginLeft":10,"VirtualDesktops":0,"Disabled":false,"Filters":[],"Additions":[],"Hotkeys":[{"Hotkey":{"Key":35,"Modifiers":1},"Command":"Rotate Layout Clockwise"},{"Hotkey":{"Key":18,"Modifiers":13},"Command":"rotateLayoutCounterclockwise"},{"Hotkey":{"Key":6,"Modifiers":5},"Command":"setMainPane"},{"Hotkey":{"Key":51,"Modifiers":5},"Command":"swapFocusedCounterclockwise"},{"Hotkey":{"Key":55,"Modifiers":5},"Command":"swapFocusedClockwise"},{"Hotkey":{"Key":53,"Modifiers":5},"Command":"swapFocusCounterclockwise"},{"Hotkey":{"Key":54,"Modifiers":5},"Command":"swapFocusClockwise"},{"Hotkey":{"Key":59,"Modifiers":5},"Command":"moveFocusPreviousScreen"},{"Hotkey":{"Key":57,"Modifiers":5},"Command":"moveFocusNextScreen"},{"Hotkey":{"Key":55,"Modifiers":13},"Command":"expandMainPane"},{"Hotkey":{"Key":51,"Modifiers":13},"Command":"shrinkMainPane"},{"Hotkey":{"Key":53,"Modifiers":7},"Command":"Move Focused Window Previous Screen"},{"Hotkey":{"Key":54,"Modifiers":7},"Command":"Move Focused Window Next Screen"},{"Hotkey":{"Key":69,"Modifiers":5},"Command":"redraw"},{"Hotkey":{"Key":23,"Modifiers":13},"Command":"moveFocusedNextSpace"},{"Hotkey":{"Key":25,"Modifiers":13},"Command":"moveFocusedPreviousSpace"},{"Hotkey":{"Key":35,"Modifiers":13},"Command":"moveFocusedToSpace1"},{"Hotkey":{"Key":36,"Modifiers":13},"Command":"moveFocusedToSpace2"},{"Hotkey":{"Key":37,"Modifiers":13},"Command":"moveFocusedToSpace3"},{"Hotkey":{"Key":38,"Modifiers":13},"Command":"moveFocusedToSpace4"},{"Hotkey":{"Key":39,"Modifiers":13},"Command":"moveFocusedToSpace5"},{"Hotkey":{"Key":18,"Modifiers":5},"Command":"rotateLayoutClockwise"},{"Hotkey":{"Key":18,"Modifiers":13},"Command":"rotateLayoutCounterclockwise"},{"Hotkey":{"Key":6,"Modifiers":5},"Command":"setMainPane"},{"Hotkey":{"Key":51,"Modifiers":5},"Command":"swapFocusedCounterclockwise"},{"Hotkey":{"Key":55,"Modifiers":5},"Command":"swapFocusedClockwise"},{"Hotkey":{"Key":53,"Modifiers":5},"Command":"swapFocusCounterclockwise"},{"Hotkey":{"Key":54,"Modifiers":5},"Command":"swapFocusClockwise"},{"Hotkey":{"Key":59,"Modifiers":5},"Command":"moveFocusPreviousScreen"},{"Hotkey":{"Key":57,"Modifiers":5},"Command":"moveFocusNextScreen"},{"Hotkey":{"Key":53,"Modifiers":7},"Command":"Expand Main Pane"},{"Hotkey":{"Key":51,"Modifiers":13},"Command":"shrinkMainPane"},{"Hotkey":{"Key":54,"Modifiers":7},"Command":"Move Focused Window Previous Screen"},{"Hotkey":{"Key":53,"Modifiers":5},"Command":"moveFocusedNextScreen"},{"Hotkey":{"Key":69,"Modifiers":5},"Command":"redraw"},{"Hotkey":{"Key":23,"Modifiers":13},"Command":"moveFocusedNextSpace"},{"Hotkey":{"Key":25,"Modifiers":13},"Command":"moveFocusedPreviousSpace"},{"Hotkey":{"Key":35,"Modifiers":13},"Command":"moveFocusedToSpace1"},{"Hotkey":{"Key":36,"Modifiers":13},"Command":"moveFocusedToSpace2"},{"Hotkey":{"Key":37,"Modifiers":13},"Command":"moveFocusedToSpace3"},{"Hotkey":{"Key":38,"Modifiers":13},"Command":"moveFocusedToSpace4"},{"Hotkey":{"Key":39,"Modifiers":13},"Command":"moveFocusedToSpace5"},{"Hotkey":{"Key":18,"Modifiers":5},"Command":"rotateLayoutClockwise"},{"Hotkey":{"Key":18,"Modifiers":13},"Command":"rotateLayoutCounterclockwise"},{"Hotkey":{"Key":6,"Modifiers":5},"Command":"setMainPane"},{"Hotkey":{"Key":51,"Modifiers":5},"Command":"swapFocusedCounterclockwise"},{"Hotkey":{"Key":55,"Modifiers":5},"Command":"swapFocusedClockwise"},{"Hotkey":{"Key":53,"Modifiers":5},"Command":"swapFocusCounterclockwise"},{"Hotkey":{"Key":54,"Modifiers":5},"Command":"swapFocusClockwise"},{"Hotkey":{"Key":59,"Modifiers":5},"Command":"moveFocusPreviousScreen"},{"Hotkey":{"Key":57,"Modifiers":5},"Command":"moveFocusNextScreen"},{"Hotkey":{"Key":55,"Modifiers":13},"Command":"expandMainPane"},{"Hotkey":{"Key":51,"Modifiers":13},"Command":"shrinkMainPane"},{"Hotkey":{"Key":53,"Modifiers":7},"Command":"Move Focused Window Previous Screen"},{"Hotkey":{"Key":54,"Modifiers":7},"Command":"Move Focused Window Next Screen"},{"Hotkey":{"Key":69,"Modifiers":5},"Command":"redraw"},{"Hotkey":{"Key":23,"Modifiers":13},"Command":"moveFocusedNextSpace"},{"Hotkey":{"Key":25,"Modifiers":13},"Command":"moveFocusedPreviousSpace"},{"Hotkey":{"Key":35,"Modifiers":13},"Command":"moveFocusedToSpace1"},{"Hotkey":{"Key":36,"Modifiers":13},"Command":"moveFocusedToSpace2"},{"Hotkey":{"Key":37,"Modifiers":13},"Command":"moveFocusedToSpace3"},{"Hotkey":{"Key":38,"Modifiers":13},"Command":"moveFocusedToSpace4"},{"Hotkey":{"Key":39,"Modifiers":13},"Command":"moveFocusedToSpace5"},{"Hotkey":{"Key":18,"Modifiers":5},"Command":"rotateLayoutClockwise"},{"Hotkey":{"Key":18,"Modifiers":13},"Command":"rotateLayoutCounterclockwise"},{"Hotkey":{"Key":6,"Modifiers":5},"Command":"setMainPane"},{"Hotkey":{"Key":51,"Modifiers":5},"Command":"Swap Focused Window Counterclockwise"},{"Hotkey":{"Key":55,"Modifiers":5},"Command":"Swap Focused Window Clockwise"},{"Hotkey":{"Key":53,"Modifiers":5},"Command":"swapFocusCounterclockwise"},{"Hotkey":{"Key":54,"Modifiers":5},"Command":"swapFocusClockwise"},{"Hotkey":{"Key":59,"Modifiers":5},"Command":"moveFocusPreviousScreen"},{"Hotkey":{"Key":57,"Modifiers":5},"Command":"moveFocusNextScreen"},{"Hotkey":{"Key":55,"Modifiers":13},"Command":"expandMainPane"},{"Hotkey":{"Key":51,"Modifiers":13},"Command":"shrinkMainPane"},{"Hotkey":{"Key":53,"Modifiers":7},"Command":"Move Focused Window Previous Screen"},{"Hotkey":{"Key":54,"Modifiers":7},"Command":"Move Focused Window Next Screen"},{"Hotkey":{"Key":69,"Modifiers":5},"Command":"redraw"},{"Hotkey":{"Key":23,"Modifiers":13},"Command":"moveFocusedNextSpace"},{"Hotkey":{"Key":25,"Modifiers":13},"Command":"moveFocusedPreviousSpace"},{"Hotkey":{"Key":35,"Modifiers":13},"Command":"moveFocusedToSpace1"},{"Hotkey":{"Key":36,"Modifiers":13},"Command":"moveFocusedToSpace2"},{"Hotkey":{"Key":37,"Modifiers":13},"Command":"moveFocusedToSpace3"},{"Hotkey":{"Key":38,"Modifiers":13},"Command":"moveFocusedToSpace4"},{"Hotkey":{"Key":39,"Modifiers":13},"Command":"moveFocusedToSpace5"},{"Hotkey":{"Key":18,"Modifiers":5},"Command":"rotateLayoutClockwise"},{"Hotkey":{"Key":18,"Modifiers":13},"Command":"rotateLayoutCounterclockwise"},{"Hotkey":{"Key":6,"Modifiers":5},"Command":"setMainPane"},{"Hotkey":{"Key":51,"Modifiers":5},"Command":"swapFocusedCounterclockwise"},{"Hotkey":{"Key":55,"Modifiers":5},"Command":"swapFocusedClockwise"},{"Hotkey":{"Key":53,"Modifiers":5},"Command":"swapFocusCounterclockwise"},{"Hotkey":{"Key":54,"Modifiers":5},"Command":"swapFocusClockwise"},{"Hotkey":{"Key":59,"Modifiers":5},"Command":"moveFocusPreviousScreen"},{"Hotkey":{"Key":57,"Modifiers":5},"Command":"moveFocusNextScreen"},{"Hotkey":{"Key":55,"Modifiers":13},"Command":"expandMainPane"},{"Hotkey":{"Key":51,"Modifiers":13},"Command":"shrinkMainPane"},{"Hotkey":{"Key":54,"Modifiers":5},"Command":"moveFocusedPreviousScreen"},{"Hotkey":{"Key":53,"Modifiers":5},"Command":"moveFocusedNextScreen"},{"Hotkey":{"Key":69,"Modifiers":5},"Command":"redraw"},{"Hotkey":{"Key":23,"Modifiers":13},"Command":"moveFocusedNextSpace"},{"Hotkey":{"Key":25,"Modifiers":13},"Command":"moveFocusedPreviousSpace"},{"Hotkey":{"Key":35,"Modifiers":13},"Command":"moveFocusedToSpace1"},{"Hotkey":{"Key":36,"Modifiers":13},"Command":"moveFocusedToSpace2"},{"Hotkey":{"Key":37,"Modifiers":13},"Command":"moveFocusedToSpace3"},{"Hotkey":{"Key":38,"Modifiers":13},"Command":"moveFocusedToSpace4"},{"Hotkey":{"Key":39,"Modifiers":13},"Command":"moveFocusedToSpace5"}]}

@dordio I think I can see your problem and my error 🤦. Will come back to you.

@dordio I have done many tests but I have not been able to modify MySettings.json with more than 21 entries as you have at the moment. It is possible is due to a bug in a previous version.
Could you please remove the file and restart from the scratch with version <IP_ADDRESS> and see what happens?
This means you will need to reset your preferences.

@glsorre so far so good! 😁👍
Apart from one crash while trying to "swap focused window" on my secondary monitor everything seems to be working correctly. Tried a few reboots and still working.
I'll get back to you if something changes.
Thank you very much for all you've done. Great work!
In the mean time I've noticed a couple of "bugs". Minor stuff. I'll post about them in the correct page so you can take a look when you get the time. No rush.


Bump actions version

The current version was giving warnings in our workflow. I don't believe there's any serious issue with just bumping the version here.

Thanks for your participation!

@RedCrafter07 could you perhaps tag a new patch version? Otherwise the warning won't go away.


Logical Constraints Not Working

I'm not able to get demonstrations of logical constraints working inside Blawx. I suspect that the problem is that the format is different in the SWI-Prolog library than it is in the Ciao version. Will need to find a working example in swish, modify the code generator, create an example, and update the documentation.

Fixed in 1.5.3


Add TE0714-03-50-2l

The SPIFlashResource defined for this board is connected to the configuration interface, this means one cannot drive the clock directly, but one has to use the USRCCLKO primitive. Any guidance on how to reflect this in the platform file?

The SPIFlashResource defined for this board is connected to the configuration interface, this means one cannot drive the clock directly, but one has to use the USRCCLKO primitive. Any guidance on how to reflect this in the platform file?

We can't do this yet, but I have plans to fix this in near future.

Can you provide an URL for the board documentation?
The schematic can be found here.
Looking it up again made me notice that the last letter is not a small L but a capital i instead :)

Does the board have no way to program it?
The board has the JTAG only on the expansion connector, so the programming method depends on how you break that out.

Even if the answer to the above is "yes", having blinky with do_program=False would still be quite useful for smoke testing.

Sure makes sense.

Thank you for your contribution!


PS Commandline has a few typos

iex ((New-Object System.Net.WebClient) DownloadString('https://chocolatey.org/install.ps1)) should actually be iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

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

ID: 728cc3f4-d5da-a270-a3c0-53f179147cc0
Version Independent ID: 32d276c0-0980-ff36-933b-5012a39f75c5
Content: Delete a Recovery Services vault in Azure '
Content Source: articles/backup/backup-azure-delete-vault.md
Service: backup
GitHub Login: @markgalioto
Microsoft Alias: markgal

@hjlarrea Thanks for the feedback, I am getting this fixed asap.

@hjlarrea  We appreciate you catching the missing characters. I've updated the example, and it will publish later today.

#please-close

@hjlarrea We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


emplace: init at 0.2.5

Motivation for this change
Close tversteeg/emplace#3.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This change is

@GrahamcOfBorg build emplace

@GrahamcOfBorg build emplace


Status List Credential Implementation

Draft for - https://github.com/TBD54566975/web5-js/issues/380

Adding test vectors here https://github.com/TBD54566975/web5-spec/pull/151/files

Codecov Report

Merging #448 (e41d913) into main (e241281) will increase coverage by 0.02%.
Report is 1 commits behind head on main.
The diff coverage is 92.74%.

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #448      +/-   ##
==========================================
+ Coverage   90.54%   90.57%   +0.02%
==========================================
  Files         112      113       +1
  Lines       29085    29331     +246
  Branches     2078     2102      +24
==========================================
+ Hits        26335    26566     +231
- Misses       2715     2730      +15
  Partials       35       35

Components
Coverage Δ

agent
78.83% <ø> (ø)

api
97.89% <ø> (+0.15%)
:arrow_up:

common
98.68% <ø> (ø)

credentials
94.77% <92.74%> (-0.44%)
:arrow_down:

crypto
93.81% <ø> (ø)

dids
97.65% <ø> (ø)

identity-agent
96.70% <ø> (ø)

crypto-aws-kms
100.00% <ø> (ø)

proxy-agent
96.70% <ø> (ø)

user-agent
96.70% <ø> (ø)

Updated and merged in your updates.

spec update
https://github.com/TBD54566975/web5-spec/pull/151


Update model animation and shadow in pause mode

I started with the obvious changes but unsure how best to implement a better check that we're really only updating the animation when needed.
Should we defer setting this[$scene].model.animationTime until the next tick (store it in a temporary variable when currentTime setter is called)?
Reference Issue
Fixes #1113

@googlebot I signed it!

Also, if you could write a test for this pausing bug, that would be great for preventing regressions. 🙏

I'll try! Good opportunity to learn a bit of model-viewer development and hopefully fix more of my own issues in the future.
I followed the set-up steps, however I'm hitting a blocker - any idea on how to proceed? Tried running the command in Powershell, Command Line, Git Bash and node.js command prompt but get the same error everywhere:

@soraryu, thanks for all your work! Unfortunately none of us use a windows
development environment; we’re all Mac and Linux. It looks like our scripts
are not windows friendly. I know modern windows includes a Linux command
line; maybe that could help?
Sorry for not being as portable as we could be.
On Sat, Mar 28, 2020 at 12:48 PM soraryu<EMAIL_ADDRESS>wrote:

I'll try! Good opportunity to learn a bit of model-viewer development and
hopefully fix more of my own issues in the future.
I followed the set-up steps, however I'm hitting a blocker - any idea on
how to proceed? Tried running the command in Powershell, Command Line, Git
Bash and node.js command prompt but get the same error everywhere:
[image: image]
https://user-images.githubusercontent.com/2693840/77832321-7813f280-7135-11ea-97aa-ea0752e0cec9.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/model-viewer/pull/1114#issuecomment-605510114,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMS2LAGKGUOCW7ZXK2Q7XDRJZIBXANCNFSM4LVAJ6YQ
.

I'll try to do the changes inside a VM but it's gonna take a bit longer.
Thanks for the explanation!

Closing in favor of #1139; Thanks for the contribution @soraryu !


Sc 74971/mailbox component poorly displays emails

Mailbox component poorly displays emails [sc-74971]
Code changes

[email] show snippet when message body is empty
[tooltip] fix issue causing muplitiple tooltips to open
[tooltip] add support for text with icon
[tooltip] add for html content
[email] more readable participants list

Visual Changes

Before https://www.loom.com/share/28e83b454deb44d09851382cbd442264
After https://www.loom.com/share/1ab2fc41ea0f4ce28100f9cce78c51a1

Readiness checklist

[] Added changes to component CHANGELOG.md
[] New property added? make sure to update component/src/properties.json
[] Cypress tests passing?
[] New cypress tests added?
[] Included before/after screenshots, if the change is visual

License
I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Can we please add this bugfix to components/mailbox/CHANGELOG.md :)