Improve page range calculation

Add unit tests to test for #5
Fixes a bug where not all pages were added

@msageryd I could not reproduce your bug but I did find another that is fixed by this, also added unit tests.
Which command did you execute exactly?

This is the command I'm using on a 20 page PDF:
pdfion-cli explode --pages '1,2,5-22' --std-file-delimiter '--9c354adf-6110-4016-aae7-e48740e7192c' - -
If I back down to 20
it works.
pdfion-cli explode --pages '1,2,5-20' --std-file-delimiter '--9c354adf-6110-4016-aae7-e48740e7192c' - -
This is the PDF I'm using in my test suite.
oh-shit-git-zine.pdf

For me that command works fine and results in

invalid page range '1,2,5-22': 22 is not a valid page number, the document has 20 page(s)

Aha, I see now. It was my fault.
I thought I'd receive the error code (6) as "process exit code" after the process ended. But the only way to see the error is via stderr. I have now reversed the check, so I check stderr before checking the exit code, so I'll catch the correct error.
Do you plan to add exit codes to pdfium-cli? pdftocairo does this, and it's quite convenient. Error strings are not as easy to take action on, since you either have to trust them to never change, or parse them if they have an error code embedded.

Sure, do they do different codes per error, or just one code to tell you something went wrong?

Cairo sends error code as per Popplers documentation.
In Pdfiums case I suppose these should be used:
0 no error
1 unknown error
2 file not found or could not be opened
3 file not in PDF format or corrupted
4 password required or incorrect password
5 unsupported security scheme
6 page not found or content error

I have added the exit codes here: #12
You can find the codes here: https://github.com/klippa-app/pdfium-cli/blob/main/cmd/exit_codes.go
The errors codes are more than what pdfium can return, but the pdfium specific errors are properly mapped to ExitCodePdfium*


[PECO-306] bug fix for escape characters breaking E2E examples

Since release v0.1.3, When running examples/list/list.go, the SHOW TABLES IN @p1 queries were all failing with messages like these:
2022/09/09 19:16:14 error in querying database 000_demo_db: Error running query: [PARSE_SYNTAX_ERROR] org.apache.spark.sql.catalyst.parser.ParseException:
[PARSE_SYNTAX_ERROR] Syntax error at or near ''000_demo_db''(line 1, pos 15)

== SQL ==
SHOW TABLES IN '000_demo_db'
---------------^^^

After this change, these examples work as it had before release v0.1.3:
2022/09/09 19:18:58 Tables in 000_demo_db:
2022/09/09 19:18:58   bi0_mbpartner

Signed-off-by: Matthew Kim<EMAIL_ADDRESS>

What is the release v0.1.3? GoLang connector itself or one of the dependencies? LGTM so long as this is not a reflection on the server change (if so, can we discuss how we would handle versioning due to server change?)

This is the release of GoLang connector itself (not a server change)

It looks like the build-and-test check is failing because of environment issues. I will update our Github DATABRICKS_DSN variable for this repository and we can retry the check.


Add function to control sleep activation mode for havok physics

Is your feature request related to a problem? Please describe.
There is no function to force a body to be always active. The issue I had is that COLLISION_CONTINUED events stop being dispatched once a body is going to sleep mode, which is not desirable for some bodies like a player character (I use that for floor detection)
Describe the solution you'd like
Havok SetActivationControl() function could be made available through the PhysicsBody class.
This is the workaround I had to implement.
function setBodyAlwaysActive(body: PhysicsBody) {
  havok.HP_Body_SetActivationControl(body._pluginData.hpBodyId, havok['ActivationControl'].ALWAYS_ACTIVE);
}

I had also found previously a quirkier workaround which was to apply a zero-vector impulse to the body every frame.
Discussion
A topic with code for SetActionControl function
A topic where I found out about applying a zero impulse

This looks like a nice addition but make the method more generic. Use the same name as Havok with an abstraction on the enum and it should be fine.

@FlorentMasson Can you open a PR for this feature?


[HDFS-477] Expose HDFS configuration settings

[x] Expose config settings for hdfs-site.xml
[x] Expose config settings for core-default.xml
[x] Update documentation wrt additional config settings that are now exposed

Waiting on @sascala to confirm docs changes.


Return List instead of Iterable from JdbcAggregateOperations and SimpleJdbcRepository

Closes #1623

That's merged and polished now.


broken file upload

uploading files doesn't find any error where there are clear intentional errors but instead shows this one:

Should have been addressed in https://github.com/OpenCovenant/quill/pull/110. Feel free to close this issue if so.


calculate the loss function for each neuron in the output layer

Hi
I have a regression problem, and I used a Sequential model where the shape of the input layer is (batch, sequence, n)  and the shape of the output layer is (batch, sequence, m),  and there are another two hidden layers. My question is that Keras calculates the loss( e.g.,  MSE : the mean squared error) between y-pred and y-true. IS there a way to calculate the loss over each target (in this example m targets 'neurons').
Is there any reference about how the loss is computed over the neurons of the output layer?
I understand that if there are multiple output layers, the loss function will be the mean of losses  but if I have only one output layer how can I compute the loss for each target?  I tried to compute it using the MSE between the predictions and the true values for each target but I could not see how these values are related to the MSE from the model evaluation on the test data.
For example:
         ` loss MSE (test-set): [0.011158590205013752]`

where the losses, MSEs from predictions:
         ` target 0:  0.1327250661730257
          target 1 0.44203967357324886
          target 2: 0.1728217512614996
          target: 3: 2.2613116011898033
          target 4: 1.125334612706769
          target 5: 1.0468472140222114`

I would appreciate if there is any references.. Great thanks.

@Manal4 Moving this issue to closed status as there has been no recent activity, in case you still face the error please create a new issue.Thanks!


A CLI tool should be provided by openGemini.

If we want to develop or maintenance openGemini, we must download and compile a binary of CLI tool from influxdb which version is lower than 2.0. This is very inconvenient and we need to maintain an additional copy of the code of influxdb. Another alternative is to install influxdb CLI tool from system software repository. But some system software repository many not have the CLI tool of influxdb or the correct version CLI tool of influxdb. It is too bad.
A build-in CLI tool for openGemini should be provided by openGemini. It explore data from openGemini by SQL-Like query language(GeminiQL). Pls see below example:
> SELECT * FROM "mst0"

name: mst0
--------------
time                   t1    t2    v1     v2
2022-10-09T21:34:00Z   a     b     10     20
2022-10-09T21:34:01Z   a     b     10     20
[...]
2022-10-09T21:40:01Z   a     b     10     20
2022-10-09T21:40:02Z   a     b     10     20

The above example queries all time series from mst0 and echos the result set back to the terminal. The features of the first version of CLI tool of openGemini have to be compatible with influxdb CLI.

openGemini really should have its own CLI.  someone can help make it happen

thx @zhouruiapple


[feature request] Implement ToObservable for CancellationToken

Feature request
A function to convert a CancellationToken token into an observable that emit OnError with OperationCanceledException when the token is signaled. It can possibly be implemented like this:
public static class RxExt
{
    public static IObservable<T> ToObservable<T>(this CancellationToken @this)
    {
        if (@this.IsCancellationRequested)
        {
            return Observable.Throw<T>(new OperationCanceledException(@this));
        }
        if<EMAIL_ADDRESS>        {
            return Observable.Never<T>();
        }
        return Observable.Create<T>(
            observer => @this.Register(
                (_, token) => observer.OnError(new OperationCanceledException(token)),
                null));
    }
}

Which next library version (i.e., patch, minor or major)?

Patch or Minor

What are the platform(s), environment(s) and related component version(s)?

All supported platforms

How commonly is this feature needed (one project, several projects, company-wide, global)?

Company-wide

Please describe the feature.

Here's one possible use case, coupled with TakeUntil (I'm sure there are many others). Here, the Finally action is called upon the first item emit or when the token is signaled.
This code here is a bit contrived (I might as well use IObservable<T>.ToTask or IObservable<T>.RunAsync) but in our real-life Rx piple-lines this use case does makes sense:
IDisposable RunUntilCancelled(IObservable<long> sequence, Action action, CancellationToken token)
{
    return sequence
        .FirstAsync()
        .TakeUntil(token.ToObservable<long>())
        .Finally(action)
        .Publish()
        .Connect();
}

async Task test_CancellationToken_ToObservable()
{
    var sequence = Observable
        .Interval(TimeSpan.FromMilliseconds(1000))
        .Do(n => Console.WriteLine(n))
        .Skip(3);

    var sw = Stopwatch.StartNew();
    var tcs = new TaskCompletionSource();

    using var cts = new CancellationTokenSource(2500);
    using var subscription = RunUntilCancelled(sequence, tcs.SetResult, cts.Token);

    await tcs.Task;
    var lapse = sw.ElapsedMilliseconds;
    Trace.Assert(lapse >= 2500 && lapse < 3000);
}

Updated, the initial version was rather naive, a race condition has emerged since I stated using it. Here is an updated version aiming to solve it, and also giving a choice whether to use OnError or OnNext:
public static class RxExt
{
    public static IObservable<CancellationToken> ToObservable(
        this CancellationToken @this,
        bool useOnError = true)
    {
        if (@this.IsCancellationRequested)
        {
            return useOnError ?
                Observable.Throw<CancellationToken>(new OperationCanceledException(@this)) :
                Observable.Return(@this);
        }

        if<EMAIL_ADDRESS>        {
            return Observable.Never<CancellationToken>();
        }

        return Observable.Create<CancellationToken>(
            observer =>
            {
                int disposed = 0;
                bool IsListening() => Interlocked.CompareExchange(ref disposed, 0, 0) == 0;

                var rego = @this.Register((_, token) =>
                {
                    if (useOnError)
                    {
                        if (IsListening())
                        {
                            observer.OnError(new OperationCanceledException(token));
                        }
                    }
                    else
                    {
                        if (IsListening())
                        {
                            observer.OnNext(token);
                        }
                        if (IsListening())
                        {
                            observer.OnCompleted();
                        }
                    }
                }, state: null);

                return Disposable.Create(() =>
                {
                    if (Interlocked.CompareExchange(ref disposed, 1, 0) == 0)
                    {
                        rego.Unregister();
                    }
                });
            });
    }
}

Also good to see I'm not alone who finds this feature useful: https://stackoverflow.com/a/65202543/1768303

I do see how this can be useful. I don't have a clear opinion yet (nor am I who can make a decision) nonetheless I want to share my thoughts.
The semantics of cancellation of TPL and Rx are quite different. In Rx, you cancel a subscription, that is, you request to stop consumption of new notifications. On the other hand in TPL, a cancellation is a request to stop the production. Due to its imperative nature, this works with exception. The consumer has to actively consider the canceled outcome. Having this in mind, I'm not sure how an IObservable representation of a TPL cancellation token should like or if it is reasonable to have one. Instead of a ToObservable operator for the cancellation token, a Throw operator, which takes an cancellation token, might be more reasonable.
Maybe it is more fertile to look on the actual use cases. I think in your cases the TakeUntil operator from the cited SO question, would work very well. It does not blur the semantics of cancellations. It stops the consumption of the observable. With a completion notification however, but I would not expect anything different from a TakeUntil operator. There are no alien OperationCanceledException exception, with which you usually don't want to deal in the Rx world.

Hi @quinmars, thanks replying!

With a completion notification however, but I would not expect anything different from a TakeUntil operator. There are no alien OperationCanceledException exception, with which you usually don't want to deal in the Rx world.

FWIW, if I complete the TakeUntil observable via OnComplete rather than OnError as I do above, that stream never ends. Here's a fiddle. That said, I'm now using a custom implementation of WithCancellation (in that fiddle too).

FWIW, if I complete the TakeUntil observable via OnComplete rather than OnError as I do above, that stream never ends.

Just need to put an OnNext in there before the OnCompleted.

I've update the code to offer a choice between OnError and OnNext as well as to deal with a not-so-obvious race condition.

My $0.02: I am using the TakeUntil<TSource>(this IObservable<TSource> source, CancellationToken cancellationToken) extension from that SO answer and it works great.
I am surprised that this isn't already a feature. It works great with awaiting an observable. If the common TPL pattern is that every awaitable has an optional cancel token, it seems like an oversight that you can await an observable but not cancel it.


TestingPlatformServer capability set for non MSTestRunner projects

Issue is taken from this feedback - https://developercommunity.visualstudio.com/t/Error-running-xUnit-tests-on-NET-Framew/10702302.
There's an issue where test projects get marked to have the TestingPlatformServer capability, even though they are not meant to be run in server mode.
Looking into the binlog, the project follows the following reference structure:
TestProject.csproj
  - xunit/xunit.testadapter
  - TestUtilitiesProject.csproj
    - MSTest.TestAdapter
      - Microsoft.Testing.Platform.MSBuild
    - MSTest.TestFramework

Expected:
Because the Microsoft.Platform.MSBuild.targets is transitive, but MSTest.TestAdapter.targets is not transitive, all projects that reference MSTest.TestAdapter will include the TestingPlatformServer capability, regardless of them setting EnableMSTestRunner or not.
Actual:
TestingPlatformServer capability is only set if EnableMSTestRunner is true.

Will move as won't fix because the adapter should not be added to non runnable projects.


Extra fields to return on selected

Hi, how to get more info from selected node.
If i pass data:
[{
id: 1
isBatch: false,
text:"Example",
description:"Example description "
}]
is there any way to get description field on selected node?
Thanks

Pass in your data like this and then you should be able to reference it using node.data.description
[{
    id: 1
    isBatch: false,
    text: "Example",
    data: {
        description: "Example description"
    }
}]

Pass in your data like this and then you should be able to reference it using node.data.description
[{
    id: 1
    isBatch: false,
    text: "Example",
    data: {
        description: "Example description"
    }
}]


When this will be released?

When this will be released?

what do you mean?

closing for now. feel free to open another issue if you run into a problem


bau: build the MSA on travis

Three possibly controversial things in this PR:

Disabling sonar, because the plugin is a pain
Configuring the jar task directly instead of using the idaJar plugin, because the plugin is a pain
Copying examples folders into build/classes instead of build because "how does gradle even work?" + "how does the matching-service-test-tool even work?"

Build passing on travis though, so this would be nice. Also would let third parties build the MSA if they wanted to try out (e.g.) building a distZip and running on PaaS.

Disabling sonar, because the plugin is a pain

We genuinely don't use it and we now have codacy to cover some of that, so I really don't think this matters.

Configuring the jar task directly instead of using the idaJar plugin, because the plugin is a pain

Brilliant 👍

Also would let third parties build the MSA if they wanted to try out (e.g.) building a distZip and running on PaaS.

People have already asked for help with doing exactly this ;)


Delete products

When I press to delete a product that has been purchased, it fails. Maybe should see if the product has relationships before deleting it? And if have relationships, disable rather than delete?

In fact whe should rethink all the "deletes" from bamboo. A product should never be deleted but "disabled" or "marked as deleted".
What do you think @elcodi/deciders ?

Agree that a product should never be deleted if it has references in other tables.
The long solution is to implement an optional softdeletable behavior. We should create an RFC for that.

Then you have to replace the delete button by button disable

Well, you can show a "delete" button for the user and "mark it as deleted" on the database. The user will never know :)

A product should be deletable, of course.
It means that all the relations should be able to manage this behavior. We have tried the softdeletable and is not usable. If you want to delete a product, then you should be able to do that.

But it's a bug. Because now I have a platform with functionality to delete products and if I click gives a 500 error.
I understand as a programmer, I can fix. But elcodi not offer the platform for any type of profile you can use? Just ask is to change the delete button for disable button.

We have a bug there, of course. Any button should return a 500 error. The thing here is, which is the right behavior to fix here @jromero86
The user should be able "to delete" a product? In my opinion, not really. Yes, the user should think that the product is deleted but the entity should not be really removed (Soft delete).
If you have already tried that, it would be a good idea to share this knowledge, we can chat today about that.
But if you allow them to really remove any product you must advise him of all the side-effects that this could cause (Affections to all carts and orders related with the product removed)
About the disable, again, this is a different thing. Disable is "temporal", you could disable a product for some time but then enable it again. Delete should be "permanent".

I think it's best to mark the product as soft delete and hide that product lists. As can be seen by reference to an order.

We should manage this.


added Accordion tests

Closes #1448
Description

Added Accordion tests for enhance test coverage.
Current behavior (updates)

New behavior

Is this a breaking change (Yes/No):

No
Additional Information

@illionillion Yes, I couldn't think of any other way.

Is it bad to put role directly on <Icon/>?

@illionillion
Isn't this the same as setting the data-testid directly?

@illionillion Isn't this the same as setting the data-testid directly?

If that's what you write in the test code, I think it's the same.
I thought I was specifying the role directly in the component code.


The provision step for adding postgresql extensions might not be idempotent

Not sure exactly what happened, but during an e2e test run, I saw this provisioning step fail because the extension was already installed.
I should have read the logs more carefully or saved them, but I can take a guess that what happened is my laptop having gone-asleep mid-test meant that that step was interrupted and later resumed. +1 for that level of pick-up-where-I-left-off-edness, but it looks like maybe that step isn't idempotent.
We need to put some kind of guard on that step to only add an extension if it hasn't been added already.

Stale. Closing.


Create a search prospect endpoint

This is an endpoint that allows you to search for a particular prospect by suffixing any value to
https://sales.zuri.chat/prospects/search/
E.g https://sales.zuri.chat/prospects/search/muyiwa

This is an endpoint that allows you to search for a particular prospect using any value of a field.
Testing link: https://sales.zuri.chat/prospects/search/

Nice one


Sybil Attacker Report

Related Safe Addresses:
0x1E64fe4E761629D3cF5D58Acf1bD0E460172633f
0xD815EBfBcE8DA78392256F7C4282b6bB3Ca575bc
0xb2c9A469F87391BE54eC30b3f25b0Eb320F02642
0xA1a21E0831688d1Ea529f4E0D0cbE3f9F57f257a
0x0670582438C3C02385BD7441DB3897df8A1A99cc
0x4B2De3eD576d565C03CD930085509c695699b7D8
0x2493fa1B1a5bF9f2e9775825D2CA98F6F6866E0E
0x8317b68F0cfD62F9DC930A575369Ffe21Df64e06
0xAa65AF3AD40c68E3F35c34c9b9838BE27340904E
0xF68844A0420a34c17512c11e5427d629cB71e1da
0x6A40C1aa739e24047c0212d6C95B7e7ABe342e44
0x041D84C213C6E1Cc8480aE0CF430441CfEd05293
0xeCe0E39a9F2f2D1eB834367ec11fe958f1F8d231
0xa3027c1DE51c417A2F05Cbb39860b1E00E87C442
0x4366644f2DaE89E9191B30D05A3A62Faf44934Ce
0x807f585B613d01D4b499fF0F90d24200e183CFBb
0xC7c2353e6ee4B868Eb84B5A419Ba46578C521bc5
0xbae40893716b47Fa68c355E58519937913961AFD
0xCD9960E3143856E3B2CAC3b703FC6E732D5C18A6
0xf9fAF64b2eB364D0cab87Ac2F3299f183A184723
0xF5F4EEc2C246FcF5FC3D06297dCC3021FbE642e3
0xe5f70A2cAA4e453B13EE3614b57f07A2d51206E1
0xB7362ED0C721143d0Fc7Aee5fb5a122F85340B6b
0x317c1f1705174244779ee853770f6495A00D991f
0x782f207A326EA650559FF58E7d5b11E02A2f7dd7
0x42243F078ada40eB789Ca54c682B21aF915B0a1a
0x6e64EA9b1B680a4c9Be07B0B5aa7CD4ff56233f9

Reasoning

All safe addresses were created by 0x873659aAD76b9FCEBCdDe9D13E1601c232c300AB.
These safe addresses received and sent out a small amount of DAI or ETH on the SAME day of its creation.
When sending out tokens, these safe addresses sent most of their holding tokens. The remaining value of these safe addresses is usually 0 or a few dollars (maximum is 59.).
A small number of these safe addresses changed their owner as their last transaction. Still on the same day of its creation or the next day.
No other behaviors in the transactions of these safe addresses.

|                   safe address                         |              all transactions                              |
| 0x1E64fe4E761629D3cF5D58Acf1bD0E460172633f | https://debank.com/profile/0x1E64fe4E761629D3cF5D58Acf1bD0E460172633f/history |
| 0xD815EBfBcE8DA78392256F7C4282b6bB3Ca575bc | https://debank.com/profile/0xD815EBfBcE8DA78392256F7C4282b6bB3Ca575bc/history |
| 0xb2c9A469F87391BE54eC30b3f25b0Eb320F02642 | https://debank.com/profile/0xb2c9A469F87391BE54eC30b3f25b0Eb320F02642/history |
| 0xA1a21E0831688d1Ea529f4E0D0cbE3f9F57f257a | https://debank.com/profile/0xA1a21E0831688d1Ea529f4E0D0cbE3f9F57f257a/history |
| 0x0670582438C3C02385BD7441DB3897df8A1A99cc | https://debank.com/profile/0x0670582438C3C02385BD7441DB3897df8A1A99cc/history |
| 0x4B2De3eD576d565C03CD930085509c695699b7D8 | https://debank.com/profile/0x4B2De3eD576d565C03CD930085509c695699b7D8/history |
| 0x2493fa1B1a5bF9f2e9775825D2CA98F6F6866E0E | https://debank.com/profile/0x2493fa1B1a5bF9f2e9775825D2CA98F6F6866E0E/history |
| 0x8317b68F0cfD62F9DC930A575369Ffe21Df64e06 | https://debank.com/profile/0x8317b68F0cfD62F9DC930A575369Ffe21Df64e06/history |
| 0xAa65AF3AD40c68E3F35c34c9b9838BE27340904E | https://debank.com/profile/0xAa65AF3AD40c68E3F35c34c9b9838BE27340904E/history |
| 0xF68844A0420a34c17512c11e5427d629cB71e1da | https://debank.com/profile/0xF68844A0420a34c17512c11e5427d629cB71e1da/history |
| 0x6A40C1aa739e24047c0212d6C95B7e7ABe342e44 | https://debank.com/profile/0x6A40C1aa739e24047c0212d6C95B7e7ABe342e44/history |
| 0x041D84C213C6E1Cc8480aE0CF430441CfEd05293 | https://debank.com/profile/0x041D84C213C6E1Cc8480aE0CF430441CfEd05293/history |
| 0xeCe0E39a9F2f2D1eB834367ec11fe958f1F8d231 | https://debank.com/profile/0xeCe0E39a9F2f2D1eB834367ec11fe958f1F8d231/history |
| 0xa3027c1DE51c417A2F05Cbb39860b1E00E87C442 | https://debank.com/profile/0xa3027c1DE51c417A2F05Cbb39860b1E00E87C442/history |
| 0x4366644f2DaE89E9191B30D05A3A62Faf44934Ce | https://debank.com/profile/0x4366644f2DaE89E9191B30D05A3A62Faf44934Ce/history |
| 0x807f585B613d01D4b499fF0F90d24200e183CFBb | https://debank.com/profile/0x807f585B613d01D4b499fF0F90d24200e183CFBb/history |
| 0xC7c2353e6ee4B868Eb84B5A419Ba46578C521bc5 | https://debank.com/profile/0xC7c2353e6ee4B868Eb84B5A419Ba46578C521bc5/history |
| 0xbae40893716b47Fa68c355E58519937913961AFD | https://debank.com/profile/0xbae40893716b47Fa68c355E58519937913961AFD/history |
| 0xCD9960E3143856E3B2CAC3b703FC6E732D5C18A6 | https://debank.com/profile/0xCD9960E3143856E3B2CAC3b703FC6E732D5C18A6/history |
| 0xf9fAF64b2eB364D0cab87Ac2F3299f183A184723 | https://debank.com/profile/0xf9fAF64b2eB364D0cab87Ac2F3299f183A184723/history |
| 0xF5F4EEc2C246FcF5FC3D06297dCC3021FbE642e3 | https://debank.com/profile/0xF5F4EEc2C246FcF5FC3D06297dCC3021FbE642e3/history |
| 0xe5f70A2cAA4e453B13EE3614b57f07A2d51206E1 | https://debank.com/profile/0xe5f70A2cAA4e453B13EE3614b57f07A2d51206E1/history |
| 0xB7362ED0C721143d0Fc7Aee5fb5a122F85340B6b | https://debank.com/profile/0xB7362ED0C721143d0Fc7Aee5fb5a122F85340B6b/history |
| 0x317c1f1705174244779ee853770f6495A00D991f | https://debank.com/profile/0x317c1f1705174244779ee853770f6495A00D991f/history |
| 0x782f207A326EA650559FF58E7d5b11E02A2f7dd7 | https://debank.com/profile/0x782f207A326EA650559FF58E7d5b11E02A2f7dd7/history |
| 0x42243F078ada40eB789Ca54c682B21aF915B0a1a | https://debank.com/profile/0x42243F078ada40eB789Ca54c682B21aF915B0a1a/history |
| 0x6e64EA9b1B680a4c9Be07B0B5aa7CD4ff56233f9 | https://debank.com/profile/0x6e64EA9b1B680a4c9Be07B0B5aa7CD4ff56233f9/history |
Methodology
It can be identified by visualization and further analysis of the details of the above transaction listed.
Safe Address
0xD50fF80Ce8EFc38D024272f4019978Dc017eA200

These safe addresses received and sent out a small amount of DAI or ETH on the SAME day of its creation.

That's not true for all Safes in your list.
Thanks for the report. These Safes do look quite similar. Just the fact that 1 account created them doesn't prove anything. I'm missing details regarding where the funds went etc. in order to be sure this is not legit usage.


Clock asset has extraneous bar graphic at bottom

Environment

OS version: Arch Linux
Elona Foobar verision: develop

Details
Beneath the clock image, the image map for health bars is being drawn.

Fixed in 69cb605.


unixodbc unsatisfied dependency on Debian 9.8

Any workaround for Debian 9.8 yet? apt install unixodbc leads to "unsatisfied dependency: odbcinst1debian2 (>= 2.3.7) but only 2.3.4-1 can be installed".

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

ID: 39bb4ba1-ae62-07a3-f79a-138f14cf2f10
Version Independent ID: beaa4e7d-e771-cc96-0e59-34d9b1d5e8cc
Content: Install SQL Server command-line tools on Linux - SQL Server
Content Source: docs/linux/sql-server-linux-setup-tools.md
Product: sql
Technology: linux
GitHub Login: @rothja
Microsoft Alias: jroth

@nattomi Right now, we don't have explicit support or testing for Debian as a target for SQL Server on Linux, so it may be that there is no work around at the moment to get it working. I'm sorry for the answer, but I'll pass along your feedback requesting that we support Debian and remove any install blockers like this.

Closing.


Feat : Catalog – Resource Filters

Feat : Catalog – Resource Filters

As a user of the portal,
I want to be able to filter by resource type (Dataspace // Dataset // Service)
So that I can have be more specific about what I'm looking for as resource

Acceptance criteria
Scenario: default display (desktop)
Given that I am a user of the web portal (authenticated or unauthenticated),
When I am on the dataverse page,
Then I should be able to use a filter that can be applied to resource type
How?
Scenario: mobile display
Given that I am a user of the web portal (authenticated or unauthenticated),
When I am on the dataverse resource page,
And I use a mobile device
Then I should be able to see and interact with filters in a mobile-friendly way.
Scenario: Interacting with filters
Given that I am a user of the web portal (authenticated or unauthenticated),
When I click on all
Then All types of resources should appear
When I click on Data Spaces
Then Only Data Spaces will appear
When I click on Datasets
Then Only Datasets will appear
When I click on Services
Then Only Services will appear
When I click on 2 types
Then Only resources of these two types will appear
When I deselect 1 specific type
Then all is selected automatically
Requirements
Mockups
Desktop :

Mobile :

Environment

staging URL: https://app.staging.okp4.network/

Additional informations
None.

Test 24/03/23
Desktop : Firefox, Chrome, Safari
Mobile : Safari
Scenario : Default display : OK ✅

As seen with @SpicySalm0n @MdechampG & @ErikssonJoakim, the filters are made to wrap on the next line on the small screen instead of staying on one line (as originally planned by the
original figma), and they can contain text on 2 lines maximum, with an ellipse in case of longer text.
It will now look like that:

and here is a simulation of long text:

Test 06/04/23
Desktop : Firefox, Chrome, Safari
Mobile : Safari (iPhone 12)
Scenario : Default display : OK ✅
Scenario : Mobile display : OK ✅


KMA-5 - Strip Query Params

Pull Request Test Coverage Report for Build 107

6 of 6 (100.0%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 91.247%

Totals

Change from base Build 105:
0.1%

Covered Lines:
260

Relevant Lines:
282

💛  - Coveralls


Configmaps for services other than s3 missing

Is it planned to create config maps for other services than s3 (sqs, sns ...), or is there any reason, why it was omitted? Looking for areas to contribute...

There is not a reason, this would be a great first issue :)

@christopherhein Any update on this? I've tried to add corresponding additional resource to sqsqueue.yaml model and rebuild aws-service-operator but it still doesn't create configmap for sqs.
Basically what I tried so far:
  additionalResources:
    configMaps:
    - name: sqsCM
      data:
      - key: queueARN
        value: "{{.Obj.Output.QueueARN}}"
      - key: queueName
        value: "{{.Obj.Output.QueueName}}"
      - key: queueURL
        value: "{{.Obj.Output.QueueURL}}"

and then run "make rebuld" to regenerate and build code. Am I miss something?

@christopherhein Any update on this? I've tried to add corresponding additional resource to sqsqueue.yaml model and rebuild aws-service-operator but it still doesn't create configmap for sqs.
Basically what I tried so far:
  additionalResources:
    configMaps:
    - name: sqsCM
      data:
      - key: queueARN
        value: "{{.Obj.Output.QueueARN}}"
      - key: queueName
        value: "{{.Obj.Output.QueueName}}"
      - key: queueURL
        value: "{{.Obj.Output.QueueURL}}"

and then run "make rebuld" to regenerate and build code. Am I miss something?

Turned out it never used my edited code but used unmodified sources from vendor dir.

Turned out it never used my edited code but used unmodified sources from vendor dir.

So you have it working?

Turned out it never used my edited code but used unmodified sources from vendor dir.

So you have it working?

Yes, for some reason sources from vendor/github.com/awslabs/aws-service-operator/ was used.
It would be nice to see configmap support for all resources in upstream as well as helm charts repo.


Enhance feature types mapping

Provides feature_type remapping:

Possible feature_type for pandas: numeric, categorical, datetime

float, int, uint are mapped to numeric
bool, category and object are mapped to categorical
datetime is mapped to datetime
other data types will be mapped to their own type alias (kept as is)

for numpy: numeric, categorical

all numeric types are mapped to numeric
all other types should be mapped to categorical

Notice: the feature_type attribute defines how UI components show up

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.dorcohen seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Fix nil pointer error in test

This pull request fixes a nil pointer error in test.
This error was introduced in 7909262.
=== RUN   Test_BuiltProjectIDs/ISP_has_1_buildProjectIDs/should_have_a_build_projectID_violation
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
    panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x1ba0c9c]

goroutine 59 [running]:
testing.tRunner.func1(0xc000125d00)
    /usr/local/opt/go/libexec/src/testing/testing.go:792 +0x387
panic(0x1cb5fa0, 0x2995430)
    /usr/local/opt/go/libexec/src/runtime/panic.go:513 +0x1b9
github.com/grafeas/kritis/pkg/kritis/crd/securitypolicy.ValidateImageSecurityPolicy(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /***/src/github.com/grafeas/kritis/pkg/kritis/crd/securitypolicy/securitypolicy.go:134 +0x4dc
github.com/grafeas/kritis/pkg/kritis/crd/securitypolicy.Test_BuiltProjectIDs.func1.1(0xc000125d00)
    /***/src/github.com/grafeas/kritis/pkg/kritis/crd/securitypolicy/securitypolicy_test.go:287 +0x123
testing.tRunner(0xc000125d00, 0xc0003c6080)
    /usr/local/opt/go/libexec/src/testing/testing.go:827 +0xbf
created by testing.(*T).Run
    /usr/local/opt/go/libexec/src/testing/testing.go:878 +0x353
FAIL    github.com/grafeas/kritis/pkg/kritis/crd/securitypolicy    0.052s

Tests are passing!
=== RUN   Test_BuiltProjectIDs
=== RUN   Test_BuiltProjectIDs/ISP_has_1_buildProjectIDs
=== RUN   Test_BuiltProjectIDs/ISP_has_1_buildProjectIDs/should_have_a_build_projectID_violation
=== RUN   Test_BuiltProjectIDs/ISP_has_1_buildProjectIDs/allowed_with_correct_build_projectID
=== RUN   Test_BuiltProjectIDs/ISP_has_2_buildProjectIDs
=== RUN   Test_BuiltProjectIDs/ISP_has_2_buildProjectIDs/should_have_a_build_projectID_violation
=== RUN   Test_BuiltProjectIDs/ISP_has_2_buildProjectIDs/allowed_with_correct_build_projectID_(1)
=== RUN   Test_BuiltProjectIDs/ISP_has_2_buildProjectIDs/allowed_with_correct_build_projectID_(2)
--- PASS: Test_BuiltProjectIDs (0.00s)
    --- PASS: Test_BuiltProjectIDs/ISP_has_1_buildProjectIDs (0.00s)
        --- PASS: Test_BuiltProjectIDs/ISP_has_1_buildProjectIDs/should_have_a_build_projectID_violation (0.00s)
        --- PASS: Test_BuiltProjectIDs/ISP_has_1_buildProjectIDs/allowed_with_correct_build_projectID (0.00s)
    --- PASS: Test_BuiltProjectIDs/ISP_has_2_buildProjectIDs (0.00s)
        --- PASS: Test_BuiltProjectIDs/ISP_has_2_buildProjectIDs/should_have_a_build_projectID_violation (0.00s)
        --- PASS: Test_BuiltProjectIDs/ISP_has_2_buildProjectIDs/allowed_with_correct_build_projectID_(1) (0.00s)
        --- PASS: Test_BuiltProjectIDs/ISP_has_2_buildProjectIDs/allowed_with_correct_build_projectID_(2) (0.00s)
PASS


Enable e2e tests for Prometheus Operator on Packet FLUO pipeline

It should've been added in #1084.
Closes #397
Signed-off-by: Mateusz Gozdek<EMAIL_ADDRESS>

ping @surajssd

@invidian what is the motivation of testing the component again in this pipeline?

@invidian what is the motivation of testing the component again in this pipeline?

To ensure that prometheus operator workloads converges with alternative storage, which may not be covered by Helm's --wait (e.g. if readiness probes are disabled/removed). It's a cheap sanity check.

Please rebase :-)

@surajssd done.

Had to rebase to include pipeline fixes.


Permission to zurb/foundation-zurb-template.git denied

Hi, I'm new to Git and I'm trying to use version control for one of my projects. When I try to do a git push, and after I insert my credentials, I receive this error:
"remote: Permission to zurb/foundation-zurb-template.git denied to evr01.
fatal: unable to access 'https://github.com/zurb/foundation-zurb-template.git/': The requested URL returned error: 403"
Any reason why this would happen? Again, I'm a noob at this.

That template points to our Git repo, which you don't have access to. You need to replace it with your own.
git remote remove origin
git remove add origin https://github.com/user/repo.git


new request

Hi, I want to  free-form editing shape on 3Dmesh for cutting loop, then flatten it, is there any good idea ? thanks

in other words, I want to trim 3D mesh and than flatten the cut mesh


Fix bug in Levenberg

Updated Version
nr  Problem                                            n     NewtonRaphson       TrustRegion         LevenbergMarquardt  LevenberdMarquardt (LSOptim)
1   Generalized Rosenbrock function                    10    NaN                 0.0                 1.0214e-14          5.8944e-11
2   Powell singular function                           4     7.0435e-16          6.8342e-16          1.0538e-15          2.3573e-7
3   Powell badly scaled function                       2     0.0                 0.0                 8.7431e-5           2.5957e-11
4   Wood function                                      4     1.8586e-14          1.0663e-14          1.2104e-14          3.8075e-12
5   Helical valley function                            3     6.2775e-30          9.4526e-23          5.2326e-19          6.8803e-13
6   Watson function                                    2     NaN                 NaN                 NaN                 NaN
7   Chebyquad function                                 2     5.5511e-17          1.6653e-16          2.0053e-15          4.4854e-12
8   Brown almost linear function                       10    0.0                 6.6613e-16          4.2061e-14          2.1603e-11
9   Discrete boundary value function                   10    5.4548e-16          6.9388e-17          3.1544e-15          3.7241e-11
10  Discrete integral equation function                10    2.7807e-15          3.4694e-17          3.1457e-15          1.2691e-11
11  Trigonometric function                             10    1.8884e-15          0.0052868           0.0052874           0.0052868
12  Variably dimensioned function                      10    0.0                 0.0                 5.124e-12           1.345e-13
13  Broyden tridiagonal function                       10    1.2803e-15          1.3414e-15          6.4287e-15          1.5726e-12
14  Broyden banded function                            10    1.4002e-15          1.4002e-15          6.37e-15            1.4637e-13
15  Hammarling 2 by 2 matrix square root problem       4     1.1102e-16          2.4973e-6           7.3386e-6           2.9137e-6
16  Hammarling 3 by 3 matrix square root problem       9     1.1102e-16          2.1418e-6           7.3386e-6           2.9119e-6
17  Dennis and Schnabel 2 by 2 example                 2     0.0                 0.0                 13.143              3.7942e-15
18  Sample problem 18                                  2     0.0                 5.2861e-18          2.8025e-10          7.6511e-11
19  Sample problem 19                                  2     9.5092e-16          9.5092e-16          7.0792e-6           1.058e-6
20  Scalar problem f(x) = x(x - 5)^2                   1     0.0                 1.9689e-24          5.1828e-18          6.4853e-11
21  Freudenstein-Roth function                         2     0.0                 6.9988              6.9988              6.9988
22  Boggs function                                     2     0.0                 7.3505e-17          4.9882e-16          5.6927e-12
23  Chandrasekhar function                             10    5.4389e-16          5.4389e-16          1.5933e-14          1.7902e-13

Previous Version
nr  Problem                                            n     NewtonRaphson       TrustRegion         LevenbergMarquardt  LevenberdMarquardt (LSOptim)
1   Generalized Rosenbrock function                    10    NaN                 0.0                 4.9193              5.8944e-11
2   Powell singular function                           4     7.0435e-16          6.8342e-16          0.021633            2.3573e-7
3   Powell badly scaled function                       2     0.0                 0.0                 1.0031e-14          2.5957e-11
4   Wood function                                      4     1.8586e-14          1.0663e-14          8550.5              3.8075e-12
5   Helical valley function                            3     6.2775e-30          9.4526e-23          50.0                6.8803e-13
6   Watson function                                    2     NaN                 NaN                 NaN                 NaN
7   Chebyquad function                                 2     5.5511e-17          1.6653e-16          0.34127             4.4854e-12
8   Brown almost linear function                       10    0.0                 6.6613e-16          16.53               2.1603e-11
9   Discrete boundary value function                   10    5.4548e-16          6.9388e-17          5.9887e-15          3.7241e-11
10  Discrete integral equation function                10    2.7807e-15          3.4694e-17          9.0812e-15          1.2691e-11
11  Trigonometric function                             10    1.8884e-15          0.0052868           0.084117            0.0052868
12  Variably dimensioned function                      10    0.0                 0.0                 1.5725e-12          1.345e-13
13  Broyden tridiagonal function                       10    1.2803e-15          1.3414e-15          1.373e-13           1.5726e-12
14  Broyden banded function                            10    1.4002e-15          1.4002e-15          1.165e-13           1.4637e-13
15  Hammarling 2 by 2 matrix square root problem       4     1.1102e-16          2.4973e-6           0.91487             2.9137e-6
16  Hammarling 3 by 3 matrix square root problem       9     1.1102e-16          2.1418e-6           1.0506              2.9119e-6
17  Dennis and Schnabel 2 by 2 example                 2     0.0                 0.0                 17.262              3.7942e-15
18  Sample problem 18                                  2     0.0                 5.2861e-18          2.1951              7.6511e-11
19  Sample problem 19                                  2     9.5092e-16          9.5092e-16          76.367              1.058e-6
20  Scalar problem f(x) = x(x - 5)^2                   1     0.0                 1.9689e-24          2.5564e-18          6.4853e-11
21  Freudenstein-Roth function                         2     0.0                 6.9988              20.012              6.9988
22  Boggs function                                     2     0.0                 7.3505e-17          2.0                 5.6927e-12
23  Chandrasekhar function                             10    5.4389e-16          5.4389e-16          8.8121e-14          1.7902e-13

Setting $\alpha = 0.5$
nr  Problem                                            n     NewtonRaphson       TrustRegion         LevenbergMarquardt  LevenberdMarquardt (LSOptim)
1   Generalized Rosenbrock function                    10    NaN                 0.0                 5.561e-15           5.8944e-11
2   Powell singular function                           4     7.0435e-16          6.8342e-16          1.2732e-15          2.3573e-7
3   Powell badly scaled function                       2     0.0                 0.0                 0.00014565          2.5957e-11
4   Wood function                                      4     1.8586e-14          1.0663e-14          4.7746e-13          3.8075e-12
5   Helical valley function                            3     6.2775e-30          9.4526e-23          5.2326e-19          6.8803e-13
6   Watson function                                    2     NaN                 NaN                 NaN                 NaN
7   Chebyquad function                                 2     5.5511e-17          1.6653e-16          2.0053e-15          4.4854e-12
8   Brown almost linear function                       10    0.0                 6.6613e-16          2.2701e-13          2.1603e-11
9   Discrete boundary value function                   10    5.4548e-16          6.9388e-17          3.1558e-15          3.7241e-11
10  Discrete integral equation function                10    2.7807e-15          3.4694e-17          3.1571e-15          1.2691e-11
11  Trigonometric function                             10    1.8884e-15          0.0052868           0.0052872           0.0052868
12  Variably dimensioned function                      10    0.0                 0.0                 5.2571e-12          1.345e-13
13  Broyden tridiagonal function                       10    1.2803e-15          1.3414e-15          8.9626e-15          1.5726e-12
14  Broyden banded function                            10    1.4002e-15          1.4002e-15          8.9667e-15          1.4637e-13
15  Hammarling 2 by 2 matrix square root problem       4     1.1102e-16          2.4973e-6           8.8246e-6           2.9137e-6
16  Hammarling 3 by 3 matrix square root problem       9     1.1102e-16          2.1418e-6           7.0345e-6           2.9119e-6
17  Dennis and Schnabel 2 by 2 example                 2     0.0                 0.0                 1.0667e-14          3.7942e-15
18  Sample problem 18                                  2     0.0                 5.2861e-18          1.8389e-9           7.6511e-11
19  Sample problem 19                                  2     9.5092e-16          9.5092e-16          8.5271e-6           1.058e-6
20  Scalar problem f(x) = x(x - 5)^2                   1     0.0                 1.9689e-24          5.1828e-18          6.4853e-11
21  Freudenstein-Roth function                         2     0.0                 6.9988              6.9988              6.9988
22  Boggs function                                     2     0.0                 7.3505e-17          2.5885e-15          5.6927e-12
23  Chandrasekhar function                             10    5.4389e-16          5.4389e-16          5.545e-14           1.7902e-13

But that can be done by the user if needed. The paper also suggests 0.75

This also probably needs a comment for why you are doing the computation in the log domain. It's not obvious why it would make a difference.

That can be reverted, actually. The values of accept condition seemed to yield values which were clearly incorrect, and my initial guess was some weird rounding off errors since the norm_v was $~10^{-300}$

The main fix is the A a = b A matrix which was incorrectly set to be the Jacobian


Google Keep/Drive getting 404

Application version: 3.0.0
OS: Windows 10

Steps to Reproduce:

Open application
Add a new Google Keep/Drive application
Login to Google account (either choose an existing account, or enter a new one)
Once login is done, the application redirects to a page with HTTP Status Code 404.

The URL for the application becomes: https://drive.google.com/drive/u/
That URL seems invalid as if I try it in my normal browser, I also get 404.
Screenshots

Could you copy the URL of this 404 page?
Use Ctrl+Shift+U or menu item

That's what I did, though I pasted it wrong I guess.
<EMAIL_ADDRESS>

I had this exact same issue and I was only able to solve it by uninstalling and reinstalling Station and resetting all the user settings.
The only difference I could see is that there were two accounts displayed here when I was getting the error

The first one was my work account that I never intended using in station so I deleted the associated app, but it kept appearing on this screen. Not sure if it's related, but now that my intended account is the first and only one, it works fine.


Truck manufacturer/model

Hey,
Not sure why, but while learning what to use by your example, I noticed that the truck make/model does not work. Only the ID does, which displays it as (vehicle.volvo.fh_2012) or something similar.
Is there a reason why? Any help would be great.
Also, do you know why once you complete a job, the job data doesn't clear from the telemetry unless you restart ETS2?
Thanks for your awesome plugin. It's about to make my VTC even more amazing!

I use plugin what is with Funbit's Telemetry WebServer and work fine.
.truckMake & .truckModel

I'm not using funbits. I'm using this one.

There are 2 truck and manufacturer field's; one is ID and one is the "human readable" format.
Both should be in the API. If your application talks C#, you can look up how those fields are derived here:
https://github.com/nlhans/ets2-sdk-plugin/blob/master/ets2-client/C%23/Ets2SdkClient/Ets2Telemetry.cs#L181
https://github.com/nlhans/ets2-sdk-plugin/blob/master/ets2-client/C%23/Ets2SdkClient/Ets2SdkTelemetry.cs#L80
The inconsistency in fields were because of backwards compatibility (older plugins did not report the human readable format) and change in ways how strings were stored.
I am aware of the job information not updating when finished. For a short-term work around I recommended looking at the trailer attached flag to override job info, but I will need to research if SCS SDK provides an event on job completion.

Thanks! I'll have to test that out.
Also, I did use that trailer work around for now server side to mask the job data.

Hey, so I checked it out, and made sure I was using everything correctly....
Even in your demo that is available for download, it still does not show the truck info. Attached is a screenshot. As you can see by that, Truck and Manufacturer do not output anything except for (TruckId)
Please let me know what I can do to fix this.
Thanks!

The C# application is included with the 1.2 release. It is updated for each version of the plugin; so it should be accompied with the same DLL.
Otherwise it may appear like new added fields are empty.

Oh gotcha. Well, with the newest update today, everything is working perfectly and I was able to update my application, thank you very much!


Fix space between search button and input

Noticed an annoying grey piece of UI between the search button and the input.
This change:

moves X button into same div as input
move some CSS from parent div to the child div that contains the input and X button

Before:

After:

@asaprahul


Added Sigin page For amazon clone project

Title and Issue number
Title : Sign in page for amazon clone
Issue No. : #1102
Code Stack : HTML,CSS and JS
Close #1102
Video (mandatory)
https://github.com/user-attachments/assets/7829698b-5e08-4cc3-9944-618c77b473c3
Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[x] I have gone through the  contributing.md file before contributing

Additional context (Mandatory )
Are you contributing under any Open-source programme?

[x] I'm a GSSOC'24 contributor
[ ] I'm a SSOC'24 contributor

If any kind of change you want please let me know


Comment indentation and new lines (or lack of them)

Settings:

Source:
DECLARE
    TYPE arr IS
        VARRAY(20) OF VARCHAR2(1) NOT NULL;

-- some comment
my_arr arr := arr(
    'a',
    'b',
    'c',
    'd',
    'e'
);
BEGIN
    NULL;
END;
/

CREATE OR REPLACE PACKAGE BODY my_pkg AS
    TYPE arr IS
        VARRAY(20) OF VARCHAR2(1) NOT NULL;

my_arr arr := arr(
    'a',
    'b',
    'c',
    'd',
    'e'
);
END;
/

Before/After comparison:

Indentation of comments
The indentation is never changed. There is one exception. When you set "Line Breaks Before line comments". In this case, after processing the Arbori programm, the post-processor in SQLDev's formatter adds a new line with some indentation (which is not always correct).
It's not foreseen in SQLDev to format comments. Comments are not part of provided parse-tree. Therefore you cannot query them with Arbori. Of course there are options (where you do the parsing yourself). But for the time being comment indentation handling is not a provided feature. You can place one or more comments before and after every single token. Formatting them without a proper context (provided by a parse-tree) is very very challenging.
As a result all requests/issues regarding comments are rejected. Comments are processed with the default logic of SQL Developer. If you'd like to change that, then I suggest to submit a change request for SQL Developer or discuss it in the SQL Developer's forum.
Empty Lines
The preference is called internally extraLinesAfterSignificantStatements. So the name in the UI Line Breaks After statements is a bit misleading.
The Query brkX2 defines the "significant" statements. I understand that it is wanted to add an empty line after "as/is" for a package or package body to separate the the first unit like the subsequent ones. But for the declare section in general? If you do that then you should also add a new line after the "as/is" of a function/procedure, right?
I'm not ready to change that.
However, If you want to add it in your Arbori file variant. Look for brkX2_1 and this line:
| [node) 'DECLARE'

BTW: the brkX2 query is also responsible to identify the statements where an empty line is preserved (beside empty lines around comments).
However, I agree that the current definition might not be consistent (e.g. an empty line is added before  END of a package but not before the end of a package body). But these would be separate issues.
Therefore I close this issue.

Fair enough :) Re empty line, I actually don't like the empty line after that package body (i.e. on line 19 in that comparison screenshot) and I would prefer not having it, just like after the declare. So for my purposes I just commented out this line from arbori:
-- | [node) is_or_as & ([node^) pkg_body | [node^) pkg_spec)  -- salvisberg: added to solve issue #12 unconditional break after is_or_as of pkg_body/pkg_spec

Yes, a lot of personal preferences are involved here.
Therefore I would like to switch back to "Preserver Original" as default as soon as the remaining problems (wrong indent, unwanted new lines) are solved.  This requires corrections in the SQLDev code, which means that this will not be before 20.3.
With "Preserve Original" it would be nice to be able to add more optional empty lines. Based on this we could declare some additional "significant" statements. The side effect would be that "Double break" becomes less attractive.


[flutter_tools] Add support for web in plugin template.

Description
This PR adds support for the web platform with the plugin template in a backwards-compatible way (using MethodChannels).
This PR addresses comments on #59700 (which maybe should be re-done as a new federated-plugin template, if needed.)
Related Issues

#59562

Tests
I added the following tests:
In flutter_tools/test/commands.shard/permeable/create_test.dart:

plugin project supports web
Asserted lib/flutter_project_web.dart is not created by default.

dit@dit:~/github/flutter/packages/flutter_tools$ pub run test test/commands.shard/permeable/create_test.dart
Precompiling executable... (8.9s)
Precompiled test:test.
03:02 +59: All tests passed!

dit@dit:~/github/flutter/packages/flutter_tools$ pub run test test/commands.shard/permeable/create_test.dart -n web
00:21 +1: All tests passed!

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.

NOTE: I've been running this in my machine:
dit@dit:~/github$ dart flutter/packages/flutter_tools/bin/flutter_tools.dart create -t plugin some_test
Without passing web anywhere. Somewhere in my tooling "web" is enabled by default. I'm not sure if this is expected behavior or a bug, but it seems once this gets merged people will start creating "web" plugins by default?

This is expected right now because web plugins are only guarded by the experiment. @cyanglaz is adding platform flags to fix this

Thanks @jonahwilliams!
I'll let @cyanglaz merge this PR when he's happy with it, rather than setting the waiting for CI to go green label and letting the bot do it before everything is ready.
@cyanglaz, feel free to Squash and merge this whenever you want!

Discussed with @cyanglaz on chat, and it's OK that this lands before his changes. I'm setting the Waiting for CI to go green label so it gets merged whenever the tree is ready.

Google testing passed!


[feature] V3 Vue + wagmi SyntaxError: does not provide an export named 'IJsonRpcProvider'

What problem does this new feature solve?

Uncaught (in promise) SyntaxError: The requested module '/v132/<EMAIL_ADDRESS>does not provide an export named 'IJsonRpcProvider'

Describe the solution you'd like
import { createWeb3Modal, defaultWagmiConfig } from 'https://esm.sh/@web3modal/wagmi@^3.0.0?bundle'
import { mainnet } from 'https://esm.sh/@wagmi/core/chains?bundle'

// 1. Define constants
const projectId = 'YOUR_PROJECT_ID'

// 2. Create wagmiConfig
const chains = [mainnet]
const wagmiConfig = defaultWagmiConfig({ chains, projectId, appName: 'Web3Modal' })

// 3. Create modal
const modal = createWeb3Modal({ wagmiConfig, projectId, chains })

modal.open()

Hi could you share a minimal reproducible example of this issue?

You forgot to add beta tag to web3modal dependency, here is a working example
https://github.com/WalletConnect/web3modal/blob/V3/examples/html-wagmi/main.js

You forgot to add beta tag to web3modal dependency, here is a working example https://github.com/WalletConnect/web3modal/blob/V3/examples/html-wagmi/main.js

Still reporting an error: Uncaught (in promise) SyntaxError: The requested module '/v132/<EMAIL_ADDRESS>does not provide an export named 'IJsonRpcProvider'
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Web3Modal V3</title>
</head>
<body>

<w3m-button></w3m-button>
<w3m-network-button></w3m-network-button>
<w3m-connect-button></w3m-connect-button>
<w3m-account-button></w3m-account-button>

<button id="open-connect-modal">Open Connect Modal</button>
<button id="open-network-modal">Open Network Modal</button>

</body>

<script type="module">
import { arbitrum, mainnet } from 'https://esm.sh/@wagmi/core/chains?bundle'
import { createWeb3Modal, defaultWagmiConfig } from 'https://esm.sh/@web3modal/wagmi@beta?bundle'

// 1. Create projectId
const projectId = 'YOUR_PROJECT_ID'

// 2. Create wagmiConfig
const chains = [mainnet, arbitrum]
const wagmiConfig = defaultWagmiConfig({ chains, projectId, appName: 'Web3Modal' })

// 3. Create modal
const modal = createWeb3Modal({ wagmiConfig, projectId, chains, themeMode: 'light' })

// 4. Trigger modal programaticaly
const openConnectModalBtn = document.getElementById('open-connect-modal')
const openNetworkModalBtn = document.getElementById('open-network-modal')

openConnectModalBtn.addEventListener('click', () => modal.open())
openNetworkModalBtn.addEventListener('click', () => modal.open({ view: 'Networks' }))
</script>

</html>

@0xAsimetriq @glitch-txs
Still reporting an error: Uncaught (in promise) SyntaxError: The requested module '/v132/<EMAIL_ADDRESS>does not provide an export named 'IJsonRpcProvider'
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Web3Modal V3</title>
</head>
<body>

<w3m-button></w3m-button>
<w3m-network-button></w3m-network-button>
<w3m-connect-button></w3m-connect-button>
<w3m-account-button></w3m-account-button>

<button id="open-connect-modal">Open Connect Modal</button>
<button id="open-network-modal">Open Network Modal</button>

</body>

<script type="module">
import { arbitrum, mainnet } from 'https://esm.sh/@wagmi/core/chains?bundle'
import { createWeb3Modal, defaultWagmiConfig } from 'https://esm.sh/@web3modal/wagmi@beta?bundle'

// 1. Create projectId
const projectId = 'YOUR_PROJECT_ID'

// 2. Create wagmiConfig
const chains = [mainnet, arbitrum]
const wagmiConfig = defaultWagmiConfig({ chains, projectId, appName: 'Web3Modal' })

// 3. Create modal
const modal = createWeb3Modal({ wagmiConfig, projectId, chains, themeMode: 'light' })

// 4. Trigger modal programaticaly
const openConnectModalBtn = document.getElementById('open-connect-modal')
const openNetworkModalBtn = document.getElementById('open-network-modal')

openConnectModalBtn.addEventListener('click', () => modal.open())
openNetworkModalBtn.addEventListener('click', () => modal.open({ view: 'Networks' }))
</script>

</html>

Looks like a type import from downstream dependency, besides error log in console, everything is working on my end, so you can probably ignore for now. Will try to find this in our walletconnect-monorepo to see if we can silence.

Looks like a type import from downstream dependency, besides error log in console, everything is working on my end, so you can probably ignore for now. Will try to find this in our walletconnect-monorepo to see if we can silence.

Due to this problem, the wallet cannot be connected
Clicking WalletConnect cannot display the QR code
Clicking MetaMask cannot connect to MetaMask

I see, will need to look into this and talk to a relevant team. Looks like esm.sh cdn can't properly bundle some walletconnect dependencies

@0xAsimetriq
Is there a solution to this problem?

Not as of now, we removed cdn support for now until we resolve. CDN bundlers like unpkgk / jsondeliver / esm.sh run into issues, so best advice for now is to set up a bundler like https://vitejs.dev locally, build bundle that you need and use that (upload to your server). But we will try to resolve CDN support as soon as possible

Not as of now, we removed cdn support for now until we resolve. CDN bundlers like unpkgk / jsondeliver / esm.sh run into issues, so best advice for now is to set up a bundler like https://vitejs.dev locally, build bundle that you need and use that (upload to your server). But we will try to resolve CDN support as soon as possible

May I ask if this problem has been resolved now? Thank you!

Not as of now, we removed cdn support for now until we resolve. CDN bundlers like unpkgk / jsondeliver / esm.sh run into issues, so best advice for now is to set up a bundler like https://vitejs.dev locally, build bundle that you need and use that (upload to your server). But we will try to resolve CDN support as soon as possible

Hello, I've also encountered this issue and it's been causing me a lot of distress. Could you please update on any progress or solutions regarding this? I'm genuinely struggling with it and it's making me feel quite down. Thank you for your time and assistance!


Fix wrong title of notification actions

Fix wrong title of notification actions.

Thank you for the contribution!


No floating promise lint rule, and fixed a timing issue

No floating promise lint rule, and fixed a timing issue caused by omitted Thenable's in state.ts.
no-floating-promises: forbids usage of Promise-like values in statements without handling their errors appropriately.
await-thenable: disallows awaiting a value that is not a "Thenable".
no-return-await: disallows unnecessary return await.

Trying to fix test

In the latest update, the test folder is being checked for linter errors, I think the build is failing because of those new errors.

Not sure why those errors are not shown when not running the tests. I'll take a look today.

I see. Those lint errors are because of recent test change. I'll fix those.


Justification for multiple lines

Describe your idea
I need to justify my multi line text. I can't find any workaround to do that
How could this be implemented?
just another attribute for text for e.g "drawText function" which tries to justify the text until maxWidth is reached.
What problem are you trying to solve?
To create a multiline text which is justified
Why does this matter to you?
I need it for printing
Would others find this helpful?
Yes, I think so
Are you interested in implementing your proposal?
No
Why are you submitting a proposal?
Because in my opinion justification is a must have when creating PDF's
Additional Notes
thank you a lot for your great tool

Any solution for this?


LoadConfigurationFromAppSettings() in NLog.Extensions.Hosting

Hi, im upgrading from version 4 to 5. As far as I understand, you have different packages

NLog.Web.AspNetCore for websites
NLog.Extensions.Hosting for worker services
NLog.Extensions.Logging for any other applications

I have worker service, it vs template contain appsettings.json like ASP.NET template. Why NLog provides a method LoadConfigurationFromAppSettings() only for NLog.Web.AspNetCore? Isn't this relevant for NLog.Extensions.Hosting? I came across the fact that this method is also needed here since the configuration format is no different.

Yes that is pretty much the purpose of the different nuget-packages. NLog.Extensions.Logging + NLog.Extensions.Hosting tries to be slim wrappers that only registers NLog as logging-provider.
The LoadConfigurationFromAppSettings is included with NLog.Web.AspNetCore because it has all the dependencies included upfront for loading configuration from appsettings.json-file. Allowing it to manually load configuration before the host-builder is ready.
The LoadConfigurationFromAppSettings is best-effort and not very optimal way of loading the NLog-configuration. It just probes lots of different places for a possible NLog-configuration, which is then loaded. It kind of ressembles how NLog autoloads its Nlog.config-file.
The goal is that one just uses AddNLog or UseNLog for setting up NLog as logging-provider, and those methods will automatically load the NLog-configuration from the host-configuration (if available).

Thank you. Then could you comment on two points from the example I noted on the screenshot? Here I am trying to understand the different configuration going on in two places. Or does the configuration take place in 1 place, and then it will be used in 2? Will the way 1 place is configured affect 2 or are they unrelated?

The only reason for the premature LoadConfigurationFromAppSettings is for doing early logging (Like logger.Debug("Init main")) before Host.CreateDefaultBuilder().
But UseNLog() / AddNLog() by itself is enough for setting up NLog as Logging Provider.

Thanks!


Android: Implement cancelable option for Alerts

Motivation
In iOS you cannot dismiss alerts by clicking outside of their box, while on Android you can. This can create some inconsistency if you want to have identical behavior on both platforms. This change makes it possible for Android apps to have irremovable/required alert boxes just like in iOS.
This adds an additional parameter to the Alert method. The way to use it is by providing an object with the cancelable property. The cancelable property accepts a boolean value.
This utilizes the Android DialogFragment method setCancelable
Usage example
Alert.alert(
   'Alert Title',
   null,
   [
     {text: 'OK', onPress: () => console.log('OK Pressed!')},
   ],
   {
     cancelable: false
   }
);

Test plan (required)
I added an additional alert to the UIExplorer project where it can be tested. I also added a part in the Dialog Module test to make sure setting cancelable works as it should.

By analyzing the blame information on this pull request, we identified @mkonicek and @foghina to be potential reviewers.

It's been a while since the last commit was reviewed and the labels show this pull request needs review. Based on the blame information for the files in this pull request we identified @mkonicek as a potential reviewer. Could you take a look please or cc someone with more context?

LGTM
cc @dmmiller

Can you please rebase this against master?

Seems good.  Looks like it might need a rebase, but then let's do it.

Sounds awesome, looking forward to it!

@kraffslol updated the pull request.

@facebook-github-bot shipit

Thanks for importing.If you are an FB employee go to Phabricator to review internal test results.


Uploader needs pytest to uploader a NodeJS report??

https://github.com/drazisil/mcos/actions/runs/5554488519/jobs/10150458525#step:6:87
Why am I getting an error regarding a missing pytest?
Collecting codecov-cli
  Downloading codecov_cli-0.1.14-cp310-cp310-manylinux2014_x86_64.whl (280 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 280.5/280.5 KB 4.9 MB/s eta 0:00:00
Collecting httpx==0.23.*
  Downloading httpx-0.23.3-py3-none-any.whl (71 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.5/71.5 KB 8.8 MB/s eta 0:00:00
Requirement already satisfied: click==8.* in /usr/lib/python3/dist-packages (from codecov-cli) (8.0.3)
Collecting pyyaml==6.*
  Downloading PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (682 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 682.2/682.2 KB 12.3 MB/s eta 0:00:00
Collecting ijson==3.*
  Downloading ijson-3.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (112 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.7/112.7 KB 12.5 MB/s eta 0:00:00
Collecting responses==0.21.*
  Downloading responses-0.21.0-py3-none-any.whl (45 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.0/46.0 KB 11.5 MB/s eta 0:00:00
Collecting tree-sitter==0.20.*
  Downloading tree_sitter-0.20.1.tar.gz (126 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.2/126.2 KB 14.3 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting smart-open==6.*
  Downloading smart_open-6.3.0-py3-none-any.whl (56 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.8/56.8 KB 16.3 MB/s eta 0:00:00
Collecting sniffio
  Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from httpx==0.23.*->codecov-cli) (2020.6.20)
Collecting httpcore<0.17.0,>=0.15.0
  Downloading httpcore-0.16.3-py3-none-any.whl (69 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 69.6/69.6 KB 15.3 MB/s eta 0:00:00
Collecting rfc3986[idna2008]<2,>=1.3
  Downloading rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)
Requirement already satisfied: requests<3.0,>=2.0 in /usr/lib/python3/dist-packages (from responses==0.21.*->codecov-cli) (2.25.1)
Requirement already satisfied: urllib3>=1.25.10 in /usr/lib/python3/dist-packages (from responses==0.21.*->codecov-cli) (1.26.5)
Collecting anyio<5.0,>=3.0
  Downloading anyio-3.7.1-py3-none-any.whl (80 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.9/80.9 KB 17.6 MB/s eta 0:00:00
Collecting h11<0.15,>=0.13
  Downloading h11-0.14.0-py3-none-any.whl (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 KB 17.4 MB/s eta 0:00:00
Requirement already satisfied: idna in /usr/lib/python3/dist-packages (from rfc3986[idna2008]<2,>=1.3->httpx==0.23.*->codecov-cli) (3.3)
Collecting exceptiongroup
  Downloading exceptiongroup-1.1.2-py3-none-any.whl (14 kB)
Building wheels for collected packages: tree-sitter
  Building wheel for tree-sitter (pyproject.toml): started
  Building wheel for tree-sitter (pyproject.toml): finished with status 'done'
  Created wheel for tree-sitter: filename=tree_sitter-0.20.1-cp310-cp310-linux_x86_64.whl size=424707 sha256=c2cb92379b834c7c452c6fc1387365d4d5d2d2b4be8d3a4303b98d8999034f48
  Stored in directory: /home/runner/.cache/pip/wheels/e6/d0/7a/a108b30f6615a71ca3a07ced1b149509d437a60c9d64820723
Successfully built tree-sitter
Installing collected packages: rfc3986, ijson, tree-sitter, sniffio, smart-open, responses, pyyaml, h11, exceptiongroup, anyio, httpcore, httpx, codecov-cli
Successfully installed anyio-3.7.1 codecov-cli-0.1.14 exceptiongroup-1.1.2 h11-0.14.0 httpcore-0.16.3 httpx-0.23.3 ijson-3.2.2 pyyaml-6.0 responses-0.21.0 rfc3986-1.5.0 smart-open-6.3.0 sniffio-1.3.0 tree-sitter-0.20.1
Traceback (most recent call last):
  File "/home/runner/.local/bin/codecovcli", line 5, in <module>
    from codecov_cli.main import run
  File "/home/runner/.local/lib/python3.10/site-packages/codecov_cli/main.py", line 12, in <module>
    from codecov_cli.commands.labelanalysis import label_analysis
  File "/home/runner/.local/lib/python3.10/site-packages/codecov_cli/commands/labelanalysis.py", line 11, in <module>
    from codecov_cli.runners import get_runner
  File "/home/runner/.local/lib/python3.10/site-packages/codecov_cli/runners/__init__.py", line 8, in <module>
    from codecov_cli.runners.python_standard_runner import PythonStandardRunner
  File "/home/runner/.local/lib/python3.10/site-packages/codecov_cli/runners/python_standard_runner.py", line 13, in <module>
    import pytest
ModuleNotFoundError: No module named 'pytest'
Error: Process completed with exit code 1.

@drazisil probably because it wasn't included in the setup.py here. Should be fixed now in 0.2.2


[BEAM-8093] Fail tox environments that don't set command

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @lukecwik (I expect py36-gcp to fail in precommit since #9592 has not been merged yet)

Run Python PreCommit

Run Portable_Python PreCommit

Run Python PreCommit


javax.xml.bind/jaxb-api/2.3.1

Type: Missing
Summary:
javax.xml.bind/jaxb-api/2.3.1
Details:
No info in package files. Meta data confirms CDDL and GPL licenses.
Resolution:
https://oss.oracle.com/licenses/CDDL+GPL-1.1
Affected definitions:

jaxb-api 2.3.1

@TRQ3 FYI: I'm updating this to include the classpath exception since the license contains:

GPL Classpath Exception:
Oracle designates this particular file as subject to the "Classpath"
exception as provided by Oracle in the GPL Version 2 section of the License
file that accompanied this code.

Also, I will change this to OR since you can choose either license.

The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License").


Remove unnecessary disabling of linting errors

What is the context of this PR?
This PR removes the unnecessary disabling of linting errors for example # pylint: disable=protected-access.
Updated MyPy and Pylint config files to detect unnecessary disabling
Trello Card is here
How to review
Run Make lint-python or Make lint and check to see if there are any linting errors
Check if all comments relating to the removed disabling errors are removed
Checklist

[ ] New static content marked up for translation
[ ] Newly defined schema content included in eq-translations repo

 Remove unnecessary disabling of linting errors in Runner (1 SP)

When I run make lint I get a useless-suppression warning for too-many-function-args in test_schema.py, however the linter still passes - so maybe why this was missed?

I also get this error too:

Looks like it got reverted when I was fixing a merging issue. Should be good now 👍


[ServicBus] Update Python version from 3.6 to 3.7

Description
fixed #25148
Updating service bus python requirement from 3.6 to 3.7

Oops I did not saved some changes, I will PR again


LEDBoard close() method disables the defined Button definition or handler.

The handler 'nxt_mode' is called as expected on following Python3 code snippet:
tree = LEDBoard( *range(4,28),pwm=True)
button = Button(3)
button.when_pressed = nxt_mode

but when the LEDBoard object is closed after the button definition, then the button handler fails to be called:
tree = LEDBoard( *range(4,28),pwm=True)
button = Button(3)
button.when_pressed = nxt_mode
# 'close' below will void the button handler or button definition and pressing GPIO3 button has no effect.
tree.close()
tree = LEDBoard(*range(4,28),pwm=True)

Wow. That's unusual. I have confirmed, and limited to RPiGPIOFactory.
If you use MockFactory or PiGPIOFactory, it works as expected.
Run sudo pigpiod and then launch with GPIOZERO_PIN_FACTORY=pigpio python3 (or idle or whatever) and it works fine.

There's so many open issues on RPi.GPIO that it's hard to know if any of them already cover this particular bug.

I have a feeling it's a bug in our pin implementation for RPi.GPIO rather than a big in RPi.GPIO, but it could be.

Definitely an RPi.GPIO bug. Dashing to write this so forgive the brevity: event_cleanup() in event_gpio.c has a bug: it always cleans up all events not just the one it's called for due to missing {braces}. Looks like this ticket might fix it but I haven't had time to check it (my hunch is it doesn't because there's no longer anything advancing the g pointer when the match isn't true).
Anyway, must dash - hope that's enough to go on for now!

Added a fix to RPi.GPIO as per the missing braces ticket mentioned by @waveform80 above.  To install this development version of RPi.GPIO using pip (assuming you are working in a virtual environment):
$(venv) sudo apt-get install mercurial
$(venv) pip install hg+http://hg.code.sf.net/p/raspberry-gpio-python/code#egg=RPi.GPIO
Does it fix this gpiozero problem?  If so, I will upissue RPi.GPIO.

That fixed it for me! Thanks Ben

I can confirm, this fixes the mentioned bug. Thanks, that was fast!

Should this issue be re-opened until RPi.GPIO 0.6.4 is released and included in the Raspbian update-repos?

Maybe. I am new to this thing and closed it actually by accident... My  intention was to send the comment, but clicked the wrong button. It might be justified to reopen it, but I'm not in hurry to click the buttons again. Can anyone reopen the issue?

@bcroston when do you plan to release 0.6.4?

I'm closing this again as it's not a bug in gpiozero. Hopefully rpi.gpio 0.6.4 will be released at some point.

RPi.GPIO 0.6.4 is now released.


Scroll Event never being called CodeArea

Expected Behavior
Scroll Event being called
Actual Behavior
Event never being called
Reproducible Demo
CodeArea code = new CodeArea();
code.setOnScroll(event -> {
        System.out.println(event.toString());
});

Environment info:

RichTextFX Version: 0.9.3
Operating System: Windows 10
Java version: JDK 1.8.0_144

Desired Feature
I'd like to catch scroll events
Current Workarounds
Currently you can use the code.estimatedScrollYProperty() and bind an event listener, but the
ScrollEvent event has some additional features like .isControlDown() that are very handy
Implementation Costs
To the best of your knowledge...

What would need to be changed to support the feature (e.g. accessibility changes, type refactoring, splitting up a method into multiple methods, etc.)?
What problems or issues would need to be resolved first (if any)?
What problems might this feature create (e.g. compatibility issues, inconvenience upon some developers, etc.)

Try using the following instead:
code.addEventFilter( ScrollEvent.ANY, EH -> System.out.println(EH) );

This workaround also works. I'm going to add it to the issue. Support for setOnScroll() would still be nice.


Add code coverage and test result reporting

add cmake option for generation code coverage
discover job_id using GH api
upload test report to artifacts
show test report
generate code coverage report
show code coverage report

Test report

Coverage
|Lines       |Functions  |Branches
Filename                               |Rate     Num|Rate    Num|Rate     Num
=============================================================================
[/__w/tt-xla/tt-xla/src/]
common/api_impl.cc                     |73.5%    714|67.0%   112|    -      0
common/api_impl.h                      |95.7%     94|97.9%    48|    -      0
common/dylib_entry_point.cc.inc        |92.3%     13|80.0%     5|    -      0
common/module_builder.cc               |83.0%     88| 100%     8|    -      0
common/module_builder.h                | 100%      3| 100%     3|    -      0
common/platform.cc                     |47.4%     19|[50](https://github.com/tenstorrent/tt-xla/actions/runs/12199268498/job/34033077798#step:12:51).0%     4|    -      0
common/status.h                        | 100%      2| 100%     1|    -      0
common/stubs.inc                       | 100%    102| 3.9%   102|    -      0
tt/client.cc                           |66.7%      6|50.0%     2|    -      0
tt/client.h                            | 0.0%      1| 0.0%     2|    -      0
tt/dylib_entry_point.cc                | 100%      3| 100%     1|    -      0


read_passwd no longer works

Read password is now echoing password bytes. This can be seen in the login prompt on Redox

This may be an issue with ransid or vesad as well, I will close if it is

This appears to happen in release mode because the compiler optimizes out the .into_raw_mode()

This appears to happen in release mode because the compiler optimizes out the .into_raw_mode()

That sounds really bad. UB somewhere?

You need to use the handle you get back somehow

Even just a flush would work

Closing as wontfix, because it is likely due to the lack of flushing rather than an actual bug.


Earley parser is extremely slow

The earley parser is designed for ambitious grammars by solving every possible path, but vsql only cares that there is one successful path so it just uses the first. However, this means that with an increasing number of tokens it gets exponentially slower.
We need to replace this with a LR(1) parser, but we'd need a generator like yacc for creating the tables and resolving the ambiguities.

Fixed in #202


Metadata keys lose case

@azure/storage-blob:
12.14.0:
debian/linux:
nodejs

18.14.2:
Describe the bug
Keys for metadata associated with blob lose their "case".  E.g. camelCase becomes camelcase.

// set the blob's metadata
const metadata = {
    siteId: siteId,
    encounterId: encounterId,
    description: description,
    uploadedBy: uploadedBy,
    uploadedAt: new Date(uploadedAt).toISOString()
};

blobService
    .getContainerClient(setting.container)
    .getBlockBlobClient(blobName)
    .uploadStream(stream, blobSize, 5, { metadata })
    .then(() => {

Note 'encounterId', 'siteId', 'uploadedAt', etc.

Becomes

Expected behavior
The case of the keys would be the same instead of being made lowercase

@xirzec Yeah...it does appear to be a duplicate...and I did just notice this warning...

...feel free to close this if you like.
Thanks,
Kelly

@skhilliard Closing this one as duplicate, but please let us know if you are unable to accomplish your scenario (by adding a comment on the other issue or reopening this one!)


When starting multiple servers the logging does not use the server name provided in options

I start multiple Talkback servers in the same Node script, each handling the requests to a specific backend server.
The code looks something like this:
const startTalkbackServer = (serverName: string) => {
  const options = {
    name: serverName,
    host: config.get<string>(`${serverName}.talkbackUrl`),
    port: config.get<string>(`${serverName}.talkbackPort`),
    path: `./talkback/cached_responses/${serverName}`,
    // ...
  };

  const server = talkback(options);
  server.start(() => {
    console.log(`Talkback server started on http://localhost:${options.port} for ${options.host} with tapes at ${options.path}`);
  });
};

['accounts', 'customers'].forEach(startTalkbackServer);

This works very well. The only issue we have with this, is that the log output from each of the servers does not reflect the server name provided in the options. The log output from both servers have the same name in the log line. This is always the name of the last server started.
For example when the the summary is being printed from these two servers, it looks like this:
[talkback] 2022-06-23T07:55:49.200Z [customers] [INFO] ===== SUMMARY =====
...
[talkback] 2022-06-23T07:55:49.300Z [customers] [INFO] ===== SUMMARY =====
...

Any idea why this is happening?

Great call @scmx, the global logger was definitely a problem.
This should be fixed in v3.0.2


Reorganize externref related public APIs.

Basically, users don't need to use wasm_externref_obj2ref before
calling wasm_runtime_call_wasm_XXX. User can pass object pointers
directlly as externref parameters.

will update documents when the code is stable.


Proposal: implement private registry exposing local images

Would that be possible to implement the v2 Registry API on top of a local docker instance?
It would be so much easier to browse and manage the images in the registry with all the tools and commands which we have for local images. It would also solve the image deletion problems we have with Registry 2.0 at the moment.. I don't see exactly though what other problems this alternative approach would raise, so please take this as a wild idea at the moment.

This is not wild, this is good :)
We are considering this - will take time to get there, but eventually, yes, the "registry" should be the interface to manipulate images, be they remote or local.
(speaking under @stevvooe control :-))

Any news on this one?


better handling of platforms without a font-manager

What?

switch config/discover.ml to config/discover.re
use feature detection on config/discover.re
support platforms without / broken font-config
add new findFontOpt API

Why?

Mostly Android and iOS. When you're cross compiling, uname doesn't work, so we needed another system detection mechanism, but overall feature detection is a better idea. This new system will also enable it to work on weird platforms.

Android doesn't have a FontManager like font-config so we needed a dummy.

The findFontOpt API is needed because there is already some cases where findFont can return NULL, and now the dummy also does that, so we needed to handle it, previously it would just crash the entire app. This can also be used to implement a fallback mechanism.

I tested this on Windows, and everything is working (both the example app, and the FontQuery CLI tool)


fix: Navbar Font weight issue (WEB-19)

Added font weight of 900 to right side navbar items (Community Impact & Contact us)
Ensured these weights apply in the mobile view as well

LGTM


Reuse simulator

Option added:
"reuse-simulator" added at the bluepill command level.
"keep-simulator", "use-simulator", "delete-simulator" added at the bp command level for internal use.
Below is how this feature works:

Start bluepill command with "--reuse-simulator" or add "reuse-simulator : true" to config.json
The driver process will start a bunch of bp instance with "keep-simulator: true"
When "keep-simulator" is enabled, the bp instance won't shutdown and delete the simulator when the test bundle is finished normally (pass or normal fail).
If the test cases crash or hang, or simulator crashes, the bp instance will force delete the simulator and won't allow to reuse it.
The bp instance pass the device id of the simulator back to the driver process by writing the id to a temporary file before it terminates.
The bluepill driver process read the temporary file to get the simulator device id and stored it in a pool ready to be reused.
If there are available simulator device id to reuse, the driver process will pass the option "use-simualtor: [device id string]" when starting a new bp instance.
When a bp instance start with a specified device id, it won't create new device first, it will try to look for a running device with specified id first, and also connect to the existing running simulator GUI app if it is in the non-headless mode.
if a device is successfully reused, bp will continue to install the app and launch the test cases to run.
if a device is invalid and cannot be reused, but retry is allowed by the configuration, a new device will be created.
When all test bundles have been finished, and the device id pool to reuse is not empty, the bluepill driver will launch new bp instance with "delete-simulator:[device id string]" for each device to shutdown and delete all the running simulators. But it is fire & forget so the driver won't wait for the bp to return.

Some test cases have been added to BluepillTest.m and a new  BPIntegrationTests.m to test this feature.

If we're now deleting the app in between successes with this option, is there more that needs to be cleaned up between failures, or could we reuse simulators between failure runs as well? In what situations would doing a full simulator reset be helpful?

For normal test case failure, i.e. no hang or app crash,  we still reuse the simulator.  When test cases hang or crash, or simulator itself crashes, we will discard the current simulator .

Moved to a different PR ( #54 )


Adding Contributing.md file

Fixes issue #28.
Kindly review my PR.

Can you label this pr as NWoC? And update points accordingly.


[README] Update process looks scary

This thing may really scare any user:

brew update
brew cask upgrade maccy
killall Maccy # closes the app if it is running
open /Applications/Maccy.app # opens the new version

I think it would be better to add
uninstall quit: 'org.p0deje.Maccy'

to the maccy.rb Cask.
And shorten "Update" to
brew cask upgrade maccy
open -a maccy

Hah, now I've tested it and it doesn't work that way because uninstalling is not the same as updating.

@p0deje open -a maccy doesn't work. please revert the doc update.

@saeedseyfi works on macOS10.15 Catalina

@saeedseyfi works on macOS10.15 Catalina

did you ever try it after an update?

@saeedseyfi this gif was recorded on macOS Catalina

@saeedseyfi this gif was recorded on macOS Catalina

this this not a matter of os version, I use catalina as well.
to run the new version of maccy, you need to close the running app first before opening it again.
if you run open without killing the already running app, it DOESN'T DO ANYTHING.
in the gif you sent you already closed the app manually.
that is what you missed.
I know open -a Maccy opens it, fine I'm ok with keeping that, but it doesn't close it if it's running, this is the missed part.
that is why you need this step first:
killall Maccy # closes the app if it is running

and I suggest to bring this step back.

Yea, that's what I wrote 3 days ago:

Hah, now I've tested it and it doesn't work that way because uninstalling is not the same as updating. So we still need to close the app and open a new version."

^_^


Unpermitted parameters when whitelisting them in the model & controller

I'm having a similar problem and have tried quite a few solutions on the web.  I have a model Note and it has many of the Document model.
class Note < ActiveRecord::Base
  has_many :documents
  accepts_nested_attributes_for :documents
end

And then in my controller (simple RESTful actions) when I try to create a note I continuously get back Unpermitted parameters: documents.
In my controller, I permit the params like so:
params
  .require(:note)
  .permit(:description, documents_attributes: [:id, :name, :ext, :mime_type])

But I still receive the unpermitted parameters and the records are not saved to the DB.  I'm posting an array of objects (JSON), that looks somewhat like this:
{
  "note": {
    "description": "test note",
    "documents": [{
      "name": "testdoc.jpg",
      "mime_type": "image/jpg"
    }]
  }
}

You are receiving documents and permitting documents_attributes. You should permit documents

@rafaelfranca I've tried that, and I get back a "{Model} expected, got ActionController::Parameters` error.

Because you need to pass documents_attributes to the model creating. So you should:

Permit documents and pass it to the model as documents_attributes
Receive documents_attributes, permit it and pass to the model.


Cleanup same file occurrences when inserting a symbol

This pull request ensures that when inserting a symbol we clean up the existing symbols for the same file.
Previously we were just removing the existing symbols for the same module, which worked if we update a module or rename its file. This left one corner case uncovered: renaming the module while keeping the filename.
This pull request fixes this and should fix #305. To test this you can perform the steps that I wrote in there and confirm that after renaming the module, the old module information is not present anymore in the symbols table.

Marking as a draft as the tests are failing and I won't have time to fix it today.

I am completely lost regarding the tests. I've cleaned everything and switched to main and they still fail on my machine. Not sure what I did 🙈

@crbelaus i'll take a look tonight, no worries! Thanks for the hard work 💪


Cannot reproduce the results using the model provided

Hi, thank you for making this work open source.
I just downloaded the model you provided from Google drive and place it in the best_model folder, changed the path for test.py and run test.py. However, the accuracy I got is around 0.51.  Could you help me to check if there is anything wrong with my process? Thank you!

@CCYChongyanChen
Hi,
Thanks for your post!
I am not sure where the problem is because the AUC is really low, but you can try this:

Redownload models, and run test.py again. See how it works.

if 1 not works, you can try to train your own model and see if you can get a similar result.

Also, remember to have the complete dataset, it's quite large I remember.
If still not work, you are welcomed to leave comments and I can try to help!
Best.
Ian

Hi @len001,
Thank you a lot for replying! I also trained it myself and got around AUC=0.67

Hi @len001,
Thank you a lot for replying! I also trained it myself and got around AUC=0.67

Hi @CCYChongyanChen ,
Thanks for your posting.
I think you can try to change the learning rate for 3 different model dynamically to have better performance.
Best.

Hi, thank you for making this work open source. I just downloaded the model you provided from Google drive and place it in the best_model folder, changed the path for test.py and run test.py. However, the accuracy I got is around 0.51. Could you help me to check if there is anything wrong with my process? Thank you!

Hi, if you have solved this problem you mentioned above? I met the same problem.


Update version in ZPage README

Coverage remained the same at 81.315% when pulling de77a654642ffe0a8e2b101d0ebe5f9874fc694f on songy23:doc into 639cbfffc883dba67db6a984b98ba97475513b0d on census-instrumentation:master.

Codecov Report

Merging #857 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #857   +/-   ##
=========================================
  Coverage     79.37%   79.37%
  Complexity      908      908
=========================================
  Files           156      156
  Lines          4014     4014
  Branches        378      378
=========================================
  Hits           3186     3186
  Misses          750      750
  Partials         78       78

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 639cbff...de77a65. Read the comment docs.


Add "null" to the legend.

Now we can specify a value in the scale that will be used for null values, but it would be great if it were displayed in the legend (including in the case of a continuous scale - for example, display the value for null next to the main legend).

ggplot (r) can show n/a values in legend (not sure about colorbar):

https://ggplot2.tidyverse.org/reference/scale_grey.html


GSoC 2022 Idea: Keep track of VM's "last known state" and enforce it after an outage

Hello,
An infrastructure outage can take out several or all VMs. In the aftermath it's not always possible to know which VMs were supposed to be ON or OFF, especially if HA is not enabled. People keep powered off VMs around all the time for many reasons.
I propose we add a feature where Cloudstack keeps track of the "last known state" of a VM and after an outage either enforce it (ie start the VM or leave it off) or at least show some information to the operator in the UI/API so they can do it themselves; perhaps make this behaviour configurable in the global settings.
Thanks

@NuxRo thanks, great idea. I know some hypervisors like VMware are syncing this state, so I'd assume this would be relevant to others? Can you elaborate a bit on the idea. Can you also put a size on the project medium 175hrs or large 350hrs, you might want to have a developer to do an assessment of the changes required to come up with this part. Also add in the perspective of space, storage, systemvms/router, hypervisors, user roles, networks etc.. to the idea.

2-3 months should be more than enough for this feature, @borisstoyanov

Thanks for submitting the idea, GSoC2022 has ended. I'm closing this, you can resubmit this idea again for next year in case this wasn't selected or worked upon this year.


Support deletion of cloudformation stacks

Would be nice to be able to delete cloudformation stacks older than x days

Seems like a reasonable feature request, but we don't make much use of CloudFormation here, so we're not likely to get to this any time soon. PRs welcome.

@brikis98 I'm looking at submitting a PR to solve this.
It's possible to delete stacks without stacksets only if the sets don't refer to the stacks being deleted.

Closing this PR as we've not made any changes or updates since 2021.