[Feature-3754][Alert] Alert module support service for other service invoke

#3754
What is the purpose of the pull request
In this feature , Alert server is a message notification service , email and wechat is a plugin of this service . If you want send email message you can create an instance of email plugin in the alert group and then you can select the alert group in SqlTask . SqlTask can call the alert server api with this alert group arrguement to send the message.
So we need alert api to support other service invoke.
Now the alert service sends alarms abnormally by periodically scanning the records in table t_ds_alert. It is asynchronous.
In the SqlTask task case, the task need send message synchronous and the final running status of this task depends on whether the message is sent successfully. So the alert api need send messages synchronously.
the params of alert api :

alert group id : requied, One or more alert plugin instances are associated with an alert group, and these alert plugin instances will be called in turn when sending a message.
title : requied, the title of this alert message.
content: requied, the content of this alert message.

Codecov Report

:exclamation: No coverage uploaded for pull request base (alert_plugin_design@20bc747). Click here to learn what that means.
The diff coverage is n/a.

@@                  Coverage Diff                   @@
##             alert_plugin_design    #3979   +/-   ##
======================================================
  Coverage                       ?   40.38%
  Complexity                     ?     2984
======================================================
  Files                          ?      489
  Lines                          ?    22414
  Branches                       ?     2664
======================================================
  Hits                           ?     9052
  Misses                         ?    12530
  Partials                       ?      832

Continue to review full report at Codecov.

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


Apply formatter to integration tests

Description of changes
While playing around with the new VSCode extension, I realized that our integration tests hadn't been formatted. This PR is the result of running the latest version of cedar-policy-formatter on all the (non-corpus) test policies using the CLI w/ default settings.
@shaobo-he-aws The only behavior that I thought was a little strange was that the formatter deletes whitespace between comments (see cedar-integration-tests/tests/multi/policies_3.cedar). This isn't necessarily a bad thing, but may be unexpected for users. Would it be easy to fix?
Issue #, if available
Checklist for requesting a review
The change in this PR is (choose one, and delete the other options):

[X] A change "invisible" to users (e.g., documentation, changes to "internal" crates like cedar-policy-core, cedar-validator, etc.)

I confirm that this PR (choose one, and delete the other options):

[X] Does not update the CHANGELOG because my change does not significantly impact released code.

I confirm that cedar-spec (choose one, and delete the other options):

[X] Does not require updates because my change does not impact the Cedar Dafny model or DRT infrastructure.

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

@shaobo-he-aws The only behavior that I thought was a little strange was that the formatter deletes whitespace between comments (see cedar-integration-tests/tests/multi/policies_3.cedar). This isn't necessarily a bad thing, but may be unexpected for users. Would it be easy to fix?

I'm not sure and need to look into it. Let's merge this PR first.

Made a backlog issue for the comment/whitespace issue: #265


Add passwordless email

This introduces the passwordless auth as described at the link below:
https://github.com/aaronn/django-rest-framework-passwordless
Send a POST to the auth/email endpoint like so:
requests.post("http://localhost:8000/auth/email/", {"email"<EMAIL_ADDRESS>
It'll trigger an email. You can see the email sent, if use mailhog locally/
This gives the token to use, for posting to the next endpoint. you'd typically this with a form-encoded payload like so:
res2 = requests.post("http://localhost:8000/auth/token/", {"email"<EMAIL_ADDRESS>"token":"862471"})

The response will be a token, which can be used for auth:
{"token":"b51c4e2c94f92a56cdc24d8310047fd7c06327eb"}'

The fastest change I can think of here would be to have the signin screen page allow a user to send an email, and then allow them to either:

enter the number emailed,
or cancel the request

when the number is submitted, we store the token, and router.push to 'home'


WIP: SSTOOLKIT-14: login token w/o response parsing ...

For comments, not merging at this point.
The operation itself is such that it will only succeed when token is NOT already logged in, so handling such situations where 'no operation is needed' but error is returned warrants some consideration for the whole toolkit
For this particular call, response is with HTTP status code 409 when token is already logged in, body
`` {"status":409,"error":{"code":"action_not_possible"}}`

I see that you take configuration data from the command line, but I think at this point it should be taken from configuration files, like for example the url and api-key.
Please add some unit tests aswell.
Otherwise looks OK.

Abandoning, as work done in local branches and PR3 renders this outdated.


[FEATURE REQUEST]: Initial code refactor

Is your feature request related to a problem? Please describe.
code cleanup
Describe the solution you'd like
set an initial refactor that should be built on to a feature branch
Describe alternatives you've considered
Additional context

How is this coming along?


Show Room avatars (in the RoomsList) for direct rooms

I've now implemented avatar display for direct messages/person-to-person chats, but there are still some edge cases to handle. I'll mark it as a draft for now.

 Now, we can display avatars for direct messages or person-to-person chats.

Looks good. Just to clarify, out of all of the rooms shown here, can you list the ones that return true for is_direct(), and also list the ones that you expect to use the other person's avatar for the room avatar? I can't tell just from the room names, so i don't know what the correct behavior is.

I talked to Alex about the current solution, and he suggested that we shouldn't directly check if room_members.len() == 2 to determine if it's a direct message. In matrix_sdk, there's an is_direct() that can help with that. However, I tested it, and I found that is_direct() returned true for many non-direct rooms, so it didn't give the expected result. Personally, I think we should still use the is_direct() method to check, but if there's no issue with that method in matrix_sdk, I'll continue testing this.

Sure, that's fine. I think is_direct() will return true for any group chat that isn't a regular room, even the rooms that have more than 2 people. But i'm not sure.
In this case, we do want to only use the profile picture of the other person if there are 2 members in the room. In the future, we could create a

But right now, there's an edge case, as shown in the image above, where some rooms have an avatar that's just a "?". That's not right. I think it's because in group chats without a room name and avatar, if someone's name contains special characters like "@" it can't parse the correct character. I'm currently working on fixing this, and I'll address it in another PR.

The ? character is shown when we failed to generate a text avatar based on the username. Which room is this occurring for?
But yes, i think i might be too strict in my assumptions of how @ should be skipped -- we should only skip one instance of that char.

Hi, @kevinaboos  In this picture, the first three rooms are direct messages, and currently, the room avatar is displayed correctly. (When a user has set an avatar, it shows the avatar; if not, and the username starts with a non-special character, it shows the first valid character of the name.) The other rooms are group chats with at least three people. Also, if you look at the fourth room, the avatar is a "?", because the first character of the room name "@ Tyrese Luo, Alan Poon" is "@", which can’t handle special characters. I’ll fix this issue in another PR.

After my investigation and testing, I found that the is_direct() method doesn't correctly return direct messages. As shown in the picture above, in many multi-person rooms, is_direct() still returns true. (I printed the room names, and when the room name is not set, it shows a collection of all the member names.) I’ve already reported this issue to matrix_rust_sdk.

Also, during my testing, I found that the status of members in a room can affect the room’s status. For example, when a user leaves a room (you can see that I left this room, but this room is till display in the room_list).currently in Robrix, even after a user leaves, the room still shows up in the room list, which shouldn't happen, the room should not appear in the list after the user leaves. Maybe we can open a new issue to address this.

In this picture, you can see that there are many different states in RoomMemberships, and the user statuses in the room affect the determination of whether it's a direct message. I think we can merge this PR first to support basic direct message avatar display. After the two issues above are fixed, we can optimize the handling of other situations, including different user statuses. (Actually, I believe the is_direct() method should handle all the user statuses correctly, and we should just call it to know if it's a direct message.)


Block types used for imp_implementationWithBlock() and imp_getBlock()

I have a query on the types used to represent blocks for the functions:
IMP imp_implementationWithBlock(void *block);
char *block_copyIMPTypeEncoding_np(void*block);
void *imp_getBlock(IMP anImp);

libobjc2 uses the type void *, but the Apple runtime uses id.
Also libobjc2 already uses id for id objc_retainBlock(id b).
I was just wandering if there is reason why void * is used for these functions in libobjc2?

Apple used void* when they introduced these functions.  I presume that they changed to id for better interop with ARC.  I'm happy to accept a PR that changes them.


travis: use go modules and latest Go

Also adds caching to speed up builds.

To see the effects of caching, check how the push build took 2min 40sec, while the PR one took 4+ minutes.
It's still not perfect because we're always download goveralls and golint from master.

Coverage increased (+4.6%) to 51.665% when pulling 646502fa56b2c82be598875431d06e9f213eaab2 on reup-travis into 11877ba5aa8541d19ed6e8583588d99c4e5790dc on master.


Proposal: generate classes from an existing database

Hi there, your project seems awesome.
I know that this is a huge request but being able to generate classes from an existing database would be awesome. The database would become the source of truth. What do you think ?

TypeGraphQL is database agnostic. If you use TypeORM, you can use typeorm-model-generator to generate classes and then only place the TypeGraphQL decorators on fields, add resolvers, etc. 😉
In my projects I prefer the entity class to be the source of truth and the database schema is kept in sync with the code by a ORM (synchronize/migrations). So do the API shape is determined by these classes using TypeGraphQL.

May be we could write some code to glue together all this to have decorators placed automatically? basic resolvers generated, etc.
I did this code generation for several years in the .NET space using t4 templates and tools like Self Tracking Entities and / Trackable entities.
I worked very well and I miss this kind of tool for GraphQL/TypeScript.
I’l have a look at typeorm-model-generator an TypeORM.
If this is something that seems valuable for you, I’m happy to help.
From: Michał Lytek<EMAIL_ADDRESS>Reply-To: 19majkel94/type-graphql<EMAIL_ADDRESS>Date: Monday 14 May 2018 at 19:14
To: 19majkel94/type-graphql<EMAIL_ADDRESS>Cc: Olivier MATROT<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [19majkel94/type-graphql] Proposal: generate classes from an existing database (#80)
TypeGraphQL is database agnostic. If you use TypeORM, you can use typeorm-model-generator to generate classes and then only place the TypeGraphQL decorators on fields, add resolvers, etc. 😉
In my projects I prefer the entity class to be the source of truth and the database schema is kept in sync with the code by a ORM (synchronize/migrations). So do the API shape is determined by these classes using TypeGraphQL.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

There is already an issue for a CLI tool - #66.
It will have support for automatic generation of CRUD resolvers from object type classes.
Placing TypeGraphQL decorators on TypeORM classes should be done manually because you don't always want to expose all the internal stuffs as well you may want to expose some additional fields not mapped to table column. And it's not easy to map types to GraphQL types like number -> Int or Float?
So the flow would be db tables -> typeorm model generator -> placing TypeORM decorators -> generating resolvers from classes 😉

I would say that at least the CLI would place TypeORM by default (numver => fload) and report warnings to be reviewed.
Thanks for listening.
Kind regards,
Olivier.
From: Michał Lytek<EMAIL_ADDRESS>Reply-To: 19majkel94/type-graphql<EMAIL_ADDRESS>Date: Tuesday 15 May 2018 at 13:25
To: 19majkel94/type-graphql<EMAIL_ADDRESS>Cc: Olivier MATROT<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [19majkel94/type-graphql] Proposal: generate classes from an existing database (#80)
There is already an issue for a CLI tool - #66.
It will have support for automatic generation of CRUD resolvers from object type classes.
Placing TypeGraphQL decorators on TypeORM classes should be done manually because you don't always want to expose all the internal stuffs as well you may want to expose some additional fields not mapped to table column. And it's not easy to map types to GraphQL types like number -> Int or Float?
So the flow would be db tables -> typeorm model generator -> placing TypeORM decorators -> generating resolvers from classes 😉
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I have to think about how this should work and if it can work this way.
Placing this in #66 list 😉


Limitation on concept types

Thanks for the great work. I noticed that the concepts mentioned in your paper, such as 'cat' and 'phone,' exhibit clear differences in semantic spaces. However, the model's performance is notably inadequate when handling 'close' concepts like 'a man' and 'a woman,' particularly in generating images for complex sentences such as 'a man and a woman are dancing'. Is this limitation inherent to the method itself? Does it only apply well to examples mentioned in the paper which must contain context interaction and with clear differences in semantic spaces?

I guess that's because SD1.5 is not good at handling human-related generation

The model also struggles to generate a dog' and a cat' together as a dog and cat'. And using SD2.1 did not solve the mentioned issue. Thus I have concerns regarding the ability of the method to combine close' concepts.

Thanks for the great work. I noticed that the concepts mentioned in your paper, such as 'cat' and 'phone,' exhibit clear differences in semantic spaces. However, the model's performance is notably inadequate when handling 'close' concepts like 'a man' and 'a woman,' particularly in generating images for complex sentences such as 'a man and a woman are dancing'. Is this limitation inherent to the method itself? Does it only apply well to examples mentioned in the paper which must contain context interaction and with clear differences in semantic spaces?

Yes, we think this limitation comes from the poor basic ability of the model to distinguish semantic similar concepts. And our model should be given input concepts with contextual interaction to generate better results.


Pre-Generation Error's

I am currently running...

SpongeForge version: 1.12.2-2529-7.0.0-BETA-2748
SpongeVanilla version:
Java version:  8
Operating System:

[x] Linux (Ubuntu, Debian, Fedora, etc)
[ ] macOS
[ ] Windows

Plugins/Mods:
i just had Nucleus plugin
What is the expected result?
that error was repeatedly showing in console to the point where it got to the log got 11GB
size of the logs i managed to found that error and i don't know what do to
i let 1 one my beta testing player to play and warned him that it's going to lag
i figure it will be fine if 1 player plays
the the first Error shows that the 1) error log
then i didn't let any players on the server
and the error 2) show again as you can see it's not nucleus issue
cause it showing nothing but as i was reading only thing i can see an issue is
this
Source: ASM: com.rwtema.extrautils2.items.DemonicIngotHandler@4b72c1de run(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V

i am not too sure what is happening i am no experience developer but when this happen the pregeneration just stopped and does not do anything

https://pastebin.com/C1t780wb
https://pastebin.com/RtCBNav1

What is the current result?
when the error starts stop pre-generation

This should be fixed in the latest builds (2751 or 2752), though 2753 (which is currently building) will have another fix for another issue. Please re-test with at least 2751.

I am in the process of doing it
I had Deleted My Region folder
and pre-generating the end world again
I am now on SpongeForge 1.12.2-2529-7.0.0-BETA-2753
and i have updated Forge to 1.12.2-<IP_ADDRESS>9
i will let you know when the pre-generation is done
or if the error occurs again

it seem it's fix Pre-generation is completed without any errors thanks


CI 4.3.2. Development mode doesn't work

CI is installed manually.
Only paths in configs were edited (non-standard paths to 'system' and 'app').
Tried setting developer mode with .env:
CI_ENVIRONMENT = development
app.baseURL = 'http://wrcc.vags.home'

Does not work:
$ php spark env

CodeIgniter v4.3.2 Command Line Tool - Server Time: 2023-03-25 17:09:59 UTC+00:00

Your environment is currently set as production.

I'm trying to set a constant at the beginning of the index.php:
define('CI_ENVIRONMENT', 'development');
No effect.
I tried to substitute the development.php file instead of production.php in the directory app/Config/Boot/
No effect.
Environment: Linux Mint 21.1 (Ubuntu 22.04 based), nginx 1.18.0, PHP 7.4.33.

Using .env definitely should work. Have you tried it on a clean install without changing the path variables?


Proposal: Improve Makefile

Note: Sorry that I put this proposal as a draft PR instead of an issue since it is easier for me to present the idea via code.

This proposes Makefile improvement. To let the transition smooth, this PR puts the proposal into a new file called: Next.mk. If this is something that we are looking for, we can "replace" the main Makefile.
To invoke a target inside it, we can run it with make -f Next.mk.
This proposal is broken down into three main commits:

Add Next.mk https://github.com/bufbuild/protoc-gen-validate/commit/0eae5daa1ae704cbc512164370a4bafaa1e56ba6, this adds the basic structure.
Add test target https://github.com/bufbuild/protoc-gen-validate/commit/6295a156d6fd98d85be8a46fe69a921c4d0999d7, this adds the test target. Basically runs the bazel test //tests/....
Add sanity tests https://github.com/bufbuild/protoc-gen-validate/commit/f83fd5a0d717a3045ef754720bf898e2738e5061, this adds checks for bazel-related tasks.

In this proposal, the Next.mk has several targets, that can be inspected via the "help" target.

Next.mk depends on several *.mk files:

Tools.mk provides dependency tools versions.
tools/build/Help.mk provides the "help" target.
tools/build/Env.mk sets some required env vars.
tools/build/Installer.mk provides targets that install tools. This is done on-demand.

Some quick notes:

This proposal moves the top BUILD file to BUILD.bazel hence "build" directory can be used to store the current plugin binary.
This proposal also adds a new workflow: .github/workflows/commit.yaml.
To run "build" and "check". The build step runs clean before
build hence the *.pb.go is regenerated and its consistency can be
checked via make check.
Some packaging helpers are not yet included in this proposal since we do packaging via workflow and not calling the make targets.

Next
After this, the plan is to:

Do hygiene and code-quality tasks, by adding format and lint targets. Also, a way to measure the coverage. We can add the format and lint check here, but that will actually introduce more file changes due to that (hence the PR gets bigger and will be hard to review).
Fresh up the bazel/*. Seems like at least we can (the work on this is already started):
a. Upgrade protobuf dependency to match the one with non-bazel, and use compiled protoc whenever possible to reduce the time cost (similar to what we have with the envoy project).
b. Use @maven via https://github.com/bazelbuild/rules_jvm_external.
c. Make sure the python version and modules we use are pinned.

Signed-off-by: Dhi Aurrahman<EMAIL_ADDRESS>

The "CI-runs" on my "fork" can be observed from: https://github.com/dio/protoc-gen-validate/pull/2. 🙇🏾

@elliotmjackson do you think this makes sense? Thank you!

yes, it absolutely makes sense - I just want some time to take a look at the github action changes. Right now, im a touch busy but i will look at this soon

Im quite happy with the changes to the makefile, they are very much needed and this is a good first step. My concerns relate to this new github action, its run time far exceeds our newly tweaked CI and somewhat undoes a lot of the gains we have achieved.

@elliotmjackson seems like we need to keep the current one and iterate on the new one. I'll take a deeper look at the disparity list.

Ah yeah, it is too slow, will take a look (seems like we don't have to do all the stuff "sequentially" and via bazel).

Ok cool, I assume caching only happens from the base branch. Happy to see where it goes... thanks for the contribution @dio and I apologise for not being overly focused on this repo to date, will endeavour to give you more attention next time.

@elliotmjackson no worries at all :). Love to contribute more if you can help me on merging this PR. Thanks!

(sorry was out too for personal reason)


Add interface and correctness reference

This PR is the initial introduction of the BMT component for use in bee. It contains the interface implementation, along with a reference bmt hash generator largely copied from the bmt package of swarm. The latter does not implement the BMT interface, it is only intended to generate correct hashes using code that is as easy to understand as possible.

Thanks @janos amended

@janos you're right I was a bit quick there. Is this better?

@janos @acud the new linter is a bit more eager than the last one, so had to do a few more changes. Still shouldn't change functionality. But please have another browse to be safe. Thanks.


Improve the experience of getting a fresh local.settings.json

I wanted to get a fresh local.settings.json for an existing function app and had to click "No" quite a few times (7-8).

User ran into this here: https://github.com/microsoft/vscode-azurefunctions/issues/1356
We could theoretically detect when the file is missing and automatically prompt just to recreate the file


Increase SSAO and SSIL bias to account for variance in mipmap generation

Fixes: https://github.com/godotengine/godot/issues/73697
Follow up to https://github.com/godotengine/godot/pull/73420
The issue is that the way we calculate linear depth introduces some additional imprecision over and above the imprecision from using only 16 bit floats. So we need to bias slightly more.
I originally made this change in https://github.com/godotengine/godot/pull/73420 but reverted it during testing as it seemed unnecessary. Bringing it back now as it fixes the issue without visible side effects.
If we rework mipmap generation we may be able to increase this in the future.

Thanks!


Welcome Menu can be closed

Describe the bug
Closing "Welcome" menu on left side bar doesn't allows to reach it anymore inside the same session.
No "New Patch" button anymore, need to relaunch.
How To Reproduce

Clic on the Left Arrow to open Welcome Menu
Clic on the cross to close Welcome menu
Cannot open this menu again (No more Arrow to open)

Platform

MacOS 14.3.1

Before

Menu open

After Closing

"new patch" moved here:

and also here is (still) available here:

if you need the welcome screen back cmd-p "welcome" is there for you:

will keep this open as i want this linked elsewhere


GURPS Translation (Portuguese, Brazilian) Rolled Back

This translation file used to have a lot of translation but the update on 3/21/2022 deleted all the translations and replaced them with the English translations.
Current Version - All english
https://github.com/Roll20/roll20-character-sheets/blob/master/GURPS/translations/pt.json
The commit when the file was updated.
https://github.com/Roll20/roll20-character-sheets/commit/0feef76191ba2b78dd6ee3304d277493869edd9f
Here's the previous version with good translations
https://github.com/Roll20/roll20-character-sheets/blob/1b01d3d3af7470853c80f1b4bfe7a38ebbf92567/GURPS/translations/pt.json

Hi @nmbradley Thank you!


Extended JSON to RawRepresentable protocol

This provides anyone using this library as a simple JSON parser the ability grab the object property directly from a JSON instance. The setter is still private.

@jlalvarez18 I made a few comments on some changes, so once those are made, I'll go ahead and merge this in. Thanks for working on this! :+1:

@jlandon Fixed. Great observations!

Excellent, thanks again!


Disable autotab switching

Whenever you download a video/add it to the queue the app switches tabs to the download queue. Can we have an option to disable this? It's incredibly annoying to be downloading 5 or so broadcasts which are about halfway through a 100 vod list and have to scroll and find the next video every time(when you switch tabs it doesn't remember your position).
Either that or a way to multi-select vods and click the download button once for all of them.
Thanks,

This is related to issue #23. I want to introduce an notification system. So if you add a download, a panel becomes visible for like 5 seconds telling you "Download has been added...".
The tab switiching is a relic of the initial release when I developed the tool for myself in the first place and when there was no download queue at all :)

I now show the current download count in the download button text. No more automatic view switching.

Awesome, thanks. Best VOD downloader I've used next to livestreamer(this one is much easier for filenaming though).

Any suggestions on how to improve filenaming in TL? I don't know livestreamer. What are you missing?

Sorry I meant TL is easier for filenaming, Some infor on livestreamer "Livestreamer is a command-line utility that pipes video streams from various services into a video player" (it can also be used to just download).
The only template wildcard that I wold use that isn't currently there is "streamer username",it would make it easier to organize if you are downloading multiple vods from separate users into the same download folder.

See #40


Numismatic overhaul compat?

cant trade with villager when numis is installed. :) i hope you can consider compat.

I've added the compatibility, but currently Numismatic Overhaul isn't working with modded villagers on their end. Once they fix on their end my villager should start working.


adding type to the unsupported messages

makes it easier to understand if someone sent a disappearing photo or tried to start a call

thank you


Undersized mount not working

Failed to mount a level 1 boar with a level 1 scared huntsmaster even though she has the undersized mount feat.

You can't mount in town
On Thu, Jul 28, 2022, 3:51 PM ZebraLan @.***> wrote:

[image: image]
https://user-images.githubusercontent.com/17749562/181633505-1446e52b-1c7c-4407-92eb-ab87535ce8f7.jpg
[image: image]
https://user-images.githubusercontent.com/17749562/181633714-62e11b9f-8c50-4611-9165-a168683bfff6.jpg
[image: image]
https://user-images.githubusercontent.com/17749562/181633997-f3851719-f506-4cde-b373-87643a63d5ee.jpg
Failed to mount a level 1 boar with a level 1 scared huntsmaster even
though she has the undersized mount feat.
—
Reply to this email directly, view it on GitHub
https://github.com/Vek17/TabletopTweaks-Base/issues/462, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWSQPG4MSABTJ24TGPPOZTVWLXDJANCNFSM546TCR5A
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

You can't mount in town
…

😂first time playing a mounted character. Didn’t know that. My mount attempts actually succeeded once right after respec, so that is actually bugged?
Anyway thanks for replying. Will close issue after testing outside.


feat: add pinia persist plugin

General

✏ Mark the necessary items without changing the structure of the PR template.
Link #3165

[ ] Pull request template structure not broken

Type

ℹ What types of changes does your code introduce?

👉 Put an x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

ℹ Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

👉 Put an x in the boxes that apply.

[ ] My code follows the style guidelines of this project
[ ] Is the code format correct
[ ] Is the git submission information standard?
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

只是先引入pinia persist plugin对吧，功能迁移在这个PR吗还是后续新PR

后续再开一个PR完整的消掉代码，不然改动太多了


Concrete Compressive Strength Prediction

Pull Request for DL-Simplified 💡
Issue Title : Concrete Compressive Strength

Info about the related issue (Aim of the project) :
Concrete Compressive Strength  Prediction with Multiple Models
Name: Aindree
GitHub ID: aindree2005
Email ID<EMAIL_ADDRESS>**Idenitfy yourself: Codepeak Participant

closes #380
Describe the add-ons or changes you've made 📃
Comparison between LGBMRegressor, and Neural Network
Give a clear description of what have you added or modifications made
Type of change ☑
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested? ⚙
Describe how it has been tested
Describe how have you verified the changes made
Tested on Kaggle
Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

Hi @aindree-2005 nicely represented. Few changes are required. Please update the README.md file as per the given template, https://github.com/abhisheks008/DL-Simplified/blob/main/.github/readme_template.md

@abhisheks008 fixed it now! Changed Readme in Models folder to include this data


[Battle Perfect Spins] - Few errors/Fixes needed

Describe the bug
Battle perfect spins have a few mistakes in the names, ability or forms of a few pokemon

Greninja - Ability needs changing to Protean
Cualan Macargo - Needs the description for spin updated (Since Cualan doesn't exist anymore)
Solrock and Lunatone - New updating to their new evolutions

To Reproduce
Steps to reproduce the behavior:

Open a Battle Perfect Spin
Receive any of the following 4 pokemon listed above
Battle perfect spin shows the player won a Cualan Macargo

Greninja Ability is currently Torrent
Solrock/Lunatone don't have the new evolution forms

Expected behavior
Could cause confusion with players and people not being happy about receiving pokemon that aren't 'battle perfect' as stated
Username:
xBranx
Server name (all applicable):
Titan, Orion, Atlas

Solrock changed to Solpernova, Lunatone changed to Lunaclipse, and Magcargo changed to Volcargo. Greninja's ability changed to protean.


[BUG] Generated JsonConverter tries to Deserialize enums as dynamic in the C# generator

Describe the bug.
The C# generator generates a JsonConverter using SystemTextJson, that tries to deserialize the enums as dynamic.
The enum looks like this:

Next to the enum an extension method is generated:

The json converter tries to deserialize the enum as follows:

This results in the following error when trying to deserialize the enum:
The best overloaded method match for 'CBS.Viewer.Integration.Events.EnvironmentExtensions.ToEnvironment(string)' has some invalid arguments
Expected behavior
We would expect the resulting json converter to look like this:

Screenshots
Screenshot provided throughout.
How to Reproduce
Our asyncapi spec for the enum looks like this:

The property on one of our events:

We used version 2.0.2 of the asyncapi cli and version 3.5.3 of modelina and ran the following command:
asyncapi generate models csharp ./asyncapi.json --namespace=Test --output=Models --csharpSystemJson
Our async api specification is defined in version 2.4.0.
🥦 Browser
Mozilla Firefox
👀 Have you checked for similar open issues?

[X] I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

Are you willing to work on this issue ?
Yes I am willing to submit a PR!

@jespitae feel free to provide a PR :v: I don't think the next version has this solved 🤔 Just remember that enums can be any valid JSON value 🙂

@jonaslagoni In that case maybe it's better to change the parameter type of the To... extension method to dynamic. I'll provide a PR.


Clarify MIDL3.0 parameter behavior with keywords

Clarify the behavior of parameters to methods in MIDL 3.0 when the
modifier keywords out, ref, or ref const are used.

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

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


Error getting video url

In last version I get:
Error getting video url: Error: Command failed: /var/www/back/node_modules/youtube-dl/bin/youtube-dl --dump-json --force-ipv4 --format=18 http://www.youtube.com/watch?v=k4YRWT_Aldo
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/var/www/telll/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1225, in _decrypt_signature
video_id, player_url, s
File "/var/www/telll/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1133, in _extract_signature_function
res = self._parse_sig_js(code)
File "/var/www/telll/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1200, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/var/www/telll/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/jsinterp.py", line 245, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'encodeURIComponent'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
(caused by ExtractorError(u"Could not find JS function u'encodeURIComponent'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Can someone help?

It's a recurrent issue at youtube-dl sorry if I can't provide more context


Give Awake a shortcut key

Description of the new feature / enhancement
Give PowerToys Awake a shortcut key to quickly edit settings without having to fully open the PowerToys settings window.
Scenario when this would be used?
When quickly swapping from Off (Passive) to Keep Awake Indefinitely, having a shortcut key would reduce the number of steps required and make the feature more appealing.
Supporting information
A shortcut like win + shift + a could be a good option as a default.

I think it make sense to have shortcut for toggle between "off" and "last selected mode" or having the shortcut and a setting to choose which mode should be enabled.

Good idea to investigate - thank you. I will include that in the vNext spec requirements.

Duplicate of #12661.


Windows on launch path is set to AppData folder

After installing when I open terminus the root path is set to
C:\Users(user name)\AppData\Local\Terminus\app-1.0.0-alpha15\

This is already fixed in later releases

Thanks, love terminus btw great job.


Install tools added

Install tools added.
Users can install and uninstall easily.

self LGTM...self....


Feature : Assets groups with different options ?

Hi (this is a question not an issue)
Could it be possible to implement a way to create groups of assets on which we could define specific options instead of only having access to global options ? :thinking: https://github.com/JeffreyWay/laravel-mix/blob/master/src/Api.js#L483
My concrete use case is :
I work for a company which has a website and a custom backend/cms. We just added a super-cool-new-user-interface using VueJS. Now we want to send ourselves slack notifications when a client experiences JavaScript errors.
Therefore we need to generate sourcemaps in production (to have useful stacktraces), but there is no easy way to generate sourcemaps ONLY for the .js files used in this new user-interface.  :/
I managed to hack something that works, but I was wondering if it could be done directly in laravel-mix ?
Thanks ! :slightly_smiling_face:

AFAIK it's not possible.
Can I ask you to explain how "you managed to hack something that works"?
Need it for a similar case.

(sorry for the delay, I was in vacation :palm_tree: )
@FaridAghili it's too disparate to be copy/pasted, so I'll try to explain it...
First, I must say that we already had altered the webpack.mix.js to counter the problem when we try to build assets in production while clients are accessing the website (it caused mix file not found errors because the manifest file reference files that have not been re-builded yet). To counter that we had to implement more steps while building assets : first we copy the currently builded assets directory into a new one, we re-write the current manifest file to point to that new directory, then we change the filename of the new manifest we are about to build ( Mix.manifest.name = 'mix-manifest-new.json'; ). After it's finished, we move the new manifest in place of the old one and delete the old assets dir.
Based on that, I separated each assets into groups (ex 'frontend', 'backend', etc) which I can build all at the same time using npm run prod, or separately using environment variables in front of the command. This way I can enable the generation of sourcemaps when we are specifically building only the group in which we want sourcemaps generated. Now it gets complicated because the manifest file generated will contain only the assets inside the specific group we are building ! So I had to merge the new manifest into the old one to keep track of builded assets that are considered "unchanged". (but it was not so hard because we already had a system that separated the old manifest from the new one).
In the end, this makes the webpack.mix file very complicated to understand and everytime I build assets in production I'm afraid that everything will explode... but so far it has not happened ! :crossed_fingers:
Hope it helps !

Thank you so much for detailed explanation.
Yes, it helped, thank you.


puppet: Cast tornado_processes to Integer.

That value can be read out of the configuration file as a string and
needs to be converted to Integer for the comparison
if $tornado_processes > 1
to work.

Merged d8ea649869981c0c6f1ee69d17d857cc3e24e2fa for this PR after testing in production.  Thanks @mateuszmandera and @andersk!


Front-end promts are not friendly due to an error caused in back-end

If I click the Add button very quickly, I will get this error.
To be honest, this error is normal, but it looks very strange for user, which is confusing.

This is because backend alway use panic to handle errors in many places

@sh1luo we should fix it, return error and respond error message

I would like to work on it. @hsluoyz.

I would like to work on it. @hsluoyz.


Read/write Tessellate tag in KML format

Write also altitudeMode and extrude properties.

@bartvde @fredj  any interests to review this PR?

@bartvde thx for the review


tweet.retweeters() repeating cursors

There seems to be an issue with cursors repeating after pagination. This seems to be true for every tweet that has more than the limit set by the request.
Instead of returning an empty value when no next results, it instead returns the previous cursor, making the last request repeat infinitely.
An obvious short term solution is to check for a repeating cursor and stop iterating on that, but im not sure if there are any deeper issues involved.

Instead of returning an empty value when no next results, it instead returns the previous cursor, making the last request repeat infinitely.

Unfortunately, that's how the Twitter Web API works.

An obvious short term solution is to check for a repeating cursor and stop iterating on that

Seems like a viable solutions, on it.

Currently, the way to check if the results have been exhausted is by checking if length of list field of the response is zero or not. If it's zero, then results have been exhausted. But yeah, a no cursor might have been better.


RequestHeaders should provide access to raw information

So that you can work with unknown headers a bit easier.

The following was added

Keys property
Values property
Implemented IEnumerable<KeyValuePair<string, IEnumerable<string>>>


Fix debugging for code that was already executed

Typical iOS application is always in an entry scope, because the UIApplicationMain method never finishes. On debugger attach the debugger agent tries to recreate the bytecode so that it could insert all opt debug codes. Since the vm is in an entry scope the recreation never happens. So to workaround this problem we execute all listeners when the run loop is idle and if the current entry scope is the UIApplicationMain
Fixes #315

👍


Windows OpenSSL 1.1+ builds shared when BUILD_SHARED=OFF

Fixed in https://github.com/ruslo/hunter/pull/1245


DowloadShare.fromBuffer storage files shares test failing

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1328055&view=logs&j=0e119b68-c922-5ad7-2413-fa5b213ae9b8&t=502cd50d-53e8-51de-5d28-96b76afcaf7e
From the recent CI run after an unrelated commit got checked in:
https://github.com/Azure/azure-sdk-for-cpp/commits/main (see latest commit from Jan 26)
https://github.com/Azure/azure-sdk-for-cpp/pull/3276
The following tests FAILED:
476 - azure-storage-files-shares.withParam/DowloadShare.fromBuffer/c4s8388608o0l1024ics1024cs1024 (Failed)
https://github.com/Azure/azure-sdk-for-cpp/blob/20bb1ec276f384fffd62755a27fa1df172ad1703/sdk/storage/azure-storage-files-shares/test/ut/share_file_client_test.cpp#L531
At a quick glance at the logs, it isn't clear what the issue is. It might be worth writing the test, so that a failure indicates more clearly what went wrong, rather than emitting the "80-byte object" as raw bytes. There is no call stack, or source code line number either, so can't tell which EXPECT_EQ assert call ends up failing. Presumably it's this:
https://github.com/Azure/azure-sdk-for-cpp/blob/20bb1ec276f384fffd62755a27fa1df172ad1703/sdk/storage/azure-storage-files-shares/test/ut/share_file_client_test.cpp#L596
cc @vhvb1989 any ideas on how to improve test writing strategies here?
2022-01-26T22:17:02.5259527Z test 476
2022-01-26T22:17:02.5260835Z         Start 476: azure-storage-files-shares.withParam/DowloadShare.fromBuffer/c4s8388608o0l1024ics1024cs1024
2022-01-26T22:17:02.5261393Z
2022-01-26T22:17:02.5262886Z 476: Test command: /mnt/vss/_work/1/s/build/sdk/storage/azure-storage-files-shares/test/ut/azure-storage-files-shares-test "--gtest_filter=withParam/DowloadShare.fromBuffer/c4s8388608o0l1024ics1024cs1024" "--gtest_also_run_disabled_tests"
2022-01-26T22:17:02.5264666Z 476: Test timeout computed to be: 10000000
2022-01-26T22:17:02.5329733Z 476: Running main() from /mnt/vss/_work/1/s/build/_deps/googletest-src/googletest/src/gtest_main.cc
2022-01-26T22:17:02.5331645Z 476: Note: Google Test filter = withParam/DowloadShare.fromBuffer/c4s8388608o0l1024ics1024cs1024
2022-01-26T22:17:02.5333247Z 476: [==========] Running 1 test from 1 test suite.
2022-01-26T22:17:02.5334956Z 476: [----------] Global test environment set-up.
2022-01-26T22:17:02.5336345Z 476: [----------] 1 test from withParam/DowloadShare
2022-01-26T22:17:02.5337314Z 476: [ RUN      ] withParam/DowloadShare.fromBuffer/c4s8388608o0l1024ics1024cs1024
2022-01-26T22:17:02.5338876Z 476: [2022-01-26T22:17:02.5329924Z] INFO  : HTTP Request : PUT https://***.file.core.windows.net/withparam-dowloadsharefrombuffer-c4s8388608o0l1024ics1024cs1024?restype=REDACTED
2022-01-26T22:17:02.5340058Z 476: authorization : REDACTED
2022-01-26T22:17:02.5340995Z 476: content-length : 0
2022-01-26T22:17:02.5342240Z 476: user-agent : azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1067-azure x86_64 #70~18.04.1-Ubuntu SMP Thu Jan 13 19:46:01 UTC 2022)
2022-01-26T22:17:02.5343531Z 476: x-ms-client-request-id : 52634dac-a232-47f1-6dda-19cfd1a7a362
2022-01-26T22:17:02.5344519Z 476: x-ms-date : REDACTED
2022-01-26T22:17:02.5345484Z 476: x-ms-version : REDACTED
2022-01-26T22:17:02.5346987Z 476: [2022-01-26T22:17:02.5330340Z] DEBUG : [CURL Transport Adapter]: Creating a new session.
2022-01-26T22:17:02.5348317Z 476: [2022-01-26T22:17:02.5330539Z] DEBUG : [CURL Transport Adapter]: Spawn new connection.
2022-01-26T22:17:02.5512344Z 476: [2022-01-26T22:17:02.5508276Z] DEBUG : [CURL Transport Adapter]: No Host in request headers. Adding it
2022-01-26T22:17:02.5514193Z 476: [2022-01-26T22:17:02.5508679Z] DEBUG : [CURL Transport Adapter]: Using 100-continue for PUT request
2022-01-26T22:17:02.5516098Z 476: [2022-01-26T22:17:02.5508820Z] DEBUG : [CURL Transport Adapter]: Send request without payload
2022-01-26T22:17:02.5517652Z 476: [2022-01-26T22:17:02.5509419Z] DEBUG : [CURL Transport Adapter]: Parse server response
2022-01-26T22:17:02.5761683Z 476: [2022-01-26T22:17:02.5756353Z] DEBUG : [CURL Transport Adapter]: Check server response before upload starts
2022-01-26T22:17:02.5763847Z 476: [2022-01-26T22:17:02.5756854Z] DEBUG : [CURL Transport Adapter]: Server rejected the upload request
2022-01-26T22:17:02.5765739Z 476: [2022-01-26T22:17:02.5757010Z] DEBUG : [CURL Transport Adapter]: Request completed. Moving response out of session and session to response.
2022-01-26T22:17:02.5770170Z 476: [2022-01-26T22:17:02.5766351Z] INFO  : HTTP Response (43ms) : 500 Server encountered an internal error. Please try again after some time.
2022-01-26T22:17:02.5771621Z 476: connection : close
2022-01-26T22:17:02.5772839Z 476: content-length : 253
2022-01-26T22:17:02.5774052Z 476: content-type : application/xml
2022-01-26T22:17:02.5775134Z 476: date : Wed, 26 Jan 2022 22:17:01 GMT
2022-01-26T22:17:02.5776481Z 476: server : Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
2022-01-26T22:17:02.5777918Z 476: x-ms-client-request-id : 52634dac-a232-47f1-6dda-19cfd1a7a362
2022-01-26T22:17:02.5779223Z 476: x-ms-error-code : REDACTED
2022-01-26T22:17:02.5780549Z 476: x-ms-request-id : 1d8abe1d-c01a-0094-0e02-1381e5000000
2022-01-26T22:17:02.5781823Z 476: x-ms-version : REDACTED
2022-01-26T22:17:02.5783137Z 476: [2022-01-26T22:17:02.5766760Z] INFO  : HTTP status code 500 will be retried.
2022-01-26T22:17:02.5784334Z 476: [2022-01-26T22:17:02.5767001Z] INFO  : HTTP Retry attempt #1 will be made in 4880ms.
2022-01-26T22:17:07.4579365Z 476: [2022-01-26T22:17:07.4570339Z] INFO  : HTTP Request : PUT https://***.file.core.windows.net/withparam-dowloadsharefrombuffer-c4s8388608o0l1024ics1024cs1024?restype=REDACTED
2022-01-26T22:17:07.4582111Z 476: authorization : REDACTED
2022-01-26T22:17:07.4584336Z 476: content-length : 0
2022-01-26T22:17:07.4587079Z 476: user-agent : azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1067-azure x86_64 #70~18.04.1-Ubuntu SMP Thu Jan 13 19:46:01 UTC 2022)
2022-01-26T22:17:07.4589705Z 476: x-ms-client-request-id : 52634dac-a232-47f1-6dda-19cfd1a7a362
2022-01-26T22:17:07.4592096Z 476: x-ms-date : REDACTED
2022-01-26T22:17:07.4593892Z 476: x-ms-version : REDACTED
2022-01-26T22:17:07.4596128Z 476: [2022-01-26T22:17:07.4570918Z] DEBUG : [CURL Transport Adapter]: Creating a new session.
2022-01-26T22:17:07.4598511Z 476: [2022-01-26T22:17:07.4571119Z] DEBUG : [CURL Transport Adapter]: Spawn new connection.
2022-01-26T22:17:07.4742006Z 476: [2022-01-26T22:17:07.4736271Z] DEBUG : [CURL Transport Adapter]: No Host in request headers. Adding it
2022-01-26T22:17:07.4743593Z 476: [2022-01-26T22:17:07.4736717Z] DEBUG : [CURL Transport Adapter]: Using 100-continue for PUT request
2022-01-26T22:17:07.4744876Z 476: [2022-01-26T22:17:07.4736854Z] DEBUG : [CURL Transport Adapter]: Send request without payload
2022-01-26T22:17:07.4746114Z 476: [2022-01-26T22:17:07.4737333Z] DEBUG : [CURL Transport Adapter]: Parse server response
2022-01-26T22:17:07.4806667Z 476: [2022-01-26T22:17:07.4801699Z] DEBUG : [CURL Transport Adapter]: Check server response before upload starts
2022-01-26T22:17:07.4808867Z 476: [2022-01-26T22:17:07.4802008Z] DEBUG : [CURL Transport Adapter]: Server rejected the upload request
2022-01-26T22:17:07.4811132Z 476: [2022-01-26T22:17:07.4802125Z] DEBUG : [CURL Transport Adapter]: Request completed. Moving response out of session and session to response.
2022-01-26T22:17:07.4814111Z 476: [2022-01-26T22:17:07.4811260Z] INFO  : HTTP Response (24ms) : 409 The specified share already exists.
2022-01-26T22:17:07.4816163Z 476: content-length : 222
2022-01-26T22:17:07.4817792Z 476: content-type : application/xml
2022-01-26T22:17:07.4819101Z 476: date : Wed, 26 Jan 2022 22:17:07 GMT
2022-01-26T22:17:07.4820730Z 476: server : Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
2022-01-26T22:17:07.4822864Z 476: x-ms-client-request-id : 52634dac-a232-47f1-6dda-19cfd1a7a362
2022-01-26T22:17:07.4824755Z 476: x-ms-error-code : REDACTED
2022-01-26T22:17:07.4826644Z 476: x-ms-request-id : fe5fefe2-501a-00d5-1602-13a9f6000000
2022-01-26T22:17:07.4827852Z 476: x-ms-version : REDACTED
2022-01-26T22:17:07.4828963Z 476: [2022-01-26T22:17:07.4811670Z] WARN  : HTTP status code 409 won't be retried.
2022-01-26T22:17:07.4829863Z 476: unknown file: Failure
2022-01-26T22:17:07.4830667Z 476: C++ exception with description "409 The specified share already exists.
2022-01-26T22:17:07.4831477Z 476: The specified share already exists.
2022-01-26T22:17:07.4832421Z 476: RequestId:fe5fefe2-501a-00d5-1602-13a9f6000000
2022-01-26T22:17:07.4833377Z 476: Time:2022-01-26T22:17:07.4847571Z
2022-01-26T22:17:07.4834376Z 476: Request ID: fe5fefe2-501a-00d5-1602-13a9f6000000" thrown in SetUp().
2022-01-26T22:17:07.4835845Z 476: [2022-01-26T22:17:07.4821989Z] INFO  : HTTP Request : DELETE https://***.file.core.windows.net/withparam-dowloadsharefrombuffer-c4s8388608o0l1024ics1024cs1024?restype=REDACTED
2022-01-26T22:17:07.4837065Z 476: authorization : REDACTED
2022-01-26T22:17:07.4838345Z 476: user-agent : azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1067-azure x86_64 #70~18.04.1-Ubuntu SMP Thu Jan 13 19:46:01 UTC 2022)
2022-01-26T22:17:07.4839548Z 476: x-ms-client-request-id : dedbdc21-471e-41e7-507b-ab0bd3993b83
2022-01-26T22:17:07.4840460Z 476: x-ms-date : REDACTED
2022-01-26T22:17:07.4841360Z 476: x-ms-delete-snapshots : REDACTED
2022-01-26T22:17:07.4842223Z 476: x-ms-version : REDACTED
2022-01-26T22:17:07.4843496Z 476: [2022-01-26T22:17:07.4822309Z] DEBUG : [CURL Transport Adapter]: Creating a new session.
2022-01-26T22:17:07.4845256Z 476: [2022-01-26T22:17:07.4822515Z] DEBUG : [CURL Transport Adapter]: Spawn new connection.
2022-01-26T22:17:07.4979745Z 476: [2022-01-26T22:17:07.4975887Z] DEBUG : [CURL Transport Adapter]: No Host in request headers. Adding it
2022-01-26T22:17:07.4981479Z 476: [2022-01-26T22:17:07.4976237Z] DEBUG : [CURL Transport Adapter]: No content-length in headers. Adding it
2022-01-26T22:17:07.4982751Z 476: [2022-01-26T22:17:07.4976431Z] DEBUG : [CURL Transport Adapter]: Send request without payload
2022-01-26T22:17:07.4983956Z 476: [2022-01-26T22:17:07.4977595Z] DEBUG : [CURL Transport Adapter]: Parse server response
2022-01-26T22:17:07.5102857Z 476: [2022-01-26T22:17:07.5097270Z] DEBUG : [CURL Transport Adapter]: Request completed. Moving response out of session and session to response.
2022-01-26T22:17:07.5105578Z 476: [2022-01-26T22:17:07.5097709Z] DEBUG : Moving connection to pool...
2022-01-26T22:17:07.5107894Z 476: [2022-01-26T22:17:07.5097894Z] DEBUG : Start clean thread
2022-01-26T22:17:07.5109214Z 476: [2022-01-26T22:17:07.5098749Z] INFO  : HTTP Response (27ms) : 202 Accepted
2022-01-26T22:17:07.5110298Z 476: content-length : 0
2022-01-26T22:17:07.5111207Z 476: date : Wed, 26 Jan 2022 22:17:07 GMT
2022-01-26T22:17:07.5112284Z 476: server : Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
2022-01-26T22:17:07.5113400Z 476: x-ms-client-request-id : dedbdc21-471e-41e7-507b-ab0bd3993b83
2022-01-26T22:17:07.5114510Z 476: x-ms-request-id : 760fee37-501a-0019-3002-13cd43000000
2022-01-26T22:17:07.5115515Z 476: x-ms-version : REDACTED
2022-01-26T22:17:07.5116668Z 476: [2022-01-26T22:17:07.5099363Z] WARN  : HTTP status code 202 won't be retried.
2022-01-26T22:17:07.5118269Z 476: [2022-01-26T22:17:07.5101646Z] INFO  : HTTP Request : DELETE https://***.file.core.windows.net/withparam-dowloadsharefrombuffer-c4s8388608o0l1024ics1024cs1024?restype=REDACTED
2022-01-26T22:17:07.5119383Z 476: authorization : REDACTED
2022-01-26T22:17:07.5120674Z 476: user-agent : azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1067-azure x86_64 #70~18.04.1-Ubuntu SMP Thu Jan 13 19:46:01 UTC 2022)
2022-01-26T22:17:07.5121959Z 476: x-ms-client-request-id : 07216bd0-6838-4e4f-535c-74e9159f75c5
2022-01-26T22:17:07.5122957Z 476: x-ms-date : REDACTED
2022-01-26T22:17:07.5123891Z 476: x-ms-version : REDACTED
2022-01-26T22:17:07.5125325Z 476: [2022-01-26T22:17:07.5101923Z] DEBUG : [CURL Transport Adapter]: Creating a new session.
2022-01-26T22:17:07.5126670Z 476: [2022-01-26T22:17:07.5102132Z] DEBUG : [CURL Transport Adapter]: Re-using connection from the pool.
2022-01-26T22:17:07.5127998Z 476: [2022-01-26T22:17:07.5102383Z] DEBUG : [CURL Transport Adapter]: No Host in request headers. Adding it
2022-01-26T22:17:07.5129359Z 476: [2022-01-26T22:17:07.5102669Z] DEBUG : [CURL Transport Adapter]: No content-length in headers. Adding it
2022-01-26T22:17:07.5130667Z 476: [2022-01-26T22:17:07.5102886Z] DEBUG : [CURL Transport Adapter]: Send request without payload
2022-01-26T22:17:07.5131961Z 476: [2022-01-26T22:17:07.5103975Z] DEBUG : [CURL Transport Adapter]: Parse server response
2022-01-26T22:17:07.5157731Z 476: [2022-01-26T22:17:07.5148702Z] DEBUG : [CURL Transport Adapter]: Request completed. Moving response out of session and session to response.
2022-01-26T22:17:07.5159778Z 476: [2022-01-26T22:17:07.5149702Z] DEBUG : Moving connection to pool...
2022-01-26T22:17:07.5161367Z 476: [2022-01-26T22:17:07.5150176Z] DEBUG : Clean thread running. Won't start a new one.
2022-01-26T22:17:07.5162528Z 476: [2022-01-26T22:17:07.5150955Z] INFO  : HTTP Response (4ms) : 202 Accepted
2022-01-26T22:17:07.5163496Z 476: content-length : 0
2022-01-26T22:17:07.5164247Z 476: date : Wed, 26 Jan 2022 22:17:07 GMT
2022-01-26T22:17:07.5165190Z 476: server : Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
2022-01-26T22:17:07.5166215Z 476: x-ms-client-request-id : 07216bd0-6838-4e4f-535c-74e9159f75c5
2022-01-26T22:17:07.5167245Z 476: x-ms-request-id : 760fee3a-501a-0019-3102-13cd43000000
2022-01-26T22:17:07.5168143Z 476: x-ms-version : REDACTED
2022-01-26T22:17:07.5169152Z 476: [2022-01-26T22:17:07.5151607Z] WARN  : HTTP status code 202 won't be retried.
2022-01-26T22:17:07.5170628Z 476: [2022-01-26T22:17:07.5153912Z] INFO  : HTTP Request : DELETE https://***.file.core.windows.net/withparam-dowloadsharefrombuffer-c4s8388608o0l1024ics1024cs1024?restype=REDACTED
2022-01-26T22:17:07.5171650Z 476: authorization : REDACTED
2022-01-26T22:17:07.5172816Z 476: user-agent : azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1067-azure x86_64 #70~18.04.1-Ubuntu SMP Thu Jan 13 19:46:01 UTC 2022)
2022-01-26T22:17:07.5174003Z 476: x-ms-client-request-id : f3b2da1d-ad36-4f73-6553-72f969417cad
2022-01-26T22:17:07.5175124Z 476: x-ms-date : REDACTED
2022-01-26T22:17:07.5175994Z 476: x-ms-delete-snapshots : REDACTED
2022-01-26T22:17:07.5176851Z 476: x-ms-version : REDACTED
2022-01-26T22:17:07.5177900Z 476: [2022-01-26T22:17:07.5154167Z] DEBUG : [CURL Transport Adapter]: Creating a new session.
2022-01-26T22:17:07.5179109Z 476: [2022-01-26T22:17:07.5154367Z] DEBUG : [CURL Transport Adapter]: Re-using connection from the pool.
2022-01-26T22:17:07.5180322Z 476: [2022-01-26T22:17:07.5154648Z] DEBUG : [CURL Transport Adapter]: No Host in request headers. Adding it
2022-01-26T22:17:07.5181544Z 476: [2022-01-26T22:17:07.5154848Z] DEBUG : [CURL Transport Adapter]: No content-length in headers. Adding it
2022-01-26T22:17:07.5182759Z 476: [2022-01-26T22:17:07.5155066Z] DEBUG : [CURL Transport Adapter]: Send request without payload
2022-01-26T22:17:07.5183939Z 476: [2022-01-26T22:17:07.5157774Z] DEBUG : [CURL Transport Adapter]: Parse server response
2022-01-26T22:17:07.5199219Z 476: [2022-01-26T22:17:07.5194671Z] DEBUG : [CURL Transport Adapter]: Request completed. Moving response out of session and session to response.
2022-01-26T22:17:07.5201226Z 476: [2022-01-26T22:17:07.5195007Z] DEBUG : Moving connection to pool...
2022-01-26T22:17:07.5202538Z 476: [2022-01-26T22:17:07.5195200Z] DEBUG : Clean thread running. Won't start a new one.
2022-01-26T22:17:07.5203804Z 476: [2022-01-26T22:17:07.5195534Z] INFO  : HTTP Response (4ms) : 202 Accepted
2022-01-26T22:17:07.5204862Z 476: content-length : 0
2022-01-26T22:17:07.5205688Z 476: date : Wed, 26 Jan 2022 22:17:07 GMT
2022-01-26T22:17:07.5206723Z 476: server : Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0
2022-01-26T22:17:07.5207824Z 476: x-ms-client-request-id : f3b2da1d-ad36-4f73-6553-72f969417cad
2022-01-26T22:17:07.5209257Z 476: x-ms-request-id : 760fee3c-501a-0019-3202-13cd43000000
2022-01-26T22:17:07.5210677Z 476: x-ms-version : REDACTED
2022-01-26T22:17:07.5211840Z 476: [2022-01-26T22:17:07.5195810Z] WARN  : HTTP status code 202 won't be retried.
2022-01-26T22:17:07.5213996Z 476: [  FAILED  ] withParam/DowloadShare.fromBuffer/c4s8388608o0l1024ics1024cs1024, where GetParam() = 80-byte object <04-00 00-00 AE-55 00-00 00-00 80-00 00-00 00-00 00-00 00-00 00-00 00-00 01-30 30-20 41-45 2D-35 00-04 00-00 00-00 00-00 01-30 2D-30 34-20 30-30 00-04 00-00 00-00 00-00 01-20 30-30 2D-30 30-3E 00-04 00-00 00-00 00-00 01-00 00-00 00-00 00-00> (4987 ms)
2022-01-26T22:17:07.5215730Z 476: [----------] 1 test from withParam/DowloadShare (4987 ms total)
2022-01-26T22:17:07.5216583Z 476:
2022-01-26T22:17:07.5217842Z 476: [----------] Global test environment tear-down
2022-01-26T22:17:07.5219162Z 476: [==========] 1 test from 1 test suite ran. (4987 ms total)
2022-01-26T22:17:07.5220417Z 476: [  PASSED  ] 0 tests.
2022-01-26T22:17:07.5221558Z 476: [  FAILED  ] 1 test, listed below:
2022-01-26T22:17:07.5224213Z 476: [  FAILED  ] withParam/DowloadShare.fromBuffer/c4s8388608o0l1024ics1024cs1024, where GetParam() = 80-byte object <04-00 00-00 AE-55 00-00 00-00 80-00 00-00 00-00 00-00 00-00 00-00 00-00 01-30 30-20 41-45 2D-35 00-04 00-00 00-00 00-00 01-30 2D-30 34-20 30-30 00-04 00-00 00-00 00-00 01-20 30-30 2D-30 30-3E 00-04 00-00 00-00 00-00 01-00 00-00 00-00 00-00>
2022-01-26T22:17:07.5225942Z 476:
2022-01-26T22:17:07.5227007Z 476:  1 FAILED TEST
2022-01-26T22:17:07.5228844Z 469/531 Test #476: azure-storage-files-shares.withParam/DowloadShare.fromBuffer/c4s8388608o0l1024ics1024cs1024 .......***Failed    5.00 sec

All the logs makes it hard to see 😝.  We get azure-sdk logs scrambled with gtest logs.
But, there’s this info at some point in the logs:
: unknown file: Failure
476: C++ exception with description "409 The specified share already exists.
476: The specified share already exists.
476: RequestId:fe5fefe2-501a-00d5-1602-13a9f6000000
476: Time:2022-01-26T22:17:07.4847571Z
476: Request ID: fe5fefe2-501a-00d5-1602-13a9f6000000" thrown in SetUp().
This means that the test didn’t even run and throw during SetUp().  While it was trying to create a share, it was already there.
The easy way to prevent this is by using CreateIfDoesnExists()  instead od just Create().  So we don’t throw.
I think this is intermittent.

intermittent, close the issue


Newest 2.0.6 version from today 09/10 is not working

The extension has always worked perfectly as intended.
Apparently today the new 2.0.6 update was pushed and... the extension no longer works. It's as if it were not there: having it disabled or enabled leads to exactly the same result on youtube.

As of today 9/14 , the issue seems to have disappeared. Version has updated to 2.0.7


Created infra for WLS Logging Exporter and converted related tests to use JUnit5

Use case

Created unit methods in Junit 5 test framework to install WebLogic Logging Exporter
Install Kibana/Elasticsearch, install and start Operator with ELK Stack enabled and install WebLogic logging exporter in all WebLogic server pods
Create and start the WebLogic domain
Test WebLogic Logging Exporter by verify that Using WebLogic logging exporter,

WebLogic server Logs is integrated to ELK Stack in the same pod that the domain is running on
Log hits for WebLogic servers are not empty
Filters is applied to all the messages

Remove ItElasticLogging.java from Junit4 Directory in the current PR, if you covered the usecase

Not ready to remove yet, Pani, testWebLogicLogSearch() is not integrated due to the issue described in JIRA OWLS-84057


ControlNet not working

I haven't used controlnet in a bit (though I used to use it all the time).  I just tried and got the following error message multiple times.  Any easy fix for this?
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/gradio/routes.py", line 422, in run_predict
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1326, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1260, in postprocess_data
prediction_value = block.postprocess(prediction_value)
File "/usr/local/lib/python3.10/dist-packages/gradio/components.py", line 4461, in postprocess
file = self.pil_to_temp_file(img, dir=self.DEFAULT_TEMP_DIR)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/ui_tempdir.py", line 55, in save_pil_to_file
file_obj = tempfile.NamedTemporaryFile(delete=False, suffix=".png", dir=dir)
File "/usr/lib/python3.10/tempfile.py", line 698, in NamedTemporaryFile
file = _io.open(dir, mode, buffering=buffering,
File "/usr/lib/python3.10/tempfile.py", line 695, in opener
fd, name = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
File "/usr/lib/python3.10/tempfile.py", line 395, in _mkstemp_inner
fd = _os.open(file, flags, 0o600)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/gradio/tmpg6znuoi9.png'

in a new cell, run !mkdir /tmp/gradio

thanks!


Welcome Tomasz and Lukasz to the team!

Tomasz and Lukasz are engineers at VirtusLab who have recently
contributed nice improvements to the BSP specifications along with
server/client implementation in Bloop, Metals and IntelliJ.  I'd like to
welcome them to the team to recognize their valuable contributions and so
they can merge PRs, help manage the issue tracker and trigger new
releases.

Thanks @olafurpg !

Thanks!

Welcome to the team!


[Bug]:   Right side content padding or inset is inconsistent with left side

Version

[X] I'm using version 1.11.0

Known issues

[X] I've checked Known issues

Existing issues

[X] I've checked Existing issues

What operating system are you using?
macOS
Operating System Version
macOS Monterey 12.5.1
Reproduction steps

A mini break or long break starts
The UI inconsistency happens
...
Reproduces how often: [What percentage of the time does it reproduce?]

100%
Expected Behavior
The padding on both side of the content should be the same.
Actual Behavior

When Stretchly is displayed on a vertical screen resolution, the content inset, or the padding, on the right side is not the same as left side. See the padding of the timer's progress bar is 0 pixels to the right edge.
In Apple's autolayout words, the leading and trailing constraints aren't symmetric. In SwiftUI words, the left and right padding aren't the same, and the detail content view needs more right padding.
Relevant log output
No response
Preferences
No response
Additional information
No response
Code of Conduct

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

What's your resolution? I am testing on my screen and all looks fine.

What's your resolution? I am testing on my screen and all looks fine.

It is 1080x1920, using the default setting

TBH, I am not sure. I've checked the CSS code and I see no issue :(

I'm OK to close this issue as it is not a functional problem. I can also take a glance if you can point me to the code that places the text boxes. Thank you again for creating this tool!

Can confirm this bug. Happening on my 1080x1920 monitor as well. Using the fullscreen option.

After checking the CSS, I believe that this is causing the bug:
https://github.com/hovancik/stretchly/blob/481a0b72f9d4c176f1f620d5982d49e66895fb93/app/css/commons.css#L168-L172
The width is checking the viewport height (usingvh), and should be checking the width (using vw).

@adevade great, do you wanna create a PR? It would help as I was not able to reproduce this on my monitor.

@hovancik I created a Codepen that demonstrates a solution.
The grid has 100px on each side of the content. This gets too narrow on tall screens. The width of my vertical monitor is 1080px, but half the height 50vh = 1920px/2 = 960px. Then add the grid padding of 200px 960+200 = 1160px. So the progress bar is wider than the screen, and overflows to the right.
I think using only 50vw will make the progress bar much wider on horizontal screens than it is today. Using min(50vw, 50vh) will use the smallest available of the two. This should fix the issue on vertical screens and keep the same width as before on horizontal screens.
If you think this is a good solution I can submit a simple PR with this change 👍

Looks good 👍


Python3 upgrade

ported code to python 3 using 2to3
added a script to init the test database, called by test.sh (project_tests.sh preserved)
cleaned up requirements.txt file, removing transitive and unused dependencies
added a requirements.lock file
bumps Flask version, fixing CVE 2019 1010083
added some basic linting and scrubbing

there are three deprecation warnings that I know of, only one within our control. It's for the deprecated imp module (also present in boto) and the crazy stuff we're doing loading configuration. To fix it I would tear that logic out and replace it with lax/metrics/observer/bio are doing and reading from a simple .cfg file. This would require some formula wrangling as there are three almost identical config files in play.
The other deprecation warning is coming from a Flask library that does session handling (I think?) and a ticket already exists for it: https://github.com/fengsp/flask-session/issues/99

now this is something I haven't seen before:

[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out: ----------
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:           ID: install-elife-article-scheduler
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:     Function: cmd.run
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:         Name: ./install.sh
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:       Result: False
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:      Comment: Command "./install.sh" run
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:      Started: 03:56:16.392345
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:     Duration: 50222.361 ms
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:      Changes:
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:               ----------
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:               pid:
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                   4367
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:               retcode:
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                   2
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:               stderr:
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                   Exception:
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                   Traceback (most recent call last):
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                     File "/usr/lib/python3.6/shutil.py", line 544, in move
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                       os.rename(src, real_dst)
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                   FileNotFoundError: [Errno 2] No such file or directory: '/srv/elife-article-scheduler/venv/bin/__pycache__/django-admin.cpython-36.pyc' -> '/tmp/pip-2bct5b35-uninstall/srv/elife-article-scheduler/venv/bin/__pycache__/django-admin.cpython-36.pyc'
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                   During handling of the above exception, another exception occurred:
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                   Traceback (most recent call last):
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                     File "/srv/elife-article-scheduler/venv/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                       status = self.run(options, args)
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                     File "/srv/elife-article-scheduler/venv/lib/python3.6/site-packages/pip/commands/install.py", line 360, in run
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                       prefix=options.prefix_path,
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                     File "/srv/elife-article-scheduler/venv/lib/python3.6/site-packages/pip/req/req_set.py", line 778, in install
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                       requirement.uninstall(auto_confirm=True)
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                     File "/srv/elife-article-scheduler/venv/lib/python3.6/site-packages/pip/req/req_install.py", line 754, in uninstall
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                       paths_to_remove.remove(auto_confirm)
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                     File "/srv/elife-article-scheduler/venv/lib/python3.6/site-packages/pip/req/req_uninstall.py", line 115, in remove
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                       renames(path, new_path)
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                     File "/srv/elife-article-scheduler/venv/lib/python3.6/site-packages/pip/utils/__init__.py", line 267, in renames
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                       shutil.move(old, new)
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                     File "/usr/lib/python3.6/shutil.py", line 558, in move
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                       copy_function(src, real_dst)
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                     File "/usr/lib/python3.6/shutil.py", line 257, in copy2
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                       copyfile(src, dst, follow_symlinks=follow_symlinks)
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                     File "/usr/lib/python3.6/shutil.py", line 120, in copyfile
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                       with open(src, 'rb') as fsrc:
[2019-07-29T03:57:28.750Z] [<IP_ADDRESS>] out:                   FileNotFoundError: [Errno 2] No such file or directory: '/srv/elife-article-scheduler/venv/bin/__pycache__/django-admin.cpython-36.pyc'

can't replicate it locally. kicking build

I can't replicate it on vagrant or elife-dashboard--ci with highstate or ./install.sh or the switch_revision command alfred was using.

and now it effing works. Maybe my debugging affected whatever state it was in. grr

@giorgiosironi , could I get you to cast your eye over the changes, please?

after re-locking using the 'compatible' operator the lock file was exactly the same except for one dependency with a patch version (that I ignored)


Paginate method is called on Model, Not Schema.

The README Guide is confusing, Sine :
MySchema.plugin(paginate);
console.log(MySchema.paginate);    //undefined
MyModel = mongoose.model('MyModel', MySchema);
console.log(MyModel.paginate);       //This will work.

+1

Rewrite will happen with ES6 and removal of vows with a switch to prototypical mongoose chaining. Swamped with work.

Readme fixed in https://github.com/edwardhotchkiss/mongoose-paginate/pull/63

Fixed.


external debounce :  int => (unit => unit) [@bs] = "" has attributes formatted away

Becomes external debounce :  int => unit => unit = ""

Closed in favor of #837


Jsl edits

update mentors and contact pages, and add blog links

@eeholmes merging edits, all set for migreation from our side


merge uses a lot of memory

Feature request!
Is it possible for merge to merge files without decompressing and recompressing them?

My usecase:
My parquet generator makes 1GB row groups (in memory), and writes them to individual parquet files. <40MB on disc, one row group per file. (It does this because it can't be bothered to deal with schema variations, another problem.).
I'd like to concatenate these files; take the row group out of any that have the same schema, and make one big file with multiple row groups, with exactly the same schema?
The current merge implementation can do this, but needs >>200GB of memory to merge 8GB of parquet files, which is not ideal.

Hi @FauxFaux - Unfortunately, The current merge command implementation is a very naive (and inefficient as you noted) and is not intended to be used in production.
pqrs uses Apache Arrow for reading and writing parquet files which uses Arrow record batches rather than operating on parquet row groups - from my understanding on the Arrow File API, it is not possible to operate on it without reading the entire file into memory.
When reading record batches via the Arrow reader, currently a chunk size of 2048 rows is used, which might be really small for your usecase (which I suspect is one of the reasons for the very high memory usage). I can try to make that configurable so you can experiment to see the performance with varying chunk sizes. But I am not sure how much performance gain that would lead to.
The best way to merge these parquet files would be using a tool like Spark, Hadoop or Impala.

Don't worry about it! As you noted, I will probably need a custom solution anyway.
I also can't see anything in the Arrow API for accessing the row batches directly, but I wondered if you knew something more, or would consider considering this feature request in future; it doesn't seem like a crazy request to me.

Thanks! I will definitely look into improving the merge command if/when there's a newer API upstream in Arrow.


High zoom level tile source

I've successfully ran through the docker process to generate a (very) small region on my local machine, but even using the GISgraphy sources, I've only been able to get zoom levels up to 14. Is there a source for higher zoom levels? we ultimately want to have small (3-4 sq. km) regions available offline on mobile devices at very high detail.
JIC, I started with the GB.pbf file from GISGraphy, ran through the docker process, and exported using:
docker-compose run   -e BBOX="-2.670708,51.43943,-2.62466,51.454649" -e MIN_ZOOM="12" -e MAX_ZOOM="18" export
and ended up with levels 12-14. Is there somewhere in the osm2Vector process that limits it to 14, or is that source data only to 14?
It looks like the example map on the main website has pretty high detail. Does that use zoom levels higher than 14?

Vector tiles are typically overzoomed - so by default the OSM2VectorTiles project vector tile schema have maxzoom 14 - but you can display and draw the maps, streets, houses, etc. down to zoomlevel 22. No need to render vector tiles deeper.
If you want to change the schema / style for the vector tiles check https://github.com/osm2vectortiles/osm2vectortiles/tree/master/osm2vectortiles.tm2source

Thanks for the quick reply! I'm using the mapbox SDK on iOS/Android, and it seems like overzoom isn't fully supported. The tiles that are already loaded look great over-zoomed, but it doesn't load new tiles when panning once over-zoomed (it looks for, and cannot find, tiles at zoom 15+ for instance). It's a little hard to tell what exactly is in the data from GISgraphy - if I wanted to try changing the schema, would I essentially modify data.yml and add SELECT clauses for the higher zoom levels to all of those UNION ALLS?

Try "OSM2VectorTiles" on iOS or Android (search AppStore / Play). It demos the zoom 14 vector tiles (online and offline) over zoomed without limits.

Looks good! But, is that using MapTiler behind the scenes, or is there just some style.json flag I don't know about? (maybe this now is a mapbox question... but as you guys seem to have it going... )


Add missing runlevels to Default-Start

According to the manual (and the runlevel command), Debian starts in runlevel 2 by default:
https://www.debian.org/doc/manuals/debian-reference/ch03.en.html#_sysv_style_init
So in order for ActiveMQ to start up when a Debian VM starts, you have to add it to these runlevels.
Workaround: insserv -v activemq,start=2
Side-effects:
RedHat doesn't use runlevels 2 and 4, so it should be fine:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/3/html/Reference_Guide/s1-boot-init-shutdown-sysv.html
SLES doesn't use runlevel 4, but it does use runlevel 2 for "Local multiuser mode without remote network (NFS, etc.)":
https://www.suse.com/documentation/sles11/book_sle_admin/data/sec_boot_init.html
So the only side-effect on these systems is that SLES will try to run ActiveMQ in Local multiuser mode without remote network (and probably fail).
I think that is an acceptable side-effect since people booting Debian into runlevel 2 is a lot more common due to it being the default.

Can one of the admins verify this patch?


link breaks when inserting method as parameter

when using the compact() function the link is broken
Inertia::render('foo/bar/page', compact('data'));

the function compact() is interpreted as being part of the link, not stopping at the comma

Thanks for reporting. I'll have a look and fix it ASAP.

This issue have been fixed and released @hebertlima.


Tracking List for 4.1 official release

Items to complete prior to publishing

[ ] #1386
[ ] #1388
[x] #1401
[x] #1411 (part of 1388 but making sure we're tracking here)
[ ] #1408
- In Review stride3d/stride-docs#84
[ ] #1410

Publishing

[ ] Release Notes (Dependent on Item 1386)
[ ] Intermediate tutorials (Dependent on Item 1401)
[ ] 4.0.7 edition of Stride.VisualStudio.Package to NuGet.org from official build (code is ready in 4.0 branch)
[ ] 5.0.6 edition of Stride.Launcher to NuGet.org from official build (Dependent on Item 1411)
[ ] 4.1.0 edition of Stride.VisualStudio.Package to NuGet.org from official build(Dependent on Item 1411)
[ ] 4.1.0.x editions of all main Stride packages to NuGet.org from official build (Probably in concert with S.VS.Package & S.Launcher publish)
[ ] Publish new StrideSetup.exe (Dependent on Item 1410)
[ ] Requirements page (Dependent on Items 1411 & 1408)

Items that can be completed post initial publishing

[ ] Update Stride Launcher page
[ ] Update Getting Started page
[ ] Update Visual Studio Extension page
[ ] Update Launch Stride page
[ ] Scrub other Manual pages and update content and screenshots

Documentation: intemediate PR done
https://github.com/stride3d/stride/pull/1401
I will update the specific section in the release notes later this weekend. https://github.com/stride3d/stride/issues/1386

Now that the tutorials are ready, we should move on with this.

[ ] Stride Web - Home Page

Mention C# 10, .NET 6 (web search / SEO purpose)

[ ] Manual - Features Page

Mention C# 10, .NET 6 (web search / SEO purpose)

[ ] Manual - Install Stride

New screenshots?
No need .NET 4.7.2?

Are you ok with these updates? Or any other wording? I would suggest to mention .NET 6 as it does make an attention
Home Page

Feature Page

I'm fine with that, it's simple and straight to the point

Release new launcher 5.0.6 on NuGet (fixed a bunch of issues with code signing -- we never released StrideSetup.exe since .NET Foundation code certificate switch).
Still need to deploy website with new StrideSetup.exe

4.1 is now live
4.1 VSIX too
Website/docs with release notes as well
Still a few things to do, such as VSIX 4.0.7, etc.

I have updated Home Page and Features Page https://github.com/stride3d/stride-website/pull/64

I can work on this page https://doc.stride3d.net/latest/en/manual/get-started/install-stride.html is that ok?

We're approaching 4.2 ... 🤔


map columns values to names in the url

we can set columns values in the URL like this now stages=backlog,in-progress,question,validation,done but the problem of that is the inflexibility to have column names different than label values. Suggested approach is to add a mapping to the URL like that stages=in-progress:state_inprogress which will map the state_inprogress label value to in-progress as a column value.

Software version
1a3ad7c088bb7a69631c87a15ae76f1d47a92a8f


Update to Spring 5.1.6

The Apache ServiceMix Team has released Spring 5.1.6.RELEASE_1 in central. Udpate to this version.

Done!


use modifyobject

FWIW, typescript on this version has already shipped satisfies which can also be used to ensure type match
const base = { a: 'A', b: 'B' }
// adding c will cause a type mismatch
const modified = { ...base, c: 'c' } satisfies typeof base

how we could use it here?

FWIW, typescript on this version has already shipped satisfies which can also be used to ensure type match
const base = { a: 'A', b: 'B' }
// adding c will cause a type mismatch
const modified = { ...base, c: 'c' } satisfies typeof base

how we could use it here?

it's actually something we can use to clone the object and modify it's existing property without the modifyObject function


feat: add Sean Sanker Jr to /about page

PR Checklist

[x] Steps in CONTRIBUTING.md were taken

Overview

🛠

@all-contributors please add @seansanker for code.

🤖 Beep boop! This comment was added automatically by all-contributors-auto-action.
Not all contributions can be detected from Git & GitHub alone. Please comment any missing contribution types this bot missed.
...and of course, thank you for contributing! 💙


HDDS-11282. Combine test setup for datanode upgrade unit tests

What changes were proposed in this pull request?
TestDatanodeUpgradeToScmHA was the first unit test for handling of a specific datanode layout version. It works by starting just the minimal SCM RPC server and running datanodes without their heartbeat thread. This allows most fo the functionality that would be present in a MiniOzoneCluster integration test but runs at the speed of a unit test.
The framework has since been adopted for testing other layout features in TestDatanodeUpgradeToSchemaV3 and TestDatanodeUpgradeToHBaseSupport, but the code has been copied each time. This Jira is to extract the common setup code so that it can be re-used to test datanode layout features in the future.
What is the link to the Apache JIRA
HDDS-11282
How was this patch tested?
CI:
https://github.com/chungen0126/ozone/actions/runs/10351405194

Thanks @chungen0126 for the patch, @jojochuang for the review.


proto.Unmarshal consumes a lot of cpu, any idea to fix this?

in my application, the whole process work like this:

start a thrift server
accept request, an get pb_bytes from cache
unmarshal all the pb_bytes, and do my business logic
return my response to the client

pb_bytes is of avg size of 50kB
each request will unmarshal 100 pb_bytes
when i call the thrift server with 20 request per second, 2 of 8 cores is occupied by the thrift server, most of the cpu cost is doing unmarshal.
as you can see from the pprof flame graph:

even after i depoly my application to an docker env, the cpu&memory metrics really seems wired:

after the proto unmarshal part every seems normal.

progress:
use latest protoc-gen-go(v1.25.0) seems reduces cpu cost by about 30%.
old version: can't see detail, below v1.20.0, https://github.com/golang/protobuf/issues/524

This looks like a server which is doing inexpensive per-request work, so overall CPU time is dominated by decoding.
2000 decodes per second isn't much (20qps * 100 decodes/request), so the individual messages seem to be quite expensive. If changing the structure of your messages is an option, you can probably get some gains there. I notice that map decoding is quite significant in your profile--protobuf map decoding is relatively poorly optimized. Deeply nested messages also tend to be more expensive, so flattening out the message structure can help.

This looks like a server which is doing inexpensive per-request work, so overall CPU time is dominated by decoding.
2000 decodes per second isn't much (20qps * 100 decodes/request), so the individual messages seem to be quite expensive. If changing the structure of your messages is an option, you can probably get some gains there. I notice that map decoding is quite significant in your profile--protobuf map decoding is relatively poorly optimized. Deeply nested messages also tend to be more expensive, so flattening out the message structure can help.

Thanks a lot. There are indeed many deeply nested map structures, i will give an update after I optimize the  proto structure.

Closing as inactionable. Deeply nested data structures are unlikely to perform well due to the many allocations of disjoint objects, and there's not much we can do about that since now we're now in the territory of the Go memory allocator.
The above identified maps as one possible area of improvement, but we already have an open issue regarding optimization of specialized map types (#781). Since maps have an opaque implementation in Go, it's hard to write a generic high-performance map implementation for all combination of types. We can probably optimize map[string]string and map[string]*Message types, though.


Shooting alignment

A server that uses localization to align to the speaker. Currently it can only align to one speaker.

Another thought - I'd really love for this to allow the driver to strafe in x&y and only take over the rotation part.  The idea would be for the driver to hold down a button to pre-aim at the speaker while driving, and then this code would take over just the rotation part of driving while allowing x & y motion.
I see a few ways to do this.  One would be to subscribe to the teleop cmd_vel topic, extract linear x&y, and use that as part of the published command in the executeCB function.
The other, probably better but more complex, is to publish the desired orientation the teleop orientation_command topic.  We'd have to see what happens there.  If the driver is rotating with the joystick that should override this node, but not exactly sure what happens if there's no joystick commanded rotation.  My hope is that the value from the orientation_command topic would rotate the robot.
The good news is that both should be testable in sim.

note on this: I pushed the changes from the lab today but had to fight with git (rebasing, then committing, then pulling a new commit was a bit awkward) so the changes from today are currently in new_shooting_alignment. also, works in real life and is extremely cool :)

I'll see if I can fix the git issues

OK, done.
What I did :
rebased shooting_alignment to main
cherry-picked the last 3 commits from new_shooting_alignment into shooting_alignment
force-pushed shooting_alignment.
@BenBean18 please check that this looks good, and if so, delete the new_shooting_alignment branch

Main thing I see missing now is the ability to align to the red speaker? Or will that be taken care of via some other transform somewhere else?

One other thing which would be nice is a publisher which publishes distance and angle to the goal.  Distance will be used for shooting, and since this code already has all the data needed, might as well publish it.  Angle I'm less sure will be useful but it already is calculated so why not?


Adaptive Expressions does not offer minified bundle

Use this query to search for the most popular feature requests.
Is your feature request related to a problem? Please describe.
I'm using the adaptive-expressions bundle via a

adaptive-expressions-ie11 has been minified via #3068, adaptive-expressions is still a WIP.


Cannot trigger all AfterSaveCompleted() if 2 triggers all implement IAfterSaveCompletedTrigger

ATrigger as below.
public ATrigger : IAfterSaveTrigger<A>, IAfterSaveCompletedTrigger {
    private List<string> _aNames = new List<string>();
    public Task AfterSave(ITriggerContext<A> context, CancellationToken cancellationToken) {
        if (context.ChangeType == ChangeType.Added) {
            this._aNames.Add(context.Name);
            return Task.CompletedTask;
        }
    }

        public Task AfterSaveCompleted(CancellationToken cancellationToken) {
            Console.WriteLine($"There are {_aNames.Count()} As to {_aNames.Distinct().Count()}" distinct A names");
            return Task.CompletedTask;
        }
}

BTrigger as below.
public BTrigger : IAfterSaveTrigger<B>, IAfterSaveCompletedTrigger {
        private List<string> _bNames = new List<string>();
        public Task AfterSave(ITriggerContext<B> context, CancellationToken cancellationToken) {
            if (context.ChangeType == ChangeType.Added) {
                this._bNames.Add(context.Name);
                return Task.CompletedTask;
            }
        }

        public Task AfterSaveCompleted(CancellationToken cancellationToken) {
            Console.WriteLine($"There are {_bNames.Count()} Bs to {_bNames.Distinct().Count()}" distinct B names");
            return Task.CompletedTask;
        }
}

AfterSave in both ATrigger and BTrigger could be triggered by SaveChanges(), but only ATrigger's AfterSaveCompleted triggered in the end.

Version is 2.3.2.
Registering triggers using
services.AddAssemblyTriggers(typeof(ATrigger).Assembly, typeof(BTrigger).Assembly);

Can you help me complete the following repro?
I'm getting this output:
A only
AfterSave for entity A
AfterSaveCompleted for entity A
AfterSaveCompleted for entity B

B only
AfterSave for entity B
AfterSaveCompleted for entity A
AfterSaveCompleted for entity B

A and B
AfterSave for entity A
AfterSave for entity B
AfterSaveCompleted for entity A
AfterSaveCompleted for entity B

Given this code:
using EntityFrameworkCore.Triggered;
using EntityFrameworkCore.Triggered.Lifecycles;
using Microsoft.EntityFrameworkCore;

using var dbContext = new MyDbContext();

Console.WriteLine("A only");
dbContext.A.Add(new A(1));
dbContext.SaveChanges();

Console.WriteLine();
Console.WriteLine("B only");
dbContext.B.Add(new B(1));
dbContext.SaveChanges();

Console.WriteLine();
Console.WriteLine("A and B");
dbContext.A.Add(new A(2));
dbContext.B.Add(new B(2));
dbContext.SaveChanges();

Console.ReadLine();

record A(int Id);
record B(int Id);

class MyDbContext : DbContext
{
    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    {
        optionsBuilder.UseInMemoryDatabase("test");
        optionsBuilder.UseTriggers(triggerOptions => triggerOptions.AddAssemblyTriggers());
    }

    public DbSet<A> A => Set<A>();
    public DbSet<B> B => Set<B>();

    public static Task WriteLineAsync(string message)
    {
        Console.WriteLine(message);
        return Task.CompletedTask;
    }
}

record Trigger1 : IAfterSaveTrigger<A>, IAfterSaveCompletedTrigger
{
    public Task AfterSave(ITriggerContext<A> context, CancellationToken cancellationToken)
        => MyDbContext.WriteLineAsync($"AfterSave for entity A");

    public Task AfterSaveCompleted(CancellationToken cancellationToken)
        => MyDbContext.WriteLineAsync($"AfterSaveCompleted for entity A");
}

record Trigger2 : IAfterSaveTrigger<B>, IAfterSaveCompletedTrigger
{
    public Task AfterSave(ITriggerContext<B> context, CancellationToken cancellationToken)
        => MyDbContext.WriteLineAsync($"AfterSave for entity B");

    public Task AfterSaveCompleted(CancellationToken cancellationToken)
        => MyDbContext.WriteLineAsync($"AfterSaveCompleted for entity B");
}

I have changed the way to register triggers and it works now.
optionsBuilder.UseTriggers(triggerOptions => triggerOptions.AddAssemblyTriggers());

There may be an issue here with registering triggers directly with the ServiceProvider. Reopened until this issue is confirmed/fixed

I think this should be re-opened. I previously had (using ASP.NET Core 6):
public void ConfigureServices(IServiceCollection services) {
services.AddAssemblyTriggers();
}
and fixed the same issue by moving to above syntax. I guess that should be fixed no?
Sorry, but don't have time to setup a full repro repo.

My PR fixes above case. We've also had big issues with using above syntax in Azure linux apps (app service) with CPU immediately raising to 100% as soon as we start up/run our ASP.NET Core backend. We can unfortunately not reproduce this locally (neither on Win nor on Linux). We haven't spent a lot of time to dig into it though.

Thanks for the fix! Note that registering triggers with the DI container instead of the DbContext is something that I was considering deprecating. I'm interested in the CPU immediately raising to 100% issue though. Can you open up a new issue for that?

Will do! Thanks for quick action - very much appreciated!  😊👍

Btw. Can you release a new version? @koenbeuk

@cjblomqvist Done!

Thanks! I've not forgotten the CPU-stuff, but a little bit complex since it's only happening in Azure (AFAICT anyway) - so it'll take me a little bit more time before I have an issue created. It's not forgotten anyway!