"This Land Is My Land" dont work anymore

Before it worked perfectly for me with the ReiPatcher, but now it doesn't translate anything...
The "MonoBleedingEdge" folder was not in that location before...

Greetings,
I don't really understand.

The installer doesn't move any files or folders. It only creates them.
You're saying it worked and then stopped in this game? Perhaps you can provide some log or console information after running the game?

Could it be because it is a game that is not installed?

No, that should not matter at all.

Closing due to inacitvity.


Proposed change to RestTemplate for SpringRESTClientConnector

This issue is a proposed change to the SpringRESTClientConnector.
It currently news up a RestTemplate.
The proposed change is to use create the RestTemplate with the RestTemplateBuilder so that the URI encoding can be controlled.
The reason for this is that, if a regular expression is used for searchCriteria on a call to findEntitiesByPropertyValue or findRelationshipsByPropertyValue, the searchCritera string is appended to the URI as a query parameter.
If the regex contains a '+' character (which means the string to be matched must contain at least one, and optionally multiple,  occurrences of the previous character - the '+' is encoded as a space.
For example, the regex "bond_0+7" should match "bond_07", "bond_007", "bond_0007", etc.
Without the above proposal the query parameter is converted to "bond_0 7", so the search fails.
With the proposed change, the "+" is preserved, and the regex is delivered to the Spring server interface as "bond_0+7", and the search would succeed.
The change is to replace the creation of the RestTemplate with the following:
 DefaultUriBuilderFactory builderFactory = new DefaultUriBuilderFactory();
 builderFactory.setEncodingMode(DefaultUriBuilderFactory.EncodingMode.VALUES_ONLY);
 restTemplate = new RestTemplateBuilder()
                .uriTemplateHandler(builderFactory)
                .build();

The associated PR has been built and tested and addresses the problem.
With the PR, searches work.

@bogdan - Bogdan could you please make sure you are happy with this change?
PR is 2884

I've also added my comment to the PR


Try to fix the potential data race in InformatonProviderImpl

I'm from Outlook iOS team. Not sure if this is a false positive, so please correct me if I'm wrong. The Thread Sanitizer complains the potential data race.

I think it should be good to merge, don't see any further comments/concerns.

Thanks @lalitb, appreciate your help ! Can you help me merge this? I'm not sure if i have the merge permission.


[EBPF] Fix suggested kmt.test command when generating config from pipeline

What does this PR do?
Fix the suggested command for kmt.test when generating a KMT config from a CI pipeline.
Motivation
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes

/merge


HttpHeaders.ContentMd5 is changed to Contenthash

Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[x] C++ Guidelines
[x] Doxygen docs
[x] Unit tests
[x] No unwanted commits/changes
[x] Descriptive title/description

[x] PR is single purpose
[x] Related issue listed

[x] Comments in source
[x] No typos
[x] Update changelog
[x] Not work-in-progress
[x] External references or docs updated
[x] Self review of PR done
[x] Any breaking changes?

closes https://github.com/Azure/azure-sdk-for-cpp/issues/1213

/azp run cpp - storage

/azp run cpp - storage


Init Flow Update?

Hi, it seems there's flow update, i tried using your private server implementation also doesn't work https://github.com/GrowtopiaNoobs/GrowtopiaServer2 using v3.47 (latest) as the client, so here you mentioned
https://github.com/GrowtopiaNoobs/GrowDocs/blame/master/http_server/README.md#L27 as enet host,
https://github.com/GrowtopiaNoobs/GrowDocs/blame/master/http_server/README.md#L28 as enet port.
it connect to my server but after doing some conversation, it connect to another host, and port. (at phase or after "Located server. connecting...")
Here is the preview of the conversation

>> is outgoing
<< is incoming

packet testing is replied:

payload: 0x3a, 0x7, 0x79, 0x36, 0xf3, 0x95, 0xcf, 0xff, 0xad, 0x78, 0xc6, 0x44, 0xdd, 0x5b, 0x83, 0x7b, 0x88, 0xb1, 0xfd, 0xf1, 0xdf, 0x57, 0x6b, 0x99, 0x9b, 0x36, 0xfc, 0xbb, 0x24, 0x3e, 0x8a, 0x64, 0x26, 0x56, 0xd3, 0x3b, 0x6b, 0xf5, 0xde, 0x3d, 0x1a, 0x21, 0x83, 0x85
resp: 0xd0, 0x0, 0xe0, 0x5d, 0x22, 0x19, 0x7, 0x8d, 0x84, 0x7a, 0x89, 0xb0, 0xfe, 0x7c, 0x80, 0xab, 0xfb, 0x10, 0xe8, 0x48, 0x3c, 0xa9, 0xee, 0xaf, 0x98, 0x6f, 0x73, 0xe5, 0x30, 0xd5, 0xa7, 0xf2, 0x90, 0x7d, 0x22, 0x20, 0x78

I think it is better if you would use enet libarary and not raw udp as you would need to remake all functionality of enet.
And about server, you have to write your own modules for it, because if you don't then it won't do anything. https://github.com/GrowtopiaNoobs/GrowtopiaServer2-Module
Or if you asked about something different, then tell me, because I didn't understand your question much.

NGINX has this issue where Growtopia sometimes freezes when it tries to connect to a locally hosted server, because the connection is processed too fast. May be related to your issue. Try delaying the HTTP stuff a bit with a sleep


Automated Syntax correction and enforcement

Please refer to https://github.com/deeplearning4j/nd4j/pull/1626 — this is the same idea applied to a different repo.
Enforces https://google.github.io/styleguide/javaguide.html
I'll just repeat how you can get automated formatting in case of an issue:

run 'mvn formatter:format' in any subproject you want
use the IDEA plugin https://plugins.jetbrains.com/idea/plugin/8527-google-java-format
use Eclipse's built-in code formatter with the provided contrib/formatter.xml format file
if all else fails, replace in the root pom the goal of the mvn-formatter-plugin :
validate
with
format

Build triggered. sha1 is merged.

Build started sha1 is merged.

Build finished. No test results found.

Refer to this link for build results (access rights to CI server needed):
/job/datavec_PR/68/

Forgot a file, do not merge

I can remove the enforcement for now, if need be.

Yeah just concerned about how we "onboard" this. We should fix all the enforcement errors in this branch before merging this.Yeah just concerned about how we "onboard" this. We should fix all the enforcement errors in this branch before merging this.

All the enforcement errors are fixed in 2850231, otherwise I would not have submitted the PR.

Build triggered. sha1 is merged.

Build started sha1 is merged.

Refer to this link for build results (access rights to CI server needed):
/job/datavec_PR/71/Failed Tests: 3datavec_PR/org.datavec:datavec-data-image: 3org.datavec.image.transform.TestImageTransform.testHistEqualizationorg.datavec.image.transform.TestImageTransform.testConvertColorTransformorg.datavec.image.transform.TestImageTransform.testShowImageTransform

Build finished. 362 tests run, 8 skipped, 3 failed.

Rather than maintaining this, I'd rather merge the corrections without the enforcement and have a later PR for enforcement.

Build triggered. sha1 is merged.

Build started sha1 is merged.

Build finished. 362 tests run, 8 skipped, 3 failed.

Refer to this link for build results (access rights to CI server needed):
/job/datavec_PR/72/Failed Tests: 3datavec_PR/org.datavec:datavec-data-image: 3org.datavec.image.transform.TestImageTransform.testHistEqualizationorg.datavec.image.transform.TestImageTransform.testConvertColorTransformorg.datavec.image.transform.TestImageTransform.testShowImageTransform


resume repairs automatically after errors

The repair often ends up in ERROR state if nodes are down or restarted. Sometimes the message is "Exception: null". After this happens, the repair must be resumed manually with spreaper. It would be preferable if it would resume automatically perhaps after some delay.

It looks like the "Exception: null" happened when one of the JMX calls failed (for mundane reasons).
#107 adds extra check for this, as well as automatically resumes a run that is in ERROR.

We tweaked our approach to this. We agreed that ERROR should mean nothing else than "unrecoverable error", and simply don't set the repair run to that state unless it's a known unrecoverable (repair segment mismatch with cluster topology is the only known one for now). Now we keep retrying if the run is hit by exceptions that we don't handle anywhere.
Hopefully that doesn't become a problem in and off itself. Better than retrying when we already know that it's not going to work at least.


fixed issue #1523 - python medium - bubble sort

Pull Request Type
What kind of change does this PR introduce?
➡  Solved an issue/task
Issue Number: #1523
What is the new behavior?

implements the bubble sort algorithm in python

Other information

input

 arr = [64, 34, 25, 12, 22, 11, 90]
 bubbleSort(arr)

output
[11, 12, 22, 25, 34, 64, 90]

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Fix generate pipelines

Paths of the images extracted by the preprocessing or extract have changed, but generate was not updated.
It will be fixed after the preprocessing pipelines will be finished.

There is another question linked to this issue: should we keep the preprocessing pipelines inside clinicadl or we should wrap preprocessing pipelines from Clinica?


FIX: Device.read_configuration() was calling component.read()

(As mentioned in the above commit message)
Scaler test was failing due to EpicsSignal.read_configuration returning an empty dict, whereas it expected a dict including a value. I think that this implies Signal.read_configuration should have both values and metadata (limits/EGU/etc)...  Devices, on the other hand, only respect configuration_attrs.


Emoji do not render properly

Discord

Quarrel

Discord

Quarrel

What's the problem?

@MarcAnt01 ideally I would like the emoji to have the same style as discord's emoji and some of the emoji do not render at all :a: is an example of that.

Fixed

not all emoji render properly still
Discord

Quarrel

not all emoji render properly still
Discord

Quarrel

Maybe Discord emojis are a bit complex, but shouldn't making an own emoji font solve this kind of issue?

no, the problem is the parsing


chore(main): release helm/cron-set-controller 1.1.0

:robot: I have created a release beep boop
1.1.0 (2024-01-03)
Features

set appVersion to 1.1.0 (112af6f)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/grasse-oss/cron-set-controller/releases/tag/helm/cron-set-controller-v1.1.0 :sunflower:


[FAB-17504] add Organizations..OrdererEndpoints and remove Orderer.Addresses

Description
The use of Orderer.Addresses in configtx.yaml is deprecated, and Organizations..OrdererEndpoints should be used instead. Therefore, update all the fabric-samples configtx.yaml files.
Related issues
https://jira.hyperledger.org/browse/FAB-17504
Signed-off-by: xu wu<EMAIL_ADDRESS>

Can you do a git fetch and git rebase on the latest master which includes the fixes for the failures you are seeing in CI

Can you do a git fetch and git rebase on the latest master which includes the fixes for the failures you are seeing in CI

I have done this and all checks hava passed.

LGTM, tested locally ran well


override add OpenBSD's malloc_conceal API proposal.

first step: templatization of PALs, type not triggered yet.

Apologies, I broke CI with the branch name change, can you rebase onto the latest main to get the checks to run.
Sorry, I haven't commented on this yet, I try to get to it soon.

Some questions:

Do you want free to work on something returned by malloc_conceal?

Yes, the openbsd libc version allows it too thankfully, freezero just do an extra step, that s it.

Do malloc_conceal and malloc need to be in the same compilation unit?

Does not have to.

Sorry, I haven't got much time until the new year to help you with this.

I m not in a hurry myself no worries :-)


chore(main): release frontend 0.0.8

:robot: I have created a release beep boop
0.0.8 (2024-07-15)
Features

add new functionality (d656986)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

frontend-v0.0.8
:sunflower:


boards: arm: nucleo_f091rc: enable CAN support

This MCU has a classical CAN controller, which was previously not enabled.

Rebased again to fix unrelated CI issue.


Make more use of generic types

Summary
We should make more using of generic types instead of dynamic traits to abstract over the implementation. For example, instead of a function like fn handler(chain1: Box, chain2: Box), it could instead be written as fn handle<Chain1: ChainHandler, Chain2: ChainHandler>(chain1: Chain1, chain2: Chain2). The chain implementations could then have associated types such as Height, Connection, etc. This would make it less likely to accidentally mix up the values when forwarding them from one chain to another.
(copied from @soareschen's original proposal here)

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

The main use-case for generic types was in the context of the ChainHandle. Since 1253 fixed that, let's close this PR. We'll consider down the road if further investments in generics are worth.


Support web-friendly command: open URL

Currently the (shell) command button isn't supported at all (it renders, but nothing happens when you click it).   It would be useful to allow opening web URLs by inspecting the command.   Perhaps support command line syntax for launching a few browsers at a given URL such as Chrome, Chromium, and Firefox.   Note:  it wouldn't actually launch the specified browser, it would just confirm that the URL should be opened in the existing WEDM browser (probably in a new tab).

Usage:
A shell command widget with a single command comprised of a browser name plus a URL starting with "http"(s) where browser name is one of:
- firefox
- chrome
- google-chrome
- chromium
- chromium-browser


neon-cluster-operator refactor

The current neon-cluster-operator is currenty very simplistic and it's time to refactor this to follow Kubernetes operator conventions:

monitor custom resources for settings and cluster state changes
control loops that transition resources from current to desired state
operator simplicity: intended to do one thing well
perform leader election where that makes sense

The current neon-cluster-operator is:

launching the neon-setup-grafana and neon-setup-harbor jobs when these setup activities haven't completed.  We're going to relocate this logic to the actual setup code: #1301

periodically verifying that Harbor has all of the node images, loading any missing ones from GHCR.

THE PLAN:
The basic plan is to replace the neon-cluster-manager with micro services handling specific activities.  I am thinking that we should consolidate multiple virtual operators into neon-cluster-manager somewhat like kube-controller-manager does.
THINGS TO THINK ABOUT:
We need to study Kubernetes operator/controller best practices:
https://sdk.operatorframework.io/docs/best-practices/best-practices/ <--- operator Ten Commandments
https://kubernetes.io/docs/concepts/extend-kubernetes/operator/
https://kubernetes.io/docs/concepts/architecture/controller/
We also need to understand how much the .NET KubernetesClient can help us:
KubeSharper: An SDK for Building Kubernetes Operators in C# <--- excellent reading
JEFF: This looks super interesting.  It even supports CRD generation, but I can't find any source or nugets.
Here are some possible alternatives:

https://github.com/ContainerSolutions/dotnet-operator-sdk (very minimal)
https://github.com/engineerd/kubecontroller-csharp/tree/master/KubeController (another incomplete weekend project)
https://github.com/buehler/dotnet-operator-sdk (looks more promising, 22K+ nuget KubeOps)

WORK ITEMS:

[x] Remove the Harbor and Grafana setup related code as part of #1301.

[x] Relocate Helm charts from Neon.Kube to Neon.Kube.Setup to avoid circular project references when the operator depends on Neon.Kube but also needs to generate its CRDs which will need to be added to the installed Helm charts.

[x] Integrate the operator into the Neon.Kube.Setup build by copying its generated CRDs and other Helm chart related files from the project as a post-build event.

FYI @marcusbooyah: **The CreateDatabaseAsync() method in the neon-setup-grafana service was a bit hard to follow:

The database connection is opened and closed a bunch of times which seems unnecessary.

You're not using the Neon.Postgres extensions which make it much easier to execute SQL commands as well as handling database creation.

The original method looked like this:
        private async Task CreateDatabaseAsync(string dbName, string dbUser, string dbPass = null)
        {
            try
            {
                await using var conn = new NpgsqlConnection(await GetConnectionStringAsync());
                await conn.OpenAsync();

                var dbInitialized = true;

                await using (var cmd = new NpgsqlCommand($"SELECT DATNAME FROM pg_catalog.pg_database WHERE DATNAME = '{dbName}'", conn))
                await using (var reader = await cmd.ExecuteReaderAsync())
                {
                    await reader.ReadAsync();
                    if (!reader.HasRows)
                    {
                        await conn.CloseAsync();
                        Log.LogInfo($"[{KubeNamespaces.NeonSystem}-db] Creating database '{dbName}'.");
                        dbInitialized = false;
                        await using (var createCmd = new NpgsqlCommand($"CREATE DATABASE {dbName}", conn))
                        {
                            await conn.OpenAsync();
                            await createCmd.ExecuteNonQueryAsync();
                            await conn.CloseAsync();
                        }
                    }
                }

                if (conn.State != System.Data.ConnectionState.Open)
                {
                    await conn.OpenAsync();
                }

                await using (var cmd = new NpgsqlCommand($"SELECT 'exists' FROM pg_roles WHERE rolname='{dbUser}'", conn))
                await using (var reader = await cmd.ExecuteReaderAsync())
                {
                    await reader.ReadAsync();
                    if (!reader.HasRows)
                    {
                        await conn.CloseAsync();
                        Log.LogInfo($"[{KubeNamespaces.NeonSystem}-db] Creating user '{dbUser}'.");
                        dbInitialized = false;

                        string createCmdString;
                        if (!string.IsNullOrEmpty(dbPass))
                        {
                            createCmdString = $"CREATE USER {dbUser} WITH PASSWORD '{dbPass}'";
                        }
                        else
                        {
                            createCmdString = $"CREATE ROLE {dbUser} WITH LOGIN";
                        }

                        await using (var createCmd = new NpgsqlCommand(createCmdString, conn))
                        {
                            await conn.OpenAsync();
                            await createCmd.ExecuteNonQueryAsync();
                            await conn.CloseAsync();
                        }
                    }
                }

                if (!dbInitialized)
                {
                    if (conn.State != System.Data.ConnectionState.Open)
                    {
                        await conn.OpenAsync();
                    }

                    Log.LogInfo($"[{KubeNamespaces.NeonSystem}-db] Setting permissions for user '{dbUser}' on database '{dbName}'.");
                    await using (var createCmd = new NpgsqlCommand($"GRANT ALL PRIVILEGES ON DATABASE {dbName} TO {dbUser}", conn))
                    {
                        await createCmd.ExecuteNonQueryAsync();
                        await conn.CloseAsync();
                    }
                }
            }
            catch (Exception e)
            {
                Log.LogError(e);

                throw e;
            }

I relocated this to CreateSystemDatabaseAsync() in KubeSetup.Operations.cs and simplified this to:
        private static async Task CreateSystemDatabaseAsync(ISetupController controller, Kubernetes k8s, string name, string username, string password = null)
        {
            Covenant.Requires<ArgumentNullException>(controller != null, nameof(k8s));
            Covenant.Requires<ArgumentNullException>(k8s != null, nameof(k8s));

            using (var connection = new NpgsqlConnection(await GetSystemDatabaseConnectionStringAsync(controller, k8s)))
            {
                await connection.OpenAsync();

                // Create the database if it doesn't already exist.

                using (var reader = await connection.ExecuteReaderAsync($"SELECT DATNAME FROM pg_catalog.pg_database WHERE DATNAME = '{name}'"))
                {
                    if (!reader.HasRows)
                    {
                        await connection.ExecuteNonQueryAsync($"CREATE DATABASE {name}");
                    }
                }

                // Create the user if it doesn't already exist.

                using (var reader = await connection.ExecuteReaderAsync($"SELECT 'exists' FROM pg_roles WHERE rolname='{username}'"))
                {
                    if (!reader.HasRows)
                    {
                        if (!string.IsNullOrEmpty(password))
                        {
                            await connection.ExecuteNonQueryAsync($"CREATE USER {username} WITH PASSWORD '{password}'");
                        }
                        else
                        {
                            await connection.ExecuteNonQueryAsync($"CREATE ROLE {username} WITH LOGIN");
                        }
                    }
                }

                // Grant the user full access to the database.

                await connection.ExecuteNonQueryAsync($"GRANT ALL PRIVILEGES ON DATABASE {name} TO {username}");
            }
        }

We should try to use our command extensions as much as possible since it'll be easy to have memory leaks and other problems when manually disposing commands, especially for ad-hoc commands like this.  Exceptions to this would be when we'd want to use prepared statements for performance.

NOTE: I've temporarily disabled cluster operator installation during cluster setup.

DONE


gs-table not properly selecting field after update finishes

When you update a cell and hit the down arrow to advance to the next row, the gs-table selects the field, but then after the update finishes, it clears the selection.

Fixed in next release.


correct getting started button position

Uses the correct "getting started" button position in the tutorial overview page.

@pb82 fixed lint issues + updated the tutorial snap file

Button positioning is fixed in PR https://github.com/integr8ly/tutorial-web-app/pull/96. That PR covers a lot of updates to match the latest designs.

@mindreeper2420 thanks, gonna  close this one.


API quota issue

Hi, Thank you for a great plugin to HA! I've implemented card 4 with the code as is (I'm an extreme novice), but the API shows None/None. When I click on this I get the following error message : This entity is unavailable (sensor.load_shedding_sepush_quota). The rest of the card works flawless.
Can you please let me know how to fix this?

Can be closed. The code had sensor.load_shedding_sepush_quota instead of sensor.load_shedding_sepush_api_quota


[Log View]  Filter logs by date and time

This issue covers the following requirements:

[REQ-LOGS-004] A user should be able to set start and end dates when setting the log viewing parameters
[REQ-LOGS-005] A user should be able to set start and end time when setting the log viewing parameters

Tested on branch


Game fails to start

Game fails to start up.
Log: https://pastebin.com/10QFeyAq
Mods:
fabric-api-0.83.1+1.20.1.jar
cloth-config-11.0.99-fabric.jar
trinkets-3.7.0.jar
appliedenergistics2-fabric-15.0.0-alpha.jar
ae2wtlib-15.0.0-beta.jar

should be fixed in 15.0.1-beta


Create a cell that can grab keystrokes and call events on the server

We should be able to accept keystrokes and decide whether to handle them. We should be able to specify an integer priority so that higher priority handlers get to decide first if they want the keystroke.

In theory this shouldn't be a problem, but there are a few things we'll want to consider. What does it mean for an arbitrary Cell to listen for keystrokes? On the DOM side, only certain elements can actively have focus (which is required to fire key events). However we can bind key event listeners to the entire body. In that case we need to carefully manage adding/removing handlers as cells come and go.

Yes that's a good point. I was thinking we'd have a single listener on the
DOM, send a message back to a single global cell, and do the routing on the
server side for precisely this reason.  Another thing to consider is how
does this interact with something like the CodeEditor? I think it's
probably OK for native JS components to be in front and have this be the
fallback for any non-consumed keystrokes.
On Mon, Jun 24, 2019 at 6:00 PM Eric Gade<EMAIL_ADDRESS>wrote:

In theory this shouldn't be a problem, but there are a few things we'll
want to consider. What does it mean for an arbitrary Cell to listen for
keystrokes? On the DOM side, only certain elements can actively have focus
(which is required to fire key events). However we can bind key event
listeners to the entire body. In that case we need to carefully manage
adding/removing handlers as cells come and go.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/APrioriInvestments/nativepython/issues/112?email_source=notifications&email_token=AB6OHBCPR3QSTCAXRC3FTETP4E7XBA5CNFSM4H3CSVL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYOLMLY#issuecomment-505198127,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB6OHBFOR3TQ3ZGOLZMEWNDP4E7XBANCNFSM4H3CSVLQ
.

Another thing to consider is how does this interact with something like the CodeEditor? I think it's probably OK for native JS components to be in front and have this be the fallback for any non-consumed keystrokes.

The event model in the DOM is that events "bubble up" from the nested children to their ancestors. This is true for most types of events. Any listener can call event.stopPropagation() to break the bubbling. But if we have some events listening at the top ancestor level (ie the body) then we just make sure that something like CodeEditor will stop keystroke propagation when it has the focus.

Can you provide an example of how you'd envision this Cell being used in practice?
I am asking because I have the frontend all set up for it, along with a very basic example Cell. My problem now is that I don't really know how to communicate changes to other cells using purely the declarative structure.
Right now I have a KeyAction cell whose constructor looks like this:
KeyAction('Alt+t', someFunction, ['timeStamp'])

Where:

'Alt+t' is the keyCombo that will be registered for the cell on the frontend;
someFunction is a callback that will receive the data from the frontend about the event (this is handled by KeyAction's onMessage);
['timeStamp'] is an example of an array of keys that the action should look up on the frontend's event object and return to the server. In this example, all JS events have a timeStamp and that is data that would get sent back to Python when the key event is triggered.

I am not quite sure how to make an example in the playground given this setup, because it's unclear to me how to get the someFunction to change something in a declarative Cell structure.
Any ideas?

So I was thinking of using it like a 'Button' by communicating through a
slot. So for instance
def exampleCell():
    lastKeystroke = cells.Slot(None)

    return KeyAction('Alt+t', lambda: lastKeystroke.set('Alt+t')) +
KeyAction('Alt+r', lambda: lastKeystroke.set('Alt+r')) + "You pressed: " +
cells.Subscribed(lambda: lastKeystroke.get())

I'm primarily thinking of using this for navigation purposes (e.g.
implementing something like 'ctrl-p' in sublime)
On Fri, Jun 28, 2019 at 11:26 AM Eric Gade<EMAIL_ADDRESS>wrote:

Can you provide an example of how you'd envision this Cell being used in
practice?
I am asking because I have the frontend all set up for it, along with a
very basic example Cell. My problem now is that I don't really know how to
communicate changes to other cells using purely the declarative structure.
Right now I have a KeyAction cell whose constructor looks like this:
KeyAction('Alt+t', someFunction, ['timeStamp'])
Where:

'Alt+t' is the keyCombo that will be registered for the cell on the
frontend;
someFunction is a callback that will receive the data from the
frontend about the event (this is handled by KeyAction's onMessage);
['timeStamp'] is an example of an array of keys that the action
should look up on the frontend's event object and return to the server. In
this example, all JS events have a timeStamp and that is data that would
get sent back to Python when the key event is triggered.

I am not quite sure how to make an example in the playground given this
setup, because it's unclear to me how to get the someFunction to change
something in a declarative Cell structure.
Any ideas?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/APrioriInvestments/nativepython/issues/112?email_source=notifications&email_token=AB6OHBF7BKT3NG22FCB6V2TP4YUTRA5CNFSM4H3CSVL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY2MN6Q#issuecomment-506775290,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB6OHBGCU37JG3ENQRCGY3DP4YUTRANCNFSM4H3CSVLQ
.

Closed by #152


Laravel Mix v6 can't handle directories with a ':' in the directory name

Laravel Mix Version: 6.0.11 (npm list --depth=0)
Node Version (node -v): v12.20.2
NPM Version (npm -v): 6.14.11
OS: Amazon Linux2, (Centos v7)

Description:
If the directory that contains your Laravel repository contains a ':', then "npm run development" will fail with "sh: mix: command not found".
This is a change in behaviour from Mix v5.  When we extract code as part of our deployment process we extract it into a directory that contains the date/time of the head commit and that includes colons between the components of the timestamp (i.e. hh:mm:ss). That has worked fine with every Laravel version up until mix v6, but this directory naming convention makes mix v6 very unhappy.
Obviously the workaround is "don't use colons in a directory names", but ...
Steps To Reproduce:
composer create-project laravel/laravel laravel8
cd laravel8
npm install
npm run development
# This will work "just fine"

cd ..
mv laravel8 laravel:8
cd laravel:8
npm run development
> @ development /var/www/versions/laravel:8
> mix

sh: mix: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! @ development: `mix`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the @ development script.

same on mac


Deletion of rows not work due to deprecated API

Describe the bug
Rows deletion not work in Dejavu. After clicking Delete button, Dejavu invoke the following request.
POST /<indexname>/_doc/_delete_by_query?wait_for_completion=true&scroll_size=5000
{"query":{"ids":{"values":["2wpfOHABe1crLPCuLH_-"]}}}

Response. As shown, deleted shows 0 rows are deleted actually.
{"took":5,"timed_out":false,"total":0,"deleted":0,"batches":0,"version_conflicts":0,"noops":0,"retries":{"bulk":0,"search":0},"throttled_millis":0,"requests_per_second":-1.0,"throttled_until_millis":0,"failures":[]}

Copy the request over to Kibana and delete /_doc fragment inside the URL and it works.

Kibana also warns that Specifying types in search requests is deprecated.
Dejavu Version
Dejavu 3.4.0, docker version
Elasticsearch 7.3.0
To Reproduce
Steps to reproduce the behavior:

Connect to ES server in Dejavu
Select a row (or more) data
Click Delete
Click Reload, and row is still here.

Expected behavior
The document should be deleted normally.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser: Firefox
Version 73.0
ES Version:

{
  "name" : "elasticsearch-master-2",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "<redacted>",
  "version" : {
    "number" : "7.3.0",
    "build_flavor" : "default",
    "build_type" : "docker",
    "build_hash" : "de777fa",
    "build_date" : "2019-07-24T18:30:11.767338Z",
    "build_snapshot" : false,
    "lucene_version" : "8.1.0",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}

Additional context
Add any other context about the problem here.

@ttimasdf thank you for reporting this!
we have fixed it here https://github.com/appbaseio/dejavu/pull/378


text/template: missingkey=zero behaves different from html/template

Go version
go version go1.23.4 linux/amd64
Output of go env in your module/workspace:
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/enrico/.cache/go-build'
GOENV='/home/enrico/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE='ebony.local'
GOMODCACHE='/home/enrico/.asdf/installs/golang/1.23.4/packages/pkg/mod'
GONOPROXY='ebony.local'
GONOSUMDB='ebony.local'
GOOS='linux'
GOPATH='/home/enrico/.asdf/installs/golang/1.23.4/packages'
GOPRIVATE='ebony.local'
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/home/enrico/.asdf/installs/golang/1.23.4/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/home/enrico/.asdf/installs/golang/1.23.4/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.23.4'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/home/enrico/.config/go/telemetry'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/home/enrico/Projects/golang/active/web/chi-client/go.mod'
GOWORK='/home/enrico/Projects/golang/active/web/go.work'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1859946843=/tmp/go-build -gno-record-gcc-switches'

What did you do?
Parsing a template with help of text/template, but the missingkey=zero option behaves different from html/template.
see https://go.dev/play/p/trAByD_1bEQ for an example of what iam doing.
Sadly the playground just allows me to change the major version it isn't clear now if this is a bug in the patch release 1.23.4, i get the same behavior with version 1.23.1 .
What did you see happen?
With text/template i get the following result...

Foo

    <no value>

with html/template i get the correct result...

Foo

also see attached screenshots...
here with text/template...

here with html/template...

What did you expect to see?
An output without , like that html example below

Foo

your playground link works fine, are you saying if you run that same code in your local machine the tt output is suddenly different? it seems your screenshot is a browser “view source” so you have more code involved? maybe a typo?
side note: you shouldn’t use text for html anyway?

Hi,
here is thge code that is delivering the template result to my http handler...
//go:embed *.html js/* css/* views/* models/*
var assets embed.FS

func Deliver(w http.ResponseWriter, path string, data ...any) {
	content, err := assets.ReadFile(path)
	if err != nil {
		log.Error(err)
	} else {
		tpl, err2 := template.New(path).Option("missingkey=zero").Parse(string(content))
		if err2 != nil {
			log.Error(err2)
		}
		var arg any
		if len(data) > 0 {
			arg = data[0]
		}
		if ok := tpl.Execute(w, arg); ok != nil {
			log.Error(ok)
		}
	}
}

here is how i use it inside my handler...
func (route Route) Root(w http.ResponseWriter, r *http.Request) {
	assets.Deliver(w, "index.html", Map{})
}

here is a example of what iam doin..
https://github.com/lirtistan/template_bug

Spoiler it works as expected, so seems its my program which does wrong things, i don't understand right now. Sorry i close this issue for now and go for bug hunt.

I found the issue. See my repo for a working example (i updated the code which reflects the current state, it shows the bug)...
https://github.com/lirtistan/template_bug

Duplicate of #24963


Occasional AV in UIKit!LayerProxy::RemoveFromSuperLayer when navigating home in Pori

Navigating back/forth between the home screen and the dress-up page occasionally AVs.
UIKIT.DLL!LayerProxy::RemoveFromSuperLayer() Line 316	C++
UIKIT.DLL!LayerTransaction::_QueueMovement() Line 240	Objective-C++
UIKIT.DLL!LayerTransaction::RemoveLayer(const std::shared_ptr<ILayerProxy> & layer) Line 192	Objective-C++
QUARTZCORE.DLL!+[CATransaction _removeLayer:](objc_class * self, objc_selector * _cmd, CALayer * layer) Line 240	Objective-C++
QUARTZCORE.DLL!-[CALayer removeFromSuperlayer](CALayer * self, objc_selector * _cmd) Line 833	Objective-C++
UIKIT.DLL!-[UIView removeFromSuperview](UIView * self, objc_selector * _cmd) Line 1629	Objective-C++
UIKIT.DLL!-[UINavigationController _layoutContainer](UINavigationController * self, objc_selector * _cmd) Line 844	Objective-C++
UIKIT.DLL!-[UINavigationPane layoutSubviews](UINavigationPane * self, objc_selector * _cmd) Line 34	Objective-C++
UIKIT.DLL!-[UIView layoutSublayersOfLayer:](UIView * self, objc_selector * _cmd, CALayer * forLayer) Line 1152	Objective-C++
QUARTZCORE.DLL!-[CALayer layoutSublayers](CALayer * self, objc_selector * _cmd) Line 2267	Objective-C++
QUARTZCORE.DLL!DoLayerLayouts(CALayer * window) Line 173	Objective-C++
QUARTZCORE.DLL!__26-[CALayer _displayChanged]_block_invoke(void * .block_descriptor) Line 2234	Objective-C++
LIBDISPATCH.DLL!_dispatch_call_block_and_release(void * block) Line 125	C
LIBDISPATCH.DLL!_dispatch_queue_drain(dispatch_queue_s * dq) Line 1548	C
LIBDISPATCH.DLL!_dispatch_queue_serial_drain_till_empty(dispatch_queue_s * dq) Line 1407	C
LIBDISPATCH.DLL!_dispatch_manual_queue_drain(dispatch_queue_s * q) Line 108	C
LIBDISPATCH.DLL!dispatch_main_queue_callback() Line 309	C
FOUNDATION.DLL!-[NSRunLoop(Internal) _processMainRunLoop:](NSRunLoop * self, objc_selector * _cmd, int value) Line 536	Objective-C++
FOUNDATION.DLL!_ProcessMainRunLoop(int signaled) Line 66	Objective-C++
FOUNDATION.DLL! ?? :: ?? ::Invoke() Line 240	Objective-C++

Strange; I'm no longer able to repro after my recent OS upgrade.  The actual source of the AV was within Xaml in the call to RemoveAt below.  We had a valid subLayerPanelForParentLayer, and it returned a valid index, so it wasn't clear why we  were AV'ing deep within Xaml when removing from the children collection (I should have included a full call stack in this bug, but now I can't repro to get one).  It's possible that this was a Xaml bug that was recently fixed.
    if (subLayerPanelForParentLayer->Children->IndexOf(xamlElementForThisLayer, &idx) == true) {         subLayerPanelForParentLayer->Children->RemoveAt(idx);     }
I'm closing this out as 'not repro', but we can reactivate if we start hitting it again.


Received the exit code '2'

Error: html-pdf: Received the exit code '2'
0|test| /var/www/html/work/test/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: 1: /var/www/html/work/test/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: Syntax error: Unterminated quoted string
I am not able to figure out what is causing this. Please help.

I solved this issue by doing "npm rb" or "npm rebuild"


Server offline

A question. I was testing the server and the server works fine, but it stays online for approximately 1 day and 5 hours, then when I try to connect it stays connected and in the server console via ssh/putty it stays static, but the process keeps running and I have to shut down with ctrl + c (I use screen session). I wanted to know if you have had this problem?

Never had that issue, what game server you trying to run?

I'm running a rust server

well it looks like its rust issue, not the method


Extractart for albums

Added the feature requested with #1261.

Looks useful! Thanks for tackling this.
What do you think about making this functionality also associate the extracted art file with the album? Since we're extracting every album's art into the same directory as the music, they probably want to stick together. Calling Album.set_art would tell beets about the file, which is probably what the user wants.
If we did that, we could simplify the flags a little bit:

Without -o would do the new functionality, extracting everything and associating the new files with the albums in the database.
With -o, we'd extract the first match to the specified file.

Associating the extracted art is a good idea! But the solution you're describing has two drawbacks:

All the cover art added before will be overwritten.
It removes the ability to choose a name different from the art_filename configuration option.
So I would suggest to add another flag to tell if the extracted art should be associated to the album and don't touch the rest.

Here is a short background why I am asking for this:
I want to have good cover arts in my music library. To get there, I want to choose from different sources: Manually added files, files extracted from the media files and downloaded ones. So the extraction has to create files named different from art_filename and not associated with the album itself. (BTW: I working on a plugin automating the whole process as much as possible :wink:)

OK, I guess we need the additional complexity then.
As a different simplification: can we perhaps just make the new behavior the default? Then -o PATH would engage the old behavior, and some other flag like -n NAME would keep the new behavior but override the filename. A third flag would disable (or enable) associating the extracted art with each album.
Would that make sense? I'm just hoping to converge on a set of flags that seems intuitive, without trying to preserve 100% backwards compatibility.

I guess it makes sense, so I changed it :smile:.

BTW: Is there a convenient way to call plugin commands programmatically from other plugins?

Looks awesome! Feel free to merge whenever you're ready.


Smooth scroll effect in all page

Smooth scroll is not on UI which will affect UI
I will make add smooth scroll in all page
could you please assign this task under GSSOC'24 extd?
Thanks Virender Prasad

Refork and resync


Minor recipe tweaks

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

This PR just adds some runtime dependencies to silence some conda-build warnings, and rerendered with latest conda-smithy.

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.


✨ New simple shiny app with write-permission to another app's web-bucket

Describe the feature request.
We're hoping the data-platform team will support deploying a new Rshiny app, with auth enabled, that will act as a simple CMS solution to another (already deployed) app (moj-officehub-locator). The new app would simply function to allow a select team outside of the analytical platform to read and push changes to the data behind the moj-officehub-locator app, though a web-form constructed in the new app.
Key requirement:

Support the deployment of a new shiny app, with its own auth, that can read and write to the moj-officehub-locator web-bucket.
No support required with the app development on either side.

For additional context:
https://mojdt.slack.com/archives/C04VBJTKY58/p1700838446879359

We are close to reenabling the app process. This request can be filled with a new app. No additional work required to deliver.


node.lib is missing in the Windows distributions

I have a feeling this is because you have a file called release with text in it, and the node.lib file ordinarily goes to release/node.lib inside the nodejs directory.
This is causing https://github.com/oracle/graal/issues/7063

duplicate of https://github.com/oracle/graal/issues/7063, you can track it's progress there


Update/wafv2

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to <repo_name>?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have read the CONTRIBUTING.md doc.
[ ] I have added necessary documentation (if appropriate).
[ ] Any dependent changes have been merged and published in downstream modules.

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

@adenot, please review it and I need help on how would be the best approach to associate it with ALB and CloudFront, if we do that in the WAF module or in the ALB and CloudFront modules.

e WAF module or in the ALB and CloudFront modules.

better we pass the WAF ARN to the ALB/cloudfront module and it will attach it


documentation not clear

could'nt resolve pro.truongsinh.appium_flutter.FlutterFinder

Have a look at #101


How to convert my yolov5s.pt to yolov5s.ptl

Area Select
react-native-pytorch-core (core package)
Description
I have seen there is an export script https://playtorch.dev/docs/tutorials/prepare-custom-model/ for mobilenet, but I have trained yolov5s.pt how to export it for playtorch in yolov5s.ptl format.

I have this problem, too Do you have a solution?


Add sphinx docs

Installed sphinx and add some initial, skeletal docs; also update README. I'll go ahead and merge, even though the docs still need work, so I can make sure that things are set up properly with readthedocs.

Coverage remained the same at 79.561% when pulling f5eba4853ae1c7f4bb939664373fdceab7cf64e0 on add-sphinx-docs into a39e3398f038c71d017aa488fee206c704cdcb09 on master.


refactor Connection#request for clarity

I was starting some work on excon and found the Connection#request method a little daunting.  I'd like to shrink it down by extracting logical units along the lines of 67209510d2c6ebc16117c5067ae32bd59ff2bfab.  Is that something you'd be amenable to?

Unfortunately my answer is "it depends".  I think extracting the mocks as in this case makes total sense, but I am hesitant to just say yes in the general case.  One of the goals of excon is to remain as fast as possible and so we must be somewhat cautious about how many method invocations we add (because the cost is small but adds up).  This is more historical than the last word though, I'm certainly open to discussing the possibility further.

Makes sense.  In that case I'll make a few changes and leave them unsquashed so we can discuss with make sense and which don't.
--mkb
On Dec 5, 2011, at 5:58 PM, Wesley Beary wrote:

Unfortunately my answer is "it depends".  I think extracting the mocks as in this case makes total sense, but I am hesitant to just say yes in the general case.  One of the goals of excon is to remain as fast as possible and so we must be somewhat cautious about how many method invocations we add (because the cost is small but adds up).  This is more historical than the last word though, I'm certainly open to discussing the possibility further.

Reply to this email directly or view it on GitHub:
https://github.com/geemus/excon/pull/85#issuecomment-3027054


Copy all labels from the installation to generated resources

Let the user configure additional settings on the job spawned by the Porter Operator to run Porter commands. One use of that we can set the necessary labels for pod identity.
The AgentConfig struct needs to support passing additional labels and annotations.

I've updated the title to reflect that we just want to copy labels from the installation resource to any generated resources (job, pvc, secret). There has been a bunch of refactoring at this point and I think the change should be very straightforward now.

@carolynvs  Isn't this closed now?

Yup!


AzureWebJobStorage on baremetal kubernetes question

Azure Functions 3.0
Dotnet Core 3.1
Currently we are running KEDA and kubernetes on bare metal. My Azure function which uses the rabbitmq trigger does not pick up messages correctly and shows a warning that the AzureWebJobStorage is required for rabbitmq trigger. I have tried setting the env to the defaulted appsettings value but the trigger still does not pickup messages correctly. Is there some updated documentation on the default settings required to run the azure function with a rabbitmq trigger as a docker image on baremetal kubernetes?
I wanted to add that we are not able to use Azure in the cloud at all.
Values I have tried:
"AzureWebJobsStorage": "UseDevelopmentStorage=true", -- also tried false.
"AzureWebJobsSecretStorageType": "Files",

I wanted to add that we are using EF Core 3.1.2 not sure if this can cause issues.

@kentonbmax what is the message/log output you're seeing? Can you please share that information and stack details if present?


manage tf_state internally on a profile basis using terraform local backend, test with multi profile deployment

in progress, can setup the terraform backend via the cli, but it appears just running the profile didn't adjust the correct infra when attempting to have two - might be something to do with gcloud sdk?


TQDM freezing sporadically

Type: Bug

Be me
Use TQDM for watching progress of longer operations of your Jupyter notebooks wit ha remotely hosted Jupyter kernels.
Just do your thing for a while
TQDM stops updating after a while and the cell freezes its progress bar.

What version of TQDM are you using
Do you run into similar issues wehn running this locally?

Closing this issue as its been over 4 weeks, since the information was requested.
We'll be happy to reopen the issue when the requested information has been provided.


List type page shown as a Card type page which opens on clicking an action.

Hi all,
I have created a list type page 'SamplingQuantityPage'

I have created an action which on clicking opens up this page.

But on clicking this action, the page opens up as a card type page instead of a list type even though I have declared it as a list type page.

 Thanks in advance.

Please check this issue
https://github.com/Microsoft/AL/issues/72
we need to add repeater also.

Hi @pmohanakrishna,
Oh Yes! Thank you. Its solved.


SASS library no longer allows you to override the rem function native to CSS

The npm sass library (https://www.npmjs.com/package/sass) in the latest release (1.65.1) appears to have changed the way functions are handled, if those functions names match exactly to native css functions.
The behavior in 1.65.1 is that native css functions get called rather than the declared function.  While that seems like reasonable behavior, it breaks the handoff build because we use a custom rem() function.

In this release, we are going to pin the node sass library to 1.64.2 until we can rewrite the sass functions and implementation of bootstrap 5.2, 5.3 and the core site to not use the rem function name.


Revert "Revert "Add latest application and normal conf. Vespa, and blockers, to dep.g…""

Reverts vespa-engine/vespa#12106
@hmusum let's see how the PR build goes. Tests are fine locally, but there seems to be something abuot the VTag version ...

Closed in favour of https://github.com/vespa-engine/vespa/pull/12114


[Feature Request: TextField]Support "multiline" prop

Is your feature request related to a problem? Please describe.
Multiline text-field that starts off as a single line and grows extra rows as needed
Describe the solution you'd like
See spec under Material's "Multi-line fields" section:
https://material.io/design/components/text-fields.html#input-types
Describe alternatives you've considered
TextArea prop provides different look and behaviour

This project is a wrapper around mdc-web. We won't add it until mdc-web implement it.
There's an issue in mdc-web about the multi-line text field.

Oh, wow. I can't believe how late the mdc-web implementation is. That's a shame. Thanks for the info.


Add formatting enhancements

Went down a rabbit hole when fixing up formatting for my other PR.
Is there a reason clang-format should be only version 5?
This PR:
Changed the format.sh script to support updated versions of clang-format. I also added -style=file since there's a .clang-format file in the directory but it's not currently used in the clang-format command.
I ran clang-format-5.0 on a VM and it resulted in the same formatting changes as clang-format v 6. (src/send.c, src/probe_modules/module_udp.c).
I also wrote a script that when run from Travis will error if it detects invalid formatting.
The reason this isn't currently passing Travis is that clang-format-5.0 isn't in Trusty. And it looks like Travis-ci doesn't currently support Xenial. Could we use the version currently in Trusty (3.6) to test? Otherwise, another workaround is Docker but I'm not sure if that's overkill.

@ajholland IIRC, the older version didn't format the same as the newer version, which is how we ended up with the version check. If Trusty doesn't have the right version, check to see if there's a PPA we can add? I expect Clang has an official one.

@dadrian This works on travis now and is ready for another pass.

That part doesn't bother me as much as the fact that it's arbitrarily just indenting blocks that aren't in any function. L47.

Makes sense, I don't know why Clang-format v5 is doing that, and after looking into it I couldn't find any documentation on it.
I did, however, confirm that clang-format v6 doesn't do this behavior. I could update the build to use clang-format-6.0? There would be no other changes to the style (from updating).

I updated this to use clang-format-6.0 which didn't have the above annoying behavior.
The main goal of this is to standardize the format used and ensure pull requests follow the format currently established.

How hard is it to install clang-format 6?

Is it brew installable?

Yes, brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/2c2c4b8bfb93e3b409c1c9c51b8a76c3497e0ca0/Formula/clang-format.rb will install clang-format-6.0. I believe the new default is 7.0.

I made the formatting check soft-fail for now.


discovery.yml is not up-to-date with latest release

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3212
Originally created by @edgarrmondragon on 2022-02-03 20:11:02

The manifest published in https://meltano.com/discovery.yml doesn't have the latest changes. Compare to https://gitlab.com/meltano/meltano/-/blob/v1.93.0/src/meltano/core/bundle/discovery.yml.
This is causing dbt installation to pull in an old version (0.21.0), while files-dbt requires ~1.0.0 (up-to-date by virtue of pointing to a branch instead of a tag).

View 2 previous comments from the original issue on GitLab


Molecule not installing with ImportError: No module named 'click_completion'

Issue Type

Bug report

Molecule and Ansible details
ansible 2.9.12
molecule <IP_ADDRESS>

Molecule installation method (one of):

pip

Ansible installation method (one of):

pip

Desired Behavior
When I install Molecule, it should install successfully.
Actual Behaviour
I install Molecule (along with other Python deps) like this:
pip3 install ansible molecule ansible-lint yamllint docker

But during install it seems to install a much older version (<IP_ADDRESS>) and I get an error:
Traceback (most recent call last):
  File "/usr/local/bin/molecule", line 5, in <module>
    from molecule.__main__ import main
  File "/usr/local/lib/python3.5/dist-packages/molecule/__main__.py", line 22, in <module>
    from molecule.shell import main
  File "/usr/local/lib/python3.5/dist-packages/molecule/shell.py", line 23, in <module>
    import click_completion
ImportError: No module named 'click_completion'

I'm seeing some other strange install errors on some of my other CI jobs (but not all, which makes this more puzzling), so I'm going to try to see if there was some other Python package that everything depends on which started failing today...

It looks like this was not the fault of molecule, but rather some dependency/environment issue in Ubuntu 18.04's Python 3 build.
I had to switch my Travis CI build environments to use Focal Fossa (20.04), and now the errors I was seeing (in addition to the error above, I was getting error: invalid command 'bdist_wheel' in other builds) are gone.


j.clients.tarantool/TarantoolFactory testmodels is destructive (destroys actual repository / installed files)

THIS BUG IS BEING REPORTED AS PRIORITY MINOR AND NOT IN ANY WAY A PRIORITY FOR ANY MILESTONE OF ANY KIND (Milestone: Roadmap).  PLEASE IGNORE THIS BUGREPORT
        # remove the generated code
        todel = j.sal.fs.getDirName(os.path.abspath(__file__)) + "models/user/"
        j.sal.fs.remove(todel + "/model.lua")
        j.sal.fs.remove(todel + "/UserCollection.py")

these are actions that are destroying actual files that are in the repository.  whether they should have been checked in (at all, if they are auto-generated) is to be determined.

commit 9a79456

commit a6662c2


Switch to Travis Docker build system

This commit switches praw to the Travis Docker build system. This blog post highlights the benefits, but the main ones are:

Builds start in seconds
Faster builds
More available resources in a build container
Better network capacity, availability and throughput
Caching available for open source projects
Easier to scale

Thanks for the PR and the effort with the explanation.


cmd/compile/internal/types2: TestSelf fails if a built pkg/.../syntax.a doesn't exist

What version of Go are you using (go version)?

$ go version
go version go1.19.3 darwin/arm64

Does this issue reproduce with the latest release?
Unsure, there isn't a pre-release version of 1.20 yet.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="arm64"
GOBIN=""
GOCACHE="/Users/dmitri/Library/Caches/go-build"
GOENV="/Users/dmitri/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/dmitri/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/dmitri/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/dmitri/gotip"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/dmitri/gotip/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.19.3"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/dmitri/gotip/src/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/_0/h0671fcn4rgb5pn9c745dx2h0000gn/T/go-build2358895251=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

What did you expect to see?
Passing tests.
What did you see instead?
$ go test -short cmd/compile/internal/types2
--- FAIL: TestSelf (0.01s)
    self_test.go:27: api.go:28:2: could not import cmd/compile/internal/syntax (can't find import: "cmd/compile/internal/syntax")
FAIL
FAIL	cmd/compile/internal/types2	0.427s
FAIL

Note this doesn't happen during all.bash.

I think the problem is that the test assumes that the pkg/darwin_arm64/cmd/compile/internal/syntax.a file exists. However, we drop pkg/goos_goarch/cmd/... files in the distribution to reduce size (see dropPatterns), and these files will stop existing as part of #47257 (CC @matloob).
Can reproduce this after all.bash with go1.19.3 like this:
$ ./all.bash
[...]
ALL TESTS PASSED
---
Installed Go for darwin/arm64 in /Users/dmitri/gotip
Installed commands in /Users/dmitri/gotip/bin
*** You need to add /Users/dmitri/gotip/bin to your PATH.

$ export PATH="$HOME/gotip/bin:$PATH"

$ go test -short cmd/compile/internal/types2
ok  	cmd/compile/internal/types2	0.465s

$ ls ../pkg/darwin_arm64/cmd/compile/internal/syntax.a
../pkg/darwin_arm64/cmd/compile/internal/syntax.a

$ rm ../pkg/darwin_arm64/cmd/compile/internal/syntax.a

$ go test -short cmd/compile/internal/types2
--- FAIL: TestSelf (0.01s)
    self_test.go:27: api.go:28:2: could not import cmd/compile/internal/syntax (can't find import: "cmd/compile/internal/syntax")
FAIL
FAIL	cmd/compile/internal/types2	0.427s
FAIL

This might be fixed at tip. The test passes without pkg/darwin_arm64/cmd/compile/internal/syntax.a.

Yeah, I think this is fixed via CL 432535. Closing and can reopen if we learn otherwise.


Should be able to kubicorn list

Should return the list of available states.

The clarify, are you looking for a list of the states in _state? Example:
$ kubicorn list
adorable-sheepdog
amazing-painting
attractive-creature
attractive-sculpture

@k4k how is this PR coming, anything I can help with?

Closed in #33!


Update natchez-core, natchez-honeycomb, ... to 0.1.5

Updates

org.tpolecat:natchez-core
org.tpolecat:natchez-honeycomb
org.tpolecat:natchez-jaeger

from 0.1.4 to 0.1.5.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.tpolecat" } ]

labels: library-update, semver-patch

Codecov Report

Merging #493 (2bdb420) into main (5bc12c1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #493   +/-   ##
=======================================
  Coverage   86.62%   86.62%
=======================================
  Files         108      108
  Lines        1436     1436
  Branches       36       36
=======================================
  Hits         1244     1244
  Misses        192      192

Continue to review full report at Codecov.

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


⚠ GitLab Server has degraded performance

In 44f47c9, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 11206 ms

Resolved: GitLab Server performance has improved in 6416123.


[CI] Update test template to not use timeout

Description
GitHub workflow was failing because starting of OpenSearch and therefore OpenSearch Dashboards would exit with 124.
For example:
https://github.com/opensearch-project/opensearch-dashboards-functional-test/actions/runs/3237324644/jobs/5304250104
This is due to us using a timeout function and it outputs a non-zero code therefore github actions treats it as a failure code and doesn't run the test.
This fixes to utilize cypress to run the startup commands and tests within a single command.
Signed-off-by: Kawika Avilla<EMAIL_ADDRESS>Issues Resolved
n/a
Check List

[x] Commits are signed per the DCO using --signoff

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

@kavilla Do we still need this PR?

@kavilla Do we still need this PR?

What is your opinion? Does it make it cleaner? It appears that the original issue was due to something else but I like the non-ambiguous timeout step.
If so I can add the condition for passing the security params.

No longer needed. We will revisit in the future.


Migrate Fuchsia artifacts from CIPD to GCS

Most engine artifacts exists on GCS, but Fuchsia is a corner case. For Google testing, we want to be able to support presubmit engine testing, which currently fails on missing Fuchsia artifacts.
The alternative to this is teaching CI about a separate CIPD path, but engine_v2 already has solved this for GCS. Instead, we'll migrate these are artifacts there.
There's only a few places relying on Fuchsia artifacts, so it will be quick to update.

\cc @xilaizhang as this is going to block presubmit Google testing for the engine


[iOS] how to wrap the path and pass it through multipart/formdata?

Package Version:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Hi guys, I am new to react native and right now I am working on a small project that required me to do image/video upload. So, I tried to used react-native-camera module to take picture or record video directly. I am able to take photo and display the image directly in my app and I got a file path from calling this.camera.capture({}).then((data) => {console.log("image path: ", data.path);}).catch(err => console.error(err));. The console result become like this: image path: /var/mobile/Containers/Data/Application/2DE31AD4-1…/Documents/[filename].jpg.
Then, I tried to put this image path into RNFetchblob.wrap function and sending a request to my api by setting 'Content-Type' to be 'multipart/formData'. However, I can't receive any file sent to my server. Here is the way I used:
RNFetchBlob.fetch('POST', [url], {
    Authorization: jwtToken,
    'Content-Type' : 'multipart/form-data'
}, [
    { name: 'file', filename: [fileName], type: 'image/jpeg', data: RNFetchBlob.wrap('/var/mobile/Containers/Data/Application/2DE31AD4-1…/Documents/[filename].jpg') }
]).then((response) => {
    console.log("res: ", response.text());
})
.catch((error) =>  {
    console.log(error);
});

Did I do something wrong when I was trying to follow the example? Or can you guys suggest any solution for that? Thank you very much.

I'm kinda of having the same problem but just on the android platform, iOS seems to upload just fine.

on Android, try to add file:// before the path.


[Crash] 🐞 Crash on Touhou maid running footstep noise or Parcool

I was fighting one of those maid fairies from Touhou Maid mod, and my maid went to attack her, then it crashed with this crash log. Or it could have been Parcool mod's running noise?
crash-2024-04-09_21.55.46-client.txt
Latest log:
latest.log
Minecraft 1.20.1 Forge
PresenceFootsteps-1.20.1-1.9.1-beta.1.jar
ParCool-1.20.1-<IP_ADDRESS>-R.jar
touhoulittlemaid-1.20.1-release-1.1.8.jar

I got this crash again right when a wandering trader spawned in:
crash-2024-04-11_16.03.40-client.txt
latest.log


Remove var in Libraries/Utilities/buildStyleInterpolator.js

Replaces the keywords var with const in Libraries/Utilities/buildStyleInterpolator.js
Test Plan:

[x] Check npm run flow
[x] Check npm run flow-check-ios
[x] Check npm run flow-check-android

Release Notes:
[GENERAL] [ENHANCEMENT] [Libraries/Utilities/buildStyleInterpolator.js] - remove var

Thanks for contributing!

@mottox2 @ggtmtmgg @yushimatenjin I'm excited to see all of you first time contributors helping to fix our linter errors! Out of curiosity, what led all of you to submit these PRs? Is there some post somewhere pointing people here? How can we help encourage more first time contributors?

@TheSavior
We're making a Japanese community named React Native OSS.
Our aim is to contribute to facebook/react-native by pair programming.
@Tnarita0000 found this issues and taught us how to first contribute.
However, "Good first issue" tag is not maintained well, so we're struggling with finding good issues for first contributers.
Could you join our official Slack team and help find good issues? Any IM is fine, but it would be nice to know how we can contact you.

@ggtmtmgg that's great news! As you run across issues with an unfitting "Good first issue" label, will you please comment and let us know? I'm sure future devs will be thankful :)
I'd suggest staying with that label for now; one issue that's open and well defined right now is #22100.

As you run across issues with an unfitting "Good first issue" label, will you please comment and let us know?

Sure, We'll leave this kind of comments from now.
#22100 looks good first issue, We'll take some files. Thank you.


Fix HAR dump

The reason was an invalid import of connections which is gone in d159897d98d47034827714bd0298268d1b9af6f0, but the loading error was silently ignored (#4438) resulting in a misleading exception at a later stage.
The way to run tests from examples.
ln -sr test/conftest.py examples
pytest examples/contrib/test_har_dump.py -k simpl

The way to see the execution flow with silenced exceptions.
from hunter import trace, Q
trace(Q(stdlib=False), ~Q(filename_contains='site-packages'))

Checklist

[x] I have updated tests where applicable.
[x] I have added an entry to the CHANGELOG.

References
Fixes #3377
Fixes #3855

Fantastic, thank you so much! 🍰


fix getSkyblockProfiles bug

Please describe changes
Description

[ ] I've added new features. (methods or parameters)
[ ] I've added jsdoc and typings.
[x] I've fixed bug. (optional you can mention a issue if there is one)
[ ] I've corrected the spelling in README, documentation, etc.
[x] I've tested my code. (npm run test)
[x] I've check for issues. (npm run eslint)
[x] I've fixed my formatting. (npm run prettier)

#438

This also now changes error handling in get member


Implement logging

The JavaScript SDK can use @apify/log to generate nice logs. We should decide if we want to implement something similar for Python, or if we will use the built-in logging library, and then add some logs throughout the SDK.

This was done by #69


Make auth_settings block conditional

Hi team
Currently, the auth_settings block is not conditional; But it seems that AzureRM API ignores this block when local.auth_settings.enabled == false, hence there would be no track if this block in the TF state;
This issue, causes that every time TF plans the deployment, it shows a drift for this block;

This change makes the block conditional, so it is never sent to AzureRM API if local.auth_settings.enabled == false
Type of change

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

Changes proposed in this pull request

Make auth_settings block conditional in the app and its slots

@claranet/fr-azure-reviewers

Thank you for your contribution.
Do you know which version of azurerm causes this drift ? It might be a change in the provider since we did not have this issue so far.
I can see they have done things related to auth settings in v3.43.

Hey @BzSpi
It seems the issues starts from v3.45;
I checked the release logs and they have enabled new auth_settings_v2 block in that release; It should not break anything with original auth_settings block, but I guess it has impacted somehow.
Have a look at the PR here: https://github.com/hashicorp/terraform-provider-azurerm/pull/20449
I did not see any issue with v3.43 or v3.44;
Let me know what do you think.
Cheers

Hey @BzSpi It seems the issues starts from v3.45; I checked the release logs and they have enabled new auth_settings_v2 block in that release; It should not break anything with original auth_settings block, but I guess it has impacted somehow. Have a look at the PR here: hashicorp/terraform-provider-azurerm#20449 I did not see any issue with v3.43 or v3.44; Let me know what do you think. Cheers

Thanks for you're detailed answer. It's OK for me although the CI should be fixed.

CI is fixed


VR live patching: Allow live patch of VPC VRs even if networks are in allocated / shutdown state

Description
This PR attempts to live-patch VPC VRs even when the tier networks are not in the implemented state, i.e., there are no records in the router_network_ref table. Currently when they are in any other state than Implemented, live-patch fails

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[X] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Bug Severity

[ ] BLOCKER
[ ] Critical
[X] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

Create a few VPC networks in say a 4.15.2 env
Create a tier network in one of the VPCs such that it is in allocated state
Create a tier network in another VPC, create a VM and either destroy / shutdown the VM such that the n/w garbage collector will put the network tier in Shutdown state
Upgrade to main branch and then live-patch these VPCs
It should successfully have patched

@Pearl1594 can you raise this for 4.18 branch?

@Pearl1594 can you raise this for 4.18 branch?

done..

code lgtm

@blueorangutan package

@blueorangutan package

@weizhouapache a [SF] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan test

@weizhouapache a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-7697)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 40538 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7958-t7697-kvm-centos7.zip
Smoke tests completed. 108 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File


Add exists method to storage

I would like to be able to check if a file exists in Supabase storage without having to download it:
final bool fileExists = await supabase.storage.from('some-bucket-id').exists('/some/path');

There is currently no api enpoint for this. See the documentation. For the time being, you can create your own postgres function, which queries the storage.objects table.

@caseycrogers
As @Vinzent03 has said, there is currently no APIs for that, so I would recommend creating an issue on the Storage API repo.

Come to think about it, what is the use case for this method? In what scenario would you not know if a file exists or not?
The way use storage is that after I upload a file, I either save the public URL or the path to the file in a database, and when I need to access the file, I would just access it via the saved URL or generate a URL from the saved path.

You may have paths, where you don't have to save the path, because it's not random, but constructed from other parameter. For example, you may have a directory with profile images, where the file name is the uid of the user. You don't have to specifically save the filename, because you already know the uid.

@Vinzent03
In that example, if they had saved the path on the database, they would save 1 extra http request, hence would be able to speed up whatever process that follows.
I fear that adding a exists method might steer the developers toward bad practices, where they would start making extra requests that can be mitigated, but what do you think?

@dshukertjr I'm not sure if you fully understood my use case. Let's say profile images are stored in a predefined directory with the user's uid as the file's name. How do you know on the client whether you already uploaded an image or not? I think the only ways are providing an extra method in the client library, or the user uses a head request and checks for 404.

Ran into this same exact use case today, so just want to give my +1 to this feature getting implemented.
While I do have a fallback image, I'd rather not show the request error in the console if it could be avoided.


client decodes blocks before returning them

This is meant to fix #100.
The CLI no longer decodes blocks, rather the client decodes before returning.
I was unsure if the child_chain should decode applied transactions and submitted blocks, but left this as is, as tests would fail otherwise.
Should decodes be moved out of child_chain along with the refactoring of tests to accommodate?

This is awesome, thank you! It would definitely be useful to convert the rest of Client so that it only takes/returns full Block/Transaction objects as inputs/outputs. I think we're currently using encoded inputs or outputs in the following methods: apply_transaction, submit_block, withdraw, get_transaction.
We would have to refactor the tests too, but I think it'll end up being much cleaner than having to encode/decode everything outside of Client each time.

Okay, awesome! Thanks for the feedback, will update.

I think my previous comment about test cases may have been misguided.
The last commits pulled all encoding/decoding of blocks/tx for the child chain coming into and out of the client into client, this was my understanding of your previous comment .
Let me know if my understanding is correct on this or if I'm totally off base:

for client_chain_service to interact with the child chain server, I/O must be rlp encoded

there must be an encode and a subsequent decode at some point between  client and the child chain

the 'shortest' amount of time blocks/tx are encoded could be between the client_chain_service and the server

encoding/decoding can be taken out of the child_chain and into the server, and only at this point would the child chain tests need refactoring --- is this desirable?

Thanks for bearing with me, I believe this is what was originally called for, with the exception of
withdraw which is still returning encoded to the root chain, and then using the RLP.sol library to decode.

Yep, looks perfect! Thanks for the work on this.

@eashend Thanks a lot!  LGTM, merging.


how to implement sliding windows quantile?

how to implement sliding windows quantile, such as  window size is 1000 on data stream?
how to remove element outside of window?

Pure sliding windows are probably not possible with a t-digest and basing windows on counts is a bit unusual as well. You can implement a form of exponential windowing pretty easily, but it becomes very difficult to understand the digest invariant if you do that.
Typically, what is done instead is to store a digest per time period in compressed form, typically for a minute or 5 minutes. At query time, you simply combine as many digests as necessary to cover the window you want. In many cases, you store many digests for each window so the aggregation involves multiple digests at each time point.
The key point here is that the total bandwidth of metrics is heavily compressed but accuracy is not lost. Suppose that you are storing 10,000 digests every minute, a few of which get a million values per second, most get thousands of samples per second and some get only a few values per minute. The hot digests will have nearly the maximum number of centroids, but will be bounded in size to a few kB (for compression = 100 or 200). The cold digests will only have a few centroids and thus will be considerably smaller. Overall, however, the overall number of bytes per second required to store your methods will be less than 250kB/s which is very modest for such a large amount of metrics. Moreover, a year of data at full resolution is less than 10TB which is (amazingly) now a relatively small amount of data.
If you add aggregated digests for each day then querying any time period will be very fast.
In the end, the question of windowed aggregates is why you need a truly windowed digest.


Fix in management command for Graphviz in Django 1.10.

Trying to graph the transitions with django_fsm 2.4.0 and Django 1.10.1 would raise this error:
$ python manage.py graph_transitions > transitions.dot
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/matiasherranz/.virtualenvs/invertio/lib/python2.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/Users/matiasherranz/.virtualenvs/invertio/lib/python2.7/site-packages/django/core/management/__init__.py", line 359, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Users/matiasherranz/.virtualenvs/invertio/lib/python2.7/site-packages/django/core/management/__init__.py", line 208, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/Users/matiasherranz/.virtualenvs/invertio/lib/python2.7/site-packages/django/core/management/__init__.py", line 40, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/Users/matiasherranz/.virtualenvs/invertio/lib/python2.7/site-packages/django_fsm/management/commands/graph_transitions.py", line 102, in <module>
    class Command(BaseCommand):
  File "/Users/matiasherranz/.virtualenvs/invertio/lib/python2.7/site-packages/django_fsm/management/commands/graph_transitions.py", line 105, in Command
    option_list = BaseCommand.option_list + (
AttributeError: type object 'BaseCommand' has no attribute 'option_list'

This PR fixes the way the management command parameters are set up and fixes this error.

@kmmbvnr Any change of a bug fix release with this PR merged?

Breaks other django's versions


build: Rename module to d2iq-labs/cluster-api-runtime-extensions-nutanix

As previously discussed, renaming the module to github.com/d2iq-labs/cluster-api-runtime-extensions-nutanix, readying for a move to nutanix-cloud-native github org (hopefully happening soon!).

are we planning to rename the repo name as well?

Will this break using it as a gomod dep?

Yes - will need to update it but I'm going to rename the repo once this is merged.

are we planning to rename the repo name as well?

Yes.

should we also include licensing header change in the same? separate is fine too

Good point! Let me do it in this PR.

Fixed up licenses.


BBitmap ImportBits declared private

/xlibe> make
[  1%] Building CXX object xlib/CMakeFiles/X11.dir/Atom.cpp.o
[  3%] Building CXX object xlib/CMakeFiles/X11.dir/Bell.cpp.o
[  5%] Building CXX object xlib/CMakeFiles/X11.dir/Color.cpp.o
[  7%] Building CXX object xlib/CMakeFiles/X11.dir/Cursor.cpp.o
[  9%] Building CXX object xlib/CMakeFiles/X11.dir/Debug.cpp.o
[ 11%] Building CXX object xlib/CMakeFiles/X11.dir/Display.cpp.o
[ 13%] Building CXX object xlib/CMakeFiles/X11.dir/Drawables.cpp.o
[ 15%] Building CXX object xlib/CMakeFiles/X11.dir/Drawing.cpp.o
[ 16%] Building CXX object xlib/CMakeFiles/X11.dir/Event.cpp.o
[ 18%] Building CXX object xlib/CMakeFiles/X11.dir/Extension.cpp.o
[ 20%] Building CXX object xlib/CMakeFiles/X11.dir/Font.cpp.o
[ 22%] Building CXX object xlib/CMakeFiles/X11.dir/GC.cpp.o
[ 24%] Building CXX object xlib/CMakeFiles/X11.dir/IMC.cpp.o
[ 26%] Building CXX object xlib/CMakeFiles/X11.dir/Image.cpp.o
/Data/Code/xlibe/xlib/Image.cpp: In function 'XImage* XGetSubImage(Display*, Drawable, int, int, unsigned int, unsigned int, long unsigned int, int, XImage*, int, int)':
/Data/Code/xlibe/xlib/Image.cpp:214:28: error: 'status_t BBitmap::ImportBits(const BBitmap*, BPoint, BPoint, int32, int32)' is private within this context
  214 |         bbitmap->ImportBits(pixmap->offscreen(), BPoint(x, y), dest_rect.LeftTop(),
      |         ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  215 |                 dest_rect.IntegerWidth() + 1, dest_rect.IntegerHeight() + 1);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Data/Code/xlibe/xlib/Image.cpp:7:
/boot/system/develop/headers/os/interface/Bitmap.h:119:57: note: declared private here
  119 |                         status_t                        ImportBits(const BBitmap* bitmap, BPoint from,
      |                                                         ^~~~~~~~~~
xlib/CMakeFiles/X11.dir/build.make:257: recipe for target 'xlib/CMakeFiles/X11.dir/Image.cpp.o' failed
make[2]: *** [xlib/CMakeFiles/X11.dir/Image.cpp.o] Error 1
CMakeFiles/Makefile2:141: recipe for target 'xlib/CMakeFiles/X11.dir/all' failed
make[1]: *** [xlib/CMakeFiles/X11.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2

seen on hrev55792.
https://git.haiku-os.org/haiku/commit/?id=4ec4055399f9e9d8a51ac94ae92e7eb5761e39c3 looks like the cause.

Indeed it is. Possibly I should not have deprecated that so soon...


docstring for sundials algs

The full documentation for these methods is pretty long, including all of their arguments and such.

Do you want me to add everything? There was some code in the doc too

Can't find the longer documentation for IDA and KINSOL

KINSOL doesn't have any 😅 , but IDA is a DAE solver:
https://diffeq.sciml.ai/stable/solvers/dae_solve/#Sundials.jl


Missing definition in part-8-rtk-query-advanced.md

What docs page needs to be fixed?

Section: Tracking Client-Side State
Page: Redux Essentials, Part 8: RTK Query Advanced Patterns
Link: https://redux.js.org/tutorials/essentials/part-8-rtk-query-advanced#tracking-client-side-state

What is the problem?
The tutorial uses a selector called selectNotificationsMetadata, but never mentions how to define selectNotificationsMetadata.
What should be changed to fix the problem?
Maybe the definition should be shown as here:
https://github.com/reduxjs/redux-essentials-example-app/commit/290e6e0118610fa7543a10cbccfb5f9d0bcd18e7#diff-d55f898ee2c70d3ba7d9868062e00d7872550b6fbfd91f1d998ef25b0fbb295dR139

Can you make a PR? That's a better format for docs issues. There's an "Edit this page" link at the bottom of the page to do so.

Yes, I will make a PR.

Wasn’t quite sure how to fix this one as a newcomer to Redux, so I brought it up in #redux on Discord, and the original author of the doc said he will push a fix.

Should be fixed now, see #4207 . Sorry about that!


iv_analysis returns NaN for whole bias group R_n, p_sat.

P_sat calculation is skipped for channels with NaN R_n, and R_n is calculated using np.mean.
Similar to #268 , I've seen NaNs in iva.resp occur across a whole bias line, and the R_n calculation will then make several other quantities NaN.
Going to replace all calls to np.mean to np.nanmean.

Closed w/ #275


[editor] Disable editing while PresentationMode is active

/botio integrationtest

Might not be too bad to support it (e.g. if you're doing a presentation and you want to highlight some area of the presentation), but definitely requires a better UX.

Given that we purposely don't have any toolbars (or other UI) visible in PresentationMode, there'd be no way to e.g. change any of the editing-parameters without leaving PresentationMode first.
Furthermore, considering how PresentationMode is implemented there's bound to be a number of assumptions (in both the JS and CSS code) that basically depends on it being a very simple mode without e.g. any toolbars. Changing that would probably not be entirely simple, since there's going to be lots of edge-cases, which is why I think this patch makes sense here.

Oh yes, it makes perfect sense to disable it for now. Mine was just an idea for a future feature :)

Note that there's also the "browser fullscreen"-mode, which can be toggled with F11 (at least on Windows), that allows the regular PDF.js viewer (or any web-page really) to occupy the entire screen.


Preview ServiceVersions should use PascalCase

Based on .NET guidelines for capitalization, preview ServiceVersion values should be PascalCase, e.g. "V2021_09_21_Preview" instead of "V2021_09_21_preview". This violates the AZC0016 analyzer recently added to catch cases like this.
At this time, this is caused by a generator bug but, even when fixed, you should consider whether this introduces an undesirable breaking change. For example, if you've already shipped to customers but haven't changed the preview version, you may want to keep it by redefining the same class outside the "Generated" folder.
The easiest way is to move the entire options class that defines your ServiceVersion to the project folder outside the "Generated" folder and next to your client class. When the code is generated again, this class will not be re-generated and you fully own all updates. This is often desirable when you have to maintain multiple versions as well, such as after you ship your first GA and want to ship another preview of GA, or even if you support multiple previews.
If you are able to rename the value to use the uppercase "_Preview" suffix, please remove the GlobalSuppressions.cs file added to your project in PR #23793.

If you haven't shipped, renaming the property in a non-generated source file as described in the issue is best; however, if you have shipped, see https://github.com/Azure/azure-sdk-for-net/pull/23793#pullrequestreview-760329231 for a good suggestion to define additional members and hide the old ones. These preview ServiceVersions should be deleted once you GA anyway, so you would not have to support them forever

This has been fixed -https://grep.app/search?q=(.)*ServiceVersion\n&regexp=true&filter[repo][0]=Azure/azure-sdk-for-net&filter[path][0]=sdk/purview/&filter[lang][0]=C%23.
Please feel free to reopen if you think otherwise.


The built-in library 'dart:html' is not available on the stand-alone VM.

I'm really new to Dart and, actually, I still need to learn the language. But I was setting up Atom as my developing environment to use this plug-in. A button "to run" appeared on a panel on top of the editor, so I clicked it, and I received the following error:
web/main.dart • ~/Desktop/tests/test2 • checked mode • debug
The built-in library 'dart:html' is not available on the stand-alone VM.
'file:///Users/cell/Desktop/tests/test2/web/main.dart': error: line 4 pos 1: library handler failed
import 'dart:html';
^
Unable to connect to the observatory (port 16199).
process finished • exit code 254

Apparently this error occurs because I'm not developing on Dartium, and .dart files can only run on Dartium. So I built first (on the terminal), using pub build, the project created using stagehand.
My question are: When is this "run" button really useful? Is there a way to build the project by clicking that button instead of doing what it actually does?
Maybe it would be better first to learn the language and I would probably understand the differences here...

This plugin can't launch web projects, just CLI ones. The best workflow for using this plugin with web development is to edit in atom, run your server from the CLI, and open/refresh the app in dartium.
Thanks for the issue!


feat(protocol): Bridge proof should only use storage proof

Not sure if this is the correct way to do this, but I'd take a stab at it regardless. This is a large gas optimization for the bridge.
@dantaik because we sync the storageRoot, we can remove the account proof, and use the synced signal root instead. I'm not sure if I did it correctly, tests pass though. Please let me know if this is the appropriate way or if I missed some additional verification necessary, or removed too much.
verifyWithAccountProof is for isMessageFailed, which still requires an account proof, since it uses the Bridge's storage tree not the SignalService.

@cyberhorsey what's the gas cost difference?

Just a general question, it seems like it's possible to move isSignalReceived out of SignalService pretty easily by for example making it an external library function instead. That way the the contract gets much simpler and the contract is closer to just being a storage contract with a method to store some data and a method to read some data, so less risky and then there will never be a need to update it. Now with the built in inclusion of the MPT check, the contract gets outdated when for example Ethereum changes something its trie format or a precompile is made available that is more efficient becomes available.
Also a specific reason signals cannot be 0? Maybe a potential issue with MPT check that always returns true even when the signal is set to 0 because it's the default value? (depends on the MPT verification logic how that is handled).

Just a general question, it seems like it's possible to move isSignalReceived out of SignalService pretty easily by for example making it an external library function instead. That way the the contract gets much simpler and the contract is closer to just being a storage contract with a method to store some data and a method to read some data, so less risky and then there will never be a need to update it. Now with the built in inclusion of the MPT check, the contract gets outdated when for example Ethereum changes something its trie format or a precompile is made available that is more efficient becomes available.
Also a specific reason signals cannot be 0? Maybe a potential issue with MPT check that always returns true even when the signal is set to 0 because it's the default value? (depends on the MPT verification logic how that is handled).

I can move that logic out of SignalService to an external library method in a separate PR!
And yes, I think that is the reason it cannot be 0.


Require capitalizing "Teleport" in the docs

Some parts of the docs say "teleport" where they should say "Teleport". This change edits the messaging linter config to flag uses of "teleport" that are not wrapped in backticks. The exception is in code comments and descriptions, where backticks don't render.

Leaving this as a draft PR while I edit content files in gravitational/teleport to get this to pass

I'm closing this because, after playing around with this approach, there are too many innocuous corner cases (e.g., teleport-kube-agent) for us to catch improper uses of the lowercased "teleport" using the messaging linter.


HTTPS and File Uploads

Make HTTPS proxying smarter by using SNI.
Allow the creation of instances with certificated (this will make the
PWD docker-machine driver a lot better).
Add endpoint to upload files to instances. Right now it only works with
the url querystring parameter. In the near future it will allow to
upload multipart forms.

PR looks good besides some minor comments. I'm 100% sure about how we're doing file uploads but I don't have a better idea about how to do it. I'll try to think about it asynchronously.


Updated VASim to work with new MNRL library for faster JSON parser

Updated the MNRL submodule to the latest that includes a much faster JSON parser. Updated VASim to work with the MNRL library, which moved away from smart_pointers and does everything with references.

Amazing! Thanks for the great work.


Look into parallelizing NetworkPolicy tests

We should be able to parallelize the Connectivity verification (Reachability) components of the network policy tests... note this does not include parallelizing the tests themselves, since of course, the identical namespaces will have stacked policies that result in different results.
But the Reachability is the bottlneck, so parallelization will increase test times by 50% or more (120s -> 30 seconds for verification, over a period of each of  20 tests -> could lead to a 30 minute speedup of tests)

https://github.com/vmware-tanzu/antrea/pull/490 took care of it? @antoninbas

Yes, my bad. Didn't find an existing issue at the time, so I created one. This is a duplicate of https://github.com/vmware-tanzu/antrea/issues/487 (or rather https://github.com/vmware-tanzu/antrea/issues/487 is a duplicate of this...).


Code coverage is not calculated

Reproduction

Create a new project, add new library and prepare UT for it

project attached
ut_cov.zip

Build and run UT:

scargo test

Open UT coverage report - build/tests/ut-coverage.html

Error decription
The generated code coverage report does not contain any data

Expected behavior
The generated code coverage report contains report data
Additional info
When I prepared custom script with lcov I can get proper coverage data
#!/bin/bash

cd /workspace/build/tests

echo Create HTML report using lcov from
lcov --capture --directory . --rc lcov_branch_coverage=1 --output-file pkg.info
echo kicking out included files which are not interesting
lcov --remove pkg.info --output-file pkg_filtered.info --rc lcov_branch_coverage=1 '*/.conan/*' '*/tests/*' '/usr/include/*'

rm -R gcov_html_report
mkdir gcov_html_report
cd gcov_html_report
mv ../*.info .
genhtml pkg_filtered.info --rc genhtml_branch_coverage=1 -rc genhtml_legend=1 -rc genhtml_hi_limit=100 --output-directory . --demangle-cpp

This seems to be caused by #138 (but I'm not sure)