🐛 [FIREBASE_IN_APP_MESSAGING] Plugin display only portrait card on android devices.

Bug report
Describe the bug
Android use portrait width for campaign card in landscape mode. Plugin works as it should for Android (portrait), iOS (portrait and landscape)

Steps to reproduce
Steps to reproduce the behavior:

Receive campaign
Rotate phone
See incorrect behavior

Expected behavior
Card should use proper width for landscape.
Flutter dependencies
Click To Expand
  firebase_core: ^2.1.1
  firebase_in_app_messaging: ^0.7.0

Thanks for the report. Seeing same behavior as reported on Android.

Is there any workaround for this?


Tilemaps Physics Optimization - New algorithms

Illustration
In the example below, rendering occurs normally.

In this other example, lag occurs.

The positioning of the sprite cannot follow the update positioning of the collision box.
What is the difference between the two examples?
The only difference is that in the second example, there are several tiles missing.
This means that the current algorithm tries to process all possible collisions.
Optimization Performance
One way for Optimization Performance is to eliminate unnecessary or expendable processing.
Necessary collisions
The necessary collisions are close to the actors.
For example: A "box activate" can activate collisions.

This "box activate" is nothing more than the distance between "actors" and "tiles".
Deactivated tiles work like normal sprites.
The array list physics updates remove this tiles to max performance.
Like Sorted Arrays
http://jsfiddle.net/cwgbxss5/1/
New Algorithm Options
Phaser supports physics systems: Arcade Physics, P2, Ninja Physics, Box2D, Matter,  etc.
Phaser also could have native options for better tilemap update algorithms.
Like Sorted Arrays, Quad-tree, Octree, etc.

Your demo is for Phaser 2. This repo is for Phaser 3.
Phaser 3 does not include 'empty' tiles for consideration when running collision checks against them. They are definitely skipped.
Even Phaser 2 has sorted-arrays and quadtree support built-in now, although not in the very, very old version you've used in your demo, which is v2.2.0. That version is over 7 years old. Phaser 2 is currently on v2.17.0.

The examples are Phaser 3.0

The performance problem that I highlighted occurs in Phaser 3.0.
The sorted arrays that are Phaser 2.0, but just an example of the algorithm that can be used in any version.
The way I'm trying to get better performance is this:
  var Xpos = playerCollision.x
  var Ypos = playerCollision.y
  var tile = blocks.getTileAtWorldXY(Xpos, Ypos, true)

  //Colision down
  if( tile && tile.index != -1 && tile.pixelY == Math.round(Ypos/32)*32){
      playerCollision.y = Math.round(Ypos/32)*32
      playerCollision.setVelocityY(0)
      jump = true
  }

In my tests this already works better than the default system.
Now  missing the other sides of the collision.

You didn't show a reproducible issue, just a gif and then an example of something from a 7 year old version of Phaser. There is nothing here I can actually act upon. If you're already developing something that works better for your use case then I suggest you stick with it and implement it in your own build.

To reproduce, just have a character that jump, and a "Chess" of tiles and holes under it. As in the images.
But, I realized that lag only occurs when resizing the screen multiple times.
Then the update saturates and FPS stay 10, 20.
But, nobody resizes the browser, and nobody ever complained about it, so that's not a major problem.
Thnks.


Success notice after successful vote

The page should show when the vote was successful

In the best case combined with something like this:
https://www.npmjs.com/package/react-confetti


Set Up a Workflow With Extended Employee Onboarding

Tutorial URL: https://developers.sap.com/tutorials/cp-starter-ibpm-employeeonboarding-3-workflow.html
Please specify the step you are referring to: Step 3
When deploying to SAP Cloud Platform, operation fails with this error:
Service operation failed: Controller operation failed: 502 Updating service "sample_onboarding_html5_repo_host" failed: Bad Gateway: Error creating service "sample_onboarding_html5_repo_host" from offering "html5-apps-repo" and plan "app-host": CF-ServiceBrokerBadResponse(10001): Service broker error: Service broker html5-apps-repo-sb failed with: Failed to report quota consumption
Any help is very much appreciated

Is this still coming? You need to increase the quota of your HTML app or shut down some existing application to free up the space.

I assume the issue is solved. If not please reopen it.
@MichaelCzcz  - please close the issue!

yes, solved; thank you


"pip install rvc3-python"  Error.

hi, Dear Mr. petercorke, when I run the command "pip install rvc3-python", I get the following error:
(venv) grady@T480:~$ pip install rvc3-python
ERROR: Could not find a version that satisfies the requirement rvc3-python (from versions: none)
ERROR: No matching distribution found for rvc3-python
How should I solve this problem?

Hi GradyM2M,
updated instructions can fe found at:
https://pypi.org/project/roboticstoolbox-python/
e.g. "pip3 install roboticstoolbox-python"

@peter-pri Hi peter-pri,
I found the “rvc3python” package in Pycharm, but I haven't downloaded and used it yet.

As the README states this is a work in progress.  It needs a lot of polishing but now that the book manuscript is done I get the code base into shape.

Hi Peter,
I am happy to hear that. I will definitely by a  copy of your book, as soon it is availalble. I have got an automatic e-mail from your e-mail account at QUT, good look at the antarctic.
Shall I write issues for the "robotics-toolbox-python" repository, or shall I wail until next (beta-)release ?
Kind regards,
Peter


(HUSK ALEX) Calculate monthly amounts in DKK for production per hourly tariff per energy supplier.

Synopsis
As datahub
we want to calculate monthly amounts for production per hourly tariff per charge owner, per energy supplier per grid area
so we can have these results for the wholesale settlement.
Acceptance criteria

[ ] Given wholesale calculation, when started, Then DataHub must calculate the monthly amount for the already calculated hourly amount in #475.
[ ]   Given a wholesale calculation, when started, Then the aggregated result is in monthly (P1M) resolution.

Tasks

Tested Ok for wholesale fixing batch # "7e9e5f64-12ea-497e-bbef-ae47a2dc222e"
See the test result in the attached excel sheet.
Test monthly amounts for hourly tariff.xlsx


Rc

ReadMe Fix
CRAN-SUBMISSION

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Ensure Stacks FTs appear within "Choose asset" for sending when metadata unavailable

SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.brc20-dexm
Affected wallet address: SP32ME2SXVXJMDFV0GA9N2AGCS3MJ5X4MTRTHX8YX
I have asked Rafael if a refresh of the token metadata can be done to resolve this (as in this case).
I remember we made a change so that tokens would still be transferrable even if the token metadata is unavailable:
https://github.com/hirosystems/wallet/pull/3540
I am not sure why these tokens are still not available in the send list:
SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.brc20-aiptp
SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.brc20-dexm

Any idea whether this was a transitory issue with these particular tokens or whether it remains?

Rafael did a manual update of the metadata for the token and now it is properly displayed in the wallet and selectable for sending:

The issue remains for the other token, which is not selectable (it was not updated so is expected):
SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.brc20-aiptp
And I believe it should be selectable even when the metadata is not loaded because of this fix: https://github.com/hirosystems/wallet/issues/3565 for the wallet. An address with the token (for mocking): SP254YDAYQAX6Q62BDHJ8Q72HF9BVVBG06KQFQHJE
Here is a token that is not indexed by the new metadata indexer but it does show up for sending: https://explorer.hiro.so/txid/SP3D6PV2ACBPEKYJTCMH7HEN02KP87QSP8KTEH335.mega?chain=mainnet (an address with the token: SP32X1G3FK9CVZDS7H07D0YTE0ZTPJTFP01ZSXFAK )
Ideally, there is a solution so metadata is up to date for tokens. Sometimes metadata is not updated in the API because (A) token metadata is not available at the time the contract is deployed and/or because (B) of reorgs. I believe there is a fix for these in the works @rafaelcr, may be able to comment.
In any case the wallet should allow sending the token even in the absence of token metadata since they are standard tokens (SIP010 in this case).

The issue remains for the other token, which is not selectable (it was not updated so is expected):
SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.brc20-aiptp

I just refreshed this contract manually, so you should see it as usable now: https://api.hiro.so/metadata/ft/SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.brc20-aiptp

Here is a token that is not indexed by the new metadata indexer but it does show up for sending: https://explorer.hiro.so/txid/SP3D6PV2ACBPEKYJTCMH7HEN02KP87QSP8KTEH335.mega?chain=mainnet

This token was already indexed by the API though, that's probably why you're being able to use it: https://api.hiro.so/metadata/ft/SP3D6PV2ACBPEKYJTCMH7HEN02KP87QSP8KTEH335.mega

I believe there is a fix for these in the works @rafaelcr, may be able to comment.

Yep, this is a priority for us right now so I expect this issue to be solved in the next few weeks
@314159265359879


Update setup.md

#sign-off

@abhilashaagarwala: I'm sorry - only the author of this article, @davannaw-msft, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off

@abhilashaagarwala: I'm sorry - only the author of this article, @davannaw-msft, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

Hi @abhilashaagarwala - This pull request was opened in the public repo. Would you make future updates in the private repo? Thanks!

Hi @ktoliver sure! This needed to go live ASAP, but next time I will follow due process. Do you know when can I expect this change in the public docs?

Possibly 3 PM, if it was pulled into the build for publishing. If not, it won't publish until Sunday.
Working in the public repo is not faster; it requires an additional step of being synced with the private repository, and you have access to auto-merging in the private repo. 👍🏻

Possibly ~3 PM, if the update was pulled into the build for publishing.

Is it possible to get a publish before Sunday? Curious about what the process would look like..

I'll send you an email.


help offset address

i got this file dump.cs but i don't understand this RVA address because can't match with offset libil2cpp.so file. is this encrypted address?

It looks like the module base address failed to get, give me the game name and I will check it.

Game name: Exos Heroes
On Sun, Aug 2, 2020, 9:18 PM Perfare<EMAIL_ADDRESS>wrote:

It looks like the module base address failed to get, give me the game name
and I will check it.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/Perfare/Riru-Il2CppDumper/issues/7#issuecomment-667673109,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGHPBQLFX6FVLFB7RT46YKTR6VRSBANCNFSM4PRQ26PA
.

Fixed.

don't know why today can not run the game just black screen after install new module.
my step:
delete existing module - reboot
install new module - reboot - run the game - black screen

I don’t know why it happened, maybe you just need to restart the game.

i close this issue, maybe my phone can not handle it.. old phone btw :D
thank for you help @Perfare


Support swift package manager

@DreamingInBinary @ay8s Hey! Simply merging this and re-tagging the commit - will enable SPM support, without even publishing a new pod.


fix(lmdb) pass --resty-lmdb in build-openresty.sh

Reasoning for this change: we need to be able to build lmdb directly
fron kong-build-tools Makefile.
Currently the process is:

The Makefile initializes RESTY_LMDB with the contents of kong's
.requirements file, or empty string otherwise
make build-kong calls make build-openresty
make build-openresty will call
docker build -f dockerfiles/Dockerfile.openresty, passing
--build-arg RESTY_LMDB
The dockerfile copies build-openresty.sh & openresty-build-tools
build-openresty.sh gets called inside the docker image
It calls openresty-build-tools, but it never passes --resty-lmdb

At this point, the lmdb build is "broken": there is no way to build lmdb
from the kbt makefile.
This change should make it possible to build lmdb from any kong repo
that RESTY_LMDB set on the .requirements folder.

future us should add a test in test/tests/01-package/run.sh

:tada: This PR is included in version 4.25.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Detect if docker daemon is running

Gracefully exit if the docker daemon is not running

I want to help in this issue.


Dynamically populate getty arguments based on /proc/cmdline (fix #23)

Ping @ncopa & @fabled, what do you think about this method to dynamically configure getty based on /proc/cmdline ?


Ring enchantment animation is probably wrong

The animation currently used for enchanting rings is the high-level alchemy animation, which seems unlikely to be accurate. We just need to find the correct animation id and replace the current id with it.

Fixed

Fixed in 67c2fd2.


Shape.Box is placed strangely

When you create a Box, it is rendered with its center on the top left of the original dimensions used to create it.
relevantly:
lazy val position: Point = dimensions.position - (Point(square) / 2) - (stroke.width / 2)

I'm wondering if a box shape is really needed, or if box-specific constructors for a Polygon would suffice.
Shape.Polygon(myRectangle.corners, ..., ...)

works identically in place of the broken
Shape.Box(myRectangle, ..., ...)

Thank you for the feedback and for taking the time to raise the issue - I have wondered about this myself. Let me deconstruct it a little bit though to give you some context and see what you think.
I made a Box shape specifically because I thought it was likely to be one of the most common use cases. The process used to render a box is different from a polygon, a box has more efficient data transfer, its slightly more cacheable, and significantly less computationally expensive. So currently I'm inclined to keep box as it's own thing as long as it can be made to work more pleasingly. The caveat is important.
The area on the screen the box takes up is a square - all the shapes are draw in perfect squares in fact. This seems odd but if the area is a not square then you end up with squashed borders and weird looking corners and so on, because the UV's have a funny aspect ratio. It's a bit of rendering implementation detail that is leaking - I should have hidden it better - I can see that detail has no business being on the API*.

*As an aside, one of the things I wrestle with a bit is that for the first 4 years of Indigo's life, I could make crude things like this and leave them to mature for a while in private in their imperfect state - and then come back to them with fresh eyes - that's more difficult now. :-)

So two questions remain:

If box had behaved as you expected - would you have noticed the stuff above?

I suspect probably not..

Is the positioning of box around its origin weird?

Yes it might be, I think it feels wrong. Technically... technically... drawing the box around its origin is precisely correct - that's literally how the maths works. I look at Circle, which is position and radius - again centred around its origin and wonder if that feels right? Circle seems reasonable, Box less so?
So, if we hide the square bounds information somehow so that the user gets a boundary they expect, and we make the box appear starting from the top-left (like everything else), would that be better do you think?

Thanks for the thoughtful response!

I don't think I'd have noticed that box was really square under the hood if it looked like a rectangle on the screen
I think positioning the box from the top left (by default) seems natural, given a) how Graphics behave and b) that you can change the reference point

Particularly, with the current API I'm not sure how the ref and the position relate. I would expect that the position would be the top left of the dimensions adjusted by the ref (ie. dimensions.topLeft + size/2 to get a centered position). Circle would be a bit less surprising to have the origin in the center (or maybe I'd expect the origin to be top left with a ref defaulted to the center). But then it's very surprising that a Polygon behaves differently than a Box, which I would assume is just a performance optimized Polygon with four sides at 90* angles.

Good stuff, yes I'm with you. 👍

Check list for me to work through:

[ ] Shapes take up a square space but this shouldn't be apparent to the user:

[ ] Make the SceneProcessor calculate the square bounds
[ ] Report accurate bounds when calling .bounds on the shape

[ ] Box position should default to top left like Graphic, not the center like Circle

Here is the PR for the fix: https://github.com/PurpleKingdomGames/indigo/pull/146

So in summary:

Box's start top left
All shapes .bounds call now gives the real bounds (including borders).
The rendering detail of the screen space being square is now hidden.
Ref points still work as expected.

Fixed, will be in the next release.


Newton_Raphson_Method

🛠 Issue (Number)

Issue no #
👨💻 Changes proposed
Adding a new algorithm in the maths directory under C++ ....namely Newton_raphson method
✔ Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
This Algorithm (Newton_Raphson_Method) I added is used to Find roots of polynomial equations to a certain Accuracy.
📷 Screenshots

@Kumar-laxmi please review ,and tell if I have to contribute same code in different languages too........


Appease -Werror=stringop-overflow=

gcc 10 seems to think of assigning to an (unsigned) char array
as a stringop and demands additional space for a
terminating '\0':
In function 'ssl3_generate_key_block',
    inlined from 'ssl3_setup_key_block' at ssl/s3_enc.c:304:11:
ssl/s3_enc.c:51:20: error: writing 1 byte into a region of size 0
[-Werror=stringop-overflow=]
   51 |             buf[j] = c;
      |             ~~~~~~~^~~
ssl/s3_enc.c: In function 'ssl3_setup_key_block':
ssl/s3_enc.c:23:19: note: at offset 16 to object 'buf' with size 16
declared here
   23 |     unsigned char buf[16], smd[SHA_DIGEST_LENGTH];
      |                   ^~~

This pull request is ready to merge

merged.
master: https://github.com/openssl/openssl/commit/c19e6da9a345b1e14caca23c50a0c7690309e0e4


Small improvements, add self-type to request builders

fix typos in documentation and AuthorizationCodeRefreshRequest class name
correct and improve some documentation
add missing final modifier to two Builder subclasses
unify BuilderType type parameter name and add type bounds in IPaging(Cursorbased)RequestBuilder
introduce self() method to avoid casts in AbstractRequest.Builder

Mostly by using the "spelling inspection" in IntelliJ. 😃

I turned those off - too many false positive squiggly lines 😂

I have just upgraded to the new version and have run into some problems now. This might be some basic Java stuff but I don't know what to do here.
To deal with automatic retries on 429 errors I've written a utility method that looks like this:
 * Executes a single "greedy" Spotify Web API request, meaning that on potential
 * 429 Too many requests errors the request will be retried ad-infinitum
 * until it succeeds. Any attempts will be delayed by the response body's given
 * retryAfter parameter, in seconds.
 *
 * @param <T> the injected return type
 * @param <BT> the injected Builder
 * @param requestBuilder the basic, unbuilt request builder
 * @return the single result item
 */
public static <T, BT> T executeWithRetry(IRequest.Builder<T, BT> requestBuilder) throws SpotifyWebApiException, IOException {
	try {
		IRequest<T> builtRequest = requestBuilder.build();
		T result = builtRequest.execute();
		return result;
	} catch (TooManyRequestsException e) {
		int timeout = e.getRetryAfter() * 1000;
		Thread.sleep(timeout * RETRY_TIMEOUT_4XX);
		return execute(requestBuilder);
	}
}```

And to call it all I would do is this:

```Album execute = SpotifyApiUtils.executeWithRetry(spotifyApi.getAlbum(albumId));```

This had the added bonus of not having to write `.build()`, though that's just for convenience. It worked fine until the upgrade to Version 5 of the API.

I strongly believe this is because of the drastically changed BuildType parameters and I can't figure out the correct method signature anymore. I've tried this, but it still doesn't work:

```public static <T, BT> T executeWithRetry(IRequest.Builder<T, Builder<T, ?>> requestBuilder) {```

But that just changes the error message to

> The method execute(IRequest.Builder<T,IRequest.Builder<T,?>>) in the type SpotifyCall is not applicable for the arguments (GetAlbumRequest.Builder)

I'd rather not stay at Version 4 if I can help it. What am I doing wrong here?

Does public static <T, BT extends IRequest.Builder<T, ?>> T executeWithRetry(IRequest.Builder<T, BT> requestBuilder) throws SpotifyWebApiException, IOException, InterruptedException { do the trick?

In case you, @WagnerChristoph, have some free time sometime in the future it'd be very kind if you'd fix the "raw use of parameterized class" warning in this line: https://github.com/thelinmichael/spotify-web-api-java/blob/b438f971c3a6723379895044ef7bb35ba797169a/examples/data/personalization/GetUsersTopArtistsAndTracksExample.java#L23
Throw those generics around as you like, those are somewhat beyond me :D

Does public static <T, BT extends IRequest.Builder<T, ?>> T executeWithRetry(IRequest.Builder<T, BT> requestBuilder) throws SpotifyWebApiException, IOException, InterruptedException { do the trick?

It does! Thank you so much!


Camera issues in Godhome

Entering a pantheon then dying or dreamgating out of it causes the camera to become desynced. Tested with P1 and P5.
Before:

After:

This issue seems to have started after I fought Corrupted Kin, but I don't know what exactly the cause could be.

Are you able to post your ModLog.txt and your Player.txt (could also be called Player.log)? It could tell me any error messages that are caused when the problem occurs. They should be located at:
Windows: %APPDATA%\..\LocalLow\Team Cherry\Hollow Knight\
MacOS: ~/Library/Application Support/unity.Team Cherry.Hollow Knight/
Linux: ~/.config/unity3d/Team Cherry/Hollow Knight/
Although, this could be an issue I already fixed, but haven't made an official release for it yet, because I noticed a similar bug also happens when I benchwarped into Godhome, and made a fix for it in the "development" branch

Here's the ModLog.txt and Player.log:
ModLog.txt
Player.log

I updated WeaverCore and my other mods with a bugfix that should prevent the camera from breaking. Let me know if it works:
Inferno King Grimm : https://github.com/nickc01/Inferno-King-Grimm/releases/tag/v<IP_ADDRESS>
Corrupted Kin : https://github.com/nickc01/Corrupted-Kin/releases/tag/v<IP_ADDRESS>
WeaverCore : https://github.com/nickc01/WeaverCore/releases/tag/v<IP_ADDRESS>

Unfortunately I'm still having the same issue. Here's the new ModLog.txt and Player.log:
ModLog.txt
Player.log

I unfortunately won't be able to look at it right now since I got some college work I also need to get done. I'll look more into the issue when I have some more time

Alright, I think I found and fixed the issue after looking around for several hours. I also tested it myself by starting a pantheon and using the dreamgate to warp out, and the problem doesn't seem to occur anymore. Let me know if it's fixed or if it's still broken
https://github.com/nickc01/WeaverCore/releases/tag/v<IP_ADDRESS>
https://github.com/nickc01/Inferno-King-Grimm/releases/tag/v<IP_ADDRESS>
https://github.com/nickc01/Corrupted-Kin/releases/tag/v<IP_ADDRESS>

Just got to try it out, the camera is fixed now. Thanks for your time!


Suggested feature: Add convenience action for providing all login information

This is purely a suggestion for a convenience function.
The get-admin-password action is great for getting the grafana dashboard password, but whenever I use it I'm really looking for:

password
url
login (I realise it is fixed, but for completeness...)

There are ways of getting the other info programatically (could use juju to get the unit IP), but I think in most cases when someone wants password they probably also want to know the dashboard url to use the password on.  Would be great if they were all returned together (either in get-admin-password, or in a similar get-dashboard-login-details or whatever)

+1 on this suggestion, especially the URL is required for sunbeam and need to be exposed via an action.


Commits for new release cycle 3.5

The first two commits must go to 3.4 branch as well.

This pull request is ready to merge

Merged to the master (and partially also 3.4) branches. Thank you for the reviews.


Configure LTS12 drafter to provide just for this branch

requires the new template on master to be present: https://github.com/axonivy/web-tester/pull/279


anchors to inherit properties are falsely reported as Duplicate

Anchors can be used to duplicate/inherit properties
https://learnxinyminutes.com/docs/yaml/
Note: simple yaml safe load works fine - only the pykwalify core - fails to distingush the anchors.
pyenv/lib/python3.8/site-packages/ruamel/yaml/constructor.py", line 395, in flatten_mapping
raise DuplicateKeyError(*args)
ruamel.yaml.constructor.DuplicateKeyError: while constructing a mapping
in "t.yaml", line 12, column 3
found duplicate key "<<"
in "t.yaml", line 13, column 3
To suppress this check see:
http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys
(pyenv) lnx31:1125> cat t.yaml
abc: &x
item1:

1
2

xx: &y
item1:

1
2

new_list:
<<: *x
<<: *y
(pyenv) lnx31:1126> cat t.schema
type: seq
sequence:

type: str

File "t.py", line 11, in
c = Core(source_file=fn, schema_files=[schema_file])
File "pyenv/lib/python3.8/site-packages/pykwalify/core.py", line 100, in init
self.source = yml.load(stream)
File "pyenv/lib/python3.8/site-packages/ruamel/yaml/main.py", line 434, in load
return constructor.get_single_data()
File "pyenv/lib/python3.8/site-packages/ruamel/yaml/constructor.py", line 121, in get_single_data
return self.construct_document(node)
File "pyenv/lib/python3.8/site-packages/ruamel/yaml/constructor.py", line 131, in construct_document
for _dummy in generator:
File "pyenv/lib/python3.8/site-packages/ruamel/yaml/constructor.py", line 674, in construct_yaml_map
value = self.construct_mapping(node)
File "pyenv/lib/python3.8/site-packages/ruamel/yaml/constructor.py", line 444, in construct_mapping
self.flatten_mapping(node)
File "pyenv/lib/python3.8/site-packages/ruamel/yaml/constructor.py", line 395, in flatten_mapping

The ruamel.yaml parser is globally defined here https://github.com/Grokzen/pykwalify/blob/master/pykwalify/compat.py#L10 so you are able to add in that option to the yaml parser globally, you only need to do this before you create your Core instance so it is using the correct object instance while parsing the code. You should be able to manipulate and set any other option you desire from that to suit your needs. There should not be a need to have any other mechanism then this one that already exists.


sendPhoto() sometimes takes 2-3 minutes with normal images and good network

I'm using sendPhoto to send some images from a local folder. It usually works but lately it happens that sometimes the call gets stuck for 2-3 minutes and finally sends the image. It does not depend on the image size, I'm using 60kb jpegs, nothing special. It's not connection dependant, that's quite good:
192 packets transmitted, 192 received, 0% packet loss, time 191275ms
rtt min/avg/max/mdev = 6.190/7.273/10.352/0.465 ms
and I'm not spamming too much. I just sent 3 images, then it got stuck for 2.5 mins, then I sent immediately another 13 images without issues.
#107 seems similar.
I just updated to the last telepot version to see if it was a known solved issue, but anyway when I first noticed this I had been using the same old version for months.
Last thing: when this started I was actually sending quite big images and I thought the time was related to the upload time, but after I resized them it's still happening... yes I double checked, I'm really using the resized version :)

Is this still a problem?
I tried with 50 different photos in a single burst, it seems to be working fine.

Uhmm no it's not happening anymore. It probably went away between 10.5 and 12.3 but I don't know exactly where.


Refactor test utils

My goal with this work is to push test framework implementation details into a lower layer of abstraction, than test details.
Specifically, a test author should not need to write sleep or duration or a polling loop in their integration test to ensure that the environment is correctly configured to test the properties of interest.   That logic (e.g. syncing lightwalletd with the regtest blockchain, and syncing zingocli-client with lightwalletd, should be handled by standard reused utility functions UNLESS those things are being tested.


Upgrade flow to 0.93.0

Fixes a koa flow-typed def regression

That's weird. This shouldn't have passed CI before..
Fixed now


adding self to favorites

the old code handled this in the component itself so this logic is now moved to the action
@keybase/react-hackers

👍


Out of range error in person reid loading

Hi again,
Could you perhaps give a look at the following error and say if it makes any sense to you. This shows up for the last instance..rest of them goes fine
main()
File "/media/abhishek/Data1/src_codes/VS-ReID/davis_test.py", line 405, in main
person_reid[th][i] = person_reid[th][i][:, [0, 1, 2, 3, 5]]
IndexError: list index out of range

Note that this error occurs on Davis test class car-race, carousel but not on class chamaleon. So, this might confirm that it is a bug..Thank you for your help.

Were you able to fix it? I am having the same problem.

@I meet the same error, please tell me how to solve it ? @Not-IITian @lxx1991


Ok adding-an-existing-project-to-github-using-the-command-line.md

Why:
Closes [issue link]

What's being changed:

Check off the following:

[ ] I have reviewed my changes in staging (look for the deploy-to-heroku link in your pull request, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (eg. a "before and after video")

pulling or otherwise merging is needed after local repository init for the case remote changes would be already committed in the github party.

Thanks for opening a PR 👍 Please fill out the pull request template in the top comment in this pull request, then we'll get this up for review!

👋 We did some content restructuring that resulted in a conflict with your PR. It looks like we may not have access to check out your fork. Let us know if you need a hand resolving the conflict!

Closing this issue for now, but if you fill out the pull request template and would like it reopened, let us know!


Rethink validation error representation

Currently this is a pretty slim wrapper for Everit's ValidationException, and there are probably some ways it could be improved. For a document with two schema violations, for example, there are three error values, since the top-level Everit exception ("2 schema violations found") is included.

Hello, I think it is possible to handle the violations based on keyword, also it would be great if the path could be returned in a format that Circe can handle. Currently it is in "#/key1/key2/3/key3" format. In our project we split the string, remove the root part, then we use circe-optics to get the violated field and the violation from schema jsons.
Is there any work in progress for these upgrades?


fix(tracing): fix vendoring of emitter-listener for legacy cls context

Is there a ticket reference?

Is there a ticket reference?

No, there is no ticket for this.

Good catch 🎣


OC checker

This PR contains a generic ordering consistency checker for concurrent systems with a proof-of-concept implementation for sequential C programs in the xcfa subproject.
(Merge #258 first.)

Does this have anything of value now that the c-frontend-fix has been merged?

Does this have anything of value now that the c-frontend-fix has been merged?

@csanadtelbisz can we close this PR?

This PR adds pointer support with some other fixes to the xcfa OC checker. We should merge it.
(Newest features are added to the xcfa-oc-validator branch though. But we can wait a bit with merging those.)

Tests are failing and that should be fixed (I cannot see at a glance what the problem might be). Otherwise, I think this PR is a great addition to Theta, and we should merge it as soon as possible.

I got tired of re-checking the same reformatted files. The changes of this PR can be seen under this diff.


Fix forms spacing

Coverage remained the same at 99.204% when pulling 6add798d86c390114bd30b1b1aa47b970a679c31 on fix-forms-spacing into e0f7eee887393c6c23ab51b85b15d0e094b8e1c7 on master.


It's possible to create a top navigation by using Leanback library in Android-TV

Hi Team,
We are developing the one Android TV application using Leanback library and we wanted to design the Top navigation menu bar instead of the default Left side Menu bar provided by Leanback design.
I have Investigated to create a top navigation bar in android-tv by using Leanback library but I didn't find anything.
It is possible to create Top Navigation Menu bar using Leanback library.

This sample has been migrated to a new location and updates are happening there. In addition, the new location can accept Pull Requests (check README for more information).
As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.
If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!


Script Not Found

Hello, I looked at previous issue threads but couldn't find the resolution to this.  Here are requested terminal outputs:
~ ❯❯❯ print -P "${ZDOTDIR:-$HOME}/.zprezto/modules/prompt/functions/prompt_powerlevel9k_setup" /Users/Shi/.zprezto/modules/prompt/functions/prompt_powerlevel9k_setup
~ ❯❯❯ ls -l "${ZDOTDIR:-$HOME}/.zprezto/modules/prompt/functions/prompt_powerlevel9k_setup" lrwxr-xr-x  1 Shi  staff  79 Aug 15 18:35 /Users/Shi/.zprezto/modules/prompt/functions/prompt_powerlevel9k_setup -> /Users/Shi/.zprezto/modules/prompt/external/powerlevel9k/powerlevel9k.zsh-theme

Maybe related:
https://github.com/bhilburn/powerlevel9k/issues/218

@rsalmei - Based on the errors, you're probably right.
Unfortunately, not being a prezto user myself (and frankly having no idea how it works), I'm really not in a good position to debug this. If anyone has the ability to take a look at this and try to fix it, I would be greatly appreciative.

I'm having this issue on OS X El Capitan.

Unfortunately, until there is someone knowledgeable about Prezto willing to look at this, this one will probably stay in a holding pattern.

0.6.1 is out. Could you update and test again? If it's not working, I'll try to fix this. Sorry for the delay. 😊

@steven200796 - Any updates here, by chance? If this is still a problem, we'd like to get it fixed =)

Closing due to inactivity. Feel free to re-open if someone encounters this again!


null.tar error

Hi there, your addon worked last night, but I noticed I had no snapshot today. This was in my log. I did not change anything since it worked.
17:03:10] INFO: Copying snapshot null.tar to share
[17:03:10] WARNING: null.tar does not exist
[17:03:10] WARNING: Could not copy snapshot null.tar to share. Trying again ...
[17:03:15] WARNING: null.tar does not exist
[17:03:26] INFO: Backup finished

Hi. That means that the snapshot creation itself failed. The creation is done by the supervisor. Is there any hint in the supervisor logs?

Hi. I had the exact same issue after installing. Propaply due to initially fiddling about in the config. It probably fired several backup attempts at the same time...
After a reboot it successfully triggered and made a backup on time.

@thomasmauerer The issue is related to how long it takes to create the snapshot.  I decided to give this addon a shot today and that's the first thing I noticed.  A raw snapshot of my system takes 4 minutes and this addon waited about 21 seconds.
[15:17:21] INFO: Creating snapshot "v2021.7.0.dev20210610 Snapshot 2021-06-12 15:17"
[15:17:22] INFO: Copying snapshot null (Samba_Backup_v2021_7_0_dev20210610_Snapshot_2021_06_12_15_17.tar) to share
[15:17:22] WARNING: null.tar does not exist
[15:17:22] WARNING: Could not copy snapshot null to share. Trying again ...
[15:17:27] WARNING: null.tar does not exist
[15:17:38] INFO: Backup finished

I was just testing, I'll be filtering out all the addons

I had the exact same error which occurred after I upgraded to HA OS 6.1 on an RPi4.  Restarting Samba Backup resolved the issue.

Same error. It is constant, no amount of rebooting either the addon of HA fixes it for me.
I noticed it only happens for partial snapshots. Full snapshots work ok.

I triggered the backup to test, and I got the same error on RPI4:
[21:09:52] INFO: Backup running ...
[21:09:55] INFO: Creating snapshot "Full Snapshot 2021.5.4 2021-07-13 21:09"
[21:09:56] INFO: Copying snapshot null (Samba_Backup_Full_Snapshot_2021_5_4_2021_07_13_21_09.tar) to share
[21:09:56] WARNING: null.tar does not exist
[21:09:56] WARNING: Could not copy snapshot null to share. Trying again ...
[21:10:01] WARNING: null.tar does not exist
[cmd] /run.sh exited 1
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

Also no backup was made, I can't see any backup file via superviser.

Rebooting the Addon did the trick for me

@golddragon007  Thanks for the link.
I'm closing this now as the root cause of this issue is not in this addon.


Can I call the IdentityManager APIs from my client application to add users , roles etc?

Instead of using the Identity Manager UI I want to access the APIs from my client application hosted separately from the IdentityManager ? Is there an example of that I can look at which has a similar implementation?

I do not recommend this. It's not built to do this. I recommend creating a new separate EndPoint project that is a Resource.
Have the project utilize (https://github.com/IdentityServer/IdentityServer3.AccessTokenValidation). In your IdentityServer Project you will need to configure a new Resource Scope and pass that along when gaining the initial tokens from the Idp.
You will have to create your own UserController -> UserService


Question: Is there a list for publicly available s3 links of datasets of litdata.StreamingDataset format?

If there is a list that collects some popular datasets that have been preprocessed by litdata and upload to lightning studio or S3, then the usability of this project will be really awesome for me.
For example, is there a streaming dataset for imagenet that is publicly available?

Hey @2catycm. Yes, there is. I haven't processed much datasets so far.


[DMS-48] motoko-san: ADT encoding for tuples

Dynamically generate the prelude
Collect tuple arities used in the program
Encode tuples with ADTs instead of Refs

The new encoding is more suitable for storing tuple in arrays, which will be implemented in a follow-up patch.

So I think we can reuse you changes e.g. change IntSet into str Set.t.

Yes, that's the plan, except I think we'll need a typ StrMap.t instead of a str Set.t because the fields are typed, e.g.
field $option_bool: Option[Bool]

It's not enough to collect that $option_bool was used in the translation, we also need to know that it corresponds to Option[Bool].

However I am thinking can we decouple this somehow via using visitor pattern and traverse.ml?

If we wanted to decouple, that'd be a reasonable solution, but I think coupling makes sense here. The principle I used in trans.ml is "whenever we emit code that uses a tuple of arity N, register this in the IntSet", e.g.
  | M.TupE es ->
      let n = List.length es in
      ctxt.tuple_arities := IntSet.add n !(ctxt.tuple_arities);
      !!(CallE (tup_con_name n, List.map (exp ctxt) es))

When we emit CallE (tup_con_name n, ...), we need to know that the prelude will have a declaration for tup_con_name n. And we know it because we update ctxt.tuple_arities on the previous line.
If we decouple computing tuple_arities and Viper code generation, then it's harder to ensure that they stay in sync.

<..> I think we'll need a typ StrMap.t instead of a str Set.t because the fields are typed, e.g.

Yes, of course you're right.

If we decouple computing tuple_arities and Viper code generation, then it's harder to ensure that they stay in sync.

Yeah, I agree that it makes sense to keep things sync. However I don't see here any corner case: we modify tuple_arities when we encounter T.TupleT or M.TupE or M.ProjE which only constructors related to tuples. Function arguments probably require some caution?
Also I have thought that probably decoupled version could be easier reused for other types encoded as polymorphic domain/adt e.g. Option[T]. We can express it as a function that collect all types from the unit (instead of just tuple instances). Then we can process this collection and for each element deduce additional definitions we need in the prelude.
Synchronization between prelude and unit translation will be ensured by invariant that type of any subexpression  should be visited and presented in the type collection.
Does it make sense? I am not insisting, just trying to find best design to avoid refactoring work in future.
Maybe current version is more in style of the code. For example, further, we can just add this type collection into ctxt

Does it make sense? I am not insisting, just trying to find best design to avoid refactoring work in future.

Alright, so just for the sake of a comparison, I implemented a separate traversal  in https://github.com/serokell/motoko/commit/bd747903bd51b6d69d88f4affdc65eb539a2677a.
An interesting discovery is that it generates more declarations than required. I guess it happens because in Motoko, function arguments are packed in tuples, whereas in Viper we use multi-argument functions. Based on this I am now more confident in proceeding with the current solution, i.e. doing translation and collecting tuple arities in one integrated pass. It is more precise this way.

Okay, then let's stay with current solution.


feat: rename to Derailed

Description

whats the status on this?

whats the status on this?

We are seriously considering this with all our might on a minute by minute basis! Please be a bit more patient.

After a bunch of consideration, we've concluded that doing this would lead to my instantaneous implosion IRL (which I'd personally like to avoid).
Such a shame, it's a really good idea too!


chore: refactor comparePdfToSnapshot function

Refactor the comparePdfToSnapshot function by splitting its logic into smaller functions, each with a single responsibility.
@GrayedFox, let's follow up on make compare method more declarative.
I took a stab at it in this PR.

sorry for huge delay in getting round to checking this - all round very readable and declarative now thanks!


proposed fix to enable the "Create Document" command

fixed create_document.py file so that it loads correctly and shows up in the command pallet
tested locally to make sure it works.
my environment
arch linux - 4.5.4-1-ARCH
sublime 3 - build 3114
elasticsearch - 2.3.2

Ping!


Retry strategy with withParam context could only retry failed ones, not succeded ones

Summary
If a template has retryStrategy and if one of the steps of the template has withParam, the following situation happens;
Let's say, we have 4 items eg. projectIDs: [1,2,3,4], and we use withParam to make them concurrently run. 3/4 of tasks succeeded and 1/4 of tasks failed. The main template will retry this step again but with all the projectIDs, including previously successful ones.
If it'd retry only failed ones, then it would make more sense, IMO.
An example piece of template;
    - name: deploy-projects-with-failover
      retryStrategy:
        limit: 3
        backoff:
          duration: "1m"
          factor: 1
      inputs:
        parameters:
          - name: projectIDs
      steps:
        - - name: deploy-project
            template: deploy-project
            withParam: "{{inputs.parameters.projectIDs}}"
            arguments:
              parameters:
                - name: projectID
                  value: "{{item}}"

Use Cases
I wouldn't want successful tasks to run over and over again. Currently, I am putting extra conditions to prevent any error like if the project is deployed, skip it Otherwise, it retries to run deploy-project with a projectID that was already installed.

PS. I am aware that the deploy-project is not idempotent already, but I specifically would like to focus on possible improvements of argo workflows.

Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

@baranbartu Good improvement. We can add a strategy on retrying whether it needs to retry all or only failed. Do you like to contribute to this enhancement?

Hey @sarabala1979, yes I definitely would like to contribute!

any update on this feature? it does not make sense to retry the success step by default.

any update on this feature? it does not make sense to retry the success step by default.

it seems like the succeeded pod won't rerun...just the dag shows it seems like to be rerun.


can't add blank line in yaml

I can't add any blank line in yaml while this plugin is enable. when I try to add blank line in yaml, in few sec later it will delete that line.
Is this problem can fix? because

to improve user style (I want to add blank line for each yaml. also before and after horizontal bar)
may break some another plugin (e.g linter)
I don't think it necessary to have this behavior

This and #56 happens because the plugin uses Obsidian's API to modify metadata since 2.0.0. That's how it's intended to work. I used to use this plugin, but after the update, I didn't like this behavior either, so I created a new plugin myself which has a way with dealing with metadata without using Obsidian's API. It's called Time Things. You can try it by installing manually from my repo, or waiting until it comes to the community plugin list. You can use it until Obsidian's team solves this, or @beaussan comes up with a fix. Keep in mind that my plugin is not a replacement to this plugin, because it doesn't have some functionality that may be important for you, like excluding folders, yet.


Shadow color not affect

Shadow color

Maybe a problem with the order ?
demo

@zirbest have you a monitor with xl resolution? the shadow is only applied when you have the window on xl, so the style shadow-red is only applied when shadow-xl match.

this seems to be bug

we should change the order of the shadow-:

this is the right order
[shadow-lg=""]{...}
[shadow-xl=""]{...}
[shadow-red=""]{...}

maybe we can fix it using another approach: {--unshadow-color: var(--un-shadow-color, 0,0,0)} instead declaring it:


Convert to ES6 Module Not Being Offered with Hint/Suggested Code Action

VSCode Version: Version 1.23.0-insider (1.23.0-insider)
OS Version: MacOS 10.13.4

Steps to Reproduce:

I have this project opened in the editor: https://github.com/clarkio/ttv-chat-light
In src/index.js I see the ellipsis show up on line 1 for the tmi.js module and the hint indicates it can be converted to an ES6 module. However, the editor doesn't always show the light bulb to make the change for me when I click my cursor to that area of code.

Ellipsis showing up:

Hint with no light bulb option:

Does this issue occur when all extensions are disabled?: Yes, I tried with this option and had the same results

Thanks. Opened https://github.com/Microsoft/TypeScript/issues/23387 to track this upstream


[Python][Packaging] S3FileSystem curl error when using localstack-created S3 bucket or custom ca-certificate

Describe the bug, including details regarding any error messages, version, and platform.
I'm trying to use a localstack-created S3 bucket as way to test my application without interacting with S3.
To do that I launch an S3 endpoint using localstack start -d and create my PyArrow S3FS using:
s3_fs = fs.S3FileSystem(endpoint_override="localhost:4566")

When I try interacting with files on the simulated bucket however I get the following:
In [223]: nrows = pq.read_metadata(f"{file_bucket}/{file_key}", filesystem=s3_fs).num_rows
---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-223-a51dff0bbcaa> in <module>
----> 1 nrows = pq.read_metadata(f"{file_bucket}/{file_key}", filesystem=s3_fs).num_rows

/[...]/lib/python3.7/site-packages/pyarrow/parquet/core.py in read_metadata(where, memory_map, decryption_properties, filesystem)
   3479     file_ctx = nullcontext()
   3480     if filesystem is not None:
-> 3481         file_ctx = where = filesystem.open_input_file(where)
   3482
   3483     with file_ctx:

[...]/python3.7/site-packages/pyarrow/_fs.pyx in pyarrow._fs.FileSystem.open_input_file()
[...]/lib/python3.7/site-packages/pyarrow/error.pxi in pyarrow.lib.pyarrow_internal_check_status()
[...]/lib/python3.7/site-packages/pyarrow/error.pxi in pyarrow.lib.check_status()

OSError: When reading information for key 'redacted/path/to/file' in bucket 'example-bucket': AWS Error NETWO
RK_CONNECTION during HeadObject operation: curlCode: 60, SSL peer certificate or SSH remote key was not OK

Another user seems to have the same problem when using on-prem S3, and had to use s3fs along with PyFileSystem, FSSpecHandler  to resolve it: https://discuss.ray.io/t/ssl-peer-certificate-or-ssh-remote-key-was-not-ok/11091/2
Fully reproducible example:
pip install localstack awscli-local pyarrow
localstack start -d
awslocal s3 mb example-bucket
python <<HEREDOC
import numpy as np
import pandas as pd
import pyarrow as pa
import pyarrow.parquet as pq
df = pd.DataFrame({'one': [-1, np.nan, 2.5],
                   'two': ['foo', 'bar', 'baz'],
                   'three': [True, False, True]},
                   index=list('abc'))
table = pa.Table.from_pandas(df)
pq.write_table(table, 'example.parquet')
HEREDOC
awslocal s3 cp example.parquet s3://example-bucket/
python <<HEREDOC
from pyarrow import fs
import pyarrow.parquet as pq
s3_fs = fs.S3FileSystem(endpoint_override="localhost:4566")
pq.read_metadata("example-bucket/example.parquet", filesystem=s3_fs)
HEREDOC

Would result in:
Traceback (most recent call last):
  File "<stdin>", line 4, in <module>
  File "[.../]lib/python3.9/site-packages/pyarrow/parquet/core.py", line 3481, in read_metadata
    file_ctx = where = filesystem.open_input_file(where)
  File "pyarrow/_fs.pyx", line 770, in pyarrow._fs.FileSystem.open_input_file
  File "pyarrow/error.pxi", line 144, in pyarrow.lib.pyarrow_internal_check_status
  File "pyarrow/error.pxi", line 115, in pyarrow.lib.check_status
OSError: When reading information for key 'example.parquet' in bucket 'example-bucket': AWS Error NETWORK_CONNECTION during HeadObject operation: curlCode: 60, SSL peer certificate or SSH remote key was not OK

Possibly related: https://issues.apache.org/jira/browse/ARROW-9261
Tested on Pyarrow 10.0.1, 12.0.1.
Component(s)
Python

any progress on this one please?

@sheldonrong Can you suggest a solution for this?

encountered this issue today, I haven't dive into any pyarrow code, but I guess the best way would be to allow user to pass in location of the CA certificates via the API?
For example, in the constructor of the S3FileSystem, allow additional paramters like
filesystem = fs.S3FileSystem(endpoint_override="localhost:4566", ca_certificate="/etc/ssl/certs/ca.crt")

is there any updates on this? i'm also stuck at that point.

I'm also searching for a workaround with this error
Currently im inserting the write_table to a different variable and then writing it to the s3 using boto3.
That way it is ugly and takes a lot of extra memory when it is a big table

Well, have you tried the workaround I suggested?

For now, you can perhaps workaround this by using the SSL_CERT_DIR or SSL_CERT_FILE environment variables as described in https://www.openssl.org/docs/man3.0/man7/openssl-env.html , but this will affect the entire Python process.

Running into same issue. I have valid cert ( works with s3fs filesystem)
I am setting the SSL_CERT_FILE env to this filename. Still running into same error.

I've tried it locally and it works using SSL_CERT_FILE and Minio:
>>> import os
>>> from pyarrow.fs import S3FileSystem, FileSelector
>>> os.environ['SSL_CERT_FILE']
'/home/antoine/t/miniocert/public.crt'
>>> fs = S3FileSystem(endpoint_override="localhost:9000", scheme="https", access_key="minioadmin", secret_key="minioadmin")
>>> fs.get_file_info(FileSelector('', recursive=True))
[]

You have to make sure that your endpoint_override matches the certificate's subject name (i.e. the host name it is allowed to authentify). For example, if the certificate's subject name is "localhost", you should use "localhost" in your endpoint_override (not "<IP_ADDRESS>" or anything else).
Unfortunately, the error message returned by the AWS SDK is not terribly informative if you're not giving the right hostname:
>>> fs = S3FileSystem(endpoint_override="<IP_ADDRESS>:9000", scheme="https", access_key="minioadmin", secret_key="minioadmin")
>>> fs.get_file_info(FileSelector('', recursive=True))
  [...]
OSError: When listing buckets: AWS Error NETWORK_CONNECTION during ListBuckets operation: curlCode: 60, SSL peer certificate or SSH remote key was not OK

You can try using the curl command line to get a more meaningful error message, for example here:
$ curl --cacert ./t/miniocert/public.crt  https://<IP_ADDRESS>:9000
curl: (60) SSL: no alternative certificate subject name matches target host name '<IP_ADDRESS>'
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

So, I opened https://github.com/aws/aws-sdk-cpp/issues/2908 so as to get a more informative error message from the AWS SDK.

Thanks @pitrou for this comment!

I've tried it locally and it works using SSL_CERT_FILE

I'm dealing with custom certs and while using SSL_CERT_DIR didn't help, just setting SSL_CERT_FILE was sufficient for my use case. Much appreciated!


Bumped development release number for 1.23-29

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

/approved

/unold


[TextField] floatingLabelFixed property doesn't work

TextField with floatingLabelFixed property doesn't work. The text is unfixed therefore prevents the HintText from displaying.
<TextField
       hintText="Hint Text"
       floatingLabelText="Fixed Floating Label Text"
       floatingLabelFixed={true} />

Versions

Material-UI: 0.14.4
React: 0.14.8
Browser: Chrome Version 50.0.2661.102 m

Have you tried updating MUI?

The version is quite old, upgrade to get that feature.


Syncing Witti: Initial sync never stops

I synced up to the head of the witti, but instead of transitioning to regular sync / gossiping, initial sync continued past the head without stopping.
Some logs: Blocks are processed until the next fetch asks for blocks that don't yet exist.  Error: stream ended before 1 bytes became available
    at /home/cayman/Code/lodestar/node_modules/it-reader/index.js:37:9
    at runMicrotasks (<anonymous>)                                                                           at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async /home/cayman/Code/lodestar/node_modules/it-length-prefixed/src/decode.js:80:20
    at async oneChunk (/home/cayman/Code/lodestar/node_modules/multistream-select/src/multistream.js:12:20)                                                                                at async Object.exports.read (/home/cayman/Code/lodestar/node_modules/multistream-select/src/multistream.js:34:15)
    at async module.exports (/home/cayman/Code/lodestar/node_modules/multistream-select/src/select.js:21:
19)                                                                                at async ClassIsWrapper.newStream [as _newStream] (/home/cayman/Code/lodestar/node_modules/libp2p/src
/upgrader.js:251:40)
    at async ClassIsWrapper.newStream (/home/cayman/Code/lodestar/node_modules/libp2p-interfaces/src/conn
ection/connection.js:172:34)
2020-05-31 19:03:11  [NETWORK]         error: failed to send status(ssz_snappy) to peer 16Uiu2HAkxuEnKUUC
koEbs4rsi6BmHgcitGvq9WfDWCD1YgpSK9Ug. Error: read ECONNRESET
    at TCP.onStreamRead (internal/stream_base_commons.js:201:27)
2020-05-31 19:03:11  [SYNC]             info: Imported blocks for slots:
2020-05-31 19:03:11  [SYNC]             info: Fetching blocks for 36112...36143 slot range
2020-05-31 19:03:12  [SYNC]             info: Imported blocks for slots:
2020-05-31 19:03:12  [SYNC]             info: Fetching blocks for 36144...36175 slot range
2020-05-31 19:03:12  [SYNC]             info: Imported blocks for slots:

Arent we suppose to have some logs with initial sync target? 😞

It seems like it finished syncing its last targeted block range.
Here's the sync log just before the logs ^
2020-05-31 19:03:09  [SYNC]             info: Fetching blocks for 35984...36015 slot range
2020-05-31 19:03:10  [SYNC]             info: Imported blocks for slots: 35986,35987,35988,35989,35991,35
992,35993,35996,35997,35998,35999,36000,36001,36002,36003,36004,36005,36006,36007,36008,36009,36010,36011
,36012,36014,36015

can you put somewhere complete log?

There's too many logs, I have to copy by hand. Is there a specific part you want to see?

can you post config somewhere so I can run it myself?

Resolved


update go import regex to consider pre v2

When the major version is less than 2, there's no /vX/ in the import path - this PR updates the import path accordingly

+approve


Refactor Number and String tests to use chain.assertO

Issue: #345
Description:
Refactor tests

string_test
number_test

Coverage: 95.505%. Remained the same when pulling b6e2fefe333f53406df2060f50f26f00452595da on tsukasaI:345-use-assertOK-for-number-and-string-test into 1bd520a64629195f78a96c8dad5fd30256e82820 on gavv:master.

Thank you!


FR. Using stdin as input

This is really the best solution to handle a *.vma outside of ProxMox.
But typically we face with compressed *.vma.gz format, so we have to write a BIG file twice:
*.vma.gz --> *.vma
*.vma --> *.raw
Actually we need a triple free disk space (vma.gz + vma + raw) at a time.
It would be perfect if the script has the ability to use stdin as input (as origin vma has), so we can use it in such a way:
zcat big.vma.gz | vma.py - /tmp/big-vma-extracted

Unfortunately named pipe doesn't work:
$ mkfifo blackhole
$ zcat big.vma.gz > blackhole &
$ vma.py blackhole /tmp/big-vma-extracted

[1]  + 237676 broken pipe  zcat big.vma.gz > blackhole
Traceback (most recent call last):
  File "vma.py", line 357, in <module>
    sys.exit(main())
  File "vma.py", line 352, in main
    extract(fo, args)
  File "vma.py", line 239, in extract
    fo.seek(0, os.SEEK_END)
io.UnsupportedOperation: File or stream is not seekable.

Thank you for your work!

Sounds like a good idea. Especially getting named pipes to work shouldn't require too much thought. As far as I remember random seeking is only required for the output size anyways.
And I have no idea why I did the wierd seek, tell and seek thingy to get the filesize ahead of time, when I could just run the loop until EOF... 😅


[Bug] TypeError: Clickable.click() got an unexpected keyword argument 'cancels'

Describe the bug
I cannot run the script after successful installation...
To Reproduce
Steps to reproduce the behavior:

use  python app.py in git bash in windows 10
See error
cancel_button.click(fn=None, inputs=None, outputs=None, cancels=[proceed_event])
TypeError: Clickable.click() got an unexpected keyword argument 'cancels'

Getting the same error. Added yesterday in this commit
https://github.com/lkwq007/stablediffusion-infinity/commit/d31c7e4f6a3cc1cda9532bace47a73adf6abf70f
Certainly not compatible with the recommended version of gradio.
Remove the cancels arg

The latest Gradio has the cancels arg. Version 3.4 is not sufficient. Upgrade to 3.6 fixes the issue.
The requirements file has the correct version but the docs need updating.

The latest Gradio has the cancels arg. Version 3.4 is not sufficient. Upgrade to 3.6 fixes the issue. The requirements file has the correct version but the docs need updating.

Thanks. I forget to update the setup guide.
Just updated the docs and added fallback for gradio<3.6.


AVR GCC failure

Sorry for what's certainly going to be a fairly unhelpful description of this issue but build worked fine until hitting the avr build.
Uploaded the logs for stdout/error not sure how helpful they actually are.
Basically it seems it's somehow looking in the prefix specified + /usr/include which is... nothing. Nothing should be there, no idea why it's looking there. No idea how to address it further.
cxc-build.stderr.log
cxc-build.stdout.log

This is now fixed in 8d38f5ab3d88494f4ecbc230dbecd088c4993cdd


Unable to test - awscli missing

I followed the steps outlined in https://bezdelev.com/hacking/aws-cli-inside-lambda-layer-aws-s3-sync/
I can use aws command inside the virtualenv on my linux box and I verified the environment path is set to #!/var/lang/bin/python in aws_completer.
Trying to run a test in a lambda function that only executes "/opt/aws --version", it produces an error that awscli cannot be found.  When I run the same lambda function that only executes "which aws" it returns
 which: no aws in (/var/lang/bin:/usr/local/bin:/usr/bin/:/bin:/opt/bin)
Any suggestions?

Followed article, received error in CloudWatch:
File "/opt/aws", line 19, in
import awscli.clidriver
ModuleNotFoundError: No module named 'awscli'
awscli-lambda-layer.zip was built on ubuntu 18, python 3.6.

I have the same problem as above. Has anyone managed to actually get this working?

+1 on the problem. Anyone found a fix?

@autodeck @vibhor2006
Sorry for late reply
As far as i remember i have used this: https://github.com/aws-samples/aws-lambda-layer-awscli/blob/master/build.sh

Hi there, I've just submitted this pull request https://github.com/ilyabezdelev/aws-cli-lambda/pull/6 to fix scripts while packaing the zip. This solved the ModuleNotFoundError: No module named 'awscli' error for me. HTH

Built and uploaded the layer.

Update:
Got the binary working by calling:
/opt/aws instead of aws .. -- makes sense since /opt/ isn't in $PATH


Update CI workflow

Update versions of ros-tooling actions
Remove custom repos file
Only run on pull requests

LGTM!

And all jobs are green :heavy_check_mark:


Update request: itch 26.1.3 → 26.1.5

Package name: itch
Latest released version: 26.1.3
Current version on the unstable channel: 26.1.3
Current version on the stable/release channel: 26.1.3

[x] Checked the nixpkgs pull requests

The current version is broken since butler is marked broken
Package ‘butler-15.21.0’ in /nix/store/1j3fh7fkb0gy13jbpfsvylpxqpwn2fxp-source/pkgs/by-name/bu/butler/package.nix:45 is marked as broken, refusing to evaluate.
Notify maintainers
@pasqui23

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

The latest version on https://itchio.itch.io/kitch seems to be 26.1.3 which is used in the package.

There is 26.1.5 as a source code https://github.com/itchio/itch/releases, but current package uses binaryBytecode https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/it/itch/package.nix


Implementing SSL in shinyproxy running on Kubernetes(EKS)

Hi Team,
I have shiny proxy running on EKS cluster in AWS.
I also have the SSL certs generated and have the .crt and .key file with me.
Can someone please let me know how can I get the https implemented so that the URL can be served on secured connection.
Please find the service.yaml as mentioned below:
apiVersion: v1
kind: Service
metadata:
name: shiny-service
namespace: shinyproxy
annotations:
service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
service.beta.kubernetes.io/aws-load-balancer-internal: "true"
spec:
ports:

name: http
port: 80
protocol: TCP
targetPort: 8080
name: https
port: 443
protocol: TCP
targetPort: 8080
selector:
app: shinyproxy
type: LoadBalancer
loadBalancerSourceRanges:
<IP_ADDRESS>/8

Ingress.yaml file is mentioned below:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
external-dns.alpha.kubernetes.io/target: abcdefghtzsxcg34527464538384645373.elb.us-east-1.amazonaws.com
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
nginx.ingress.kubernetes.io/configuration-snippet: |
nginx.ingress.kubernetes.io/proxy-buffer-size: 32k
nginx.ingress.kubernetes.io/proxy-buffering: "on"
nginx.ingress.kubernetes.io/proxy-max-temp-file-size: 1024m
name: shiny-proxy
namespace: shinyproxy
spec:
tls:

hosts:

abcd.example.com
secretName: shinyapp-tls-secret
rules:

host: abcd.example.com
http:
paths:

path: /
backend:
serviceName: shiny-service
servicePort: http

Using the Loadbalancer type of service, Network Load balancer is used in the background for nginx ingress controller.

You should configure the nginx ingress to use the certs, see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
You are on the good way, but I think a few pieces are still missing. For example, I don't belies this is correct:
 nginx.ingress.kubernetes.io/backend-protocol: HTTPS

(since the nginx ingress would now contact the backend using TLS, but ShinyProxy does not support TLS out of itself)

Hi @LEDfan ,
I was able to fix it and also know the reason why this was not working. It was due to the fact the my setup was bypassing the Ingress controller and as a result, TLS termination was not happening.

That's great, thanks for letting us know. I'm closing this issue now, but feel free to open a new one if you need some help. Have a nice day!


Reach of Excavator

When mods increase the reach of the player the excavator don't dig 3x3, it works as a normal pickaxe.

That makes sense, I had to set a reach value for the 3x3.  I will need to consider how to make that work beyond an extended reach value.


Getting disconnected after connection

Hi, trying to get the plugin to work, seems to be connecting according to the logs.
But does it automatically disconnect after a min? Is this normal behaviour?
[10/17/2021, 6:50:11 PM] [TexecomConnect] Initializing TexecomConnect platform...
[10/17/2021, 6:50:11 PM] [TexecomConnect] Accessory Loaded: Hall
[10/17/2021, 6:50:11 PM] [TexecomConnect] Accessory Loaded: Front Room
[10/17/2021, 6:50:11 PM] [TexecomConnect] Accessory Loaded: Kitchen
[10/17/2021, 6:50:11 PM] [TexecomConnect] Accessory Loaded: Landing
[10/17/2021, 6:50:11 PM] [TexecomConnect] Accessory Loaded: Office
[10/17/2021, 6:50:11 PM] [TexecomConnect] Accessory Loaded: Bedroom
[10/17/2021, 6:50:11 PM] [TexecomConnect] Accessory Loaded: Front Door
Starting to advertise 'Homebridge A843 7ACF' using bonjour-hap backend!
[10/17/2021, 6:50:11 PM] Homebridge v1.3.5 (Homebridge A843) is running on port 51200.
[10/17/2021, 6:50:11 PM] [TexecomConnect] Connected to SmartCom - <IP_ADDRESS>:10001
[10/17/2021, 6:51:13 PM] [TexecomConnect] Disconnected from SmartCom - <IP_ADDRESS>:10001
Thanks

Did you figure this out?

Yup got it all working fine. Been running ok since Oct

Yeh I can arm it.
I can see the alarm panel on home assistant.
Also added the code: to the config.unless filr

Hi amz4u2nv,
We are trying to connect our Texecom system to Homebrige and our alarm installer is saying we need more hardware.
We have SmartCom already setup and trying to work out if all we need is to set COM ports as you said (COM1 - SmartCom and COM2 - Crestron).
Can you tell me how your system is wired up and what device you are using for Homebridge? We are using Rspberry Pi.
Also can you share your code so I can compare with ours here?
Thanks

Not amz4u2nv but I don't think you can arm it with homebridge.
I played around with it and I beside exposing each sensor in homebridge there wasn't anyhting more I could do.
I stopped trying as I wasn't using Home Assistant at that time.
However, I think Home Assistant is more reslient for this setup and also seems to be the one everyone who succeeded is using.
If you are still configuring your alarm it would also advise to connect it with two ethernet cables so you can have Smartcom and HA side by side.

Hi amz4u2nv,
We are trying to connect our Texecom system to Homebrige and our alarm installer is saying we need more hardware.
We have SmartCom already setup and trying to work out if all we need is to set COM ports as you said (COM1 - SmartCom and COM2 - Crestron).
Can you tell me how your system is wired up and what device you are using for Homebridge? We are using Rspberry Pi.
Also can you share your code so I can compare with ours here?
Thanks

I'm not sure how it's exactly wired, I think the installer just following the standard instructions to install smartcom.
But using the above settings work for me. In terms of homebridge, I'm going via home assistant, and from there it exposes the sensors and arming disarming alarm to homekit.
Try and use telnet and the ip address of the alarm to see if you are able to get a response from the port.


update guidance to include support for Azure Identity

Hi @erikadoyle - Could you review the proposed update (and my suggested edits for typos and Microsoft style)? Thanks.

Thanks for the improvements!

LGTM, thanks! #sign-off

LGTM, thanks! #sign-off

@amenarde : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@amenarde : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@amenarde : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@amenarde : Thanks for your contribution! The author(s) have been notified to review your proposed change.


add_hc and add_hc_to_MPO flags

Solving https://github.com/tenpy/tenpy/issues/58 by introducing two flags: add_hc (for add_coupling() and add_multi_coupling(), to automate the inclusion of Hermitian conjugate terms) and add_hc_to_MPO (to reduce MPO bond dimension by not storing Hermitian conjugat terms, but computing these at runtime).

Looks good. By the way, I think it we should start using branches inside the tenpy repository instead of keeping branches inside our private forked repositories. That would have allowed me to push changes to this pull request without asking you to merge changes from my repository.

You're right, I will do that from now on. I need to be a little more diligent about pushing local commits, in that case ;)


B satish sutar patch 5

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers
Modified my Bio

LGTM!

Is this merged??

LGTM!

Is this merged??

No, the maintainer will merge this PR

@BSatishSutar as explained to you on Discord, given that you are using forms any changes you make to your JSON file will not have any effect. If you want to make changes to your profile please use forms.
Please delete your JSON file as this is no longer required.

I will close this PR.

Well, isn't this a fine display of your persistence?  Bravo! I've finally decided to throw in the towel and surrender to your impressive display of dada-giri (bullying). You win, congratulations. You've successfully worn me down. Enjoy your victory.

I've been thinking about things lately, and it's honestly pretty amusing how you're pushing me to use Forms when I couldn't care less. And that whole BioDrop thing? Yeah, that ship has sailed for me. It's just ridiculous to be coerced by you into doing things I have zero interest in, and then you have the audacity to claim I've used Forms when I haven't even touched it. You really can put on a façade, huh? Just an eye-rolling observation on my part.
Oh, and let's not forget the charming habit you have of hammering on the same false point again and again. Seriously, is that all you've got? Spare me your tiresome rants, won't you? I thought it might be helpful to bring this to your attention.
Now, let's be clear: I might not be losing sleep over this, but I'm all for making my stance crystal clear.  It's a matter of standing up for my beliefs, even if I'm not exactly losing my cool over it.

@BSatishSutar as of the owner of the organisation I feel I need to respond to the abusive comments you have made to one of our maintainers. Clearly this is a very emotional subject for you so I will to you again tell you the facts:

As I explained to you on Discord, you have already used forms before the comments above. You can see this in the screenshot of our Discord conversation yesterday. Tech does not lie, you have used the forms to manage your repos, you can see this from the mongo db screenshot below...

You mention a persistent push and force to use forms. The only times forms have been mentioned were after you had already used them. Our docs clearly state when you start using forms you can no longer use the json files to manage your profile.

Speaking of persistence you keep updating your json file, even if this is merged, it will not reflect on your profile (as previously explained)

Regardless of the facts I have mentioned above, it seems very clear by the way you have written that this community is not a place you want to be in. The last thing we want to do is "force" community members to remain. Feelings such as yours do not make it a safe environment for the other community members.
Not only are the facts you have written incorrect but also the way you have written them is unacceptable.


Merge 'ATP-dependent microtubule motor activity'and  'microtubule motor activity'?

'microtubule motor activity' has a single child, 'ATP-dependent microtubule motor activity', check if they are all ATP-dependent. If they are, merge.

I believe they are.  As far as I am aware  microtubule motors are ATP ases. There are GTPase motors involved in membrane scission like dynein. I could not find any GTPase microtubule motor (microtubule motors are all kinesin or dyneins and are all ATP dependent).

Duplicate of #18664


Add groovy setters

Unlike Groovy's build.gradle project description properties, Spigot properties are set using direct assignments.
In this PR I've added methods that will make property assignments in Spigot block syntactically similar to Groovy property assignments.

Thanks for the PR, can you post the example codes for the groovy's assignment, and what was allowed after that?

Groovy project properties:
plugins { ... }
group "com.example" // no '=' operator, an alternative form of group("com.example")
name "example"

Spigradle's Spigot block (before this PR):
spigot {
    apiVersion = "1.15" // not a setter call, direct assignment using '=' operator
    authors = ["me", "my friend"]
    depends = ["this", "that"]
}

After PR:
spigot {
    apiVersion "1.15" // setter method call, not an assignment
    authors ["me", "my friend"]
    depends ["this", "that"]
}```

It seems not a legal code: authors ['me', 'myfriend'] but we can authors 'me', 'myfriend'.
non-collection type properties like main, name, version seem to already work without '=' operator.

For that reason, I'll remove the setter method for non-collection properties, and change the parameter type List<String> to Array<String>. if there anything wrong, please let me know.


Class 'Yajra\DataTables\DataTablesServiceProvider' not found

Summary of problem or feature request
I have installed package version 5 but it says Class 'Yajra\DataTables\DataTablesServiceProvider' not found.
Code snippet of problem

System details

Operating System:Windows 7
PHP Version: 5.6.4
Laravel Version: 5.3.*
Laravel-Datatables Version: ~5.0

Try using the latest version of Laravel and DataTables.
With the new feature called auto-discover in Laravel 5.5, this issue is avoided.

Use Datatables on versions lower than v8 or check the branch that corresponds to the version like https://github.com/yajra/laravel-datatables/tree/5.0 for a more accurate documentation. Thanks!


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1150 ms

Resolved: Bofrost.lu performance has improved in 5c89e99 after 33 minutes.


Consider adding MPL to okhttp

About this issue
okhtp is itself Apache-licensed however it contains MPL-licensed list of public suffices https://github.com/square/okhttp/blob/master/okhttp/src/main/resources/okhttp3/internal/publicsuffix/NOTICE
Since okhttp is widely used I think it is worth considering adding an entry about public suffix list automatically by AboutLibraries when okhttp is used.
Details

Used library version: 8.1.1
Other used libraries: okhttp 4.5.0

Checklist

[X] Searched for similar issues
[X] Checked out the sample application
[X] Read the README
[X] Checked out the CHANGELOG
[X] Read the MIGRATION GUIDE

Not sure how we should resolve this :/ based on the current setup a library usually only has 1 license. :/
theoretically the whole element should handled as a full standalone dependency.
but I have yet to see a single project which actually notes this MPL element of okhttp :/

According to the POM specification it can contain multiple licenses: https://maven.apache.org/pom.html#Licenses
So it seems that AboutLibraries should be able to handle such cases perhaps. Currently only the first one seem to be taken into account. So regardless this particular okhttp case it may be a good idea to support multiple licenses for a single artifact.
Indeed I have no exact idea how to display that. The simplest way is probably to just insert a separate list item for each license.
WDYT?

The initial issue (like with public suffix list) seems to be fixable by pseudo-libraries like https://github.com/DroidsOnRoids/public-suffix-mpl.
Not sure what about supporting multiple licenses. Maybe we should close this issue and create a new one for that case?

Yes I think it makes sense to open a feature request to allow for multiple licenses for a library.
Additionally I still would love at some point to provide some form of "library-merging" if we for example talk about the same library but just different modules of itself


Reject/Suppress Notifications While Aerial Runs

MacMini, 10.15.4, HP 4K 27" monitor
Description of issue / Feature request
I see no way in MacOS to suppress notifications from popping up while screensaver runs. Is there any way Aerial could reject/suppress notifications while running?

Hi @Jimmbo !
So I had a quick look, apparently the best way to do this would be to enable do not disturb when Aerial starts, and disable it when Aerial stops. Good news is, there seems to be an API for this : https://stackoverflow.com/questions/25210120/is-it-possible-to-turn-on-off-do-not-disturb-for-os-x-programmatically
Couple of bad news, all Catalina:

According to the comments, the method that supposedly work, won't work in sandboxed environments (so since in Catalina, all screensavers are sandbox, that's not good)
Another big issue, theoretically, we get a warning before getting killed (there's a stopAnimation method in Apple's screensaver API). In Catalina, macOS just sigkill us without warning, so even if the API worked, we very likely couldn't reenable it before exiting which would defeat the purpose.

So I have to say, at first glance, probably not doable with the current state of things. Maybe things will improve if/when Apple gives us a new screensaver API in june though.


Additional Examples / Best Practices

Hello, working through the code and I'm wondering if we can get a best practices for multi-key setups similar to what is in the emoji example SD Connect app.
When using Stateful keys with StreamDeckKeyAreaLayout is it best practice to put the individual keys inside the KeyView or have multiple different KeyViews defined?
            StreamDeckKeyAreaLayout { _ in                 // To react to state changes within each StreamDeckKeyView, extract the view, just as you normally would in SwiftUI                 // Example:                 Key1()                 Key2()                 Key3()             }
Seems to create weird layouts given the StreamDeckKeyAreaLayout is actually a For Loop.
Ideally I would just want to detect what device it is, then provide a keyIndex value for where a button resides.

Hi @blakekrone , thanks for the questions and the feedback! We'll work on extending the examples based on this.
In the meantime, here is some guidance:

I'm wondering if we can get a best practices for multi-key setups similar to what is in the emoji example SD Connect app.

The emoji example in the SD Connect app works by setting random emojis from a static list of emojis to the keys, and storing the key-to-emoji information locally, and we're not handling any keys individually here.

When using Stateful keys with StreamDeckKeyAreaLayout is it best practice to put the individual keys inside the KeyView or have multiple different KeyViews defined?
StreamDeckKeyAreaLayout { _ in // To react to state changes within each StreamDeckKeyView, extract the view, just as you normally would in SwiftUI // Example: Key1() Key2() Key3() }
Seems to create weird layouts given the StreamDeckKeyAreaLayout is actually a For Loop.

This creates weird layouts because each SwiftUI.View passed to the keyView: KeyViewProvider of StreamDeckKeyAreaLayout is treated as its own Stream Deck Key, as you correctly said.
What you should do instead is use the index: Int closure parameter of StreamDeckKeyAreaLayout and provide one view per index. Same goes for the index: Int closure parameter of StreamDeckDialAreaLayout for the Stream Deck XL dial windows. See example on the bottom.
Example
To provide different layouts per device, you can either react to the device closure parameter of the newDeviceHandler of StreamDeckSession.setUp, i.e. like so:
StreamDeckSession.setUp(
    newDeviceHandler: { device in
        switch device.info.product {
            case .mini: device.render(StreamDeckMiniLayout())
            case .regular: device.render(StreamDeckRegularLayout())
            case .xl: device.render(StreamDeckXLLayout())
             // case .neo: [...] and so on for the other devices
        }
    }
)

Or provide just one layout and determine the device type within the layout definition.
For example:
@StreamDeckView
struct StreamDeckLayout {

     var streamDeckBody: some View {
        StreamDeckLayout {
            switch streamDeck.info.product { // `streamDeck` is provided by the `@StreamDeckView` macro
            case .mini: // 6 keys
                StreamDeckKeyAreaLayout { index in
                    switch index {
                    case 0: Key1() // one view per index!
                    case 1: Key2()
                    case 2: Key3()
                    case 3: Key4()
                    case 4: Key5()
                    case 5: Key6()
                    default: fatalError("This case never happens")
                    }
                }
            case .regular: // 15 keys
                StreamDeckKeyAreaLayout { index in
                    switch index {
                    case 0: Key1()
                    case 1: Key2()
                    case 2: Key3()
                    // !! Shortened - add cases as desired for all indices from 0 to 14
                    case 12: Key12()
                    case 13: Key13()
                    case 14: Key14()
                    default: fatalError("This case never happens") // or handle empty keys with i.e. `Color.black`
                    }
                }
            // case .xl: [...], and so on
            default: Color.black
            }
        } windowArea: {
            switch streamDeck.info.product {
            case .xl:
                StreamDeckDialAreaLayout { index in
                    switch index {
                    case 0: Dial1()
                    case 1: Dial2()
                    case 2: Dial3()
                    case 4: Dial4()
                    default: fatalError("This case never happens") // or handle empty dial window views with i.e. `Color.black`
                    }
                }

            case .neo:
                MyNeoPanelView()
            default: Color.black
            }
        }
    }

}

Thanks @zahnooo for the additional information. That's the route I was working with the switch() inside the Layout, it just didn't seem efficient to always be doing a switch statement each iteration. But I suppose, with the max keys (currently) being 32 that is trivial for a switch statement.

I guess there are several ways how to save some code here, but that depends on what you're trying to achieve.
For example, depending on how flexible / adaptive you want your layout to be depending on the Stream Deck device, you could also consider storing your keys in an array and return them by index - this way you could add your most important actions in the beginning and less important ones in the end, and the less important ones would be ignored if you run out of keys.
Something like this:

@StreamDeckView
struct StreamDeckUI {

    // Static list of your key definitions
    private static let keys = [MostImportantKey(), SecondMostImportantKey()]

    var streamDeckBody: some View {
        StreamDeckLayout {
            StreamDeckKeyAreaLayout { index in
                if index >= StreamDeckUI.keys.count {
                    Color.black // ignore out-of-bounds keys
                } else {
                    StreamDeckUI.keys[index] // return key by index in array
                }
            }
        }
    }

}


remove ld_library_path from docker image

as suggested by @3XX0 in https://github.com/tensorflow/tensorflow/issues/970#issuecomment-185954223

Merged


ensure passwords match for the sha1 hash algorithm

possible security issue where we don't compare hashed values == for older sha1 haah users (we don't have any)

good catch


Misc Typo

These lines contains typos
page 500100 MyPage
pageextension 500101 MyPageExt extends MyPage
should be
page 50100 MyPage
pageextension 50101 MyPageExt extends MyPage

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

ID: 8d3bb501-007c-dd1a-66ac-bdbb77d748bb
Version Independent ID: 3e48a1c7-d767-983e-2597-fb095c28885d
Content: Protected Variables - Business Central
Content Source: dev-itpro/developer/devenv-protected-variables.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Thanks for the feedback! The fixes are in and an update will be published soon.


I can't get to the part where I upload my file.

Clear output executed at 7:53 PM (0 minutes ago) executed in 13.212s
/usr/local/lib/python3.7/dist-packages/flax/optim/base.py:52: DeprecationWarning: Use optax instead of flax.optim. Refer to the update guide https://flax.readthedocs.io/en/latest/howtos/optax_update_guide.html for detailed instructions.
'for detailed instructions.', DeprecationWarning)
/usr/local/lib/python3.7/dist-packages/jax/_src/lib/xla_bridge.py:435: UserWarning: jax.host_count has been renamed to jax.process_count. This alias will eventually be removed; please update your code.
"jax.host_count has been renamed to jax.process_count. This alias "
Aditionally:
No files selected. Upload widget is only available when the cell has been executed in the current browser session. Please rerun this cell to enable.
MessageError                              Traceback (most recent call last)
 in ()
4
5 log_event('uploadAudioStart', {})
----> 6 audio = upload_audio(sample_rate=SAMPLE_RATE)
7 log_event('uploadAudioComplete', {'value': round(len(audio) / SAMPLE_RATE)})
8
4 frames
/usr/local/lib/python3.7/dist-packages/google/colab/_message.py in read_reply_from_input(message_id, timeout_sec)
104         reply.get('colab_msg_id') == message_id):
105       if 'error' in reply:
--> 106         raise MessageError(reply['error'])
107       return reply.get('data', None)
108
MessageError: TypeError: google.colab._files is undefined
No idea what is going on.

Also when I try to restat the session and reset to defaults by going to runtime reset to factory defaults it doesn't appear to delete the pckages so not sure how to fix.
Any input would be greatly appreciated.
I think I'm just doing something wrong and it's most likely user error.

Did you run the "Upload Audio" cell after you ran all of the cells above it (and waited for them to complete)?
Did you click "Choose files"?

I figured out the problem.
I had to enable third party cookies in chrome.
If you could add that to the readme as a potential issue to warn
others about that would be great.
I got it working now and colab is nice and accessible with NVDA.
So that's great.
On 4/21/22, unsightedmetal6 @.***> wrote:

Did you run the "Upload Audio" cell after you ran all of the cells above it
(and waited for them to complete)?
Did you click "Choose files"?

--
Reply to this email directly or view it on GitHub:
https://github.com/magenta/mt3/issues/38#issuecomment-1105887127
You are receiving this because you authored the thread.
Message ID: @.***>


[WIP] Increase-test-coverage for keras_tensor  and variables+  Fix __invert__  + Fix FloorDivide

Increase-test-coverage for keras_tensor + Fix __invert__ method and update FloorDiv references in keras_tensor.py

Fixes a TypeError encountered when using the unary bitwise inversion (~) on a KerasTensor object. The __invert__ method had an incorrect signature, accepting an unnecessary other parameter.
Updates references from FloorDiv to FloorDivide to align with the correct operation name.

Changes:

Modified the __invert__ method in keras_tensor.py to remove the other parameter and correctly call the LogicalNot operation:

Updated all occurrences of FloorDiv to FloorDivide in keras_tensor.py to ensure correct behavior.

Keras Core is becoming Keras 3, and we're switching development to the main repository! Please reopen this PR in the keras-team/keras repository. Unfortunately we aren't able to automatically transfer PRs (but we have transferred all issues).


forwardRef does not work with useImperativeHandle

I've noticed a strange bug with the forwardRef opt-in.
If i use it with a connected class component, everything is ok:
const MyComponent = class Test extends React.Component {
  foo = () => console.log("Print foo from Test component");
  render() {
    return null;
  }
};

const ConnectedComponent = connect(
  null,
  null,
  null,
  { forwardRef: true }
)(MyComponent);

const store = createStore(() => {});

function App() {
  return (
    <Provider store={store}>
      <ConnectedComponent
        ref={ref => {
          if (ref) ref.foo();
        }}
      />
    </Provider>
  );
}

const rootElement = document.getElementById("root");
ReactDOM.render(<App />, rootElement);

If i use it with a connected functional component that use forwardRef with useImperativeHandle, i obtain a strange error: create is not a function in commitHookEffectList react-dom method.
const MyComponent = React.forwardRef((props, ref) => {
  useImperativeHandle(ref, {
    foo: () => console.log("Print foo from Test component")
  });

  return null;
});

const ConnectedComponent = connect(
  null,
  null,
  null,
  { forwardRef: true }
)(MyComponent);

const store = createStore(() => {});

function App() {
  return (
    <Provider store={store}>
      <ConnectedComponent
        ref={ref => {
          if (ref) ref.foo();
        }}
      />
    </Provider>
  );
}

const rootElement = document.getElementById("root");
ReactDOM.render(<App />, rootElement);

I don't know if it's a react-redux or react-dom bug.
I create a codepen to reproduce the issue: https://codesandbox.io/s/r7rpml460o
PS: Sorry for the cors error, but i don't find the way to add react@nextas cdn

@lorenzomigliorero the way you used useImperativeHandle was wrong, second argument should return a function not an object, and that function which should return an object.
import React, { useImperativeHandle, forwardRef, useRef } from 'react';
import ReactDOM from 'react-dom';
import { connect, Provider } from 'react-redux';
import { createStore } from 'redux';

const store = createStore(() => {});

const Child = React.forwardRef((props, ref) => {
	// Methods that will be called from Parent
	useImperativeHandle(ref, () => {
		return {
			sayHello() {
				console.log('Hello! I was called from Parent.');
			}
		};
	});

	return
I am the child component!
;
});

function App() {
	const childRef = useRef();

	const handleClick = () => {
		childRef.current.sayHello();
	};

	return (
		<Provider store={store}>

				<button type="button" onClick={handleClick}>
					Call Method From Child
				</button>
				<Child ref={childRef} />

		</Provider>
	);
}

const rootElement = document.getElementById('root');
ReactDOM.render(<App />, rootElement);`


🧑💻 Add Contributors and Admin Details

Hello @developer-diganta
Subject of the issue
In README FILE
🧑💻 Add Contributors and Admin Details with extra info
Is your feature request related to a problem? Please describe.
Features that I want to add

Contributors details
Project admin details
Add the contributing line with a guideline link so that everyone motivates by that.
Center heading for more attractive

Describe the solution you'd like

Add new features

Kindly assign this issue to me under IWOC event with the label of medium.

Assigned!

Hello @Suryansh1720001 before starting please check out My PR because i have already added Admin Details in Readme File

And also i'll changed some features on Readme File

@Durgesh4993
Okay I will keep this in mind


Info screen refurb

fixes #41

Thank you for the review, I will implement the suggestions in the coming days.

@darowsluk I refactored the code a bit, mainly added wrappers for Text. I'm not entirely convinced by the way I created them so further suggestions are welcome.
p.s. it seems that the group photo needs some adjustments so I will add it via another PR once ready.

@knutm92 Here are my suggestions to the text widget wrappers:

File text_styles.dart was generated by Supernova from Figma file, so I think it is best not to change its contents manually. I suggest creating a seperate file with just the KompasText wrapper class.
I recommend making just one KompasText() class with a parameter called 'style', which will take an enum to select a style from AppTextStyles, namely: headerH1-6, paragraphText, etc.
With this mechanism in place we can create a separate issue to refactor all Text() calls into KompasText(). This will enforce consistent text styles throughout the entire app.

@darowsluk
Good ideas, I have pushed the changes and created a refactoring issue, please have a look.

The refactoring of KompasText() looks great.
One problem that I had was with the name of two imports:
import 'package:kompas/statics/kompasTextWrapper.dart';
After I changed it to "kompasText.dart" everything builds fine.

Repaired :)

Now everything is OK. :)

Merging is blocked, could you send a review with an approval?


Reordering the schedule actions creation mode

Description
Schedule Action dialog currently present in FSunstone has the following drawbacks:

[x] Adding a schedule action, when using the Periodic check, should hide or disable inputs "Time after the VM is instantiated" and "Period types".
[x] No obvious link between "Period types" and "Times after the VM is instantiated (TIME)".
[x] Not possible to use Relative Actions

To avoid these inconsistencies, best way forward is to have 3 radio buttons to select either One-Time Punctual actions, Periodic Punctual actions and Relative actions. This will also help relate the interface with the documentation.
Details

Affected Component: [fireedge]
Hypervisor: [e.g. KVM]
Version: [e.g. 5.4.12 or development]

Additional context
Add any other context about the problem here.

Progress Status

[x] Code committed
[x] Testing - QA
[x] Documentation (Release notes - resolved issues, compatibility, known issues)

@tinova PR to approve:

Code: https://github.com/OpenNebula/one-ee/pull/2596
Test: https://github.com/OpenNebula/development/pull/2196
Docs: https://github.com/OpenNebula/docs/pull/2559


Please make a new release

@benbalter gentle bump. A new release would be much appreciated to support Jekyll 4.x (#11).
https://rubygems.org/gems/jekyll-default-layout/versions

Released! https://github.com/benbalter/jekyll-default-layout/releases/tag/v0.1.5

Thank you!!!