Input is not accessable in dragn drop

Thanks for submitting an issue to RGL!
Please mark the type of this issue:

[x] Bug
[ ] Feature Request
[ ] Question

When I add input fields into a draggable object I'm not able to type into the inputs with an onchange handler.
What could be the problem?

I just encountered the same issue. If you don't need dragging on the complete grid element, you can specify a css selector as the grid-layout's draggableHandle property. That way, dragging doesn't influence the rest of your element. I didn't dig deeper to find out what exactly happens that breaks the input though.

@SchroederChris can you maybe show a code snipped how you use draggableHandle.
I tried this: draggableHandle={panel} as attribute on ResponsiveReactGridLayout ... but full div is draggable and not onle the class called panel

It's just a string property where you specify a regular css selector. My code looks like this:
draggableHandle=".card-view > header"

@holzfelix did you manage to make it work? I found that the example with draggableHandle doesn't work (you can drag from anywhere inside your GridItem) and thus the input is still bugged.

yes it works now.
this worked for me:
 draggableHandle=".dragMe"

Not working for me, my item is:

                         Drag Here
                         Name :<input type="text"/>

The whole item remains draggable and input don't keep focus..

for me that looks not correct!
why do you add those stuff to a div?
you have to call the react component
 <ResponsiveReactGridLayout className={`layout`}
                                                           breakpoints={{
                                                               lg: 0,
                                                           }
                                                           }
                                                           cols={{
                                                               lg: 12,
                                                           }
                                                           }
                                                           layouts={this.state.layouts}
                                                           draggableHandle=".dragMe"
                                                           onBreakpointChange={this.onBreakpointChange}
                                                           onResizeStop={this.onResize}
                                                           onLayoutChange={this.onLayoutChange}>
                                    {

and inside the react component you have elements with css class

I got it working, thanks. I was following the example which does it the way I showed it (directly on layout or item properties).

thanks, it worked for me.

It's work for me too thanks !

It's working! Thanks!

You can also use draggableCancel=".dontDragMe"
For me it was more appropriate.

Using the draggableHandle property fixed if you don't need draggable behaviour. How can I fix that if I need my component to be draggable? Thanks in advance

I had this same problem but neither draggableCancel nor draggableHandle were working for me.
I don't know why, maybe because I had nestedd GridLayouts.
I solved the problem by using onMouseDown={(e) => e.stopPropagation()} in my text box.
Hope this helps someone.

My component has input field and this component needs to be draggable. any solution?
Currently it's working. (unable to type in in the input box)


Made CentOS platform use rhel init.d script

Without this supervisor is not added as system service in CentOS platforms.

Sigh, future version will use poise-service and be rid of this jenga tower of fail, but a good fix for the moment. Thanks!


Add files via upload

@kikiroxYT Please provide us with:

the school official website URL,
the street address of this school,
an URL of a page or another proof showing that the school recognizes the domain which you are submitting as an official email domain for the students.

the school official website URL: http://clg-henri-bergson-st-cyr-sur-loire.tice.ac-orleans-tours.fr/eva/?lang=fr#haut
the street address of this school: 201 Rue Victor Hugo, 37540 Saint-Cyr-sur-Loire201 Rue Victor Hugo, 37540 Saint-Cyr-sur-Loire (France)
an URL of a page or another proof showing that the school recognizes the domain which you are submitting as an official email domain for the students. : https://www.touraine-eschool.fr (it's the site where my email address comes from because it counts as my college's one)

@kikiroxYT I am sorry, your email address belongs to a large organization, which is an umbrella for a lot of schools. I cannot accept this address for this repository. Please apply with official document ("OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students). With the official document you can apply with any email address.


Improvements in stateful

Several improvements in stateful objects:

Make clear names of the variables created by stateful objects with subscripts to easily identify them in the model file, e.g.: _integ_init, _delay_tstep
Reduce the number of the variables created by stateful objects by subscripts, as xarray can manage operations between variables with different dimensions sometimes is not needed to convert all the inputs to the dimension
Add py_name to stateful objects and improve the error message when not possible to update the value of a stateful object or to initialize some of them
Support for subscripted SMOOTH and TREND #226
Split Delays in 3 and make some old test work (solving issue #147)
Create DynamicalStatefull class to differentiate the Stateful objects with update method (this cleans the Euler step as fewer objects will be passed and will improve a little bit the performance for models with a lot of Initial or SampleIfTrue objects), for example, now Stateful > DynamicalStateful > Integ, but Stateful > Initial.

Use only scipy version of bounded_normal, this will not change the requirements of the library as xarray is a requirement and it requires scipy. Then, currently are PySD user have already scipy installed due to xarray.
Solve issue #256 . Now user interaction allows modifying the values of variables that are lookups in the model with constant values and pandas.Series. There are no changes on how the redefinition of values is done, however, now it is more flexible. Tests added for all the cases in unit_test_pysd.py.

Coverage increased (+0.6%) to 95.509% when pulling df43b5d80f1500a2dadaf359dd0c5a3eb133d851 on enekomartinmartinez:improvements_in_stateful into 40ae18e706b5090ce8eb4bd0a8c948df5ccf05e7 on JamesPHoughton:master.


Observing leak in hikari connection pool 2.2.5 ver

Hi,
We have allocated connection pool size of 30.  Sometime suddenly find the all the connection in use.  No connection available.  Checked in database server it indicates no connection are open from hikari connection pool.  This happens interminently. We also observed nothing is running in application and suddenly it shows all the connection are inuse.  system freezes completely.
We have following logs but cannot make out anything. Below logs for reference.   Please suggest.
2016-09-29  14:42:05,708-Hikari Housekeeping Timer (pool HikariPool-0)--DEBUG-com.zaxxer.hikari.pool.HikariPool:After cleanup pool stats HikariPool-0 (total=30, inUse=0, avail=30, waiting=0)
2016-09-29  14:42:13,204-RMI TCP Connection(9297)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@35a190c0
2016-09-29  14:42:13,204-RMI TCP Connection(9318)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@56141be7
2016-09-29  14:42:13,327-RMI TCP Connection(9324)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@7f863535
2016-09-29  14:42:13,414-RMI TCP Connection(9320)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@501cab48
2016-09-29  14:42:13,467-RMI TCP Connection(9327)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@389c7bb2
2016-09-29  14:42:13,468-RMI TCP Connection(9319)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@297d0027
2016-09-29  14:42:13,486-RMI TCP Connection(9321)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@4d9515b8
2016-09-29  14:42:13,611-RMI TCP Connection(9316)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@76c50ad2
2016-09-29  14:42:13,654-RMI TCP Connection(9297)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@2499de9
2016-09-29  14:42:13,700-RMI TCP Connection(9318)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@2f1e2d2b
2016-09-29  14:42:13,755-RMI TCP Connection(9316)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@18e43323
2016-09-29  14:42:13,776-RMI TCP Connection(9319)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@67c3569e
2016-09-29  14:42:13,777-RMI TCP Connection(9324)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@496bd44a
2016-09-29  14:42:13,796-RMI TCP Connection(9328)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@463e6bee
2016-09-29  14:42:13,843-RMI TCP Connection(9297)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@2c1ffa49
2016-09-29  14:42:13,901-RMI TCP Connection(9316)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@6768e540
2016-09-29  14:42:13,920-RMI TCP Connection(9319)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@4eca80e5
2016-09-29  14:42:13,939-RMI TCP Connection(9326)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@50d462cc
2016-09-29  14:42:13,940-RMI TCP Connection(9328)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@27a26889
2016-09-29  14:42:13,967-RMI TCP Connection(9321)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@177d0eb3
2016-09-29  14:42:14,039-RMI TCP Connection(9323)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@135015d1
2016-09-29  14:42:14,061-RMI TCP Connection(9316)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@6ec8563e
2016-09-29  14:42:14,064-RMI TCP Connection(9318)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@22963944
2016-09-29  14:42:14,065-RMI TCP Connection(9319)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@3489b119
2016-09-29  14:42:14,085-RMI TCP Connection(9328)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@3bc9fb41
2016-09-29  14:42:14,085-RMI TCP Connection(9326)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@d76866c
2016-09-29  14:42:14,110-RMI TCP Connection(9321)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@2f3101b3
2016-09-29  14:42:14,180-RMI TCP Connection(9324)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@5b17c98f
2016-09-29  14:42:14,183-RMI TCP Connection(9297)-<IP_ADDRESS>--DEBUG-com.zaxxer.hikari.pool.HikariPool:Performing alive check for connection oracle.jdbc.driver.T4CConnection@1e949488
2016-09-29  14:42:35,708-Hikari Housekeeping Timer (pool HikariPool-0)--DEBUG-com.zaxxer.hikari.pool.HikariPool:Before cleanup pool stats HikariPool-0 (total=30, inUse=30, avail=0, waiting=11)
2016-09-29  14:42:35,708-Hikari Housekeeping Timer (pool HikariPool-0)--DEBUG-com.zaxxer.hikari.pool.HikariPool:After cleanup pool stats HikariPool-0 (total=30, inUse=30, avail=0, waiting=11)

@cleophusp Please upgrade your HikariCP version.

Thanks for responding.  Few queries, upgrading is fine. But is this known issue in the 2.2.5/2.3.13 release.  Any thing we need to configure to detect leaks or increase the connection pool in case connection pool get exhausted automatically.

@cleophusp To be honest 2.2.5 was so long ago, I would suggest just checking the change log.  Of course you can enable the leakDetectionThreshold to check your app for leaks -- I'd recommend using a fairly high value, like 1-2 minutes to avoid false positives.  Leaks will be reported in the log.


Allow xunit, nunit and other frameworks to run with the new runner

Summary
MSTest runner is a new lightweight runner for MSTest tests. Please vote below if you'd like the same experience for other frameworks. And optionally share why, and which framework, please.
https://devblogs.microsoft.com/dotnet/introducing-ms-test-runner

Maybe I am missing something, but why not?
Sure it’s more work, but isn’t it worth the additional work?
Currently, it feels like if Entity Framework only supported MSSQL and is asking do you want support for eg MySQL?

Big thumbs-up here for XUnit support - this is going to be necessary to start porting large chunks of the dotnet/* repositories onto this new runner.

@baronfel We just need to provide enough new nice features for you to want to migrate to MSTest 😉

Would be very useful to support xunit for us and many customers - it would save a lot on wasted CPU cycles in CI/CD

Would love to see if it can give a similar boost to nunit tests

The blog's features are very enticing. Would it be a lot of work to enable this for NUnit? Could any of that work be offloaded to the NUnit side?

+1 for XUnit

+1 NUnit

@baronfel We just need to provide enough new nice features for you to want to migrate to MSTest 😉
Totally agree! The migration from xUnit to MSTest wasn't hard job. There are just some nice-to-have features in xUnit that save some code lines.

I'm in the process of writing my own framework currently.
So is the new runner locked down to just MSTest at the present time?
I'd definitely like to make use of the new runner, especially with things like performance improvements over VSTest.

So is the new runner locked down to just MSTest at the present time?

It is advertised only as MSTest runner but the code is open to any custom framework.
The only issues for non-MSTest framework at the moment are:

runner/platform code lives in MSTest (specifically this folder: https://github.com/microsoft/testfx/tree/main/src/Platform/Microsoft.Testing.Platform)
there isn't yet any technical documentation available for "extensions"/"framework" authors.

For this last point, if your project is OSS I can definitely help you and you can already start getting some inspiration from there draft PRs I have open:

https://github.com/nunit/nunit3-vs-adapter/pull/1153
https://github.com/YoloDev/YoloDev.Expecto.TestSdk/pull/152

Thanks @Evangelink ! Those PRs are very helpful.
Question, they both seem to be a VS bridge (which makes sense if we're trying to keep backwards compatibility.)
Since my framework is still a WIP, I don't care much about this.
So, is there a non-bridged mode? If so I guess I'll have to wait for documentation, as I'd have to rewrite the VSTest stuff that scans assemblies and generates test cases.
And if there is a non-bridged mode, does that, or will it, come with support for dotnet test and test explorer? I assume it would because these are quite core to the testing experience currently, but those PRs had comments that those features were only made available by that bridging package.
Thanks!

Yes there is a non-bridged mode, this is actually the default but to move the masses (MSTest, xUnit and NUnit) we had to bring this compat layer :)

If so I guess I'll have to wait for documentation,

We will craft a dummy sample (tomorrow) that show how to create and plug a custom framework and how to return some state. This can be easily done and would be useful for when we build the technical doc.

And if there is a non-bridged mode, does that, or will it, come with support for dotnet test and test explorer? I assume it would because these are quite core to the testing experience currently, but those PRs had comments that those features were only made available by that bridging package.

Yes definitely! The support of dotnet test will be brought by Microsoft.Testing.Platform.MSBuild package and the support of VS and VS Code Test Explorers is coming. For VS Code Test Explorer, it's already available publicly in the last preview version of C# Dev Kit. For VS Test Explorer, there was a missed part so it will come in VS 17.10 Preview 2.

Dear .NET community, thank you all for your interest and feedback on our new platform!
I'll move forward by closing this ticket and invite you to track the respective test framework tickets:

For xUnit: https://github.com/xunit/visualstudio.xunit/issues/402 (related draft PR: https://github.com/xunit/visualstudio.xunit/pull/403)
For NUnit: https://github.com/nunit/nunit3-vs-adapter/issues/1152 (related draft PR: https://github.com/nunit/nunit3-vs-adapter/pull/1153)
For Expecto: https://github.com/YoloDev/YoloDev.Expecto.TestSdk/pull/152

@thomhurst I am adding an example that is doing the minimum amount of work to "run a test" here: https://github.com/microsoft/testfx/pull/2446 There is test framework implementation, and a project using it. In reality the framework would come from a nuget package, and that nuget package would probably generate program.cs via build targets.
All the details of how to actually discover or run a test are up to your implementation. :) I've commented on the parts that did not seem clear, let me know if (ideally in a new issue), if there are more explanations needed. We will eventually document all that api, and add more examples.

Thanks @nohwnd I've got my runner working! (With dotnet run, and manually hooking it up. I can't get it to automatically hook up with the msbuild package)
My next thing id like to ask is how to get test filters, like how VSTest can filter on properties, but I'll raise an issue for that

@nohwnd If I'm reading the code correctly, it seems like the bridge that's being replaced here is just the translation of old ObjectModel types into the new types.

Yes. And it's needed only when you run in "runner mode"(self-contained) and you don't want to change the "current" VSTest adapter implementation. So it's done for a smooth/quick/co-existence onboarding but it's not mandatory.  The new platform implements a completely different extensibility points and expose a protocol for "remote" interaction (like IDEs VS/VSCode).

How about for developers who want to control the console output when being run via dotnet run (or even dotnet test)? Is that possible in the new system?

The "output device" is abstracted in the new platform. So it's possible plug a completely custom UX. By default we provide a "console" one. The extension point at the moment is "internal" because we're following the "hardening" principle. We will open when we're "good" with the design and all the expected usage. So we can "easily" support the "dotnet run" output customization.
For the "dotnet test" is a bit more tricky.
Dotnet test is part of the SDK that contains the infrastructure to translate the "dotnet test" gesture in MSBuild tasks that will be invoked in a "demultiplexer" mode by "every project in a solution or directly to the project self if specified".  To support it we shipped an extension point https://nuget.info/packages/Microsoft.Testing.Platform.MSBuild that plug the runner to the SDK infrastructure. The implementation we did changed completely the UX because was done mainly for CI with the "arcade" pattern where you simply see running module and result. This is improving the understanding and avoid the unclear overlap of the parallel executions (that anyway is changed in 9.0 where we use the new terminal logger).
Here you can find the information about the "dotnet test" support for the new runner https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-mstest-runner-integrations#dotnet-test---mstest-runner-mode
Another tricky part are the parameters. Historically the SDK(dotnet test)  supports "only" the VSTest platform with fixed options. The new platform is extensible in it and so we cannot anymore have a "fixed" set of options. For this reason as explained in the guide above you have to pass the new custom options(they depends on extensions added) using an MSBuild property -p:TestingPlatformCommandLineArguments=" --option value  ".
Anyway this is the first version. We're planning to make it "first citizen" for the SDK and so move back to dotnet test --option value. But for that we need to add some code inside the SDK.

My next thing id like to ask is how to get test filters, like how VSTest can filter on properties, but I'll raise an issue for that

@thomhurst ideally the platform should not define "how to filter tests" because the adapters could express it in different way. The new platform introduces the concept of "test node" so your tests could be a tree where every node is not related to a "method".
For this reason we've added a new "filter" options called treenode-filter https://github.com/microsoft/testfx/blob/main/src/Platform/Microsoft.Testing.Platform/CommandLine/TreeNodeFilterCommandLineOptionsProvider.cs#L13 where you can express the query using a Graph Query Filtering syntax (i.e. --treenode-filter /*/*/*/*MyTest*. At the moment the filtering infrastructure is "internal" and used by our "custom adapter" for dogfooding. If you're interested in it pls open an issue and we can discuss the usage.

@nohwnd @Evangelink as part of this new runner architecture, have you considered having tests be a first-class thing in conjunction with the hosting model of Microsoft.Extensions.Hosting? For instance, could we eventually have tests run as, perhaps, a hosted service, and control other aspects of the runs using normal hosting abstractions like DI, logging, configuration, etc? In such environment, configuring a specific test library would look similar to how libraries and frameworks are configured in worker and web projects. Maybe MSTest would expose an AddMSTest(Action<MSTestOptions>) extension on IServiceCollection, while other frameworks would have their own like AddxUnit or AddNUnit.
For one, I'd love to be able to configure OpenTelemetry on some of our testing projects to track down and optimize execution times, push test-specific telemetry information to Datadog, etc. However, the entire test framework architecture today is a "walled garden" that doesn't integrate with anything that other "normal" projects do.
If there is an issue tracking that, please let me know. Otherwise, assuming you'd agree this makes sense, I can open an issue myself documenting the request.

@julealgon I'd say it depends how far you are seeing things. Here is the technical doc of the new platform: https://github.com/microsoft/testfx/blob/main/docs/testingplatform/Index.md
In this folder https://github.com/microsoft/testfx/blob/main/samples/public/TestingPlatformExamples/ you will have some guided examples. Looking at Program.cs you can see that the platform can be extended.
As for different hosting capabilities, it's technically possible and we already have a few but we don't yet have anything open-telemetry based. OTel is definitely an essential addition we would like to provide but it's hard to make the progresses we want (too few people and too many things to handle). We don't have a public ticket for what we want to do with OTel but I have found this https://github.com/microsoft/testfx/issues/1680 one that could maybe overlap with some of your requirements.

We had a long look at ASP.NET for the design and on the first prototype we really reused all principles but we realized some cases were either more specific in "web" wolrd or in "testing" world.
As for the explanation of not directly depending on the package, one of the most common issues with VSTest is that there was always a problem with the deps it has (newtonsoft, nuget framework...) where either the version was conflicting with the one wanted by user (and the deps is not declared as package deps but is force copied to the output - breaking user execution), some update issue or this was preventing some scenario to happen because one of the deps was not allowing it.
All in all, we decided to start the new platform with the pillar of having the core platform deps free and to have everything modular so that it's always possible to disable one part.
This might not seem super intuitive but this is the reality of what has been observed through VSTest life.
I would need to make some experiment but I'm wondering if we could have some extension that would allow this bridging.

I would need to make some experiment but I'm wondering if we could have some extension that would allow this bridging.

One suggestion I'd share @Evangelink is precisely what the OpenTelemetry team did: they have this "raw" version of OTEL, called the SDK, that is basically dependency-free as well, and relies on some static calls and instantiations etc.
Then, they have the OpenTelemetry.Extensions.Hosting package which is basically the "bridge" you are alluding to: a package that seamlessly integrates the lower-level building blocks from the SDK package into the modern Microsoft.Extensions.Hosting model.
This basically allows for completely dependency-free use cases by using only the SDK directly, or the full integration mode for consumers that can opt for that using the hosting extensions.
Something like this seems like it would fit your constraints well, from what you described there.

@julealgon Thanks for the pointer! I will check that out (probably next week).


Radiation NBT TiC Issue

Update: My apologies, it looks like this is a duplicate post #488
Hello,
I am experiencing a Tinkers construct Stencil Table bug with the latest Nuclearcraft

When loading 2.14b with tinkers, I am unable to create patterns with the stencil table as seen below:

However, if I switch to the old build, 2.13e as seen below, it works:

Hope this helps with the development / bug fixes! Thank you as always!

This has already been reported and in fact this is a much broader issue - I'm looking into a solution now :)

@mr-poyo Could you see if using this build fixes the problem?

Should be fixed in the latest build :)


mx:NumberValidator required property is not making fields RED

Project Details are :
https://paste.apache.org/cpo8y
Test case is available on VDI.
Go to Accounts Payable from Select in Menu
Go to Bank Reconciliation from Setups in Menu
File : com/dbz/modules/GL/dbzBankReconSetup.mxml
In flex:

In Royale :

required shouldn't be a factor because NS has a value of 0.


Remove docker from travis

Since we set up dockerhub to build everything with the correct tags per #59, we can remove the docker build and deployment from the travis build.

@maxb2 What in case we want to do integration tests for the docker image?

@maxb2 What do you think of @n1ru4l 's response?

@n1ru4l @apclary we could still build and test the docker image with travis. The question is whether we use travis or dockerhub to deploy the image.
Having thought about it for a bit, I think it would be better for travis to deploy the tagged releases (latest and vX.Y.Z tags). This would amount to removing the "tag" build rule in #59 and not merging this PR.
Alternatively, we could have travis build and deploy the master branch with the dev tag. Having all the CI in one place makes sense in the long run. If we choose this, then we would turn off all dockerhub builds. @apclary, I can start working on this if you all agree.

I’m fine with whatever @n1ru4l wants since he’s doing most of the development currently. From my point of view, executables are more valuable to users than docker images.

I'm going to close this since we know we want at least some form of docker in travis. I have another PR ready if we want to put all docker builds and deployments in travis.


How to change log level for ES exporter

by default it is info and generating huge logs. we have to change it to WARN/ERROR.
Which environment variable should we set to change it?

Hi,
look at this line
https://github.com/justwatchcom/elasticsearch_exporter/blob/fe20e499ffdd6053e6153bac15eae494e08931df/main.go#L71


Make run samples

This vastly simplifies the running of any of the samples by adding makefle targets include a new capability to run the transform.py with cli arguments instead of as a py main().
New make help includes (for example from code_quality):
...
minio-load           Load ../../../transforms/code/cod_quality/test-data/input into minio at local/test/code_quality/input
minio-start          Start the minio server and alias to local
...
run-cli-sample       Run code_quality_transform.py (if it exists).
run-local-ray-sample Run code_quality_local_ray.py (if it exists).
run-local-sample     Run code_quality_local.py (if it exists).
run-s3-ray-sample    Run code_quality_s3_ray.py (if it exists).
...

Update readmes to reflect changes.
Minimal changes to makefiles. suspect this may be worth the minimal risk to merge and fix a lot of the outstanding issues on running the samples.
I've run all the above or edited them out when not supported (some don't support local non-ray and malware does not have s3).

@blublinsky  Some more work is need on the minio targets


Fix artist header when bylineRequired field is an empty string.

https://artsy.slack.com/archives/CN8S32FJR/p1576238196078900

:rocket: PR was released in v1.19.18 :rocket:


Cannot configure multiple "Import" modules with Python plugin

I have a need to instantiate several Python modules and IIUC this isn't supported by the current Puppet manifest.
Ideally it should be possible to generate this configuration:
 <Plugin python>
    ModulePath "/path/to/your/python/modules"
    Import "foo"
    Import "bar"

    <Module foo>
      some_param 1
    </Module>
    <Module bar>
      other_param 1
    </Module>
  </Plugin>

Feel free to submit a PR. The design pattern to use is similar to some other plugins, like postgresql filecount or curl

Yep, I'll try to find some time to do it.

Fixed in v3.4 I think


using singularity shell and strace: ERROR: Singularity container is not installed

Seems to do the same thing for all SAPPs I produced:
%singularity run blastn.sapp -h
=> works OK
but
%singularity shell blastn.sapp
ERROR: Singularity container is not installed: blastn.sapp

%singularity shell $(pwd)/blastn.sapp
ERROR: Singularity container is not installed: blastn.sapp

%singularity shell $./blastn.sapp
ERROR: Singularity container is not installed: blastn.sapp

%singularity strace ./blastn.sapp
ERROR: Singularity container is not installed: ./blastn.sapp

Did I miss something ?!

You have to first install the container into the environment:
$ singularity install name.sapp
$ singularity strace name
$ singularity shell name
Or it will automatically get installed into the container once you have run the container via:
$ singularity run name.sapp
Or
$ ./name.sapp
Hope that helps!

Sorry, but that does not work:
%singularity install ./blastn.sapp
Singularity container is already installed: blastn (e8b733e0-91f4-4b8e-bafd-2d7420bf0450)
%singularity strace blastn.sapp

ERROR: Singularity container is not installed: blastn.sapp

Sorry, but that does not work:
%singularity install ./blastn.sapp
Singularity container is already installed: blastn (e8b733e0-91f4-4b8e-bafd-2d7420bf0450)
%singularity strace blastn.sapp
ERROR: Singularity container is not installed: blastn.sapp

Nope, but this will:
% singularity strace blastn
So will this:
% singularity strace e8b733e0-91f4-4b8e-bafd-2d7420bf0450
In my previous examples I removed the .sapp suffix when referring to the installed SAPP (with a single exception); the "run" command can take a .sapp file as well as a SAPP name or UUID because it has the dual logic of installing and running it on demand.
Hope that helps!

oh right, my bad.


IE11 issue - Const must be initialized in each.js

in line for (const node of this) {
The error goes away if the const is changed to let

Please see https://github.com/d3/d3-hierarchy/releases/tag/v2.0.0 & https://github.com/d3/d3-scale/issues/167


Use current latest version of External DNS helm chart

Description
Upgrade the External DNS Helm chart version used for AWS.
Safety checklist

[x] This change is backwards compatible and safe to apply by existing users
[x] This change will NOT lead to data loss
[x] This change will NOT lead to downtime who already has an env/service setup

How has this change been tested, beside unit tests?
Tested Manually by upgrading from 3.7.0 to 6.2.1 and didn't see any downtime on the Hello Opta k8s-service.

do you need to use the DNS module to test this change?

Either have a domain variable user defined or have a DNS module and aws_k8s_base.py would try to interpolate values.


migrate build to use gcc / eclipse instead of keil

I added wiki just need to move code to use it

might be a good idea to leave keil compiling (use trig functions there) as I can debug reliably only from it for now.
need to investigate further.

Is this for Tiva or STM32 builds?

Tiva
Sent from my Windows Phone

From: Stephen<EMAIL_ADDRESS>Sent: 12/2/2015 14:44
To<EMAIL_ADDRESS>Cc: Pavel<EMAIL_ADDRESS>Subject: Re: [hab] migrate build to use gcc / eclipse instead of keil (#42)
Is this for Tiva or STM32 builds?

Reply to this email directly or view it on GitHub:
https://github.com/usaguerrilla/hab/issues/42#issuecomment-161457655

This is probably not worth it for the Tiva builds unless you plan on updating the V1 Telemetry board after the first flight, or if you plan on maintaining a way to build the older code against an open source toolchain. Will leave the issue open until fixed for STM32 builds.

It's fine if we use Keil for the TIVA. I was using Code Composer, BTW, so far
GCC/Eclipse is a good common platform when we move to STM32

You might be right. Might be a bad idea to change stuff which we know works fine.

will do in v2


Audit: track more events related with repositories

Track the following events:

automated repository creation
edit of source_url

LGTM. Once it's green I'll merge it.

Apparently rubocop is not ok with your code :_)

All is green now, merging.


Provide out-of-the box event-handler for specific key for convenience

I'm submitting a feature request
Consider providing a custom attribute or binding behavior that would allow to handle specific keyup events, such as pressing enter

Library Version:
1.4.0

Current behavior:
Currently if i'd like to handle only for example enter keypress on textbox (and i don't want to bloat the event handler JS code to contain checks for event keyCode), I'd need to create a custom attribute or binding behaviour myself and use them smth like:
keyup-enter.call="handleEvent()" in case of custom attribute (as show in Aurelia vs Angular 2 comparison vidoe)
or
keyup.delegate="handleEvent() & onEnter in case of enter specific binding behavior
or
keyup.delegate="handleEvent() & onKey:'enter'" in case of generic  binding behavior (told to accept etner key press).
or perhaps even
keyup.enter="handleEvent()"
Expected/desired behavior:
It would be nice, if Aurelia provided smth like that already out of the box, like Angular2 does ((keyup.enter)="handleEvent()")).

What is the expected behavior?
Aurelia could include smth like that out of the box. I created this gist that implements

keyup.delegate="handleEvent() & onKey:'enter'" in case of generic  binding behavior

(based @jdanyow's example)

What is the motivation / use case for changing the behavior?
Ease of development. In a video comparing Angular2 with Aurelia, it looks like Aurelia requires a lot of work for simple situation like binding event handler to enter keypress.

@jdanyow, @EisenbergEffect, wouldn't it be nice if Aurelia provided it out of the box?

A lot of times something like this is done by putting the input in a form
and binding to the form's submit event so that the semantics are correct
and the enter key handling is done by the browser, it's accessible, etc
On Mon, May 8, 2017 at 2:50 PM atsu85<EMAIL_ADDRESS>wrote:

I'm submitting a feature request
Consider providing a custom attribute or binding behavior that would allow
to handle specific keyup events, such as pressing enter

Library Version:
1.4.0

Current behavior:
Currently if i'd like to handle only for example enter keypress on textbox
(and i don't want to bloat the event handler JS code to contain checks for
event keyCode), I'd need to create a custom attribute or binding behaviour
myself and use them smth like:
keyup-enter.call="handleEvent()" in case of custom attribute (as show in
Aurelia vs Angular 2 comparison vidoe
https://www.youtube.com/watch?v=bAYe1CmrCWg&feature=youtu.be&t=24m46s)
or
keyup.delegate="handleEvent() & onEnter in case of enter specific binding
behavior
or
keyup.delegate="handleEvent() & onKey:'enter'" in case of generic binding
behavior (told to accept etner key press).
or perhaps even
keyup.enter="handleEvent()"
Expected/desired behavior:
It would be nice, if Aurelia provided smth like that already out of the
box, like Angular2 does ((keyup.enter)="handleEvent()")).

What is the expected behavior?
Aurelia could include smth like that out of the box. I created this
gist https://gist.run/?id=8cdcddb33969c7fbbbb7e29718a22c6b that
implements

keyup.delegate="handleEvent() & onKey:'enter'" in case of generic binding
behavior
(based @jdanyow https://github.com/jdanyow's example
https://github.com/aurelia/templating-resources/issues/186#issuecomment-181676759
)

What is the motivation / use case for changing the behavior?
Ease of development. In a video comparing Angular2 with Aurelia
https://www.youtube.com/watch?v=bAYe1CmrCWg&feature=youtu.be&t=22m40s,
it looks like Aurelia requires a lot of work for simple situation like
binding event handler to enter keypress.

@jdanyow https://github.com/jdanyow, @EisenbergEffect
https://github.com/EisenbergEffect, wouldn't it be nice if Aurelia
provided it out of the box?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aurelia/templating-resources/issues/283, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABPwe0PNX2qEVwBy1bpMB6aeJ4LoZEBZks5r344JgaJpZM4NUi19
.

@jdanyow, actually that is what i also suggested (through the video comment) yesterday as an easier alternative for that specific case (even created a gist to demonstrate it) where he only had one input element.
However it seemed that the video author wanted to be able to write Aurelia app in the same style that he wrote Angular app (without having to add special markup only needed for Aurelia). I suspect that lack of this functionality might trouble others new to Aurelia as well in similar situation. Or perhaps there could be more than one element that could take advantage of input-field specific key handler.
Just wanted to know Aurelia core team thoughts on this subject - clearly he was in trouble with Aurelia as he thought he felt had to create a KeyupEnterCustomAttribute himself instead of using smth from the framework. So perhaps smth could be added to the framework.

gotcha, makes sense.
My vote is to promote using <form submit.trigger="..."> for the enter-key use-case because it's the semantically correct, accessible way to implement that UI pattern. I think a custom attribute or binding behavior for that use-case is a foot-gun. Could be useful in other use-cases. I think @bigopon had looked into something like this in the past.

@jdanyow , @atsu85
Hi yes I did look into implementation of this behavior, and was a bit stuck by it being generic enough ( a request from @EisenbergEffect ),
I've updated the gist and you can have a play at : Keys updated

@jdanyow , @atsu85 , @EisenbergEffect
Gist
I've tried to make it more generic by supporting both mouse and keyboard events in case user predefined clearly what keys should go in for the behavior. But couldn't figure out how to deal with the case where user bind the keys with another view model. I've prepared the view / input for dynamic keys binding so if anyone has an idea how to do it, can upgrade from there.
I think if this problem can be solved, the binding behavior is ready to be evaluated for baking into core.

seems like a good candidate for contrib
this one seesm to not get into core

I think we'll close this since I agree it doesn't need to be in the core of the framework and can be added via a plugin.

Oh.. and to add insult to the injury some insight: there is a plugin for that already
https://github.com/tomtomau/aurelia-mousetrap


Typo in readme example

The example with colored console text ("I want to color my console text. ...") forgets to import puts.
from clint.textui import colored
should be
from clint.textui import colored, puts
OTOH, if making the assumption that the user is typing all examples in sequentially and it's acceptable for them to be incomplete, I think this should be made more explicit to prevent confusion.

This is fixed and should be closed.


SlideMenuOption let to var

Hi dekatotoro, thanks for your work!
I'm using your SlideMenuController (customized to use UIStoryboardSegue to connect any UIViewController with left or right menus, so I can prevent to write code) and I want to update the options values from the self.options class.
These values are defined like let so they are not assignable.
I suggest to you to replace these "let" to "var", so we can edit the options values before the "self.initView()" function, when our class inherits from the SlideMenuController.
Enjoy!

Thank you for pointing this out.
I was going to try to change.
Please wait a little longer.

Changed at this commit.
https://github.com/dekatotoro/SlideMenuControllerSwift/commit/6a8855599adabe4f1375dcb447365376dcb48253


Helm-chart values.yaml uses the old repository URL

Describe the bug
values.yaml uses the old repository URL oci.external-secrets.io/external-secrets/external-secrets instead of ghcr.io/external-secrets/external-secrets
To Reproduce
Steps to reproduce the behavior:
helm repo add external-secrets https://charts.external-secrets.io && helm repo update
helm install external-secrets external-secrets/external-secrets -n external-secrets --create-namespace --set installCRDs=true

Expected behavior
Deployment should pull the image and successfully deploy the application in the cluster, but it is pulling from the wrong repository and ImagePullBackOff error is shown, it should pull the image from ghcr.io/external-secrets/external-secrets

It was said in v0.10.4 that the default image repo will be oci. but the image for v0.10.5 was publish on ghcr.io.
docker pull oci.external-secrets.io/external-secrets/external-secrets:v0.10.5
gives error:
Error response from daemon: Get "https://oci.external-secrets.io/v2/": tls: failed to verify certificate: x509: certificate is valid for ingress.local, not oci.external-secrets.io
docker pull ghcr.io/external-secrets/external-secrets:v0.10.5 works fine, but values.yaml takes oci. as repository.

hi @dnikoloski !
We are likely to move away from ghcr, and oci is right now a proxy to allow smooth migration from it to our users. I recommend to not use ghcr anymore - while this will keep on working for a while, there will be no more guarantees it will keep on working.
I believe the problem you're having is specific to your setup:
docker pull oci.external-secrets.io/external-secrets/external-secrets:v0.10.5
v0.10.5: Pulling from external-secrets/external-secrets
d6d80cd6c618: Download complete
Digest: sha256:b97ebc9975ccc378a5f29e9fc77e52e1d76cdbf48acad078428392eb6114c33f
Status: Downloaded newer image for oci.external-secrets.io/external-secrets/external-secrets:v0.10.5
oci.external-secrets.io/external-secrets/external-secrets:v0.10.5

Hi @gusfcarvalho,
I have delete the kind cluster and recreated a a new one, and the pull image error persists.

Can you reproduce?

no, in my setup this is not reproducible - everything works well with kind or any other install setup:
kind create cluster
helm repo update
helm install external-secrets external-secrets/external-secrets
 kubectl get pods
NAME                                                READY   STATUS    RESTARTS   AGE
external-secrets-cert-controller-58b55664bb-lbpds   0/1     Running   0          34s
external-secrets-d85bcbcf7-z5vkc                    1/1     Running   0          34s
external-secrets-webhook-68667fcd48-5p5l9           0/1     Running   0          34s

The issue seems really to be related with a TLSi tool (or ingress configuration) within your setup 😅

Yeah, it has to be something wrong with my setup... I don't use any custom kind config, I also kind create cluster and the pulling error image persists. I will close this for now.

The issue was DNS...
It's always DNS.


[Bug Report]How to import this package correctly in gomodule, can't even go get!!

go<EMAIL_ADDRESS>go.mod has non-.../v2 module path "github.com/influxdata/influxdb" (and .../v2/go.mod does not exist) at revision 563e6c3d1a7a
go1.12.17
go get<EMAIL_ADDRESS>

Have you tried dropping the /v2 from the end? go get<EMAIL_ADDRESS>should work.


Add option to select between SpyderPlugin and SpyderPluginWidget

As discussed in our previous meeting, we need to add an option to create graphical (SpyderPluginWidget) or non-graphical (SpyderPlugin) plugins.
@steff456, this only applies if the user selects that she doesn't want to maintain compatibility with Spyder 3 (because there's no SpyderPlugin on that version).

@steff456, please continue with this one.


Emotional Faces Task: Output Data

Get output data

** verify that all the response times are there.

Output data should now be in the format smiilar to local tasks.
Standard header includes:

trial
trial_type
event_type
absolute_time
response_time
response
result

Event code information see:
https://github.com/laureate-institute-for-brain-research/StimToolOnline/blob/main/public/js/tasks/emotional_faces/emotional_faces.js#L14
I'll eventually have the event codes in the readme once everything is finalized.
Closing for now.


not secure at all

just open the react dev.tools and set authed to true

Yes. You're protecting routes, not data.


CUB requires a definition of CUB_NS_QUALIFIER when CUB_NS_PREFIX/POSTFIX are defined

I have this error with make command
[ 69%] Building NVCC (Device) object dreamplace/ops/pin_pos/CMakeFiles/pin_pos_cuda_segment_cuda_tmp.dir/src/pin_pos_cuda_segment_cuda_tmp_generated_pin_pos_cuda_segment_kernel.cu.o
.....
cuda12-3-0/include/cub/util_namespace.cuh:46:2: error: #error CUB requires a definition of CUB_NS_QUALIFIER when CUB_NS_PREFIX/POSTFIX are defined.
 #error CUB requires a definition of CUB_NS_QUALIFIER when CUB_NS_PREFIX/POSTFIX are defined.
  ^~~~~

Software versions:
CUDA version:
Cuda compilation tools, release 12.3, V12.3.52
Build cuda_12.3.r12.3/compiler.33281558_0
CC: gcc (GCC) 7.5.0
CXX: c++ (GCC) 7.5.0
GPUs compute compatibility: 7.5
GPU Driver Version: 530.41.03
Can you give some idea how to solve this? Which versions of software works?
I also tried CUDA 10.1 but still not work.
I also tried cmake arguments: -DBUILD_WITH_CUDA_CUB=ON -DUSE_CUDA=ON and not work.
Thank you.

Switched to CUDA11.4.0 and could proceed. Reason still unknown.

I also met this problem and I commented line 12-19 and added a line #include <cub/cub.cuh> then it can run without error.
Inspired by the issue 72 in the DREAMPlace repo.


Presentation about DataFusion at Microsoft GSL (Gray Systems Lab)

I was invited to speak at https://www.microsoft.com/en-us/research/group/gray-systems-lab/ which is a product focused R&D group at Microsoft
The talk is Tuesday June 25 at 10:30 AM PT at the the Microsoft Silicon Valley Campus (SVC)
Talk: Apache DataFusion: Implementing InfluxDB 3.0 (and other systems) without starting from "scratch"
In this talk, Andrew will describe the high level architecture of Apache DataFusion, and how it is used in InfluxDB 3.0's new high performance timeseries database engine. He will also describe how other systems use DataFusion, including Apache DataFusion Comet (a native Spark Runtime) The use of DataFusion provides fast and highly interoperable analytic systems without a tightly integrated codebase built from scratch.

SLides: https://docs.google.com/presentation/d/1a4wHZij_69drdmD32TPombQ9zSaE6l26LZ87DAz2New/edit#slide=id.p

The presentation went well -- I hope to present the same material soon and will post a recording


(HTTP code 404) unexpected - {"message":"manifest for jiaxiangkong/jumpserver_docker:latest not found"}

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

Go to https://hub.docker.com/r/jiaxiangkong/jumpserver_docker/tags/
Observe no latest tags were created for that image
Select a different tag in Kitematic (if one exists)
🎉  enjoy container running.

Ideally you open an issue with the repo owner to let them know how frustrating it is that they don't have a latest image tagged


Get correct layers of Faster-rcnn with inception resnet v2 to visualise.

Hi there,
How do i make use of lucid/scratch/scripts/get_model_layers.py to get the layer name, which can further assist me to decide what layers to visualize. I tried to run the code with my model as input, but it will hit:

ValueError: Shapes must be equal rank, but are 5 and 4 for 'PlaceholderWithDefault' (op: 'PlaceholderWithDefault') with input shapes: [1,1,224,224,3].

at

T = render.import_model(model, t_input, t_input)

of

propose_layers_with_shapes(model) function.

Please use the Stack Overflow tags tensorflow & lucid to ask for help. Stack Overflow provides a better collaborative forum: lots of related questions have been asked there, and some answers may be relevant to you.
When asking for help with a suspected bug, please include a link to demonstrate the issue, preferably as a Colab notebook. It is often impossible to debug from code snippets alone, let alone from error messages or stack traces. Isolate the issue and reduce your code as much as possible before asking for help. Please try to reproduce the bug on one of the models included in lucid.modelzoo. The less code you post, the easier it is for someone to debug, and the more likely you are to get a helpful response.
If you have a question about Lucid’s behavior and want to discuss it with other users, also consider the  #proj-lucid channel on the Distill Community Slack Workspace which you may join here.
Lucid is alpha-status research code, and we appreciate your understanding that this can sometimes mean we will not have the resources to resolve your specific issue—even if it may be an entirely reasonable request in a more mature codebase. Thank you! 🤗


[OTHER] more code documentation

More code documentation.

If you’re looking for help with code documentation, I’d be happy to help you.

Hey, @aniledev feel free to contribute to this issue :D


support request

Hi Hirschmann,
I could find no other way to contact you directly so ... Therefore i Created this issue.
I followed the guide for install

Install git and python3
git clone https://github.com/hirschmann/pid-autotune.git
pip install matplotlib

Then : python sim.py --atune --volume 50 --power 4
and first python
and then : sim.py --atune --volume 50 --power 4
(getting errors)
Do I need to do it some other way ? or can you  direct me to more help?

I got it working (issue with the installation process) ....
so now i can execute:
python3 sim.py --atune --volume 50 --power 4
It opens a blank graph, and display a couple of this error:
buf, cairo.FORMAT_ARGB32, width, height)
NotImplementedError: Surface.create_for_data: Not Implemented yet.

Looks like you're trying to use an unsupported backend for matplotlib, but this is just a wild guess because you haven't posted the full error message.
Try a different backend:
http://matplotlib.org/faq/usage_faq.html#what-is-a-backend
https://matplotlib.org/users/customizing.html#customizing-with-matplotlibrc-files

I will look more at the backend ... here is the complete output (this time from root terminal)
Br Carsten
--------------  Complete output   ---------------
root@raspberrypi:/home/pi/craftbeerpi/pid-autotune# python3 sim.py --pid 'reference' 98 0.66 230 --pid 'Kp too low' 30 0.66 230 --pid 'Ki too low' 98 0.01 230
** (sim.py:8585): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
/usr/local/lib/python3.4/dist-packages/matplotlib/backends/backend_gtk3agg.py:18: UserWarning: The Gtk3Agg backend is known to not work on Python 3.x with pycairo. Try installing cairocffi.
"The Gtk3Agg backend is known to not work on Python 3.x with pycairo. "
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/matplotlib/backends/backend_gtk3agg.py", line 69, in on_draw_event
buf, cairo.FORMAT_ARGB32, width, height)
NotImplementedError: Surface.create_for_data: Not Implemented yet.
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/matplotlib/backends/backend_gtk3agg.py", line 69, in on_draw_event
buf, cairo.FORMAT_ARGB32, width, height)
NotImplementedError: Surface.create_for_data: Not Implemented yet.

The error message tells you what is wrong and how to solve it:
UserWarning: The Gtk3Agg backend is known to not work on Python 3.x with pycairo.
Try installing cairocffi.
The Gtk3Agg backend is known to not work on Python 3.x with pycairo.

You have 2 options now:

do what the error message suggests (install cairocffi), see
http://stackoverflow.com/questions/33329921/plots-are-not-visible-using-matplotlib-plt-show
select a different matplotlib backend, see
http://stackoverflow.com/questions/7534453/matplotlib-does-not-show-my-drawings-although-i-call-pyplot-show

Hi again,
Had some luck installing alternative Backend
sudo apt-get install libffi-dev
pip install cairocffi
Then worked out that the Backend need to be stated in:
/usr/local/lib/python3.4/dist-packages/matplotlib/mpl-data/matplotlibrc
The line:
backend      :  GTK
Tried several backend names, but not worked as expected. I tried all with "Cairo" but none was able to plot.
In  this setup, could you let me know what value to use?
These are mentioned in the config file
# The default backend; one of GTK GTKAgg GTKCairo GTK3Agg GTK3Cairo
# MacOSX Qt4Agg Qt5Agg TkAgg WX WXAgg Agg Cairo GDK PS PDF SVG
# Template.
# You can also deploy your own backend outside of matplotlib by
# referring to the module name (which must be in the PYTHONPATH) as
# 'module://my_backend'.

I got it working, used:
backend : GTK3Cairo
Now it works :o) thanks a lot for helping out

I can run the examples etc:
Python3 sim.py --atune --volume 50 --power 4
Nice

Did autotune simulation on my system:
python3 sim.py --atune --volume 20 --power 1.7 -e
I checked from the data that the risetime of the system is like in my setup 1 DEG/min
Impressive

Thanks for the feedback 👍


Chapter 02, Solution 2.1.2

CLRS/C02-Getting-Started/repo/s1/2.png
i ←  i - 1
instead
i ← 1 + 1

Agree.

fixed. Thanks!


In Microsoft Learn there are no Security roles listed and content lacking

It is surprising the security related content on Microsoft Learn (https://docs.microsoft.com/en-us/learn/) is sparse and difficult to find. In the Roles pulldown list there should be roles such as Security Engineer, Security Architect and perhaps Compliance Lead, with well organized and deep learning content specific to those functional roles. The MPP program for CyberSecurity (https://academy.microsoft.com/en-us/tracks/cyber-security/) has some great content and we encourage the site to migrate that MPP content into MS Learn, as the MPP program is closing.

Fixed at https://docs.microsoft.com/en-us/learn/roles/security-engineer
#please-close


chore(package): update atom-package-deps to version 4.6.0

Explicitly updating to this version since it cuts the time to require this dependency by 3-4x. It's already moved to an idle callback, but why not make sure that runs as fast as possible as well? 😛

👍


Develop branch is broken?  disp_driver_init is not called anywhere?

Seems the develop branch is not working now.  Need any help to speed up coding?  I can offer some help.  Need to know what should I do next.

cannot found anything in the examples

You may try to find working examples here: https://github.com/lvgl/lv_port_esp32/tree/feat/new_driver_test


[WIP] Cherry-pick(s):  SHA | Time | Log | Author Cherry-pick the following commit(s): --- | --- | --- | --- 536478e9 | Mon Aug 13 16:19:19 2018 -0700 | [feature] Allow min/max value for the sparkline in time series table (#5603) (apache/master) | [Krist Wongsuphasawat]

@graceguo-supercat @michellethomas @john-bodley @williaster

failed attempt.


chore: eventually upgrade to pydantic 2+

Eventually upgrade to pydantic 2+ from pydantic 1.9.0:
https://docs.pydantic.dev/latest/migration/

Landed on https://github.com/kytos-ng/kytos/pull/460


Building UWP App in Unity Continuously Fails

I'm aware this may not directly be an issue with the HoloLens and MRDesignLabs tools, but I'm asking it regardless because I am going insane here. Literally, nine times out of ten when I go to build a UWP app, it fails with the error message below:
"
IOException: Failed to move Temp\StagingArea\Data\Managed\Plugins to Temp\StagingArea\Plugins.: Access is denied.
Utility.ThrowWin32IOException (Int32 errorCode, System.String message) (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/Utility.cs:353)
Utility.MoveDirectory (System.String source, System.String destination, System.Func2 shouldOverwriteFile) (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/Utility.cs:462) Utility+<MoveDirectorySlowPath>c__AnonStorey2.<>m__0 (System.String fileName, FileAttributes fileAttributes) (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/Utility.cs:484) Utility.EnumerateDirectoryRecursive (System.String path, System.Func3 onFileEnumerated) (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/Utility.cs:580)
Utility.MoveDirectorySlowPath (System.String source, System.String destination, System.Func2 shouldOverwriteFile) (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/Utility.cs:477) Utility.MoveDirectory (System.String source, System.String destination, System.Func2 shouldOverwriteFile) (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/Utility.cs:469)
PostProcessWinRT.MoveDataManagedToRoot () (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:527)
PostProcessWinRT.Process () (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:152)
UnityEditor.WSA.BuildPostprocessor.DoPostProcess (BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ExtensionModule.cs:155)
UnityEditor.WSA.BuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ExtensionModule.cs:162)
UnityEditor.HostView:OnGUI()
"
It seems to happen randomly too. I have tried:

Disabling any anti-virus software scans on the development machine.
Restarting Unity.
Deleting the old build folder before attempting to rebuild again.
Disabling Windows Indexing Services on my Unity project folder.
Changing the UAP version in my "project.lock.json" file to just "10.0".

I'm not sure what else to try. It's getting infuriating.
ANY HELP would be greatly appreciated!

Hi @mitchlotierzo,
Which version of Unity are you using?  Also which plugins are you using and is this straight out of the DesignLabs project or your own project?  This is a file IO write error in the pre-build step setting up kicking out he UWP solution and project.
I would look for anything that would use or have a lock on any dlls you have in the project.  One thing I ran into in the past but only on the VS build side was having telemetry locking files in the solution:

Help -> Send Feedback -> Settings
Uncheck the box opting you into the customer experience improvement program.

Try that and see if it resolves it.
thanks,
-pat

I am using the latest release of Unity 2017.1. I recreated the BoundingBox example scene.

This seems to happen before the previously mentioned error too:
"
UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors.
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x001b9] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:162
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83
UnityEditor.HostView:OnGUI()
"

So, I just deleted my Library folder and recompiled everything, then restarted, then tried to build again and it seemed to work. This is crazy.

I have a suspicion that one of the plugins could be causing a conflict. I'm not entirely sure.

Okay. It seems to be something with the Vuforia plugins.

I have the same issue. But I had this problem also before I used Vuforia.
I hvae to close all VS Projects to build the project
Sometimes it is working with open VS

Same issue for a few months now. Only with the higher versions of Unity and not using Vuforia in the current project, using Unity 2018.2.2f1. Sometimes deleting the temp folder works, other times just trying a number of time. Is really not nice, often working with 2017.1 just for avoiding this and similar issues.

Had the same error, just had a deployment running in background (visual studio!)

So, I just deleted my Library folder and recompiled everything, then restarted, then tried to build again and it seemed to work. This is crazy.
This solution worked for me (Unity 2020). Thank you very much mitchlotierzo .


[FLINK-22488][hotfix] Update SubtaskGatewayImpl to specify the cause of sendEvent() failure when triggering task failover

Contribution Checklist
This PR updated SubtaskGatewayImpl to specify the cause of sendEvent() failure when triggering task failover. This change is useful to understand why the event could not be sent.
Brief change log
This PR updated SubtaskGatewayImpl to specify the cause of sendEvent() failure when triggering task failover.
Verifying this change
I manually updated SubtaskGatewayImpl::sendEvent(...) to set failure = new FlinkException("some error") and then run the test KafkaSourceLegacyITCase#testOneToOneSources. The test fails with the following stacktrace in the log:
...
Caused by: org.apache.flink.util.FlinkException: An OperatorEvent from an OperatorCoordinator to a task was lost. Triggering task failover to ensure consistency. Event: 'AddSplitEvents[[[B@23adb3ce]]', targetTask: Source: KafkaSource -> Map -> Map (1/5) - execution #1
	... 26 more
Caused by: org.apache.flink.util.FlinkException: some error
	at org.apache.flink.runtime.operators.coordination.SubtaskGatewayImpl.lambda$sendEvent$0(SubtaskGatewayImpl.java:75)
	... 25 more

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

Ping @dawidwys for review.

This looks like a sensible change to me. However I'd prefer to have a second opinion from one of the current maintainers of the OperatorCoordinator. Could you take a look @StephanEwen or @becketqin ?

Looks reasonable, definitely. I would suggest to extend this to also include more debug information at different places, similar to this commit (in a private branch)
https://github.com/StephanEwen/flink/commit/80f6a7fcda0bbefe5d15ee01ab8314a67afd89b5

Thanks you @dawidwys and @StephanEwen for your review! The PR has been updated as suggested.

+1 to merge this to master and release-1.13 and release-1.12.

Sorry, forgot about this issue. I'll take care of merging it.


Add VIC Parliament

Will (maybe) be eased as of 11:59PM

Nice work!

Merge the latest master
change version to 0.8 in setup (will push to PyPI)

Removed the changes I made to other parliaments @connorhsm

Deploy should fail as there is no new tag


Issue: Auto-dismiss not w

Expected Behavior
Actual Behavior
Steps to Reproduce the Problem

Specifications

SwiftUI Version:
Platform (iOS or macOS):

Duplicated


ARROW-4564: [CI] Add iwyu to lint Dockerfile

IWYU is pretty easy to build so I can add it to the container

Closing in favor of #3643


Timeout Error

Currently, I am encountering a issue: 'Timeout'.
I would greatly appreciate any assistance or recommendations on how to effectively address and rectify this issue.

I'm using Google Chrome Version 121.0.6167.161, with Auro Wallet version 2.2.13.
This is my tx data interact with Berkeley chain:
txData.txt

This problem has been fixed. Would you like to try again?


Behat trimming absolute path in console output

I maintain this package here https://github.com/forceedge01/behat-fail-aid, and I print out several paths to facilitate debugging of behat. Behat when I dived into the code actually trim out absolute paths, this breaks references that I have to print out for say urls from file system. Can we please not do this or have an option of some sort to not do this?

Could you point out the relevant lines that do this trimming?

@rpkamp sure, its in this file /Users/wahabqureshi/projects/official/dixons/isaac-ui/vendor/behat/behat/src/Behat/Testwork/Exception/ExceptionPresenter.php::presentException()
The relativizePaths method is called on the entire message printed out.


Improve Installation Process [setup.py file location]

Is your feature request related to a problem? Please describe.
The most likely installation process for most users may result in the Dataflow runner not working as the setup.py file for the Dataflow workers will not be in the right place.
Describe the solution you'd like
Assume users will only pip install and not clone the repo.  Place the setup.py file into the main library folder and update setup.py location in beam_pipeline.py
Describe alternatives you've considered
Got it working after moving the setup.py file into the main python ..python3.7/sitepackages/ folder.
Additional context
Add any other context or screenshots about the feature request here.

Thanks for the report, recreating this now.

Successfully reproduced, digging into the issue.

Issue is at beam_pipeline.py 98.
if runner == 'DataflowRunner':
options_dict['setup_file'] = _get_setup_py_filepath()
Setup file isn't installed when TFRecorder is installed via pypi / whl (works with git)

It looks like TFDV solves this problem by prompting the user to download the whl and supply it as a command line option, passing it to beam pipeline options as an extra package. This is 'less easy' than I'd like it to be but some variation of this is the best idea I have for a fix at this time.

This should now be resolves in git @mchrestkha
I'll push it to pypi in just a few minutes as well.


customizing carbon elements on

i want to know how i can change some css properties of carbon elements at once from <style> . i can change the elements properties while using <elementName style="border-radius:5px 5px 5px 5px;"> . but i want to do it for all elements that i choosed. when i try to write it like
<style> .curvenblack{       border-radius:5px 5px 5px 5px;       color:black } </style>
this gives me an error that this unused CSS selector ".curvenblack"
when i try to use it with :global as you suggested on few other issues, it doesnt work.
How can i work with it?

What is the issue with :global?
Often times, if no change is apparent, you may need to be more specific with the CSS selector.
E.g.,
- :global(.bx--link)
+ :global(a.bx--link)

for example. i want to make borders curved of TextInput element from carbon.
<TextInput style="border-radius:5px 5px 5px 5px;"/> works perfect.
in-between <style> tags, it doesnt.
so i use :global(TextInput){border-radius:5px 5px 5px 5px;} this one doesnt work.
also TextInput{border-radius:5px 5px 5px 5px;} doesnt work.
if i use css properties .curvenblack{ border-radius:5px 5px 5px 5px;} and add this to <TextInput class="curvenblack"/> this one doesnt work too.
i just didnt understand why

"TextInput" is an invalid selector.
You'll need to target the actual underlying HTML element or class name. You can use your brower's dev tools to inspect the markup structure and classes in the DOM.
:global(.bx--text-input) {
  border-radius:5px 5px 5px 5px;
}

thanks for reply. it worked now. you saved me


Support safe numeric conversions from/to integral types to/from floating-point types

As per a thread in comp.lang.c++.moderated when I naively attempted to crib code from this library to safely convert from long to double, I got unexpected results.  Someone pointed out to me that this library only announced supports for integral types and I was using a floating-point type.  D'oh!
So I'd like to request a feature extension, or perhaps a similar library, that supports safe conversions back and forth between integral types and floating-point types.  Thanks :)

A different case I found today does not trap at compile time:
auto s = boost::numeric::safe<int8_t>{0};
auto f = static_cast<float>(s);

compiles OK but seems to throw with the following output (Ubuntu 16.06 / clang 3.8):

unknown file: Failure
C++ exception with description "Value out of range for this safe type" thrown in the test body.Signal: SIGSEGV (Segmentation fault)

Without floating-point conversion, there are many useful operations in fixed_point that won't work. (Sorry to get to this so late but re-writing my arithmetic operators took far longer than I had hoped.)

John,
Thanks for your help in checking this out.  This week I'll merge in your
changes and make any other required changes.
On 9/5/16 4:21 PM, John McFarlane wrote:

A different case I found today does not trap at compile time:
auto  s = boost::numeric::safe<int8_t>{0};
auto  f =static_cast(s);
compiles OK but seems to throw with the following output (Ubuntu 16.06
/ clang 3.8):
unknown file: Failure
C++ exception with description "Value out of range for this safe
type" thrown in the test body.Signal: SIGSEGV (Segmentation fault)

Without floating-point conversion, there are many useful operations in
fixed_point that won't work. (Sorry to get to this so late but
re-writing my arithmetic operators took far longer than I had hoped.)

In my way of thinking, implicit conversion from floating to integer type
is a mistake. Conceptually it's wrong - floating and integer types are
used for different things - floating is more for measuring while
integers are for counting.  In addition, implicit conversion will
silently change the value which is another behavior I want to inhibit.
Finally, even the floating point value of 0.0 doesn't mean zero - but
rather some very small quantitity "near" zero.  So in my world
safe<int8_t> s = 0.0f // should invoke error at compile time.
The correct thing would be to use:
#include
safe<int8_t> s = round(0.0f); // or floor, ceil, or trunc
float f = safe<int8_t>{0} ;  // (or static_cast(s) wouldn't
produce incorrect result - but to me it it non-nonsensical so it's
something I want to trap at compilation.
I'll make the change so it traps at compile time.
My reasoning above would suggest that the following should also trap at
compile time:
float f = safestd::int8_t;
I don't know if I have that implemented or not - I'll check.
Again, thanks again for your efforts here. I much appreciate it. I'm
looking forward to meeting you at CPP con.
Robert Ramey

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/robertramey/safe_numerics/issues/5#issuecomment-244820771,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB4R3K8ZG_mR8veLJUBK92NwBmucVeliks5qnKQBgaJpZM4CH-iq.

--
Robert Ramey
www.rrsd.com
(805)569-3793

On 9/5/16 4:21 PM, John McFarlane wrote:

A different case I found today does not trap at compile time:
auto s = boost::numeric::safe<int8_t>{0};
auto f = static_cast(s);
compiles OK but seems to throw with the following output (Ubuntu 16.06 /
clang 3.8):
unknown file: Failure
C++ exception with description "Value out of range for this safe
type" thrown in the test body.Signal: SIGSEGV (Segmentation fault)

Without floating-point conversion, there are many useful operations in
fixed_point that won't work. (Sorry to get to this so late but
re-writing my arithmetic operators took far longer than I had hoped.)

I looked into this and found the problem.  The following code illustrates it
 float x = 0.0f;
 float y = std::numeric_limits<float>::min();

the debugger displays:
x	float	0	0
y	float	0.0000000000000000000000000000000000000117549435
0.0000000000000000000000000000000000000117549435
so numeric_limits here.
I'm using a recent version of clang with apple xcode.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/robertramey/safe_numerics/issues/5#issuecomment-244820771,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB4R3K8ZG_mR8veLJUBK92NwBmucVeliks5qnKQBgaJpZM4CH-iq.

Maybe lowest instead of min?
On Thu, Sep 8, 2016, 11:00 PM Robert Ramey<EMAIL_ADDRESS>wrote:

On 9/5/16 4:21 PM, John McFarlane wrote:

A different case I found today does not trap at compile time:
auto s = boost::numeric::safe<int8_t>{0};
auto f = static_cast(s);
compiles OK but seems to throw with the following output (Ubuntu 16.06 /
clang 3.8):
unknown file: Failure
C++ exception with description "Value out of range for this safe
type" thrown in the test body.Signal: SIGSEGV (Segmentation fault)
Without floating-point conversion, there are many useful operations in
fixed_point that won't work. (Sorry to get to this so late but
re-writing my arithmetic operators took far longer than I had hoped.)

I looked into this and found the problem. The following code illustrates it
float x = 0.0f;
float y = std::numeric_limits::min();
the debugger displays:
x float 0 0
y float 0.0000000000000000000000000000000000000117549435
0.0000000000000000000000000000000000000117549435
so numeric_limits here.
I'm using a recent version of clang with apple xcode.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<
https://github.com/robertramey/safe_numerics/issues/5#issuecomment-244820771
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AB4R3K8ZG_mR8veLJUBK92NwBmucVeliks5qnKQBgaJpZM4CH-iq
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/robertramey/safe_numerics/issues/5#issuecomment-245826687,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAszN4JEVt4xN--M7uB1ePuFDhOqmm-fks5qoPX9gaJpZM4CH-iq
.

On 9/9/16 9:50 AM, John McFarlane wrote:

Maybe lowest instead of min?
Right - good call. I had to spelunk through CPP reference to find this.
Who would guess this?

! I'll fix this this weekend,
Robert Ramey

On Thu, Sep 8, 2016, 11:00 PM Robert Ramey<EMAIL_ADDRESS>wrote:

On 9/5/16 4:21 PM, John McFarlane wrote:

A different case I found today does not trap at compile time:
auto s = boost::numeric::safe<int8_t>{0};
auto f = static_cast(s);
compiles OK but seems to throw with the following output (Ubuntu
16.06 /
clang 3.8):
unknown file: Failure
C++ exception with description "Value out of range for this safe
type" thrown in the test body.Signal: SIGSEGV (Segmentation fault)
Without floating-point conversion, there are many useful operations in
fixed_point that won't work. (Sorry to get to this so late but
re-writing my arithmetic operators took far longer than I had hoped.)

I looked into this and found the problem. The following code
illustrates it
float x = 0.0f;
float y = std::numeric_limits::min();
the debugger displays:
x float 0 0
y float 0.0000000000000000000000000000000000000117549435
0.0000000000000000000000000000000000000117549435
so numeric_limits here.
I'm using a recent version of clang with apple xcode.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<

https://github.com/robertramey/safe_numerics/issues/5#issuecomment-244820771

,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/AB4R3K8ZG_mR8veLJUBK92NwBmucVeliks5qnKQBgaJpZM4CH-iq

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub

https://github.com/robertramey/safe_numerics/issues/5#issuecomment-245826687,

or mute the thread

https://github.com/notifications/unsubscribe-auth/AAszN4JEVt4xN--M7uB1ePuFDhOqmm-fks5qoPX9gaJpZM4CH-iq

.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/robertramey/safe_numerics/issues/5#issuecomment-245971374,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB4R3LptGYQvpGwdEv3EEpnMW9hwt29nks5qoY5bgaJpZM4CH-iq.

--
Robert Ramey
www.rrsd.com
(805)569-3793

OK - fixed, tested and checked in.
Thanks again.  See at CPPCon
Robert Ramey
On 9/9/16 9:04 PM, Robert Ramey wrote:

On 9/9/16 9:50 AM, John McFarlane wrote:

Maybe lowest instead of min?
Right - good call. I had to spelunk through CPP reference to find
this.  Who would guess this?

! I'll fix this this weekend,
Robert Ramey

On Thu, Sep 8, 2016, 11:00 PM Robert Ramey<EMAIL_ADDRESS>wrote:

On 9/5/16 4:21 PM, John McFarlane wrote:

A different case I found today does not trap at compile time:
auto s = boost::numeric::safe<int8_t>{0};
auto f = static_cast(s);
compiles OK but seems to throw with the following output (Ubuntu
16.06 /
clang 3.8):
unknown file: Failure
C++ exception with description "Value out of range for this safe
type" thrown in the test body.Signal: SIGSEGV (Segmentation fault)
Without floating-point conversion, there are many useful
operations in
fixed_point that won't work. (Sorry to get to this so late but
re-writing my arithmetic operators took far longer than I had hoped.)

I looked into this and found the problem. The following code
illustrates it
float x = 0.0f;
float y = std::numeric_limits::min();
the debugger displays:
x float 0 0
y float 0.0000000000000000000000000000000000000117549435
0.0000000000000000000000000000000000000117549435
so numeric_limits here.
I'm using a recent version of clang with apple xcode.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<

https://github.com/robertramey/safe_numerics/issues/5#issuecomment-244820771

,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/AB4R3K8ZG_mR8veLJUBK92NwBmucVeliks5qnKQBgaJpZM4CH-iq

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub

https://github.com/robertramey/safe_numerics/issues/5#issuecomment-245826687,

or mute the thread

https://github.com/notifications/unsubscribe-auth/AAszN4JEVt4xN--M7uB1ePuFDhOqmm-fks5qoPX9gaJpZM4CH-iq

.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/robertramey/safe_numerics/issues/5#issuecomment-245971374,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB4R3LptGYQvpGwdEv3EEpnMW9hwt29nks5qoY5bgaJpZM4CH-iq.

--
Robert Ramey
www.rrsd.com
(805)569-3793

--
Robert Ramey
www.rrsd.com
(805)569-3793

I believe that I've addressed all issues raised here.  Let me know if I failed to get it right.  Thanks for all your help.


[11.x] fix: container resolution order when resolving class dependencies

Hello!
Changes
Currently, when resolving a class with with dependencies, the container only falls back to the parameter default value if the class dependency failed to resolve. However, this is not intuitive---if I specify a default value for a parameter then I would expect that default value to be used (if I have not explicitly bound that parameter class to the container). This updates the container resolution logic to use the default value for a dependency (when available) before trying to resolve a class instance. The container class dependency logic flow now looks like:

check for explicitly bound instance
check for default value
attempt to make instance
if 3) fails and variadic then return array

For example, consider resolving the following class from the container:
class Foo
{
    public function __construct(
        // non-nullable with no default, I would expect this to be resolved with a class instance
        public Carbon $date,
        // nullable with no default, I would expect this to be resolved with a class instance
        public ?Carbon $noDefault,
        // nullable with default specified, I would expect this to be resolved with null
        public ?Carbon $default = null,
    ) {}
}
$foo = app()->make(Foo::class);

// before
$foo->date instanceof Carbon; // expected
$foo->noDefault instanceof Carbon; // expected
$foo->default instanceof Carbon; // NOT expected or intuitive!!

// now
$foo->date instanceof Carbon; // same
$foo->noDefault instanceof Carbon; // same
$foo->default === null; // changed, the default is now used as expected

app()->bind(Carbon, fn () => now());
$foo = app()->make(Foo::class);
$foo->default instanceof Carbon; // expected as I explicitly bound the class

[!NOTE]
This does change resolution behaviour, but this shouldn't break existing classes because they should already be setup to handle the default value if it's been specified. However, I can target 12.x if this is considered a risky change.

Motivation
I would consider this particular container nuance to be a bug and this has bitten us several times (usually when dealing with Model or Carbon instances) resulting in lengthy debugging efforts for seemingly obscure problems.
Most recently, this reared its head when using a scheduled, dispatched job. This particular job is designed to be executed early in the morning and it aggregates results for the previous day. We do allow a date to be passed into the constructor so the same job can be manually dispatched for a particular date if necessary---it is considered an override when anything other than null is passed in.
class ScheduledJob implements ShouldQueue
{
    use Dispatchable;
    use InteractsWithQueue;
    use Queueable;

    public function __construct(protected ?CarbonImmutable $date = null)
    {
        $this->date ??= now()->subDay()->toImmutable();
    }

    public function __invoke(): void {/* ... */}
}
Schedule::job(ScheduledJob::class)->cron('...'); // the scheduled jobs fail
ScheduleJob::dispatch(); // dispatching manually works

However, this job fails when executed via the scheduler every morning because the Scheduler uses the container to make the job class:
https://github.com/laravel/framework/blob/a296e813d041ddff000d856aa2f7ae1cd4d616b7/src/Illuminate/Console/Scheduling/Schedule.php#L165-L166
and the container ignores the default value and instead constructs the job with a Carbon instance = now---the logic to handle the default case is never executed. This works just fine as intended when dispatching the job with ScheduledJob::dispatch() (because of which, this was a tricky bug to troubleshoot). I would expect the job to have the same behaviour regardless if it was dispatched manually via ::dispatch() or automatically via the scheduler.
I know I can use
Schedule::job(new ScheduledJob())->cron('...');

to schedule the job with a class instance, however:

we have many scheduled jobs and newing them all up would incur unnecessary overhead on every console invocation
this would fail with schedule:work because the constructor would be invoked when the app is booted and not right before the job is dispatched to the queue---resulting in a stale $date property

[!NOTE]
I recognize that there are many ways to work around this current behaviour, but the crux of the issue is that the resolution logic is not intuitive and ignores the developer provided default. This issue has continued to pop up in various locations in the app when using the container to resolve classes with dependencies that have default values.

Thanks!

I don't think there is any way we could merge this into 11.x. It's such a subtle change that could cause a lot of headache if applications are built to expect this behavior.


Add mixin to the glossary

I think a "mixin" definition could go to
https://prometheus.io/docs/introduction/glossary/
cc @tomwilkie

Hello,
is this issues resolved ?
thanks.


Don't generate URLs for custom errors

Pydantic-side companion to https://github.com/pydantic/pydantic-core/pull/586.
This PR won't pass CI until that is merged and released in the version of pydantic-core used by pydantic.

Closing in favor of #5703 which will include this


Fix: align send micro examples

Description of change
Aligns examples for send amount and micro
Still needs python env updates as this did not exist yet
See: https://github.com/iotaledger/iota-sdk/issues/240
Links to any relevant issues
Fixes https://github.com/iotaledger/iota-sdk/issues/126
Fixes https://github.com/iotaledger/iota-sdk/issues/234
Type of change

Enhancement (a non-breaking change which adds functionality)

How the change has been tested
ran the tests
Change checklist
Tick the boxes that are relevant to your changes, and delete any items that are not.

[ ] I have followed the contribution guidelines for this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that new and existing unit tests pass locally with my changes

What was Remove funding the address. about? Because I don't see it being changed in this PR?
Also, python doesn't need any alignement?
And nodejs didn't need much as well?

Conflicts

What was Remove funding the address. ?


Modify Page Properties with Page Extension - Editable, InsertAllowed, DeleteAllowed

I am loving the VSC environment with AL but I have come across something that I think is a pretty big bummer.  Maybe I am missing something.  I want to change the Editable property on Page 20 General Ledger Entry from No to Yes.  Also want to change the InsertAllowed and DeleteAllowed to No.  I do not see that I can do this with a page extension.  Can someone confirm this?
Also I hope modifying the Editable property of fields is going to be added in the future to Page Extension object (Enabled is there but doesn't have the same effect as it disables any OnLookup code).

I am loving the VSC environment with AL but I have come across something that I think is a pretty big bummer. Maybe I am missing something. I want to change the Editable property on Page 20 General Ledger Entry from No to Yes. Also want to change the InsertAllowed and DeleteAllowed = No. I do not see that I can do this with a page extension. Can someone confirm this?

These are not possible right now but we plan to enable modification of these properties in the future.

It's very necessary

hello, is it possible to make the PromotedActionCategoriesML available on Page Extension?

please consider usagecategory, caption, and so on as well.
Make PromotedActionCategories extendable.

I've hit the same issue.
My scenario : sales orders are imported from an external source. I want to list these orders separately from ordinary sales orders and display them in a customised Sales Order page. Users must be able to modify these orders but not create or delete them.
I prefer to extend the standard Sales Order page rather than make a copy of it. (I'm trying to use the approach described here :  https://www.altoolbox.com/post/how-to-split-documents-without-duplicating-pages)
I also would like PromotedActionCategories to be extendable.

Please upvote this Idea for UsageCategory:
https://experience.dynamics.com/ideas/idea/?ideaid=cdc99444-4b97-e911-80e7-0003ff68d318
For others, please check if they exist on BCIdeas and if so upvote; if not, please consider creating them (so I don't have to :P)

Please upvote this Idea for UsageCategory:
https://experience.dynamics.com/ideas/idea/?ideaid=cdc99444-4b97-e911-80e7-0003ff68d318
For others, please check if they exist on BCIdeas and if so upvote; if not, please consider creating them (so I don't have to :P)

We are working on consolidating feedback received across multiple channels to a single location so that we can better prioritize suggestions that involve multiple areas of the product
Would you mind closing this issue and posting it in our Ideas forum at https://aka.ms/BusinessCentralideas or vote up the idea if it is already there?

We are working on consolidating feedback received across multiple channels to a single location so that we can better prioritize suggestions that involve multiple areas of the product
Would you mind closing this issue and posting it in our Ideas forum at https://aka.ms/BusinessCentralideas or vote up the idea if it is already there?


[NotificationService] Observing 409 error from /v1/regard-device-object-creation/deletion

When I call the service to create or delete an object, I end up with a 409, conflict.
I tried with another device as well, but still not working.
/v1/regard-device-object-creation:
{"notification-proxy-1-0:object-creation-notification":{"counter": 10000,"timestamp": "2024-09-17T08:21:50+01:00","object-path": "/core-model-1-4:network-control-domain=live/control-construct=513250006/forwarding-domain=VLAN-FD/fc=VLAN-123"}}

/v1/regard-device-object-deletion:
{"notification-proxy-1-0:object-deletion-notification":{"counter": 10000,"timestamp": "2024-09-17T08:21:50+01:00","object-path": "/core-model-1-4:network-control-domain=live/control-construct=513250006/forwarding-domain=VLAN-FD/fc=VLAN-123"}}

Both calls respond:
{
    "code": 409,
    "message": "Conflict"
}

I checked that the object is not there before I called the creation service (/core-model-1-4:network-control-domain=cache/control-construct=513250006/forwarding-domain=VLAN-FD/fc=VLAN-123):
{
    "code": 404,
    "message": "No elements found with UUID: 513250006+VLAN-123"
}

When I only call /core-model-1-4:network-control-domain=cache/control-construct=513250006/forwarding-domain=VLAN-FD, data is returned.
also see related issue #875

The value "409 conflict" is returned by ODL if the requested object is not present in the equipment.
I have just tried calling the "Object creation" notification API receiving a 409 response. Then after creating a vlan in the same equipment in testlab and tried again to call the same API I received 204
Nevertheless I found a little issue in the cache update after the object creation API call that I fixed and will be released in the next tag.


multitimer: fix hardmode in new alarms/timers

A small bugfix leftover from #2781 - the previous PR changed how hardmode worked, but didn't update how new alarms/timers were created.

Thanks!


List of available data sets not available

The link in the example that is supposed to list available data sets is broken

Hi Jerry,
Previous link provided in example notebook pointed to dataset documentation. Now this is fixed and link in example notebook for datasets will point to GitHub datasets folder.
Thanks

This issue has been resolved, so closing it.


  block have border

code block should be visibly separate from doc

I think this is an improvement.  It makes the code blocks stand out more clearly.

thanks @crandmck


⚠ Bofrost.at has degraded performance

In 5b55436, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1336 ms

Resolved: Bofrost.at performance has improved in cf0fadf.


Stale branches

I see there are branches, like enhancedThreadsCommunication, ChangeDataStructureInQueue, and CreateOutputConnectors, that have already been merged into develop. Is there some reason to keep them alive (i.e., you want to do more work on them and then merge again into develop) or can we just delete them?

Bitbucket: https://bitbucket.org/elen4/ceinms/ceinms/issue/8
Originally reported by: elen4
Originally created at: 2014-06-18T18:38:09.742

No reason to keep them alice. I'll let you delete them.

Original comment by: theBoss

Alice? :P

Original comment by: Claudio Pizzolato

alive... :D

Original comment by: theBoss

Done

Original comment by: elen4