MaxCube reset to fatory defaults

My Maxcube is loosing the configuration (reset to factory defaults) with and interval of about 3-6 weeks. It only happens when connected to HA. Other users are having the same issue:
https://community.home-assistant.io/t/maxcube-loosing-configuration/46663
It looks like a general problem with MaxCube and not just your maxcube-api. Openhab users have had the same problem. I have tried changing the polling interval from 1 minute to 5 minutes as suggested by other users:
https://github.com/home-assistant/home-assistant/issues/12551#issuecomment-372113261

and have not had the issue since (only about 14 days siince i did it, so not sure if it will actually fix it).
It would be nice to be able to set this from the HA config, so i don't have to manually change the code each time HA is updated.

Another improvement (this was also done in openhab), was to be able to choose exclusive mode, so the maxcube-api does not close the connection.

It would be nice to be able to set this from the HA config, so i don't have to manually change the code each time HA is updated.
Another improvement (this was also done in openhab), was to be able to choose exclusive mode, so the maxcube-api does not close the connection.

Yes, this would be an excellent solution

I had this problem (using FHEM FYI) too and was searching a cause for a long time. Reading many discussions I am sure now, that this is a connection handling problem of the max cube (some race condition/overflow).
The solution seems to be to use a "blocking" access (open connection once, never close it) instead of opening a new connection on every query from a home automation system, if that is possible. As there can only be one connection to the cube at a time you can't use EQ-3 cloud then or connecting with their windows software.
As EQ-3 never officially documented their protocol I'm almost sure that they see this as "non issue"...

Making a longer polling interval only postponed the problem.
After a longer testing period of now about half a year, I am almost 100% sure the library should have a "exclusive" - keeping the connection mode, to solve the Max Cube resets.

Hello,
Is there something new about this issue? I have the same problem with my setup ( home assistant and max cube ). I have pooling interval setup to 5 minutes and once about half a year max cube gateway is reset to factory settings.

Hello,
The only solution is to use a keep-alive connection:
Connect to the cube and never release the connection.
Doing so, i am able to poll every second without any factory reset.
But I need to kill my deamon whenever I want to use the Max! Software and restart it when I’m done. (The cube only allows one connection at a time)
If interested I can post my code in a fork here, but you may need to make adaptations, since I’ve taylored my code for my own need with my MQTT daemon.

Hi mike-k68,
It would be great if you can share how you managed to change to a keep-alive connection! This would not only solve the issue of Cubes being reset, but would also enable us to have real-time updates. Using it as an MQTT daemon is also a really nice solution. Really interested!

Hi mike-k68,
It would be great if you can share how you managed to change to a keep-alive connection! This would not only solve the issue of Cubes being reset, but would also enable us to have real-time updates. Using it as an MQTT daemon is also a really nice solution. Really interested!

Hi there,
What is the best way to send you my code ? (email).
I don’t want to create a fork and maintain it. Also I’m a python-newbie so my code is definitely not neat and taylored for my own need.
But it’s ok if you guys use it, modifiy and share it.
Regards
Mike

Le 11 janv. 2021 à 14:40, mvzut<EMAIL_ADDRESS>a écrit :

Hi mike-k68,
It would be great if you can share how you managed to change to a keep-alive connection! This would not only solve the issue of Cubes being reset, but would also enable us to have real-time updates. Using it as an MQTT daemon is also a really nice solution. Really interested!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi there,
What is the best way to send you my code ? (email).
I don’t want to create a fork and maintain it. Also I’m a python-newbie so my code is definitely not neat and taylored for my own need.
But it’s ok if you guys use it, modifiy and share it.
Regards
Mike

Le 11 janv. 2021 à 14:40, mvzut<EMAIL_ADDRESS>a écrit :

Hi mike-k68,
It would be great if you can share how you managed to change to a keep-alive connection! This would not only solve the issue of Cubes being reset, but would also enable us to have real-time updates. Using it as an MQTT daemon is also a really nice solution. Really interested!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

The best way is forking this repository and upload your changes there. You
don’t need to maintain it. Just dump your code to GitHub
El El lun, 11 ene 2021 a las 17:41, mike-k68<EMAIL_ADDRESS>escribió:

Hi there,
What is the best way to send you my code ? (email).
I don’t want to create a fork and maintain it. Also I’m a python-newbie so
my code is definitely not neat and taylored for my own need.
But it’s ok if you guys use it, modifiy and share it.
Regards
Mike

Le 11 janv. 2021 à 14:40, mvzut<EMAIL_ADDRESS>a écrit :

Hi mike-k68,
It would be great if you can share how you managed to change to a
keep-alive connection! This would not only solve the issue of Cubes being
reset, but would also enable us to have real-time updates. Using it as an
MQTT daemon is also a really nice solution. Really interested!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hackercowboy/python-maxcube-api/issues/12#issuecomment-758075460,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABM4WBZO7AJLVKXOA7RXBPDSZMS3FANCNFSM4EXZXBRQ
.

The best way is forking this repository and upload your changes there. You
don’t need to maintain it. Just dump your code to GitHub
El El lun, 11 ene 2021 a las 17:41, mike-k68<EMAIL_ADDRESS>escribió:

Hi there,
What is the best way to send you my code ? (email).
I don’t want to create a fork and maintain it. Also I’m a python-newbie so
my code is definitely not neat and taylored for my own need.
But it’s ok if you guys use it, modifiy and share it.
Regards
Mike

Le 11 janv. 2021 à 14:40, mvzut<EMAIL_ADDRESS>a écrit :

Hi mike-k68,
It would be great if you can share how you managed to change to a
keep-alive connection! This would not only solve the issue of Cubes being
reset, but would also enable us to have real-time updates. Using it as an
MQTT daemon is also a really nice solution. Really interested!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hackercowboy/python-maxcube-api/issues/12#issuecomment-758075460,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABM4WBZO7AJLVKXOA7RXBPDSZMS3FANCNFSM4EXZXBRQ
.

Ok, I did the fork.
You may find my code here: https://github.com/mike-k68/python-maxcube-api
Don't hesitate to ask questions if needed.

Ok, I did the fork.
You may find my code here: https://github.com/mike-k68/python-maxcube-api
Don't hesitate to ask questions if needed.

Thank you. I have seen several improvements that are really good, like
reporting failed commands (current code does not validate the status code
in the response) or support for vacation mode.
On Tue, Jan 12, 2021 at 9:47 AM mike-k68<EMAIL_ADDRESS>wrote:

Ok, I did the fork.
You may find my code here: https://github.com/mike-k68/python-maxcube-api
Don't hesitate to ask questions if needed.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hackercowboy/python-maxcube-api/issues/12#issuecomment-758503615,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABM4WB7ILHWRKRPKYQIQRULSZQEDXANCNFSM4EXZXBRQ
.

Thank you. I have seen several improvements that are really good, like
reporting failed commands (current code does not validate the status code
in the response) or support for vacation mode.
On Tue, Jan 12, 2021 at 9:47 AM mike-k68<EMAIL_ADDRESS>wrote:

Ok, I did the fork.
You may find my code here: https://github.com/mike-k68/python-maxcube-api
Don't hesitate to ask questions if needed.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hackercowboy/python-maxcube-api/issues/12#issuecomment-758503615,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABM4WB7ILHWRKRPKYQIQRULSZQEDXANCNFSM4EXZXBRQ
.

Resolved in 0.4.0 version

Resolved in 0.4.0 version


Trigger Mail install error in console: "The caller does not have permission"

Hello,
I am trying to install Email Trigger Extension through the Firebase Console. I wan't to send email's based on user actions in my app through Google's SMTP service.
For testing purposes I entered my personal email and password in the form that the extension wanted. Like this,
(except with my actual credentials)
smtps://john.doe@gmail.com:123456@smtp.google.com:465
even
smtp://john.doe@gmail.com:123456@smtp.google.com:465
(my account allows less secure apps to access it)
After doing it, I got the very vague error of "The caller does not have permission," at the top of the page. I am not sure if it is an issue with using google's smtp with a personal account or simply that Firebase does not permit using it.
Another issue might be that I don't own the project itself, I am an admin. So I don't know who has permission to do so.
Right now, I have reverted to using the pub package "Mailer," but I don't like storing passwords in the Firebase so explicitly or even [locally.](url

)

OK the issue is what I thought, I am not the owner of the Firebase project, therefore I cannot install extensions on the owners behalf. So I have to ask the man in charge for privileges or have him install it.


Use random port for Bigtable emulator.

This should reduce the flakiness of the Kokoro builds.
Part of the work for #1197.

This change is

PTAL.


[SPARK-9517][SQL] BytesToBytesMap should encode data the same way as UnsafeExternalSorter

BytesToBytesMap current encodes key/value data in the following format:
8B key length, key data, 8B value length, value data

UnsafeExternalSorter, on the other hand, encodes data this way:
4B record length, data

As a result, we cannot pass records encoded by BytesToBytesMap directly into UnsafeExternalSorter for sorting. However, if we rearrange data slightly, we can then pass the key/value records directly into UnsafeExternalSorter:
4B key+value length, 4B key length, key data, value data

Merged build triggered.

Merged build started.

Test build #39315 has started for   PR 7845 at commit 2d4ad05.

Test build #39315 has finished for   PR 7845 at commit 2d4ad05.

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

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #39325 has started for   PR 7845 at commit 5716b59.

Test build #39325 has finished for   PR 7845 at commit 5716b59.

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

Merged build finished. Test PASSed.

Going to merge this since @JoshRosen and I looked at this together.


controlling the zoom

There is some solution for controlling the zoom, for more and for less.

The zoom currently is happening with user gestures is it possible expose those functions so that we can use them in a Floating action button


[FIX][PHP] Refactor API Endpoint For Product Categories

Description
To get all categories for products
Route
GET: /api/v1/products/categories
Response Body
Code: 200
Description: OK
{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "name": "string",
  "description": "string",
  "slug": "string",
  "created_at": "2024-08-24T16:31:01.482Z",
  "updated_at": "2024-08-24T16:31:01.482Z"
}

@amowogbaje

This user is working on this


start: A new GS:Experiments document with get-started-experiments

Katacoda GS:Experiments scenario employs dvc-get-started to introduce experiment features already. The scenario uses dvcorg/doc-katacoda:experiments container.
Let's upgrade GS:Experiments documentation to have a parallel content with the scenario.
This will also allow to run markdown-code-runner on the page to get automated tests for the commands in the documentation content, for the first time.
Related #2474
Related iterative/example-repos-dev#38
Related iterative/example-repos-dev#44
@flippedcoder @jorgeorpinel @shcheklein @dberenbaum

I will cancel #2497

But there's lots of feedback there. Is it possible to preserve it? Thanks

I will cancel #2497

But there's lots of feedback there. Is it possible to preserve it? Thanks

I'll keep them for the new document, they are valuable for me. Thanks.


Test requirements unmet due to outdated version of pip

Version of the custom_component
0.0.1
Describe the bug

Open repo in the devcontainer
Set up venv, install test requirements with pip. It will complain about the dependencies:

(venv) container# pip check
pytest-homeassistant-custom-component 0.4.0 has requirement sqlalchemy==1.4.13, but you have sqlalchemy 1.4.31.
homeassistant 2021.6.0b0 has requirement attrs==21.2.0, but you have attrs 21.4.0.
homeassistant 2021.6.0b0 has requirement httpx==0.18.0, but you have httpx 0.22.0.
homeassistant 2021.6.0b0 has requirement requests==2.25.1, but you have requests 2.27.1.

pytest tests\ command works fine with  default tests from integration_blueprint, but causes the error with an inherited repo containing a custom component:

aiohttp 3.8.1 requires async-timeout<5.0,>=4.0.0a3

Solution

Upgrade pip to the latest version (pip-22.0.3)
Run pip3 install -r requirements_test.txt again

pip3 install -r requirements_test.txt --use-deprecated=legacy-resolver

Tests was removed in https://github.com/ludeeus/integration_blueprint/commit/15feac505d7b21e6c17e48f918fa04cf0e340a0e ref https://github.com/ludeeus/integration_blueprint/issues/83 so this is no longer needed 👍


Updated recipe/meta.yaml to version 3.44.2

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


User mentions shouldn't be processed by linkifier

Similar to #14080. Consider a message text:
@_**Notification Bot|100006** [said](...):

If there is a linkifier matching Bot, then the result looks like:

Instead it should look like a usual user mention, no links are expected.

@zulipbot claim

@i-ky  can you help me in reproducing this issue? I tried the folowing steps:
1.created a Linkifier #(?P<id>[0-9]+) -> https://github.com/zulip/zulip/issues/%(id)s
2. Created user with name test #69.
3. On mentioning the user there was no link.

Unclaiming this issue since I am not sure how to reproduce this issue. Would work on this once I am able to reproduce the issue.

@zulipbot abandon

@i-ky can you help me in reproducing this issue?

@Ujjawal3, maybe it has something to do with my linkifier regexp...
Pattern:
(?i)\bbot(?:(?:s|a|am|u)?\b|ā\W)

URL format string:
https://github.com/Davis-Klavins/osm-latvia-bot

I experience the issue when I Quote and reply or forward a message from Notification Bot. Zulip generates a text like this:
@_**Notification Bot|100006** [said](...):
```quote
...
```

That mention is not rendered correctly (as a mention), it is rendered as "@_" followed by bold text with "Bot" as a link (see the screenshot from my original post).
I've tried to reproduce the issue with other linkifier/user and it seems to work fine, except for this particular regexp. Perhaps, I've overgeneralized the issue originally. I guess you need to try reproducing with the linkifier settings from above.

@i-ky can you help me in reproducing this issue?

@Ujjawal3, maybe it has something to do with my linkifier regexp...
Pattern:
(?i)\bbot(?:(?:s|a|am|u)?\b|ā\W)

URL format string:
https://github.com/Davis-Klavins/osm-latvia-bot

I experience the issue when I Quote and reply or forward a message from Notification Bot. Zulip generates a text like this:
@_**Notification Bot|100006** [said](...):
```quote
...

That mention is not rendered correctly (as a mention), it is rendered as "@_" followed by bold text with "Bot" as a link (see the screenshot from my original post).

I've tried to reproduce the issue with other linkifier/user and it seems to work fine, except for this particular regexp. Perhaps, I've overgeneralized the issue originally. I guess you need to try reproducing with the linkifier settings from above.

@i-ky thanks for your response. I was able to reproduce this issue. But on further investigation I found that mentioning Notification Bot in a message is not considered as a user mention even without any linkifier.
I considered a message text:

In the rendered message Notification Bot is not considered as user mention even without any linkifiers.

@Ujjawal3, thank you for investigation! This issue may be closed as a duplicate of #15787 then.


Map SOH registers

Originally posted by @matthew270492 in https://github.com/nathanmarlor/foxess_modbus/discussions/686#discussioncomment-10824086

SoH is supported in the v2 of Modbus and returns a value so for the latest K series firmware this would be nice to include in the integration as well.

I scanned registers in the 31090 range and found the following things:
H3 Battery SOH is in 31090 and in percent (e.g 98)
H3 Battery Capacity seems to in 31091 unit is Ah multiplied by 10 (e.g 455)


Can we get the fresh token through loginPopup() method?

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.14.2
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
^2.0.0
Description
I want to get refresh-token when user login from loginPopup. The return value doesn't include it. I have to call another method to get the fresh token. It is inconvenient to the user. And I don't know which method to call it. The best way is to get all one time.
All code is from [https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-angular-v2-samples/angular11-sample-app/src/app](msal-angular-v2 example).
MSAL Configuration
No response
Relevant Code Snippets
constructor(
    @Inject(MSAL_GUARD_CONFIG) private msalGuardConfig: MsalGuardConfiguration,
    private authService: MsalService,
    private msalBroadcastService: MsalBroadcastService,
    private location: Location
  ) {}

loginPopup() {
    if (this.msalGuardConfig.authRequest){
      this.authService.loginPopup({...this.msalGuardConfig.authRequest} as PopupRequest)
        .subscribe((response: AuthenticationResult) => {
		  console.log(response); // want response contains refresh token as well
          this.authService.instance.setActiveAccount(response.account);
        });
      } else {
        this.authService.loginPopup()
          .subscribe((response: AuthenticationResult) => {
            this.authService.instance.setActiveAccount(response.account);
      });
    }
  }

Identity Provider
Azure AD / MSA
Source
External (Customer)

@zhshqzyc The refresh token is not returned by any MSAL API by design. If you can explain why you need it, I can try to suggest alternative ways to achieve what you're trying to achieve.

I thought the fresh token was for the token expired or handling 401 unauthorized error in angular interceptor. If MSAL API is unnecessary to use the refresh token, please let me know. Otherwise would you please guide me the right direction?

@zhshqzyc The acquireTokenSilent API uses the refresh token under the hood when the access token is expired. The msal-angular interceptor uses acquireTokenSilent before it calls an API. Are you getting token expired or 401 errors unexpectedly? If so please share an example.

No, I can get the token by calling this.authService.loginPopup({...this.msalGuardConfig.authRequest} as PopupRequest). But I can't find an example put acquireTokenSilent and authService.loginPopup together. Did you mean I need call acquireTokenSilent first then call authService.loginPopup?

@zhshqzyc loginPopup should be used when no user is signed in. After that acquireTokenSilent can be used instead (until an InteractionRequiredAuthError is thrown). If you're using the msal-angular Interceptor it will call acquireTokenSilent for you under the hood and you do not need to do this yourself. All of our samples demonstrate using the Interceptor. Please check those out and let me know if you have any specific questions.

Thanks for the nice hint.
The specific question is that I don't use msal-angular Interceptor. I created [interceptor] (https://angular.io/api/common/http/HttpInterceptor) by myself. Also I use loginPopup in MSAL. So in this case there is no refresh token available.

@zhshqzyc Any particular reason you are not using the provided interceptor? Since you are writing your own you will need to call acquireTokenSilent in the Interceptor and fallback to acquireTokenPopup when it fails. loginPopup is only used when the user initially needs to sign in for the first time. You can take a look at the provided interceptor's code to see how we do this here

Thank you!

try https://github.com/zhshqzyc/FullStack
On Mon, Aug 16, 2021 at 7:17 PM Thomas Norling @.***>
wrote:

@zhshqzyc https://github.com/zhshqzyc Any particular reason you are not
using the provided interceptor? Since you are writing your own you will
need to call acquireTokenSilent in the Interceptor and fallback to
acquireTokenPopup when it fails. loginPopup is only used when the user
initially needs to sign in for the first time. You can take a look at the
provided interceptor's code to see how we do this here
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-angular/src/msal.interceptor.ts
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/3970#issuecomment-899879093,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABXHUSVKKQW23AVIJ767LHLT5GMBFANCNFSM5CEGESFQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.


Innovation 2022Q4 - Add a github Wiki

What does this PR do?
This PR adds an automated way to generate a global api reference documentation in the form of a Github Wiki
Additional Notes
The solution uses 3 steps :

Use the existing Dokka integration to generate (Github flavored) Markdown documentation
Use a custom gradle plugin to generate markdown files in a simpler hierarchy that is compatible with a Github Wiki repo
Use a python script to update the wiki repository (triggered by a gitlab job whenever something is updated on the master branch)

Codecov Report

Merging #1169 (e5ed81c) into master (d2caeca) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1169      +/-   ##
==========================================
- Coverage   83.19%   83.13%   -0.06%
==========================================
  Files         274      274
  Lines        9458     9458
  Branches     1540     1540
==========================================
- Hits         7868     7862       -6
  Misses       1153     1153
- Partials      437      443       +6

Impacted Files
Coverage Δ

...android/log/internal/logger/TelemetryLogHandler.kt
75.00% <0.00%> (-25.00%)
:arrow_down:

...android/rum/internal/ndk/DatadogNdkCrashHandler.kt
85.95% <0.00%> (-2.70%)
:arrow_down:

.../android/rum/internal/monitor/DatadogRumMonitor.kt
92.78% <0.00%> (-0.56%)
:arrow_down:

...ndroid/telemetry/internal/TelemetryEventHandler.kt
73.21% <0.00%> (+0.89%)
:arrow_up:


Realtime face recognition

Created a 'contributed' folder and moved contributed scripts to it.
I think people put hard work in their scripts and the 'tmp' folder seems a bit like the directory where you would move things just before deleting them.

Add a face module which might be easier for beginner to get what is going on during the face recognition. At least it is for me. It's broken into the high level steps that are involved in the recognition which we can more easily relate to.

Add a realtime face recognition script that uses the face module. This is based on this project but a bit more up to date and closer to this project so it will probably be easier to keep in sync.

https://github.com/shanren7/real_time_face_recognition

@fgervais Thanks so much for this pull request. It has been extremely useful to me.
I did notice a couple of small issues
I am new to the open source community so I don't know the proper way to link the issues so ill just write them here.

In line 125 of export_embeddings.py there is a call to xrange which is not compatible with python 3.
In the main function of export_embeddings.py I am getting a mismatch between the limage_list and label_strings causing oppposite classifications. In particular I have a folder structure

-Andy
--Andy_1.jpg
-Raymond
--Raymond_1.jpg
And my  image_list is
['path_to/Andy/Andy_1.jpg', 'path_to/Raymond/Raymond_1.jpg']
but the label_strings are
['Raymond','Andy']
This is causing the system to classify raymond as andy and andy as raymond


Parquet record api support timestamp before epoch

Which issue does this PR close?
Closes #2897
Rationale for this change
What changes are included in this PR?
Change code to handle negative timestamp and add tests
Are there any user-facing changes?

@tustvold I reverted the submodule changes in a new commit. Should be good now, sorry.


chore: bdd-spring-1582597733 to 0.0.1

chore: Promote bdd-spring-1582597733 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


NodeLibrary with Code generated Nodes

Hi Stefan,
its me again and i have ran into another problem right now.
In my Project every Object of a Class represents a Node. Pretty much the same as you have done it in the Demo. Foreach Object in my List a Node is created.
Now i want to add a NodeLibrary to easily create an Object/Node from a template. The problem is that these template Nodes are not in my List and do not represent an Object. Its just a useless Node.
Maybe you know a solution on how to connect Code generated Nodes in a List with the NodeLibrary.

Flow

HI @Flow2606,
I'm not sure I understand your requirements. Have you had a look at the example page for the node library? Can you share some code showing what you tried and what you expected it to do vs what you got?
Thanks
Stefan

Alright ill try to explain my Project a little bit. Its an ERD Designer which can later be translated into an actual Database.
Here I have the Component DiagramBuilder which creates the Diagram itself and and has the Object DataBase as a Parameter. this Object contains Entities which are then generated in the EntityBuilder.
DiagramBuilder
`@using Excubo.Blazor.Diagrams

            @*Templates*@

@code
{
[Parameter]
public DataBase DataBase { get; set; }
}
EntityBuilder@foreach (Entity entity in DataBase.Entities)
{
<CustomRectangleNode Id="@entity.Id.ToString()" @bind-X="entity.X" @bind-Y="entity.Y">

@entity.Name

@if (entity.Attributes.Count > 0)
{

@foreach (ERM.Attribute attribute in entity.Attributes)
{
string name = attribute.Name;
string dataType = attribute.DataType.Type;
string args = GetArgumentsAsString(attribute);

                                    @if (IsPrimaryKey(attribute.Id, entity.PrimaryKey))
                                    {
                                        <OrgaNizer.Shared.Icons.PrimaryKey />
                                    }
                                    @if (IsForeignKey(DataBase, attribute))
                                    {
                                        <OrgaNizer.Shared.Icons.ForeignKey />
                                    }

                                @name
                                @dataType@args

                        }

        }

</CustomRectangleNode>

}`
This allows to display the Object Entity as a Node. I dont have a user friendly way yet to create Entities on the front-end.
So your NodeLibrary is pretty much perfect for this task. The problem is that the Node is not generated in the EntityBuilder and therefore I dont know how to manipulate the Node and store the new Entity in my DataBase Object. I have no code for the NodeLibrary Nodes as I have no idea how to approach this problem at all.

There is an OnAdd callback on the Nodes component, that you could use to be notified whenever an item is added from  the Node library. What you put into the node library can be anything, e.g. just a CustomRectangleNode. But that introduces the inconvenience of now having a node that you'd ideally save into the DataBase.Entities, but if you do so, that will render a node, in addition to the node that you dragged onto the diagram.
So in your case, I'd suggest to take a different approach:

Create your own overlay over the diagram.
Put Some UI component there for which you enable drag events (see https://docs.microsoft.com/en-us/aspnet/core/blazor/components/event-handling?view=aspnetcore-5.0)
On the diagram, add the drop part of the drag event, and in the callback, add a new entity to your DB model programmatically.
A new node should now be rendered in the diagram

Alright thanks for the help. That definitely seems like a reasonable approach so I will try that out.

Ok I'm back from the weekend and quite happy you left this Issue open. The Drag&Drop is easy to solve but there is one last problem. I can get the X/Y coordinates from the DragEventArgs but now i realized that theyre not accurate as soon as I move the Diagram in any direction. Is there any way to read out the current Mouse X and Y on the Diagram?

There's an extension method: https://github.com/excubo-ag/Blazor.Diagrams/blob/0081da732e1c5d5ac8d51bede42bb2f7b35bb1b7/Diagram/Extensions/MouseEventArgsExtension.cs#L8
So as soon as you include using Excubo.Blazor.Diagrams.Extensions, you should be able to perform e.RelativeToOrigin(diagram).

Works perfectly. You ve been of great help. Thank you. My Issue is solved now.


[SE-0316] Introduce the GlobalActor protocol to describe global actors.

Based on the discussion in the first review of the global actors
proposal, introduce a GlobalActor protocol that describes types that
can be global actors. Introduce this protocol, make @globalActor
types implicitly conform to it, and remove all of the bespoke
validation logic that was used to check the "shared" member.
Addresses rdar://79339591

@swift-ci please smoke test and merge

@swift-ci please smoke test Linux


Changed Collour for Create Folder

Modified the getCaseIDButton button to be hidden by default in SetURL/popup.html. 2. Updated color style for the create-folder-show-dialog button's icon from #1a087f to #4a34c8.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2  👈
#1
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @NL-Cristi and the rest of your teammates on  Graphite

Merge activity

Jun 27, 3:56 PM EDT: @NL-Cristi merged this pull request with Graphite.


Make Jira board_issues and project_version_issues syncs more performant

Description

Make Jira board_issues and project_version_issues syncs more performant
Instead of getting all issues in a board or for a project version, only get those since when we started syncing since everything else will be a phantom
Fixes for Jira retry logic

Type of change

[X] Bug fix
[x] New feature
[ ] Breaking change

Solve sonnarcloud issues


Members who are at-risk and diagnosed do not get both survey types

You should only be one of the types, but if (for some reason) people list themselves as both at-risk and diagnosed, you cannot get more groups of surveys

@remomueller I looked at this issue with @krand7 and have not been able to reproduce the problem.


Slightly clean up target instruction set detection

Scope & Purpose
Ask the configured target compiler to tell us which Instruction Sets it compiles for and make it clear that
ArangoDB supports exactly x86_64 and aarch64.

[ ] :hankey: Bugfix (requires CHANGELOG entry)
[x] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification
[ ] :book: CHANGELOG entry made

Backports:

[ ] Backport for 3.9: (Please link PR)
[ ] Backport for 3.8: (Please link PR)
[ ] Backport for 3.7: (Please link PR)

Related Information
(Please reference tickets / specification / other PRs etc)

[ ] Docs PR:
[ ] Enterprise PR:
[ ] GitHub issue / Jira ticket number:
[ ] Design document:

Testing & Verification
(Please pick either of the following options)

[ ] This change is a trivial rework / code cleanup without any test coverage.
[ ] The behavior in this PR was manually tested
[ ] This change is already covered by existing tests, such as (please describe tests).
[ ] This PR adds tests that were used to verify all changes:

[ ] Added new C++ Unit tests
[ ] Added new integration tests (e.g. in shell_server / shell_server_aql)
[ ] Added new resilience tests (only if the feature is impacted by failovers)

[ ] There are tests in an external testing repository:
[ ] I ensured this code runs with ASan / TSan or other static verification tools

Link to Jenkins PR run:
Documentation

All new features should be accompanied by corresponding documentation.
Bugs and features should furthermore be documented in the CHANGELOG so that
support, end users, and other developers have a concise overview.

[ ] Added entry to Release Notes
[ ] Added a new section in the Manual
[ ] Added a new section in the HTTP API
[ ] Added Swagger examples for the HTTP API
[ ] Updated license information in LICENSES-OTHER-COMPONENTS.md for 3rd party libraries

External contributors / CLA Note
Please note that for legal reasons we require you to sign the Contributor Agreement
before we can accept your pull requests.

Currently completely ignores windows (which is probably bad)


Sending logprobs in the chat completions body should be optional

May I take care of this?

Can I take this issue?

Can I contribute to this one?


Effects Override Control

When controlling a light that is part of an actively running Effect, the animation overrides the ability to control the light's status through the Home app or HB. Turning a switch "Off" will only flicker black before resuming an animation.
In OpenRGB, when the device is no loner selected as part of the animation, the toggles work as expected.
Without knowledge of what toggles can be altered through the server / client relationship, Is there a way to expose effects as devices in Homebridge?
An alternative exploration might be a way to utilize an "all off" button similar to the one seen in openRGB's toolbar context menu. Not sure if that's a function exposed on the server side. Speaking truthfully I'm not sure if the "Lights Off" toggle in the toolbar overrides an actively running effect.
For context when our office door is left open, the radiant glow of magnificence isn't so magnificent when telling the house it's time for bed. 😛
The plugin and OpenRGB have been a blast to get to play with this weekend. Thank you for helping connect these dots and making our colorful builds and our living spaces become more like the movie "Smart House."

Hey there! I'm glad you are enjoying the plugin. Could you clarify what you are referring to as "effects"? Do you mean the "mode" selector?

Thanks for the response! So when you want to animate the lights, OpenRGB has a number of official plugins. With the Effects Plugin, each effects act like a "layer" that can be enabled and disabled as desired with the switch toggle on the left hand of my effect layer titled "Gradient Wave"
When any of these layers are active, the lights they apply to stop listening to the HomeBridge commands. You can see that the lights flicker in a way that indicates HB tries to control the lights but the next frame of the "effect animation" comes in and overrides the HB command, resulting in the animated light show continuing to play.
I recognize these are "Plugins" that can always change the app's expected behavior but wasn't sure about their status since they appear to be official from  openrgb.org. Pardon my ignorance here as I'm not sure what's achievable with the server side access.
Since OpenRGB has some basic top level controls accessible from the taskbar menu, lights off, effects controls, profile selection, I would have hoped it might be possible to call those same commands from their server-client connection.


About model_file/.hydra/overrides.yaml.txt

Hi, when I try to process my own dataset, the processed data for the network always stored in /home/nibio/mutable-outside-world/processed_data_ready_for_training_sparse_1000_500_100_10/. I found it exactly like the data.dataroot=/home/nibio/mutable-outside-world/processed_data_ready_for_training_sparse_1000_500_100_10/ write in model_file/.hydra/overrides.yaml.txt. How can I change it to my own path? Thanks for your help!

This happened when I try to use your pretrain-weight

There has been merged pull request recently. Please try now and let us know if there are still issues


fixing HTML on Kitematic, Mac, Windows, Toolbox docs

fixing HTML on Kitematic, Mac, Windows, Toolbox docs plus copyedits
Signed-off-by: Victoria Bialas<EMAIL_ADDRESS>

@joaofnfernandes @sanscontext @johndmulhausen please have look if you get a chance, am testing once more locally then merging

LGTM, merging


Feature Request: Configurable flashlight modes

Is it possible to change what modes are available when cycling through the flashlight modes?
Personally, I would like to disable all modes except on and off (no flashing modes at all), but a menu config option to select which modes are enabled in the mode cycle would provide more flexibility to those with other preferences.

+1 on this i dont need blinking or sos and never will really, what i do need is an easy torch, so just on and off like the f4hwn firmware would be great, unless it could be incorporated to have it so it can flash on rx, for if i have my volume turned down


Simple Job Not Working

I have a very simple task in my schedule.rb file, but it doesn't seem to be functioning.  I have:
every 5.minutes do
  redirect_to new_man_test_path
end

Yet nothing happens.  I followed the installation instructions exactly how they were listed on the readme.  Any ideas why nothing is happening?

What exactly do you expect this to do?

Just redirect the user to a certain page every five minutes.

@LizBayardelle The schedule.rb file is used to update the crontab with the jobs listed in the file. The crontab list the jobs that need to be executed on the server at specific times(and, at specific intervals). These jobs aren't rails logged-in user specific. This has to be done through the rails app on the server side.


Once helm chart for policy-controller gets renamed, update docs.

Description
Once the (helm chart rename)[https://github.com/sigstore/helm-charts/issues/201] happens, we need to update a pointer to it here.
https://github.com/sigstore/sigstore-website/blob/docs/content/en/cosign/kubernetes.md

It looks like there have been updates to have the policy-controller section and that all the references to cosigned were removed. I could not pull them up in a search except for older blog posts:

Spooky Updates for Sigstore!
Don’t Panic: A Playbook for Handling Account Compromise with Sigstore
Verifying Container Image Signatures from an OCI Registry in Kubernetes

I'll close this out but let me know if there is something that still needs addressing.


fix: Callback improvements, new utility methods

Sending multiple barcodes found on scan in single callback
Avoid invoking callback, while processing the barcode with pauseAfterCapture
Pause/Resume preview layer when you need to hold screen after scan

Hi @ravindraguptacapgemini - can you please update the README.md files with latest changes you made in this PR.

@pushpender-singh-ap can you do that separately


Secretsmanager: Implement autorotation

What problem are you facing?
As described in #641, Secretsmanager does currently not implement autorotation of secrets in AWS.
How could Crossplane help solve your problem?
Add an optional rotation field to secret.aws.crossplane.io that matches the AWS API.
If this field is set, the provider should enable autoration for the AWS secrets and sync its value back to K8s.

related https://github.com/crossplane/provider-aws/issues/905


Add support for MUI palette colors in event props

This PR allows passing a MUI palette path as the color prop on an event.
For example:
{
    event_id: 2,
    title: "Event 2",
    start: new Date(new Date(new Date().setHours(10)).setMinutes(0)),
    end: new Date(new Date(new Date().setHours(12)).setMinutes(0)),
    admin_id: 2,
    color: "warning.light",
  }

Results in:

This also corrects a typo: EventItemPapper -> EventItemPaper

Awesom Jack! thank you


Use Android devices as cameras

Some suggestions
Sometimes I just need the camera function instead of the screen projection. Can you add an option to call the camera only?
From Baidu Translation, the following is the original text
有时我只需要摄像头功能，而不需要投屏，能否增加一个仅调用摄像头的选项？

Also https://github.com/Genymobile/scrcpy/issues/3049#issuecomment-1607936032


Remove unused futures features

The PR reduces the number of dependencies pulled by the futures crate.
$ cargo up
    Updating crates.io index
    Removing futures-executor v0.3.13
    Removing futures-macro v0.3.13
    Removing proc-macro-hack v0.5.19
    Removing proc-macro-nested v0.1.7
    Removing slab v0.4.2

Thank you!


Fix Mocha compatibility

RSpec Mocks happened to load its configuration, use the default syntax and define any_instance on Class before Mocha had a chance to in case rspec/rails was required in spec/spec_helper.rb before rspec/core and configuring Mocha as mock_with.
This is not something typical, as usually rails_helper.rb requires rspec-rails, and spec_helper.rb requires rspec-core and configures mock_with, but not something that is a complete no-no.
fixes #2252

[ ] add changelog

@ZeroPointEnergy highly appreciate if you test this fix out with puppet-dashboard.

Thanks for the patch. Do you think we can test it in rspec-rails?
Waiting for @ZeroPointEnergy feedback.

Do you think we can test it in rspec-rails?
I'm open to ideas how to do that.

@pirj is it possible that the PR is not on the 4.x development branch? It threw some dependency errors when I tried to use the branch directly.
However I simply cherry-picked ac886dc8db3cb6bbf50805a0cc4c56bcc1ce6742 on top of v4.0.0.beta3 and can confirm that the patch indeed fixes the issue in puppet-dashboard! :+1:
Thanks a lot for your work.

Honestly I'm ok with just adding a comment on top explaining why the minimalist approach is taken. To add a test you'd have to assert a bunch of stuff about poisoning the environment which is a fair amount of effort to setup...

Looks green.

Rushed it a bit. @benoittgt do you have any objections on merging as is? I can do a follow-up in that case.

No no it's perfect! Thanks a lot 😊

Released as v.4.0.0.beta4


Add snowball token filter docs #8276

Description
Add snowball token filter docs
Issues Resolved
Closes https://github.com/opensearch-project/documentation-website/issues/8276
Version
all
Checklist

[x] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@udabhas Will you review this PR for technical accuracy, or have a peer review it? Thank you.


Data Label

Dear，
do you know the meaning of label 2  in source data Neural Summarization by Extracting Sentences and Words,  even though we just make all label to label 0 except label 1

Label 2 means NOT SURE @Liguinan

thanks!


Some of the example echarts not working

I tried these example echarts from this site -https://echarts.apache.org/examples/en/index.html

https://echarts.apache.org/examples/en/editor.html?c=calendar-pie
https://echarts.apache.org/examples/en/editor.html?c=bar-race-country
https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation

These three were not working. But many  other examples were working in my wiki.
Any suggestions ?

What's the differences between them? Usage of JS?

I don't know what the difference between them. Just noticed that they were not working

@arunnbabu81 Well, the answer is simple: the [Edit Code] section is not necessarily the most complete code, the [Full Code] section is - for example, in the first example, if you copy the [Code Edit] section directly, you will get an error app is not defined, if you go to the [ Full Code] you will find that you should actually add a line const app={}; at the top.
So is it possible to just copy [Full Code]? The answer is no, that would also be an error.
So my advice is that you should start with simple examples and learn some JavaScript syntax - or, you can bring confusing examples to Discussions👀.


internal/gps: remove vcs (bzr & hg) directories when coping to vendor/

What does this do / why do we need it?
Remove VCS related directory (.hg and .bzr) when copying dependencies to vendor/
What should your reviewer look out for in this PR?
Correctness.
Which issue(s) does this PR fix?
Fixes #887

also, some basic tests for this would be great. i found not having tests for this more distressing than the actual bug itself.

Do we have any public bzr or hg repositories that we can use in the tests?

yep, LGTM, thanks!


Added lancache png icon

I have added the png for lancache with 512x height

Please read the contributing guides before submitting a pull request.

Please read the contributing guides before submitting a pull request.

Hi,
I could not find a svg so I am only uploading a PNG,
I have added the original favicon which is smaller than 512px in my second commit after reading the documentation.
I am also using a gitmoji in my commit.
Please tell me if this new commit is okay,
thank you.


Under certain conditions MO player speaks out the letter 'O' via TTS on iOS

This issue is a Bug
Related issue(s) and/or pull request(s)
Expected Behaviour
Play MO media without speaking the letter 'O' out loud
Observed behaviour
When hitting the play button on iOS under certain conditions (the touchInit codepath is used) then TTS plays speaking the letter 'O' outloud.
Steps to reproduce

Grab an iOS device running Readium
Make sure _mediaOverlayPlayer.touchInit(); is called somewhere during initialization of ReaderView
Play a chapter with Media Overlay content
Listen closely to see if you hear an anomalous TTS rendering that sounds like the letter 'O'

Test file(s)
Product

Readium cloud reader app

latest development build uploaded at https://readium.firebaseapp.com
Mobile Safari
iOS

Additional information
The culprit is this line here:
https://github.com/readium/readium-shared-js/blob/develop/js/views/media_overlay_player.js#L938

Fixed via: https://github.com/readium/readium-shared-js/pull/401


Suggestion for Improvement: Center Alignment of Cards on home page

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Below the line "Welcome to the Ambulance Monitoring System," the alignment of the cards is currently set to the left. Center-aligning the cards would enhance the visual appeal and create a more balanced layout.
Use Case
Center-aligning the cards under "Welcome to the Ambulance Monitoring System" would improve the overall aesthetic of the page. A balanced layout makes it easier for users to focus on the content, improving readability and engagement.

Benefits
No response
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.


nothing works...

I run this autoleak in windows and get lot of python errors.. can run a single option without an error... set it up correctly but all errors... beta and non beta...

install modules/library?

All hangs man... when generating item shop image it hangs, when getting updates loops... I setu up as another language rather than English and the icons are in English and not the language in the config file...

Done generating items! Merging images...
Traceback (most recent call last):
File "C:\Fortnite\AutoLeak-beta\AutoLeak-beta\ALmodules\largeIconType.py", line 42, in large_merger
shutil.rmtree('icons')
NameError: name 'shutil' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "bot.py", line 3046, in
generate_cosmetics()
File "bot.py", line 755, in generate_cosmetics
return largeicontype(useFeaturedIfAvaliable, language)
File "C:\Fortnite\AutoLeak-beta\AutoLeak-beta\ALmodules\largeIconType.py", line 360, in largeicontype
large_merger()
File "C:\Fortnite\AutoLeak-beta\AutoLeak-beta\ALmodules\largeIconType.py", line 45, in large_merger
os.makedirs('icons')
File "C:\Users\migue\AppData\Local\Programs\Python\Python37\lib\os.py", line 223, in makedirs
mkdir(name, mode)
FileExistsError: [WinError 183] Impossível criar um ficheiro quando esse ficheiro já existe: 'icons'

TRhis is a very common error i get...

11
Traceback (most recent call last):
File "C:\Users\migue\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Users\migue\AppData\Local\Programs\Python\Python37\lib\json_init_.py", line 348, in loads
return _default_decoder.decode(s)
File "C:\Users\migue\AppData\Local\Programs\Python\Python37\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\migue\AppData\Local\Programs\Python\Python37\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "bot.py", line 3066, in
shop_sections(sections_image, BotDelay, BG_Color, api, namelol, watermark, language)
File "C:\Fortnite\AutoLeak-beta\AutoLeak-beta\ALmodules\shopsections.py", line 55, in shop_sections
newsData = response.json()['data']['hash']
File "C:\Users\migue\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Also when i ask to merge images it just merge 6 only... the icons folder receives all kind of files also... the shop images and the updates also.. is itg possible to make different folders for them.. because when i ask to merge comes up all mix together... or should i remove all pictures every time i want to do something different?
Anothert issue is the watermark is not coming in the images.. the config file has the path"images/watermark..png" but then there is no image folder... what is the path where i should put m,y watermark?

Hey man I was in your scripts bot and discovered that the URLs you use dont work anymore.. the fn-api.com is not working anymore, thats maybe why some features do not work...

Another bug?? the site fn-api.com is not working.. maybe is because of that no?
Checking for a change in cosmetics... (1)
Checking for a change in cosmetics... (2)
Checking for a change in cosmetics... (3)
Checking for a change in cosmetics... (4)
Checking for a change in cosmetics... (5)
Checking for a change in cosmetics... (6)
Checking for a change in cosmetics... (7)
Checking for a change in cosmetics... (8)
Checking for a change in cosmetics... (9)
Checking for a change in cosmetics... (10)
Checking for a change in cosmetics... (11)
Checking for a change in cosmetics... (12)
Checking for a change in cosmetics... (13)
Checking for a change in cosmetics... (14)
Checking for a change in cosmetics... (15)
Checking for a change in cosmetics... (16)
Checking for a change in cosmetics... (17)
Checking for a change in cosmetics... (18)
Checking for a change in cosmetics... (19)
Checking for a change in cosmetics... (20)
Checking for a change in cosmetics... (21)
Checking for a change in cosmetics... (22)
Checking for a change in cosmetics... (23)
Checking for a change in cosmetics... (24)

Any solution?

I'll look into it later today, and I'll get back to you with how to fix it.

SO??? ... NO REPLY???

i DOPNT THINK THESE PYTHON SCRIPTS ARE WORKING ... THERE ARE ERROS EVERYWHERE... CANT RUN NOTHING WITHOUT ERRORS... THERES NO POINT HAVING THIS ON GITHUB REALY... JUST A WASTE OF TIME...

L bozo

L bozo

???


[UI] [Hosts] Host Details icons/images not displayed for one of my newly created hosts.

Version: v0.12.0
After I created a new host, the display of the host was not consistent with other hosts. Two of the 3 properties of the machine were not being shown. This has only occurred
When I refreshed my page, it loaded the images.
Before my refresh:

After my refresh:

CPU and Storage come from cAdvisor, which probably wasn't up at the instant the host became active.. And I don't think there is a resource.change event sent when the info property on a host changes, so I wouldn't know to re-pull it until you refresh.  @ibuildthecloud ?

I haven't seen this happen in awhile. Will re-open if I still see this issue.


Fix line endings with LF

This file is shown as edited after I sync on Linux. Replace the line endings with LF.

It's easier to review using https://github.com/PowerShell/PowerShell/pull/5288/files?w=1

@daxian-dbw MacOS build failed, restarted it.

@adityapatwardhan Thanks!


Solidity Punycode Decoder

It only took 4 years!

https://github.com/ensdomains/ens-app/issues/1535
https://github.com/ensdomains/dnsregistrar/issues/10
https://github.com/ensdomains/dnssec-oracle/issues/54

This is a single label decoder — string → do nothing, decode, or revert (invalid punycode)
https://goerli.etherscan.io/address/0xaf7f1fa8d5df0d9316394433e841321160408565#code

I am astonished it's that short! Are you prepared to put together a PR with some tests?

I'm not sure if I know enough about everything is organized and used, but I can PR the independent contract and provide some Javascript tests.


Fix base name.

Fixes https://github.com/jhipster/generator-jhipster-ionic/issues/664

The name is flickr-2-ionic if I don't answer the question. 👍
If I answer the question with something like "foobar", it's still flickr-2-ionic. I expect it to be "foobar". Or remove this question:
? What do you want to name your Ionic application? (JHipster project)

It's be cool if the prompt for the Ionic project name could show the calculated value (e.g. flickr2-ionic) rather than JHipster project.

@mshima Do you know if it's possible to show the calculated name in the prompt for the name? If not, this PR is probably good enough and we should merge and release.

@mraible yes it's possible.
We have baseName and projectName, they are quite similar.
Currently we use projectName as title and baseName as the project name.
Maybe we should rename the projectName to projectTitle.

The only place I found that baseName was used was in .yo-rc.json. With this PR, it's now used in the package.json too. I don't see it used anywhere else and I'm kinda confused about why we have both. It seems like they should be the same thing?

The blueprint is reusing some logic from init generator.
https://github.com/jhipster/generator-jhipster/blob/7bb4fb436e8f0ddc54473ecfef914356ae60ffef/generators/init/templates/package.json.ejs#L20-L22
https://github.com/jhipster/generator-jhipster/blob/7bb4fb436e8f0ddc54473ecfef914356ae60ffef/generators/init/templates/README.md.ejs#L19
We are overwriting the package.json, that the reason it's not been used.

I tested this with the following command after removing my ionic-app directory.
take ionic-app && jhipster-ionic --skip-install && cat package.json | grep name

It results in no name:
  "name": "",

It doesn't seem to matter if I don't select one (which should use the default) or if I type one in.
I don't think the title is necessary. I just think it should show $jhipsterName-ionic by default and allow you to override it. Currently, it shows $jhipsterNameIonic, so it looks like it needs a kebab case wrapper.

This is looking better. The last thing I'd change is show the default in kebab case (flickr-2-ionic instead of flickr2Ionic) since the former is what ends up in package.json.

There are a few places that uses the baseName, and may need adjusts.
baseName is configured as camelCase at main jhipster.
https://github.com/jhipster/generator-jhipster-ionic/blob/b35f1a6f409f3a1e4a883864f34bafd9f9e490af/generators/ionic/templates/ionic.config.json.ejs#L2
https://github.com/jhipster/generator-jhipster-ionic/blob/b35f1a6f409f3a1e4a883864f34bafd9f9e490af/generators/ionic/templates/capacitor.config.ts.ejs#L5

OK, we can leave it as-is then.


Create a UI

As a developer
I need to create a User Interface
So that I can capture user data from a website
Assumptions:

[x] I have a working model and controller with Create, Read, Update, Delete, List, Query, Action functionality
[x] My application supports behave and Selenium

Acceptance Criteria:
Given A functional User Interface
When A user interacts with my UI
Then I should be able implement the Create, Read, Update, Delete, List, Query, Action functionality on existing and/or newly provided data
And I can test the User Interface with behave using Selenium to ensure that the User Interface meets the business needs of the application

This issue is too broad and we do not want to convert this to an epic


Tree utilities, debugging pruning.

Being able to extract split data from trees.

There also seems to be something wrong with the formulation. Looking into this now.

Tests passing, coverage improved. Merging.


Auto Acknowledgment RabbitMQ Consumer

Hi,
I'm trying to use benthos for consuming messages out of rabbitmq and publishing them to S3, the following configs are used:
input:
  amqp_0_9:
    url: amqp://<username>:<password>@rabbitmq-domain.com:5672
    queue: <queue-name>
    consumer_tag: benthos-consumer
    prefetch_count: 10

output:
  s3:
    bucket: <s3-bucket-name>
    path: ${!count("files")}-${!timestamp_unix_nano()}.txt
    content_type: application/octet-stream
    max_in_flight: 1000 # increase throughput, max #messages in flight
    storage_class: INTELLIGENT_TIERING
    batching:
      count: 1000
    region: <region>
    credentials:
      id: <aws-key>
      secret: <aws-secret>

However, as the default prefetch count is 10, messages get blocked because we require acknowledging messages to rabbitmq after the consumption, and no more messages can be fetched/consumed, is there a way to auto-ack messages after consuming them?

Hey @islamhamdi, if you stick a memory buffer in your pipeline then it'll acknowledge messages as they are consumed:
input:
  amqp_0_9:
    url: amqp://<username>:<password>@rabbitmq-domain.com:5672
    queue: <queue-name>
    consumer_tag: benthos-consumer
    prefetch_count: 10

buffer:
  memory: {}

output:
  s3:
    bucket: <s3-bucket-name>
    path: ${!count("files")}-${!timestamp_unix_nano()}.txt
    content_type: application/octet-stream
    max_in_flight: 1000 # increase throughput, max #messages in flight
    storage_class: INTELLIGENT_TIERING
    batching:
      count: 1000
    region: <region>
    credentials:
      id: <aws-key>
      secret: <aws-secret>

But I can also take a look at adding an autoack field that would be a better solution in your case.

Thanks @Jeffail it worked! Happy to contribute as well adding it, will look into filing a PR.

Whoops, I missed your message and stole your chance https://github.com/Jeffail/benthos/commit/504725f25871ec1305d41700f110662c1dfea2db, but if you're interested in working on any other features I'd be happy to guide you through it any time.

Released: https://github.com/Jeffail/benthos/releases/tag/v3.31.0


Support for geometry?

Is there any plans to extend the plugin to support geometry columns?

I am not familiar with geometry columns.
Could you please describe how this should work correctly integrated into Laravel.
Also what database drivers does this support?
NOTE: Sorry about the late reply.

Hi Mark, sorry for an even later reply - I was troubleshooting an issue with migrations on laravel back then. I ended up using a fix provided in this thread . Which does'nt actually require the use of doctrine-support so I'll close this issue.


Scrolling does not work on the left side

On every page, except docs, it is not possible to scroll on the left side.
on the right side woks perfectly fine.
it does however work in the docs page table of contents.
but there is also a slight "dead band" between scrolling the TOC and the page. at least on my side.
(Vivaldi browser, 1080p resolution)
feels like the table of content is present but invisible on all sites.

I don't completely understand the problems you describe. So I'm rephrasing them from my point of view:
There are two optional additional navigation menus:

The sidebar menu at the moment only present on doc pages
The TOC menu on all pages with many heading sections (configurable).

Because every page layout is using the same grid, the scrollable page content does not start at the left edge of the viewport. On pages without a sidebar, the space on the left side of the content is just empty and not connected to the content box and therefore not scrollable.
Is this a usability issue?
I can't reproduce the 'dead band'. Please describe the problem in more detail.
I took a short look at the Vivaldi browser, and it's using the same rendering engine as Chrome and many other browser types. So possible layout bugs are of a general nature and not restricted to this browser.

Hello,

Because every page layout is using the same grid, the scrollable page content does not start at the left edge of the viewport. On pages without a sidebar, the space on the left side of the content is just empty and not connected to the content box and therefore not scrollable.

Yeah. that is what i mean. It feels like exactly that. just was unsure if this is intended or not.
I think this behavior is wrong from an a11y standpoint.

I can't reproduce the 'dead band'. Please describe the problem in more detail.

The marked space represents the "dead band" i was talking about.
id="l-sidebar" on its right site "overlaps" with the site content.

Thanks for the picture, I can now see what you meant. The dead band is the invisible margin of the sidebar menu container. The spacing is necessary for visible layout purposes but does not fit exactly onto the layout grid.
This problem and the one you mentioned first are minor layout issues at this stage of the development, because they are only a problem under special circumstances.
I've already planned to refactor the container layout for non-doc pages and will keep the first issue in mind.
At the moment I don't want to alter the container layout for doc pages, because this would complicate things considerably.
In the near future my time will be very limited to work on issues here. I just started a new and demanding full-time job.


Can't find release 5.1.1 in maven repositories

Hello.
The CI cannot download this release.
Best regards

@Dichotomia Hi, yes I know, I tried to fix broken publish pipeline but sadly without any success 😞 https://github.com/profunktor/fs2-rabbit/actions/runs/8038186694 Help is really welcomed! 🙏

Adding logs from the broken pipeline before the deletion:
[info] set current project to fs2-rabbit-root (in build file:/home/runner/work/fs2-rabbit/fs2-rabbit/)
2024-02-25 13:06:30.035Z  info [SonatypeService] sbt-sonatype version: 3.9.18  - (SonatypeService.scala:27)
2024-02-25 13:06:30.038Z  info [SonatypeService] sonatypeRepository  : https://oss.sonatype.org/service/local  - (SonatypeService.scala:28)
2024-02-25 13:06:30.038Z  info [SonatypeService] sonatypeProfileName : dev.profunktor  - (SonatypeService.scala:29)
[info] Preparing a new staging repository for [sbt-sonatype] fs2-rabbit-root 5.1.1+0-e9e83e5f+20[240](https://github.com/profunktor/fs2-rabbit/actions/runs/8038186694/job/21953822877#step:5:241)225-1306-SNAPSHOT
2024-02-25 13:06:30.039Z  info [SonatypeClient] Reading staging repository profiles...  - (SonatypeClient.scala:102)
2024-02-25 13:06:31.782Z  info [SonatypeClient] Reading staging profiles...  - (SonatypeClient.scala:116)
2024-02-25 13:06:33.834Z  info [SonatypeClient] Creating a staging repository in profile dev.profunktor with a description key: [sbt-sonatype] fs2-rabbit-root 5.1.1+0-e9e83e5f+20240225-1306-SNAPSHOT  - (SonatypeClient.scala:122)
2024-02-25 13:06:40.726Z  info [SonatypeService] No previous staging repository for [sbt-sonatype] fs2-rabbit-root 5.1.1+0-e9e83e5f+20240225-1306-SNAPSHOT was found  - (SonatypeService.scala:101)
2024-02-25 13:06:42.315Z  info [SonatypeClient] Created successfully: devprofunktor-1138  - (SonatypeClient.scala:135)
2024-02-25 13:06:42.328Z error [Sonatype]
java.io.IOException: Supplied file /home/runner/work/fs2-rabbit/fs2-rabbit/target/sonatype-staging/5.1.1+0-e9e83e5f+20240225-1306-SNAPSHOT is a not an existing directory!
	at org.sonatype.spice.zapper.fs.AbstractDirectory.<init>(AbstractDirectory.java:32)
	at org.sonatype.spice.zapper.fs.DirectoryIOSource.<init>(DirectoryIOSource.java:68)
	at org.sonatype.spice.zapper.fs.DirectoryIOSource.<init>(DirectoryIOSource.java:59)
	at org.sonatype.spice.zapper.fs.DirectoryIOSource.<init>(DirectoryIOSource.java:50)
	at xerial.sbt.sonatype.SonatypeClient.$anonfun$uploadBundle$2(SonatypeClient.scala:292)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
	at wvlet.airframe.control.Retry$RetryContext.$anonfun$runInternal$1(Retry.scala:288)
	at scala.util.Try$.apply(Try.scala:213)
	at wvlet.airframe.control.Retry$RetryContext.runInternal(Retry.scala:286)
	at wvlet.airframe.control.Retry$RetryContext.run(Retry.scala:255)
	at xerial.sbt.sonatype.SonatypeClient.uploadBundle(SonatypeClient.scala:277)
	at xerial.sbt.sonatype.SonatypeService.uploadBundle(SonatypeService.scala:75)
	at xerial.sbt.Sonatype$.$anonfun$sonatypeBundleRelease$2(Sonatype.scala:181)
	at xerial.sbt.Sonatype$.withSonatypeService(Sonatype.scala:437)
	at xerial.sbt.Sonatype$.$anonfun$sonatypeBundleRelease$1(Sonatype.scala:177)
	at scala.Option.getOrElse(Option.scala:189)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at xsbt.boot.Launch$.$anonfun$run$1(Launch.scala:149)
	at xsbt.boot.Launch$.withContextLoader(Launch.scala:176)
	at xsbt.boot.Launch$.run(Launch.scala:149)
	at xsbt.boot.Launch$.$anonfun$apply$1(Launch.scala:44)
	at xsbt.boot.Launch$.launch(Launch.scala:159)
	at xsbt.boot.Launch$.apply(Launch.scala:44)
	at xsbt.boot.Launch$.apply(Launch.scala:21)
	at xsbt.boot.Boot$.runImpl(Boot.scala:78)
	at xsbt.boot.Boot$.run(Boot.scala:73)
	at xsbt.boot.Boot$.main(Boot.scala:21)
	at xsbt.boot.Boot.main(Boot.scala)  - (Sonatype.scala:443)

This happened to me some times ago, I had to login into sonatype and manually delete the staging repository

@geirolz FYI @gvolpe deleted it, I also tried to create a new version, but still without any success

@geirolz My latest (desperate) try - creation of a tag on a feature branch: https://github.com/profunktor/fs2-rabbit/pull/953

@geirolz My latest (desperate) try - creation of a tag on a feature branch: #953

The error seems different in your test.

It really was a glitch in jfrog, I rerun the build and now the error is the same

I have downgraded every plugin since the latest working release and it still does not work 😡

If someone has time, feel free to completely remove the sbt-ci-release plugin. You can find an inspiration in this repository, there is a Revert sbt-ci-release commit. This guy had the same issue

@matejcerny I'm  currently using sbt-ci-release in all my libraries and I've no problems - probably we are missing something 😔

There's a discussion regarding the same issue - https://github.com/sbt/sbt-ci-release/issues/216

The +20211209-1518 suffix in the name indicates that you have dirty git state when running publish in CI. This typically happens from website/documentation generation and you don't reproduce the issue locally because your $HOME/.gitignore file ignores the patterns that are marked as dirty in CI. You can fix this by adding more patterns to the .gitignore file of your codebase.

So I've tried to find offending files by replicating sbt ci-publish and found that
core/src/main/scala-2.12/dev/profunktor/fs2rabbit/javaConversion.scala
appears unstaged after publish attempt
Worth trying to either ignore this file, or move codegen (if it is) to more appropriate place

I read it, but didn't have the secrets to try it out. Didn't realize that I can just use empty envs to run it 🤦♂

Oh boy, it really works 🎉  It's the most silly issue in a long time! 😀 https://oss.sonatype.org/service/local/repositories/releases/content/dev/profunktor/fs2-rabbit_2.13/5.1.2/
Guys, thanks a lot for the cooperation a special thanks to Dmitri! 🙌

Btw the issue was that year 2023 in the copyright section was not updated to 2024 🤣
During the week, I will probably prepare another release with updated dependencies.

Oh thank you 🎉

@matejcerny My goodness! How did you find it ?

@geirolz Actually, Dmitri found it ^^

Congrats to both of you guys, I would never have thought of that 🤣
I'm starting to think Sonatype has this error message for everything ahah


refactor: better Gateway for reconnection control.

About
This pull request is about refactoring the main gateway script, which does all of the heavy lifting for connecting to the gateway and establishing a websocket connection as the client. This refactor will be able to help us make reconnection logic much more simple as the main prominent issue is between the heartbeater being a non-daemonic process. (threading.Thread vs asyncio.Event here)
Checklist

[X] I've ran pre-commit to format and lint the change(s) made.
[X] I've checked to make sure the change(s) work on 3.8.6 and higher.
[X] This fixes/solves an Issue.

(If existent): #452

[X] I've made this pull request for/as: (check all that apply)

[X] Documentation
[ ] Breaking change
[X] New feature/enhancement
[ ] Bugfix

Commenting for pings - happy to beta test this when it's usable, as I've been waiting for this to save my bot's connection problems :)

I can test as well; I'd be happy to pull down an unstable version once it's been merged.

Downloaded the most recent push and am testing. Will let you know!

FYI, this is still very unstable and some things might not work as expected. @DeltaXWizard 's made great progress on the reconnection logic atm (kudos to them) but I'm not sure whether or not it's completely stable for the most part.

Just reiterating from the commit change, don't expect it to work (It's "less unstable" in terms of when it stops as it stops a few steps later than the current stable, but it is still very unstable, it just can't restart the session but everything else in methodology should be proper?)

Gotcha, that makes sense. It looks like the heartbeat fails sooner now. I'll wait for the next update to try again. Thanks for working on this!

Pending tasks we have to make grace on merging:

Refactor _establish_connection() and _handle_connection() methods:

Launch the heartbeater once HEARTBEAT is requested from the Gateway.
Read for CLOSING and CLOSED events from the ClientWebSocketResponse.

Lock the _client session once a closing code is detected by awaiting to ensure it's canceled.
Rework __receive_packet_stream to not return None when the serialisation operation fails.

Maybe pass MISSING for clarity?

Reset the heartbeater upon detecting we're starting a new connection from zombification or the Gateway dispatch.


Feature/scroll direction

Add a direction property to the scroll service with the following values:

NONE if the scroll has not changed
UP if the user is scrolling up
DOWN if the user is scrolling down

This PR also improve the scroll service performance by removing unnecessary throttling and debouncing.

👍 great !
detail: Need to add the direction param to the documentation

👍 great !
detail: Need to add the direction param to the documentation

It's already there: https://deploy-preview-125--studiometa-js-toolkit.netlify.app/services/scroll.html#direction
But maybe you had another part of the doc in mind?

👍 great !
detail: Need to add the direction param to the documentation

It's already there: https://deploy-preview-125--studiometa-js-toolkit.netlify.app/services/scroll.html#direction
But maybe you had another part of the doc in mind?

I'm blind, my bad 😸


updating formatting of Evangelist page to adhere to word template

fixes: https://github.com/inclusivenaming/website/issues/171

I copied over the term verbatim, so we may need to open a followup issue to add copy to the Usage Context section.

Tier 3 word list page nav corrected

Deploy preview: https://deploy-preview-175--inclusivenaming.netlify.app/word-lists/tier-3/evangelist/ (not sure why the deploy preview nav shifts back to the prod site).


Improve the total amount change color in the Wallet tab

In the #2273, I explained what this should be. Maybe not clear enough.
I conducted 3 tests using usabilityhub:

https://app.usabilityhub.com/tests/86ec06814d57/results/1f78709fe6f1

https://app.usabilityhub.com/tests/6076f465a67c/results/590f397ceee6

https://app.usabilityhub.com/tests/bcdef3f68e73/results/420f2f243df1

and the result is that they understand if the number you marked is the ‘24H Price change’ of the ‘how much your
tokens are worth in USD’ (5% x 1500 USD). This is also the same as Delta app, Zerion App, Blockfolio. So the winner was 2)
@zhangzhongnan928 @hboon
The trigger to open AlphaWallet and check wallet tab should be: tell me how much money I gained/lost in last 24h. There are other tools to check the market prices. And if you are looking for that data, open a token and you will find numbers like ETH price.
So if 1 ETH = 1000 USD and the ** ETH price raised by 5%** in last 24H then it should like this:

@vladyslav-iosdev

Make the red color #ff3b30
Update the arrows to
https://zpl.io/agxGoxO
https://zpl.io/2GDz4Dd
Make sure that the total amount change is also red/green according to the % movement


Example rendering miniquad scene into egui image

Here is an example that may be useful for those who would like to render scenes into an egui image using miniquad.
See https://github.com/emilk/egui/issues/729#issuecomment-923221987 for reference

Thanks for this, it works great!
glam = "0.18" needs to be added Cargo.toml to get it to compile though!


Check if alarm will wake the device

I am able to have the screen come up when the alarm fires if the phone is not locked but when the phone is locked I do not see the scheduler.html coming over the lock screen , it comes up but first I need to unlock the screen.

@zeeshanjan82  See https://github.com/Red-Folder/Scheduler-Plugin/issues/15


Code fromat by format.sh

Run format.sh on linux PC

hey @xiaowei-guan, Thanks for the PR, that's great.
I cloned your branch on mac, and ran format.sh there is a little difference, is this caused by a different version of clang-format, or we are not applying the same .clang-format settings?

My clang-fromat version is :
guanxw@yuanzw:~/github/libwebrtc$ clang-format --version
clang-format version 10.0.0-4ubuntu1


Change "Viet Nam" to "Vietnam"

https://github.com/fannarsh/country-list/blob/2cd57f574ddfd617ceb771efceea462cf1634597/data.json#L968
I don't know if it is intended, but in Wikipedia this is the correct spelling.
https://en.wikipedia.org/wiki/Vietnam

Viet Nam is correct according to the ISO 3166 standard.
And also

"Viet Nam" was once common usage and is still used by the United Nations and by the Vietnamese government.
https://en.wikipedia.org/wiki/Names_of_Vietnam


Remove max_axial_mesh_size from ABTR workflow example

Refs #435

@GiudGiud doing some more cleanup of Griffin, where I am removing a parameter that is no longer needed (see https://github.inl.gov/ncrc/griffin/pull/2118). This causes a VTB test failure, and I'm not sure whether this PR should be merged first or the one in Griffin

First merge in griffin, then do a Griffin submodule update in this PR

Job VTB Documentation, step Sync Docs on c49d21c wanted to post the following:
View the site here
This comment will be updated on new commits.

@GiudGiud tests are now passing with griffin sub module update and using !include syntax

looks like Josh merged a breaking change into Griffin first. I might have to process his PR first

No worries, this can be merged after his

either that or pick a submodule before his PR on adding a terminator for negative power in simulations

Rebasing and re-pushing in case it's necessary after Josh's PR

Tests passed on previous run


Suggestions for inclusion on turso-extended

Instead of showing the CLI installation instructions, link to the documentation in case they ever change? We're going to apply the same change to our other repos.

Put the instructions to create tables right after the shell command.  That's what you'd probably want people to do right away after starting the shell.

Prefer to use npm over pnpm since the former is always present.

Add an instruction to install node modules before running the dev script (otherwise it will fail).

When I ran the dev script, it failed with:
❌ Invalid environment variables:
 url: Required
 authToken: Required

error - Failed to load next.config.mjs, see more info here https://nextjs.org/docs/messages/next-config-error
Error: Invalid environment variables
    at file:///Users/doug/work/chiselstrike/codingdoug/app-turso-next/src/env/server.mjs:16:9
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)

So, for the env vars, point out specifically which file needs to be modified to include the db url and auth token.  I wasn't familiar with nextjs at all, so I had to go look up how this works. Perhaps you could instruct the user to first copy the .env.sample file to .env.local and provide the required values in it.

The newest version of the CLI actually creates token with no expiration by default, so you can remove the --expiration flag if you want.  But if you want to leave it on, the new proper value is never (none still works but is likely going to be deprecated).

pages/index.ts shows a lint error

Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the void operator.eslint@typescript-eslint/no-floating-promises

Also, I'm thinking API calls like this should also be in a react hook rather than right there in the component.  What do you think? Try a web search for "react hook make api calls" for guidance from the internet.

I see you copied James's responseDataAdapter.  This function is no longer needed at all because the client ResultSet now allow Row objects to be indexed by both column name and number.  See the documentation for example code and details. We'll be removing it from other examples as well.

Update @libsql/client to the latest version 0.1.4.  There might be breakage in future versions of the SDK, so we might reach out to you again to update it in order to keep this code relevant going forward.

The LICENSE file should be at the root of the repo, not under src.

Optional but I think very helpful for others (fix or disable the lint rules that are causing them):

src/db/turso.ts shows a lint warning:

Unexpected default export of anonymous functioneslintimport/no-anonymous-default-export
Maybe find a way to remove that by naming the export and import it by name?

pages/api/turso.ts shows a bunch of lint errors about the use of any.  Strict checking turns these checks on because use of any has been shown to lead to bugs due to lack of proper type information.
next.config.mjs: In the first line env is unused and can be removed. This perhaps means that src/env/server.mjs is also unnecessary?

Have now resolved the above issues, looks good to go.

Looking much better!  Still a few more things to work out here:

Please put the command to run the shell back in the instructions after creating the database.  That's the easiest way to get the following SQL schema commands into play. The steps to set up should generally go 1) turso db create 2) turso db shell 3) copy and paste all the necessary SQL. 4) ".quit" to quit the shell
It would be good to put all of the setup SQL into one copyable block (both the table create and the inserts) to make it easier to do the whole thing at once. (GH provides a nice copy button at the top right of each code block - assume that people will use that.)
The insert statements currently have a SQL syntax error in them. I think a semicolon is missing in the first insert.  Please make sure that the entire block of SQL (both create and inserts) work fine when copied and pasted directly into the turso shell.
The command turso db url [DATABASE-NAME] doesn't work. You probably meantturso db show [DATABASE-NAME] --url
Use the term "authentication token" instead of "secret key" to be more consistent with the documentation.
There is a recommendation to create a file ".env", but that should be ".env.local", right?  And they can create a template by copying the file ".env.sample"?
Add one final instruction to point their browser to http://localhost:3000 to see the demo work, and explain briefly what they are seeing (when loaded, the page queries the top_destinations table and formats the results).

Don't forget to run through the entire set of steps yourself to make sure everything works the way you expect.
Optional but nice:
I just noticed that you're using images from Unsplash. They have a very permissive license, which is great. I think it would be fair to them for the README to call out in a section at the bottom that this project uses their images, and possibly even attribution for the individual artists who contributed the images in use.

Thanks for the feedback, I actually should have tested the instructions on the readme before submitting. I didnt know i had minor mistakes there.
On the env variables, perhaps its a different convention, there is a .env.example file before but I have now renamed it to .env.local so that we are on the same page.
I think the readme looks good to go now


[release-1.2] webhooks: fix memory-hotplug regression

By mistake https://github.com/kubevirt/kubevirt/pull/12553 reverted code introduced by https://github.com/kubevirt/kubevirt/pull/12217 to only enable memory hotplug for VMs having at least 1Gi of memory.
This patch restores that code to make sure that guests with small memory footprints don't kernel panic.

What this PR does
Before this PR:
After this PR:

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

NONE

@acardace Is unit test possible so I can't mess up again? Pretty please.

@xpivarc unit tests added, it turns out that single test was missing from main so I'm going to create a PR to add it there too.

/retest

/cc


cherrypy._cperror.HTTPError: (401, 'Could not authenticate using provided credentials')

Traceback
 <pre id="traceback">Traceback (most recent call last):
  File "/usr/local/python3.5.3/lib/python3.5/site-packages/cherrypy/_cprequest.py", line 670, in respond
    response.body = self.handler()
  File "/usr/local/python3.5.3/lib/python3.5/site-packages/cherrypy/lib/encoding.py", line 220, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/local/python3.5.3/lib/python3.5/site-packages/salt/netapi/rest_cherrypy/app.py", line 719, in hypermedia_handler
    ret = cherrypy.serving.request._hypermedia_inner_handler(*args, **kwargs)
  File "/usr/local/python3.5.3/lib/python3.5/site-packages/cherrypy/_cpdispatch.py", line 60, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/local/python3.5.3/lib/python3.5/site-packages/salt/netapi/rest_cherrypy/app.py", line 1677, in POST
    'Could not authenticate using provided credentials')
cherrypy._cperror.HTTPError: (401, 'Could not authenticate using provided credentials')

I use requests.post method.
 The reason you see the traceback in the output is, I expect, you have debug: True in your rest_cherrypy config. That traceback is getting handled and a 401 response is returned.
Please double-check that your eauth credentials are correct using the salt CLI:
salt -a <eauth backend> '*' test.ping

Salt will prompt you for a username and password. This must be working for salt-api to authenticate since they use the same code.

Yes, I use tornado disable_ssl:True,and debug:true, port:80  I use pam auth, but i create user and change to passwd.
salt -a pam '*' test.ping is don't woker.
thanks you very much.

master log:
2017-03-14 18:31:19,005 [salt.master                                                           ][WARNING ][29485] Authentication failure of type "eauth" occurred.
Trace:
# salt -a pam '*' test.ping -l trace [DEBUG   ] Reading configuration from /etc/salt/master [DEBUG   ] Using cached minion ID from /etc/salt/minion_id: Salt-Server-10-50 [DEBUG   ] Missing configuration file: /root/.saltrc [TRACE   ] None of the required configuration sections, 'logstash_udp_handler' and 'logstash_zmq_handler', were found in the configuration. Not loading the Logstash logging handlers module. [TRACE   ] The required configuration section, 'fluent_handler', was not found the in the configuration. Not loading the fluent logging handlers module. [DEBUG   ] Configuration file path: /etc/salt/master [WARNING ] Insecure logging configuration detected! Sensitive data may be logged. [DEBUG   ] Reading configuration from /etc/salt/master [DEBUG   ] Using cached minion ID from /etc/salt/minion_id: Salt-Server-10-50 [DEBUG   ] Missing configuration file: /root/.saltrc [DEBUG   ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc [DEBUG   ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc [DEBUG   ] LazyLoaded pam.auth username: saltapi password:  [DEBUG   ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/master', 'Salt-Server-10-50_master', 'tcp://<IP_ADDRESS>:4506', 'clear') [TRACE   ] Inserted key into loop_instance_map id<PHONE_NUMBER>33672 for key ('/etc/salt/pki/master', 'Salt-Server-10-50_master', 'tcp://<IP_ADDRESS>:4506', 'clear') and process 30709 [DEBUG   ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pub.ipc [TRACE   ] IPCClient: Connecting to socket: /var/run/salt/master/master_event_pub.ipc [DEBUG   ] LazyLoaded nested.output [TRACE   ] data = Failed to authenticate! This is most likely because this user is not permitted to execute commands, but there is a small possibility that a disk error occurred (check disk/inode usage). Failed to authenticate! This is most likely because this user is not permitted to execute commands, but there is a small possibility that a disk error occurred (check disk/inode usage).
Master conf:

rest_tornado:
port: 80
debug: True
disable_ssl: True
external_auth:
pam:
saltapi:
- .*
- '@wheel'
- '@runner'

becault i disable_ssl : True so i think not check

Ok. The first step is to get salt -a pam '*' test.ping working.
Your external_auth configuration looks correct.

Do you have a local saltapi account that you can log into successfully without Salt?
Is there anything usual about your system PAM configuration?
Are you authentication via PAM to an external service like LDAP?

1、Ican login saltapi,but after change /sbin/nologin -> /bin/bash
2、i no pam config
3、not use LDAP

install CentOS6.5 x86_64
install python3.5.3
install pip
pip install salt
copy https://docs.saltstack.com/en/latest/ref/configuration/master.html conf -> /etc/salt/master and minion
useradd saltapi and change passwd
change conf
run salt-master salt-minion salt-api

PAM conf:
#%PAM-1.0
auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so
auth       include      system-auth
account    required     pam_nologin.so
account    include      system-auth
password   include      system-auth
# pam_selinux.so close should be the first session rule
session    required     pam_selinux.so close
session    required     pam_loginuid.so
session    optional     pam_console.so
# pam_selinux.so open should only be followed by sessions to be executed in the user context
session    required     pam_selinux.so open
session    required     pam_namespace.so
session    optional     pam_keyinit.so force revoke
session    include      system-auth
-session   optional     pam_ck_connector.so

Ok, I look Python 3 compatibility https://github.com/saltstack/salt/commit/307a2bcaffec29d306d58b559b71daf9b32001c4
and update pam.py, pro is ok.
salt -a pam '*' test.ping
username: saltapi
password:
Salt-Server-10-50:
    True

thank you very very much @whiteinge , you can push to pypi?

now i check login:
# curl -si http://localhost/login     -H "Accept: application/json"     -d username='saltapi'     -d password='*******'     -d eauth='pam'
HTTP/1.1 401 Unauthorized
Content-Length: 75
Content-Type: text/html; charset=UTF-8
Server: TornadoServer/4.4.2
Date: Tue, 14 Mar 2017 12:35:12 GMT

error:

401: Unauthorized401: Unauthorized

bump


[T2A5][F09-A2] Chua Jun Wen

Enhanced find method, excluding sorting and editing (future enhancement).

Don't forget to change the Header comment, and User Guide... No need to say excluding sorting and editing in your commit, because that isn't what your commit represent.


An EventEngine subclass to be implemented by all posix based event engines

The posix EE subclass interface is defined in include/grpc/event_engine/posix.h.
This is necessary to handle some file descriptor based operations (e.g RPC-switch) which dont need to be supported in other event engines.
Creating this PR to start some discussion.

Any chance we can make this private before landing? -- I'm looking at the internal use cases we have for it, and I don't think we can get rid of these abstractions for a while (year, maybe two depending on who can work on it) -- but I think we could get rid of them eventually and if so that's desirable.

Any chance we can make this private before landing?

@ctiller How do you propose we support public EventEngine implementations participating in posix-specific behavior? We have public APIs to support, grpc_channel_create_from_fd and whatnot.

I think we should add grpc_channel_create_from_endpoint, and make grpc_channel_create_from_fd a thin wrapper around that.
New EventEngine implementations will not get to participate in grpc_channel_create_from_fd but they will not need to either (as grpc_channel_create_from_endpoint is equivalent).

After some discussion, I agree with the approach, and the suggestion to move the headers under src/ for now.

After some discussion, I agree with the approach, and the suggestion to move the headers under src/ for now.

Sounds good. I moved it to src/core/lib/event_engine/posix.h