Bug in GetDerivative?

Hi,
I tried to test the resolution capability of MFEM by calculating derivatives of sin(k*x). 7 elements are used to divide 2\pi in the x direction and 5th order H1_FECollection is employed. Here are the error when k=1,2,3 and 4. The accuracy is questionable. Is there any way to improve this? I used wrote some spectral element code, which gives much better results than this.

Thank you,
Frank

Hello Frank,
The H1 finite elements use Gauss-Lobatto points as degrees of freedom, and therefore projecting an analytic coefficient uses the values at those points as well. As far as I know thid is the standard basis used in the spectral element method. In the case you consider, the GetDerivative method is exact as long as the target GridFunction uses high enough order (4 in your case). The only source of error is in the initial projection to the H1 space. One way to control that projection is to use a different set of points - in MFEM this can be achieved by replacing this line (which generates the 1D Gauss-Lobatto points) with a call that generates another set of points in [0,1] including the end points.
In your spectral element code what type of projection did you use?
Thanks,
Veselin

Hi, Veselin,
I did try to use GLL points by tentatively making "GaussLobattoPoints(const int p, double *x)" calculating GLL points instead. However, the result has not been improved.
I tried to solve the poiseuille flow, which has a parabolic solution u=y^2-1. Without the convection term u_j \partial u_i/\partial x_j, this solution is obtained very accurately. However, when the convection term is introduced, it diverged. **Even if the exact solution is projected to the GridFunction, it appears that du/dx is not zero. **I then tried to filter before calculating the nonlinear term. I also tried to project the solution to 3/2order GridFunction, calculate nonlinear term and project back. Neither of these methods worked.
In my SEM code, GLL points are used. It is also common to use GLL for velocity and GL for pressure.
Thank you,
Frank

Any chance, some nonlinearFormIntegrator might help with calculating u_j \partial u_i /\partial x_j?

Hi, Veselin,
In ex9p, the convection problem is solved. Is it possible to update the convective velocity after each time step? Why discontinuous finite element should be used for this convection problem?
Thank you,
Frank


Add (or document) ability to pull older versions of dependent buildpacks

Describe the Enhancement
I am trying to iterate on the integration between Buildpack B (e.g. pip) and its dependency, buildpack A (e.g. cpython).
Specifically, the integration tests for Buildpack B are failing with the current version of Buildpack A. I want to run the integration tests for Buildpack B with the previous version of Buildpack A - which is available on github and dockerhub - but I can't figure out how to provide the URL to the previous version of Buildpack A from either GitHub or dockerhub.
I took a quick look through the code and I don't think this is possible, but if it exists then I think this is a documentation issue, not a feature request.

I'm not entirely sure that that's possible, but you can pull the older buildpack version locally and then plug that into the buildpack. We should document that at least.

To do this, I'd probably modify the pack.Build.WithBuildpacks() for a given integration test to use the URI of the previous version of Buildpack A instead of the string that freezer.BuildpackStore.Get() produces as output. Like, swap out a hard-coded URI in here for instance. You'll need to pre-pull that tag before the test runs so WithPullPolicy("never") still works. Does that address the use case? Or are you trying to programmatically determine "the previous version" of the buildpack?

Ah, ok, so bypass freezer entirely. That works, thanks @fg-j !
I wasn't trying to do anything programmatically - just trying to compare the integration against two known versions of a dependent buildpack.

I'll close this conversation as we can use this issue as a source of record for anyone trying to do this in the future. I'm not sure we need to add it to the documentation.


Add a GetRepository command to the devops plugin

Add a command that takes:

projectName
repositoryName
as parameters and returns the repository or null

Completed iin PR #24


move once_cell to dev dependencies

Hey!
I read over the code in this crate and really like your focus on creating a simple API and nice documentation - great work!
This change is something I stumbled over - you seem to use once_cell only in the tests (for the FTP server guard mutex), so it can be moved to [dev-dependencies], then it will only be compiled for tests/examples etc., but not in the actual library. (probably just an oversight anyway ☺)
Thanks for sharing this. :)

Thanks for the kind words! Keeping the crates count low for the end-user is definitely a goal.


GH-41055: [C++] Support flatten for combining nested list related types

Rationale for this change
Support flatten for combining nested list related types.

What changes are included in this PR?
Add the recursively flatten function for auto detect and flatten the combining nested list types.

Are these changes tested?
Yes

Are there any user-facing changes?
Yes, user can flatten a combining nested-list or related array by use Flatten API.

GitHub Issue: #41055

@felipecrv PTAL, thanks!

https://github.com/apache/arrow-datafusion/issues/6995
Seems ClickHouse flatten will flat nested list, other db in this issue doesn't flatten nested list

apache/arrow-datafusion#6995
Seems ClickHouse flatten will flat nested list, other db in this issue doesn't flatten nested list

Yes, i've thought about this just now.
I'm planing to add an option for Flatten api, let user decide which kind of flatten they want?

I don't know, I think if we want to implement that:

For function, we can support option
For underlying impl, a new interface

I don't know, I think if we want to implement that:

For function, we can support option
For underlying impl, a new interface

For 1, adder a new FlattenRecursion function with same underlying implementation as Flatten and keep the origin function for compatible with pyarrow python interface.

At the builder_nested.h level, I don't think bool parameters controlling recursion are necessary/desirable. Perhaps at the kernels API level (with the addition of an options_class for the "list_flatten" function) or at the pyarrow bindings. The default value for bool recursive on these 2 should be false so old behavior is preserved unless users opt-in to the recursive behavior explicitly.
https://github.com/apache/arrow/blob/dbedcfce79f221e9217ec34725668a686c6d4478/cpp/src/arrow/compute/kernels/vector_nested.cc#L108-L113

I will merge this soon if no one has concerns.
@ZhangHuiGui please create an issue (Enhancement Request) about improving the implementation of this function by making it create less intermediate array values. And another one about exposing it on the kernels API and Python API (cc @jorisvandenbossche).

@felipecrv  Thanks for your review!
Two independent issues have been added to facilitate our subsequent tracking.


Rewrite wildfly_cli to use jboss-cli.sh

Parse CLI commands and transform them to json documents to make API calls has been huge a pain and source of lot of problems. (see #133 and #136)
Consider changing wildfly_cli to be a wrapper around jboss-cli.sh.

Tried this path, failed.
Built a proper parser for [node-type=node-name (/node-type=node-name)*] : operation-name ['('[name=value [, name=value]*]')'] [{header (;header)*}] instead.

Implemented/tested in v1.0.0 branch.


Desktop.browse is incompatible with OpenJDK 8 in KDE

The original android-check plugin works fine. Full log:
$ gradle check
The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
:app:androidCheckstyle FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:androidCheckstyle'.
> The BROWSE action is not supported on the current platform!

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2.723 secs

OS: Kubuntu 16.10
Gradle version: 3.3
OpenJDK version: 1.8.0_121

cool, thanks, will take care of that

In the meantime please see https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1574879

So I have chosen not to make a pure "fix" for this, given the fact that the alternatives to Desktop.browse() from the jvm seem rather dependent on the platform, ironically. If demand to support systems where java.awt.Desktop grows beyond marginal, I'll consider introducing an alternate fallback.
In the mean time, the commit I've referenced this issue from introduces a change that will allow the plugin to work if java.awt.Desktop is not supported on your system, but the report won't be opened automatically in cases where, should the class be supported, it would.

That's perfect, thanks!


publish all 1.0.0 images to docker hub #1502

Description
No response
Use case
No response
Are you willing to submit PR?

[X] Yes, I am willing to submit a PR!

Code of Conduct

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

docker images with 1.0.0-incubating tag are pushed to https://hub.docker.com/repository/docker/inlong/dashboard


conmon: 0.0.1pre52_6905a4d -> 0.2.0

Update conmon to v0.2.0 and move it into a dedicated package. Since we
are now using conmon as dedicated package, cri-o does not need to built
it, too.
cc @vdemeester @thoughtpolice

Thanks for the valuable feedback @thoughtpolice, I appreciate it! One discussion point seems still open for me, where I'm not sure if the implementation is correct. PTAL.

@thoughtpolice @vdemeester A friendly ping to not forget about me :)

@saschagrunert Sorry for the delay -- please see one final nit, I think it might have just been a simple typo!

Alright thanks, I fixed the mentioned issue. :) PTAL

@GrahamcOfBorg build conmon

@saschagrunert Done, sorry for the delay on this! If I have any changes to make later on I'll follow up with my own PR and cc you.


[Gardening] Silence Some Warning Spew

The linux builders seem to have more warning options on than the macOS builders.  Silence some warnings it raises.

@swift-ci please test

@swift-ci test

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - ec0c035c1f7140dc2ecd718b88a9cf35dfe3d00a

Hm, have to go update that unit test then.

@swift-ci test

@swift-ci test

:sail

Can one of the admins verify this patch?

@swift-ci smoke test

Linux failure is unrelated
@swift-ci please smoke test Linux platform


hyperv: optimize resource consumption

!!! This PR should be merged after PR https://github.com/LIS/LISAv2/pull/440

In order to improve resource consumption on lisav2 HYPERV,
in case of a failed or aborted test, we need to create a checkpoint
and stop the VM so that it will not consume RAM/CPU on the test
environment.
This is necessary as the lisav2 hyperv test vms are created once a
new setup type is found and there are almost 200 test cases with at
least 10 setup types, and if some of the test cases are not passed,
the next VMs will not be able to start mainly due to out of RAM
exception.

@juhlee-microsoft the answer is simple math, as the new behavior is to stop VMs after the test cases finish with an abort/failure.
The previous behavior was to leave the VMs running. The resources depend on the test case setup type.


dart:async should be part of dart core

The async keywords - async, await, yield, etc -
are available whether you import 'dart:async' or not, and can even produce async
objects like Futures and Streams:
// Obviously a Stream, but I'm not allowed to declare its type as such.
var geeWhatsThis = () async* {} ();

so it's a bit silly that dart:async isn't part of dart core.
I.e. you shouldn't have to explicitly import 'dart:async'.

AFAIK the decision if something is in core or not, is not about whether it would be nice, but instead just whether it is absolutely necessary. The same for dart:xxx imports.
In Dart everything that can live in a package is moved to a package to keep the core as small as possible.

We have discussed this issue before, and even on the Dart team we have different opinions on it.
Personally, I'm against adding async-types to the dart:core library, but others would very much like to expose Future and Stream in dart:core.

If we define "absolutely necessary" as "you can't run any Dart program without it",
then no type is "absolutely necessary" since you could just use var everywhere.
You can also create lists with [] and maps with {}.
But wouldn't it be a shame if you created a list with [] and couldn't properly declare its type
without importing something?
That's similar to my reasoning here.  You can create Futures and Streams without importing
dart:async, so clearly that code is loaded anyway.  Why make me jump through an extra
hoop just so I can declare the types of the resulting objects?
At the very least, dart:core ought to supply the types of all the things you can create with
the literal syntax:

bool - because you can write true
int - because you can write 1
String - because you can write 'foo'
Function - because you can write () {}
List - because you can write []
...
Future - because you can write () async {}()
Stream - because you can write () async* {}()

That would make the core language self-contained.

This has become a paint point in early Dart 2.0 - it's bad practice to write () async { ... }, but you can't even express the language primitives without importing another library. So I'm a huge 👍 to adding Future and Stream to dart:core.

+1 to @floitschG 's suggestion; export Future and Stream from dart:core. I don't think this should be considered a breaking change if it lands after Dart 2.0.

There is always a risk of package authors failing to update their pubspec SDK constraint when they start using a new feature. This feature in particular is going to be very easy to accidentally start relying on without realizing it and not noticing that the pubspec needs to be changed. Downstream consumers will be broken by resolving to packages they shouldn't - flutter users especially fall victim to this.
We probably want either an analyzer hint or a pub validator to check this before packages are published. We'll want the analyzer or pub change to go out in the same SDK as this one. Should we consider rolling back for now until we can figure out a suitable safety net?

Reclosing since the request for new checks is tracked in #34978 and https://github.com/dart-lang/pub/issues/1981


Server: Improve Wireguard

Use DNS from home network (fallback to Quad9)
Support IPv6
Parametrize outgoing interface
Use interface on VPN subnet (VLAN)

Deprecated due to subscribing to a VPN service.


(PUP-6913) Use full hostname when resolving SIDs in tests

Previously, two tests failed when run on a Windows system whose hostname
exceeded 15 characters. In that situation, ruby's Socket.gethostname
returns the truncated name, e.g. JENKINS-SLAVE-W, which causes
LookupAccountName to fail when resolving an account of the form:
"JENKINS-SLAVE-W\Administrator".
This commit modifies the tests to use the full computer name returned
via Win32 GetComputerNameW.

This blocks us from migrating puppet component pipelines to CI.Next.
/cc @puppetlabs/cinext @puppetlabs/windows

Blocked while I test this in CI.Next

CLA signed by all contributors.

The run at https://jenkins-master-prod-1.delivery.puppetlabs.net/job/platform_puppet_unit-ruby-win_LTS-1.7/4/R=ruby-<IP_ADDRESS>-x64,S=unit-win2012/ passed:
15:53:17 Finished in 21 minutes 47 seconds
15:53:17 21350 examples, 0 failures, 66 pending

For additional reference, the name limitations are covered in https://support.microsoft.com/en-us/kb/909264

Good catch, I completely messed that up!

New run kicked off in https://jenkins-master-prod-1.delivery.puppetlabs.net/job/platform_puppet_unit-ruby-win_LTS-1.7/6/

Tests passed, should be good to go.


[Bug] ArgumentOutOfRangeException - when using updating multiseries and different line chart lengths

Describe the bug
We have a line chart with multiple lines, this is connected to Signal R so we get updated points periodically. Because it line is updated separately they don't always have the same length of points. We currently have a patch where it just delays updating the chart until all lines have an equal number of points. My main problem with this solution is if an update takes a while all lines stop updating even if only one has a problem. Ideally the lines with more points continue to draw and the old ones just dead-end early.
I believe the problem is on this line:
AxisBasedChart.cs#L208
Which platform and version is this for?
iOS 14.5, this is the new 1.0 Beta version we're using on Xamarin Forms (Through NuGet).
To Reproduce
Create a line chart with at least 2 lines and make one have fewer points that then other
Expected behavior
I'd like it to stop drawing the line with fewer points, but continue drawing the line with more points.
AxisBasedChart.cs#L208
ChartSerie serie = Series.ElementAt(serieIndex);
if( i >= serie.Entries.Length ) continue; //I suspect adding this line would work for our use case.
ChartEntry entry = serie.Entries.ElementAt(i);

Hi @brett-estabrook, thanks for the feedback.
When i've implemented this functionnality i've not think of this use case, it's a great idea.
Are you able to made a PR for trying this changes ?
For a quick test, you can -in your PR- add this use case in the sample app include in this repo.

@Seuleuzeuh - I have some initial work at feature/279-dynamic-multiseries-linechart
However, I've noticed that the behavior of the horizontal axis which represents time is somewhat undefined. The second series simply draws points at the same labels of the first series even if the labels are different. It also brings up the point that at least for our situation the labels for each point won't necessarily match between the two series.
For our situation we may need to create a time specific chart where the horizontal axis is defined as a Date Range, and the points are interpolated between them. As we'd probably want labels every 5-10 seconds, but the point timestamps would not be rounded to 5-10 seconds.
For the purpose of a Pull Request, you'll want to look at these two changes to decide if you want to merge them. They do prevent the crash if the series lengths are not the same, and I could see someone wanting it to work for specific situations.
Sources/Microcharts/Charts/AxisBasedChart.cs
Sources/Microcharts/Charts/LineChart.cs
Lastly, the example chart I made is still a WIP, I want to make better use of
protected virtual void UpdateSeries(IEnumerable<ChartSerie> value)

So I was thinking a bit more about this, and I realized the underlying issue is support for null values (#36 ). I've taken a stab at that here:
https://github.com/brett-estabrook/Microcharts/tree/feature/36-null-value-support


Failed to run "hello world" example in python

I'm new to ITK. After successfully building SimpleElastix, I got the following errors when running the "hello world" example:
Python 2.7.12 (default, Jun 29 2016, 14:05:02)
[GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import SimpleITK as sitk
>>> fixedImage = sitk.ReadImage('fixedImage.nii')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/SimpleITK/SimpleITK.py", line 8215, in ReadImage
    return _SimpleITK.ReadImage(*args)
RuntimeError: Exception thrown in SimpleITK ReadImage: /tmp/simpleitk20151126-61588-18lv2pz/SimpleITK-0.9.0/Code/IO/src/sitkImageReaderBase.cxx:67:
sitk::ERROR: Unable to determine ImageIO reader for "fixedImage.nii"

and it seems python can't find sitk.Elastix too:
>>> sitk.Elastix
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'Elastix'

I guess the build process is not quite success. How to fix this problem? Any help would be appreciated!

The first issue may simply be SimpleITK not being able to locate the file. Did you start the python session in the same folder as fixedImage.nii resides? Otherwise try to specify the full path.
As for the second issue, I can only imagine that you are somehow loading the original SimpleITK module and not SimpleElastix. Did you run sudo python setup.py install in the SimpleITK-build/Wrapping/PythonPackage folder?

Closing issue. Feel free to re-open if you have further questions.

Hi! I am having the same problem:
'module' object has no attribute 'SimpleElastix'. I did exactly what you said regarding the execution of python setup.py in the SImpleITK-build/Wrapping/PythonPackage folder.
Please help me! It has been very complicated to get started with simple elastix in python :(

More information needed here.
What are your OS, python version, python distribution?
Do you use an IDE? Do you have the same error if you launch Python from console?

I am running on Ubuntu.Using Anaconda distribution with Python 3.6, but I
created 2 virtual envs with python 2.7 and 3.4 in order to avoid potential
dependencies problems.
I decided to rebuild the project and i get the following error:
[ 71%] Built target ITKIntegration
Makefile:160: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/SimpleITK.dir/build.make:118: recipe for target
'SimpleITK-prefix/src/SimpleITK-stamp/SimpleITK-build' failed
make[2]: *** [SimpleITK-prefix/src/SimpleITK-stamp/SimpleITK-build] Error 2
CMakeFiles/Makefile2:257: recipe for target 'CMakeFiles/SimpleITK.dir/all'
failed
make[1]: *** [CMakeFiles/SimpleITK.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Yes, i use IDE ( SPYDER) and when using Ipython i got the same error.
Thanks
2017-04-07 18:00 GMT+01:00 PertuyF<EMAIL_ADDRESS>
More information needed here.
What are your OS, python version, python distribution?
Do you use an IDE? Do you have the same error if you launch Python from
console?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kaspermarstal/SimpleElastix/issues/45#issuecomment-292592894,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYoNecfDb16s4Bf9-SkVZGlOpWYw2Zzzks5rtmu5gaJpZM4JN5au
.

I am running on Ubuntu.Using Anaconda distribution with Python 3.6, but I created 2 virtual envs with python 2.7 and 3.4 in order to avoid potential dependencies problems.
I decided to rebuild the project and i get the following error:
[ 71%] Built target ITKIntegration
Makefile:160: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/SimpleITK.dir/build.make:118: recipe for target 'SimpleITK-prefix/src/SimpleITK-stamp/SimpleITK-build' failed
make[2]: *** [SimpleITK-prefix/src/SimpleITK-stamp/SimpleITK-build] Error 2
CMakeFiles/Makefile2:257: recipe for target 'CMakeFiles/SimpleITK.dir/all' failed
make[1]: *** [CMakeFiles/SimpleITK.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Yes, i use IDE ( SPYDER) and when using Ipython i got the same error.
Thanks
2017-04-07 18:00 GMT+01:00 PertuyF<EMAIL_ADDRESS>
More information needed here.
What are your OS, python version, python distribution?
Do you use an IDE? Do you have the same error if you launch Python from console?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@franfcunha Sorry for the delay. Well, I already had issues with conda envs. You need to be sure that:

SimpleElastiX version of SimpleITK was installed for the right env, and not just SimpleITK alone (which is available from conda)
your Spyder instance uses the right virtual environment

You can try to activate your environment source activate your_env_name then call python and try to import SimpleITK. If it doesn't work it is likely that you did not installed the package for this environment, then install and try again.
If it works, get out of python and call Spyder from this env (the command spyder usually works), then try importing SimpleITK from within Spyder.
The confusing part with virtual environments is that they represent virtually separate install of python, so you should install each package for all envs from where you want to use it.

I really appreciate your reply but the problem that I referred in the last email was specifically regarding the building process.
Regarding the use of virtual envs i was able to import simpleitk in python 3.4 but every methods belonging to SimpleElastix can not be used because they are not recognized...
In the last email sent to you I strightly passed the output of the error about the building process of SimpleITK following the docs available but such building process crush at 71% even allowing me to use SimpleITK methods but not simple elastix methods...
Sincerely,
Francisco
No dia 12/04/2017, às 11:28, PertuyF<EMAIL_ADDRESS>escreveu:

@franfcunha Sorry for the delay. Well, I already had issues with conda envs. You need to be sure that:
SimpleElastiX version of SimpleITK was installed for the right env, and not just SimpleITK alone (which is available from conda)
your Spyder instance uses the right virtual environment
You can try to activate your environment source activate your_env_name then call python and try to import SimpleITK. If it doesn't work it is likely that you did not installed the package for this environment, then install and try again.
If it works, get out of python and call Spyder from this env (the command spyder usually works), then try importing SimpleITK from within Spyder.
The confusing part with virtual environments is that they represent virtually separate install of python, so you should install each package for all envs from where you want to use it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

If the build fails, then SimpleElastix is probably not installed (you have to install it manually after the build process is finished) and you are probably loading an existing version of SimpleITK. The ITKIntegration module that your previous message mentions is part of post-build check. That means the Python package did successfully compile (assuming you didnt use multiple makefile jobs, in that case the true error may have occured earlier). Try to step into build-dir/Wrapping/Python/Packaging and execute sudo python setup.py install if setup.py is there. This will override your previous install of SimpleITK with SimpleElastix.

I am really sorry but your information was not clear to me. How can I
"manually" install SimpleElastix?
Thank you
2017-04-12 15:04 GMT+01:00 Kasper Marstal<EMAIL_ADDRESS>
If the build fails, then SimpleElastix is probably not installed (you have
to install it manually after the build process is finished) and you are
probably loading an existing version of SimpleITK. The ITKIntegration
module that your previous message mentions is part of post-build check.
That means the Python package did successfully compile (assuming you didnt
use multiple makefile jobs, in that case the true error may have occured
earlier). Try to step into build-dir/Wrapping/Python/Packaging and
execute sudo python setup.py install if setup.py is there. This will
override your previous install of SimpleITK with SimpleElastix.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kaspermarstal/SimpleElastix/issues/45#issuecomment-293587139,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYoNeRvd6DMe4ra_b4I0detR0T1kat6Pks5rvNnSgaJpZM4JN5au
.

All this process is becoming really confusing to me. I am not properly an
IT expert... How can I "uninstall" and remove all the makefile jobs done
until now? I would like to try a clear last time become it is becoming
really time consuming to me to install and to be able to use Simple Elastix
:=(
2017-04-19 11:31 GMT+01:00 Francisco Cunha<EMAIL_ADDRESS>
I am really sorry but your information was not clear to me. How can I
"manually" install SimpleElastix?
Thank you
2017-04-12 15:04 GMT+01:00 Kasper Marstal<EMAIL_ADDRESS>
If the build fails, then SimpleElastix is probably not installed (you
have to install it manually after the build process is finished) and you
are probably loading an existing version of SimpleITK. The ITKIntegration
module that your previous message mentions is part of post-build check.
That means the Python package did successfully compile (assuming you didnt
use multiple makefile jobs, in that case the true error may have occured
earlier). Try to step into build-dir/Wrapping/Python/Packaging and
execute sudo python setup.py install if setup.py is there. This will
override your previous install of SimpleITK with SimpleElastix.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kaspermarstal/SimpleElastix/issues/45#issuecomment-293587139,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYoNeRvd6DMe4ra_b4I0detR0T1kat6Pks5rvNnSgaJpZM4JN5au
.

You uninstall by simply removing the build directory. To start from a clean slate, make a new directory and build the project in here. The "manual install" I am referring to is the sudo python setup.py install step that you have to execute after the compilation is finished.

@kaspermarstal  I installed the SimpleElastix following the tutorial(I did run 'sudo python setup.py install'). Everything is OK during the installation. The final output is as follows.
Installed /usr/local/lib/python2.7/dist-packages/SimpleElastix-1.0.1rc1.dev331+gd756f-py2.7-linux-x86_64.egg
Processing dependencies for SimpleElastix==1.0.1rc1.dev331+gd756f
Finished processing dependencies for SimpleElastix==1.0.1rc1.dev331+gd756f

But I can only import SimpleITK, but can not use SimpleElastix.
I tried to reinstall both SimpleITK and SimpleElastix, but got same results.

@kaspermarstal I have a similar problem. First I had installed SimpleITK (did not know about simple Elastix). So I built the Elastix and ran sudo python setup.py install  from the python/packaging sub directory. I tried to run import simpleITK and sitk, but throws the error module 'SimpleITK' has no attribute 'Elastix' . Then I sudo uninstalled the first SimpleITK  and I ran sudo python setup.py install again. It again imports in IDE and but throws the same error. I tried to import SimpleITK as sitk in terminal console and now it shows ImportError: No module named 'SimpleITK' . Can you please help? Should I rebuild simple elastix? It took me 12+ hours.

You must more information than Segmentation fault. What is the full error log?

@kaspermarstal that is the full error log I get. I guess I have to build it again, because while in the first time I built, I had encountered some errors while being built.

I had the same error, i.e.,
>>> sitk.Elastix Traceback (most recent call last):   File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'Elastix'
and I suspected that it was due to a previous installation of SimpleITK. I deleted the old installation:
sudo rm -rf /usr/local/lib/python2.7/dist-packages/SimpleITK*
and then re-ran the installation command
sudo python setup.py install
that fixed the problem.


chore: add issue templates

Add the following issue templates to the repository

Report a bug
Request a feature

Fixed by https://github.com/schalkneethling/minimalist/pull/26


Prevent out of gas

Prevent an out of gas error when burning accounts balance

An alternative solution would be to burn only the stakingKeeper.BondDenom() balance when pruning an account.

I have pushed the renaming. Please approve the PR when they make sense now


fix(share_plus): Present Share Sheet on the top ViewController

Description
Update iOS share target to present on the top ViewController. This fixes "Unable to present" errors when the app is already presenting such as in an add to app scenario.
Related Issues
https://github.com/fluttercommunity/plus_plugins/issues/251
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
No tests need to be updated.
[X] All existing and new tests are passing.
[X] I updated/added relevant documentation (doc comments with ///).
No doc changes needed.
[X] The analyzer (flutter analyze) does not report any problems on my PR.
warning - The path F:\Development\FlutterPlusPlugins\packages\share_plus is not posix - example\pubspec.yaml:9:11 - path_not_posix
[X] I read and followed the Flutter Style Guide.
[X] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[X] No, this is not a breaking change.

Thanks @searchy2 ! Can you update also the pubspec.yaml and bump the version number to 2.1.3?

Bumped!

I tested this and seems to work, however CI is complaining with the following error:
These files are not formatted correctly:

-----------------------------------------------------------------
packages/share_plus/ios/Classes/FLTSharePlusPlugin.m
-----------------------------------------------------------------

diff --git a/packages/share_plus/ios/Classes/FLTSharePlusPlugin.m b/packages/share_plus/ios/Classes/FLTSharePlusPlugin.m
index accd0e7..1caf92d 100644
--- a/packages/share_plus/ios/Classes/FLTSharePlusPlugin.m
+++ b/packages/share_plus/ios/Classes/FLTSharePlusPlugin.m
@@ -154 +154 @@ static UIViewController *TopViewControllerForViewController(UIViewController *vi
-        TopViewControllerForViewController(RootViewController());
+          TopViewControllerForViewController(RootViewController());
@@ -183 +183 @@ static UIViewController *TopViewControllerForViewController(UIViewController *vi
-        TopViewControllerForViewController(RootViewController());
+          TopViewControllerForViewController(RootViewController());

-----------------------------------------------------------------

Could you solve this formatting issue? then I will merge and release.

I'll probably need your help with the formatting.
Trying to run the format command melos run format outputs this error;
F:\Development\FlutterPlusPlugins>flutter pub global run flutter_plugin_tools fo
rmat
Unhandled exception:
Invalid argument(s): join(null, "gcloud-service-key.json"): part 0 was null, but
 part 1 was not.
#0      _validateArgList (package:path/src/context.dart:1102:5)
#1      Context.join (package:path/src/context.dart:242:5)
#2      join (package:path/path.dart:265:13)
#3      new FirebaseTestLabCommand (package:flutter_plugin_tools/src/firebase_te
st_lab_command.dart:33:13)
#4      main (package:flutter_plugin_tools/src/main.dart:54:18)
#5      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isola
te_patch.dart:281:32)
#6      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dar
t:184:12)
pub finished with exit code 255

@miquelbeltran Can you help me fix the formatting?

can you also please merge with main, we have fixed a few things for CD/CI

Done!

Perfect, now it seems we have a formatting issue, could you run melos run format on your machine and commit the changes too? @searchy2  THANK YOU

That didn't work and threw an exception. I'll need you to run it for me.

What's the exception?
if you want me to run it for you, you need to give me access to https://github.com/searchy2/plus_plugins/tree/share_ios_present_fix

I'm running into the same issue as before:
F:\Development\FlutterPlusPlugins>flutter pub global run flutter_plugin_tools fo
rmat
Unhandled exception:
Invalid argument(s): join(null, "gcloud-service-key.json"): part 0 was null, but
 part 1 was not.
#0      _validateArgList (package:path/src/context.dart:1102:5)
#1      Context.join (package:path/src/context.dart:242:5)
#2      join (package:path/path.dart:265:13)
#3      new FirebaseTestLabCommand (package:flutter_plugin_tools/src/firebase_te
st_lab_command.dart:33:13)
#4      main (package:flutter_plugin_tools/src/main.dart:54:18)
#5      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isola
te_patch.dart:281:32)
#6      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dar
t:184:12)
pub finished with exit code 255

I've invited you to the repo, thank you for your help here!

@searchy2 can you enable “Allow edits by maintainers”? I just checked out your PR and there were still unmerged changes from main.

It's checked, just updated from main again.

Can you run melos run format?

going to unblock this, may need to create a new PR

continuing in #307


Microsoft.Bcl.Async nags about missing "The type 'AnnouncementClient' is required here and is unavailable."

The project is built to .net 4.6 so it should not do anything. At least I was under the impression it shouldn't do anything.
But to my suprise this ended up in my project file:
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And
 ($(TargetFrameworkVersion) == 'v4.0' Or $(TargetFrameworkVersion) == 'v4.5' Or
  $(TargetFrameworkVersion) == 'v4.5.1' Or $(TargetFrameworkVersion) == 'v4.5.2' Or
  $(TargetFrameworkVersion) == 'v4.5.3' Or $(TargetFrameworkVersion) == 'v4.6')">
  <ItemGroup>
    <Reference Include="Microsoft.Threading.Tasks.Extensions.Desktop">
      <HintPath>..\..\packages\Microsoft.Bcl.Async\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll</HintPath>
      <Private>True</Private>
      <Paket>True</Paket>
    </Reference>
      yadda yadda yadda
  </itemGroup>
</when>

why does this reference get added to the project for 4.6 when the package is obviously meant for .net4.
I don't know if this is a paket issue, but I thought I'd ask here anyway.
ps. I'm so fed up with these Bcl packages...

net40 means .NET 4.0 and above. at least if there is no other net folder.
Try with Nuget - it will install the same dlls.

Alright I believe you. :smile: I have to manually remove this ref from the project to get it to build.

I've recently started getting the same error message actually. For example this project currently builds as expected, but it will fail as soon as I paket update.

For the record, and reproducing our private discussion with @forki, the problem more likely has to do with a bug in paket when resolving the dependency graph for AWSSDK.Core, which has the following dependency tree
    <dependencies>
      <group targetFramework=".NETFramework4.5" />
      <group targetFramework=".NETPortable0.0-net45+netcore45+wpa81+wp8+MonoAndroid10+xamarinios10+MonoTouch10">
        <dependency id="Microsoft.Net.Http" version="2.2.29" />
        <dependency id="PCLStorage" version="1.0.2" />
        <dependency id="PCLCrypto" version="<IP_ADDRESS>30" />
      </group>
    </dependencies>

which however is resolved to the following paket.lock:
 AWSSDK.Core (<IP_ADDRESS>)
      Microsoft.Net.Http (>= 2.2.29) - framework: >= net45, portable-net45+win8+wp8+wpa81
      PCLCrypto (>= <IP_ADDRESS>30) - framework: >= net45, portable-net45+win8+wp8+wpa81
      PCLStorage (>= 1.0.2) - framework: >= net45, portable-net45+win8+wp8+wpa81


A resume about performance and internals

Your project is interesting but actually i don't really know where it would fit in various projects.
What about the performance ? I imagine this won't be a solution at least for large dataset that could replace a SGDB but it would be nice to make a point on this into your introduction.
Also a short resume about how i works internally to perform queries on dataset would help to make an idea about possible usages.
Thanks.

Hi @sveetch,
Thanks for your comments.
To answer your first question. I can give you a brief example on how I use it in one of my framework.
I have a set of applications that I need to build for an embedded platform. Something iike:
[
    {
        "name": "app1"
        "group": [
            "group1",
            "group2"
        ]
    },
    {
        "name": "app2"
        "group": [
            "group1",
        ]
    },
    {
        "name": "app3"
        "group": [
            "group3"
        ]
    }
]

This is a simplified version, but it allow me then to filter what I exactly need to build. I can build only application that are part of the "group1" or with the name "app1" etc...

Performance is a good topic, I would also be interested in benchmarking the library to see how fast we can be on a big json file and big request that needs to be filtered. That is something I can work on.

Last point, I can make a internal documentation for people that want's to contribute for the project. However I don't understand what you mean by "would help to make an idea about possible usages". Possible usages for new features ? Or possible usage for current inplemenation ?

I was talking about a possible use-case it could fill in various projects.  I don't think you need a proper document for this, just a resume which explain quickly this is only about to query a dataset with just some Python builtins.
Like you said in README you are filtering but do you maintain an internal index in memory or something alike ?
I did some very quick review in your code and it seems you are using Node object to get a quick way to the dataset items ?

Well it's a great explanation, thank you. Hope to use it soon for a new project to come. Feel free to close this issue when you cant, cheers


Fix: PID file shall be owned by root

Fixes #303
start-stop-daemon requires PID files to be owned by root as a security feature
Hence, required for SysVinit compatibility

Closing as the issue is already resolved.


fast build does not work

If I open fast build the CMD just says
Building TerraAngelSetup
then closes 5 seconds later.

I believe so, I will reinstall it tho because I am not 100% sure if I installed it

Ok, I installed .NET 7.0 SDK and I restarted my pc and it still crashes

Open up command prompt and type dotnet --list-sdks

6.0.405 [C:\Program Files\dotnet\sdk]
7.0.102 [C:\Program Files\dotnet\sdk]
7.0.201 [C:\Program Files\dotnet\sdk]

Do you think because I have multiple SDK's installed its trying to use 6.0 sdk?

no


'rake gemspec:validate' always fails

I've seen this today in more than one of my current projects, but just to make sure it wasn't my fault, I tried it from scratch:
[12:53][~/projects]$ jeweler dummy
	create	.gitignore
    # etc.
Jeweler has prepared your gem in dummy
[12:53][~/projects]$ cd dummy

A version file has to exist before a .gemspec can be validated:
[12:53][~/projects/dummy(master)]$ rake version:write
(in /Users/steve/projects/dummy)
Updated version: 0.0.0

I try to validate the gemspec:
[12:54][~/projects/dummy(master)]$ rake gemspec:validate
(in /Users/steve/projects/dummy)
dummy.gemspec is invalid. See the backtrace for more details.
rake aborted!
undefined method `prerelease?' for nil:NilClass

(See full trace by running task with --trace)

I run the task with --trace:
[12:54][~/projects/dummy(master)]$ rake gemspec:validate --trace
(in /Users/steve/projects/dummy)
** Invoke gemspec:validate (first_time)
** Invoke version_required (first_time)
** Execute version_required
** Execute gemspec:validate
dummy.gemspec is invalid. See the backtrace for more details.
rake aborted!
undefined method `prerelease?' for nil:NilClass
/opt/local/lib/ruby/gems/1.9.1/gems/rubygems-update-1.3.5/lib/rubygems/specification.rb:1317:in `block in <class:Specification>'
dummy.gemspec:9:in `block (2 levels) in parse'
/opt/local/lib/ruby/gems/1.9.1/gems/rubygems-update-1.3.5/lib/rubygems/specification.rb:421:in `initialize'
dummy.gemspec:7:in `new'
dummy.gemspec:7:in `block in parse'
/opt/local/lib/ruby/gems/1.9.1/gems/jeweler-1.4.0/lib/jeweler/gemspec_helper.rb:56:in `eval'
/opt/local/lib/ruby/gems/1.9.1/gems/jeweler-1.4.0/lib/jeweler/gemspec_helper.rb:56:in `block in parse'

I've hunted this down to a failure on assigning the version string in the "virtual" (non-file-based) gemspec that gets generated and passed to the gemspec_helper.parse method.  It looks like the ValidateGemspec command class just isn't doing the same work of adding versions that the WriteGemspec command class is.  (The real gemspec used to build the gem works fine.)
I don't understand the Jeweler infrastructure well enough to figure out which version addition code needs to be put in, however, or when; so I'm simply reporting the issue instead of trying to fork and fix it.

I do not agree with rgarner. I am using Rubygems 1.8.11 and I have run into this issue.


fix(deps): update tubenhirn/semantic-release-git docker tag to v3.0.1

This PR contains the following updates:

Package
Update
Change

tubenhirn/semantic-release-git
patch
v3.0.0 -> v3.0.1

⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the logs for more information.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will now ignore this update (v3.0.1). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps array of your renovate config.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.


Update fails!

MAX Plugin Version
2.2.0
Flutter Version
latest
Device/Platform Info
Androoid
Current Behavior
After update to version 2.2.0
I get this error. Please help!
unning Gradle task 'assembleRelease'...
Picked up _JAVA_OPTIONS: -Xmx2012M
FAILURE: Build failed with an exception.

What went wrong:
Could not determine the dependencies of task ':app:processReleaseResources'.

Could not resolve all task dependencies for configuration ':app:releaseRuntimeClasspath'.
Could not resolve com.applovin:applovin-sdk:+.
Required by:
project :app
Failed to list versions for com.applovin:applovin-sdk.
Unable to load Maven meta-data from https://jcenter.bintray.com/com/applovin/applovin-sdk/maven-metadata.xml.
Could not HEAD 'https://jcenter.bintray.com/com/applovin/applovin-sdk/maven-metadata.xml'.
Read timed out

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Expected Behavior
No response
How to Reproduce
n/a
Additional Info
No response

I am also having this issue.  Bintray is down and since its a deprecated service its not clear when it will come back.  Its better to move away from using this.

Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not resolve com.applovin:applovin-sdk:+.
Required by:
project :app
Failed to list versions for com.applovin:applovin-sdk.
Unable to load Maven meta-data from https://jcenter.bintray.com/com/applovin/applovin-sdk/maven-metadata.xml.
Could not get resource 'https://jcenter.bintray.com/com/applovin/applovin-sdk/maven-metadata.xml'.
Could not GET 'https://jcenter.bintray.com/com/applovin/applovin-sdk/maven-metadata.xml'.
Read timed out

Hi Ri938,
what do you mean with "move away from using this." ?
Bintray or the plugin ? If you mean bintray how can this be done?

I mean that I think the applovin-sdk depends on jcenter and so the developers of applovin should migrate away from this.  I dont think we can do this as users? But I am no sure on this.

Hi @ri938 , AppLovin SDK or adapters are not hosted on Jcenter. Our SDKs are hosted on mavenCenteral(). As recommended in our docs here, please add mavenCentral() to your repositories block and remove any references to jcenter().


[stable/kube-slack] Kube slack image from different CR

What this PR does / why we need it:
Sometimes, for various reasons, there is interest in using the chart with a proprietary container adapted to particolar needs. Specifically, kube-slack does not natively support the Pod Security Policy.
Which issue this PR fixes
https://github.com/wongnai/kube-slack/issues/65
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @jstriebel

/ok-to-test

@zanhsieh A really strange job test error
Error: could not find a ready tiller pod 😮

/retest

Now only LGTM label is needed @zanhsieh @jstriebel
Thank you


Adds Planned Enhancements to DG

Closes #253 and also #276
Unsure if #276 counts as an enhancement or a new feature

#276 feels like an enhancement of searchmode, but yeah either way I think including it in the DG is good!


ArchiveUtils: Call safeMkdirs() only once per directory

Instead of calling it for the parent directory of each file, i.e.
multiple times for the same directory if multiple files are in a
directory.
Signed-off-by: Sebastian Schuberth<EMAIL_ADDRESS>

This does not work 😢


docker logs -f is no longer following the logs

I recognized that my current docker installation does no longer follow the log output for a running container executed by docker logs -f <container>. The actual behavior is the same as without the -f switch and it applies to both the Windows client, and the Linux client accessed via SSH.

docker-machine version 0.4.0 (9d0dc7a)
Docker version 1.8.1, build d12ea79

This may relate to this issue.

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

@JensPiegsa can you give a little more info on your exact scenario?  I just tried it and it seems to work ok for me - but perhaps you're flow is different.  The exact (minimal) commands needed to reproduce it would be great.

docker logs -f uses inotify to notify listeners that there is more log data to read. If inotify does not work on your system for one reason or another, this would be the problem.
Note that this is all done on the daemon.
Assuming this is a dup of #15815

I'm having the same problem when running docker inside Vagrant.


Version 1.5 incompatible with Better Buttons

I'm not sure if this should be an issue here, but I wanted to note that while version 1.4 and below work well with https://github.com/unclecheese/silverstripe-gridfield-betterbuttons , moving to 1.5 or above removes any versioning related buttons.

We've also been experiencing this.  I'm going to follow the recommendations and downgrade to better buttons 1.2.8.

Thanks, this is fixed in release 2.0.1 by merging the change from @adrexia.


Project should not be required

Expected Behavior
Project field should not be required
Actual Behavior
Project field is required:
https://shortcut.com/api/rest/v3#Create-Story
Steps to Reproduce

I know this is old now but thought I'd chime in on my findings while dealing with this:
While the API documentation doesn't explicitly say this, one of either -p (project) or -s (workflow state id). This is demonstrated by attempting to create a story using a raw cURL:
curl -X POST \
  -H "Content-Type: application/json" \
  -H "Shortcut-Token: $SHORTCUT_API_TOKEN" \
  -d \
  '{ "epic_id": REDACTED, "name": "test story", "story_type": "bug" }' \
  -L "https://api.app.shortcut.com/api/v3/stories" -v
Note: Unnecessary use of -X or --request, POST is already inferred.

> POST /api/v3/stories HTTP/2
> Host: api.app.shortcut.com
> User-Agent: curl/8.6.0
> Accept: */*
> Content-Type: application/json
> Shortcut-Token: [...]
> Content-Length: [...]
>
< HTTP/2 422
< date: Fri, 24 May 2024 16:08:46 GMT
< content-type: application/json;charset=utf-8
< vary: Accept, Tenant-Workspace2, Tenant-Organization2, origin, shortcut-token
< server-timing: respWOses;dur=25
< strict-transport-security: max-age=31536000; includeSubDomains
[...]
<
* Connection #0 to host api.app.shortcut.com left intact
{"message":"Must provide at least one of Workflow or Project."}

I have a branch up that attempts to address this.
It seems these changes do work for creating stories. I haven't tested against any other resource type and wasn't planning to, but the pattern should be straightforward to repeat in other places.


Logrotate not able to read /etc/logrotate.conf

RancherOS Version: (ros os version)
1.1.0
$ system-docker logs logrotate
Handling 0 logs
error: Ignoring /etc/logrotate.conf because of bad file mode - must be 0644 or 0444.
Reading state from file: /var/lib/logrotate.status
Allocating hash table for state file, size 64 entries

@superseb
Do you have a detailed way to reproduce it?
I boot a ROS(v1.1.0) by docker-machine, try this issue, but cannot see these errors.

The system-cron kicks it off hourly, to trigger it, execute system-docker restart logrotate

@superseb
It should be fixed in v1.1.1.
When you have a chance, can you confirm again in v1.1.1?
The root cause:
Run with os-logrotate:v1.1.0
system-docker run --rm -it --entrypoint /bin/bash rancher/os-logrotate:v1.1.0
bash-4.4# ls -al /etc/logrotate.conf
-rw-rw-r--    2 root     root            35 Jul 17 11:19 /etc/logrotate.conf

Run with os-logrotate:v1.1.1
system-docker run --rm -it --entrypoint /bin/bash rancher/os-logrotate:v1.1.1
bash-4.4# ls -al /etc/logrotate.conf
-rw-r--r--    2 root     root            35 Dec  8 03:32 /etc/logrotate.conf

The  image os-logrotate:v1.1.0 has the wrong file mode.

docker-machine create -d virtualbox --virtualbox-boot2docker-url https://releases.rancher.com/os/v1.1.1/rancheros.iso rancheros
system-docker restart logrotate

# system-docker logs logrotate
reading config file /etc/logrotate.conf
including /etc/logrotate.d
reading config file dhcpcd.debug
reading config file docker
reading config file syslog
Reading state from file: /var/lib/logrotate.status
Allocating hash table for state file, size 64 entries

Handling 3 logs

rotating pattern: /var/log/dhcpcd.debug.log
 after 1 days (7 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/dhcpcd.debug.log
  log /var/log/dhcpcd.debug.log does not exist -- skipping
Creating new state

rotating pattern: /var/log/docker.log
/var/log/system-docker.log
 after 1 days (7 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/docker.log
Creating new state
  Now: 2017-12-12 11:39
  Last rotated at 2017-12-12 11:00
  log does not need rotating (log has been already rotated)
considering log /var/log/system-docker.log
Creating new state
  Now: 2017-12-12 11:39
  Last rotated at 2017-12-12 11:00
  log does not need rotating (log has been already rotated)

rotating pattern: /var/log/messages
/var/log/secure
/var/log/syslog
 after 1 days (7 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/messages
Creating new state
  Now: 2017-12-12 11:39
  Last rotated at 2017-12-12 11:00
  log does not need rotating (log has been already rotated)
considering log /var/log/secure
Creating new state
  Now: 2017-12-12 11:39
  Last rotated at 2017-12-12 11:00
  log does not need rotating (log has been already rotated)
considering log /var/log/syslog
Creating new state
  Now: 2017-12-12 11:39
  Last rotated at 2017-12-12 11:00
  log does not need rotating (log has been already rotated)
not running postrotate script, since no logs were rotated

LGTM


Restoring subtitles with ID does not work

I'm submitting a ...

[X] bug report
[ ] feature request
[ ] support request

General infomration
If enabled in settings, netflix addon tries to set subtitle / audio settings for a complete series.
Because Number and position of subtitles can change between seasons / episodes, working with internal id's is dangerous and wrong
15:37:32.672 T:18446744073002981680   DEBUG: [Netflix] StreamContinuityManager: Restored subtitle to {u'index': 1, u'name': u'', u'language': u'ger'}
Steps to Reproduce

Play Prison Break season 3, save Audio / Sub settings
Play Prison Break season 4

Expected behavior: [What you expected to happen]
With sub set to ger in season 3, expected is that subs are played ger in season 4, too
Actual behavior: [What actually happened]
subs in season 4 are played in english, because no forced subs are in season 4 and indices vary.
Operating System

[ ] Linux (x86/x64)
[ ] OSX (x86/x64)
[ ] Windows (x86/x64)
[ ] Linux (ARM)
[X] Android

Debug log
http://paste.ubuntu.com/p/bDVSvDBkz9/

@caphm from kodi code it should be possible to select subs with index -1

@peak3d
Sorry to ask, do you have a working release from 0.13.19 now, or this is just an old Debug log.

@Essam315 Just tried latest master version on wetek HUB without any issues.
I currently don't use the beta version, but I would suggest to reinstall / or logout and try again.

@peak3d
I did a clean install many times, but all the releases are down for me and for many others, could you please look in this post.
https://github.com/asciidisco/plugin.video.netflix/issues/555
https://github.com/asciidisco/plugin.video.netflix/issues/553
https://forum.kodi.tv/showthread.php?tid=329767&page=28

It seems that the plugin is working on the android only now, i hope this might help fixing the problem.
https://forum.kodi.tv/showthread.php?tid=329767&pid=2795423#pid2795423

@Essam315  MSLv2 is currently under development, I don't think that any change in inputstream.adaptive is needed.
Do I read right that you have code to convert subs from the new JSON to DASH in MSLv2 ?

@peak3d
No, i just used a workaround to generate the subtitles links in Webvtt format in manifest.json,

@peak3d No, I just used a workaround to generate the subtitles links in webvtt format in manifest.json.
And here is the manifest.json of the movie Sarajevo (2014).
manifest.zip

@peak3d No, i have not such code.


⚠ Bofrost.es has degraded performance

In 806927d, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1498 ms

Resolved: Bofrost.es performance has improved in 2772ede after 9 minutes.


passing through output settings to resemble.js

enabling the use of all resemble.js outputSettings

@yankydoo could you please update PR, fix conflict so we can merge this, thanks a lot for your contribution

@puneet0191 I just resolved the conflict. Happy to help!


'admin_views'  tag is not fetched when app is set before admin

When the admin_views is set before the django admin app, I'm currently receiving a 'admin_views' is not a registered tag library error.
INSTALLED_APPS = [
    'admin_views',
    'django.contrib.admin',
   # ...
]

Additional details

Using default admin site
No changes to template context_processors
Admin URL is modified to "db-admin"

@koleror It looks like the templatetags folder has been left out from the django-admin-views-1.0.3.tar.gz  package: https://pypi.org/project/django-admin-views/#files
A simple fix is to include it and re-upload the package.

The issue is that the config has packages = ["admin_views"], but that setting has never be recursive, so you need to list all packages and sub-packages (not sub-modules though), or use the setuptools find: shortcut.

PR is on #43


Fix technical_indicators to return RSI

This fixes a bug that made it impossible to pull the RSI technical indicator from the API since the SDK only accepted "rsa" as valid value while the API expected the value to be "rsi".
Steps to reproduce:
Before this change:

data = fmpsdk.technical_indicators(apikey=apikey, symbol="AAPL", statistics_type="rsi") would complain that the only valid values are "sma", "ema", "wma", "dema", "tema", "williams", "rsa", "adx", "standardDeviation"
data = fmpsdk.technical_indicators(apikey=apikey, symbol="AAPL", statistics_type="rsa") would return an empty array without an error.

After this change:

data = fmpsdk.technical_indicators(apikey=apikey, symbol="AAPL", statistics_type="rsi") returns the correct indicators.

Thanks for finding this!  :-)


Fix opts issue

A bug was introduced by my previous PR, please help to merge this to get it fixed.
Thank you.

Hi @betimer, I've merged this in and published as 4.5.1.
Thanks!

Thank you @nathanoehlman


Train on 3090 Ti

Can the model train on 3090 Ti? And it only have 24G memory.

Hi, maybe you can have a try by reducing the batch size and resolution? I haven't try it on 3090 Ti.


fix(api-client): all request bodies are sent as form data, fix #2511

Problem
Currently we don't save the raw encoding value and if you change we dont properly set the content-type
Explanation
This happens because we dont handle it
Solution
With this PR we save both the raw encoding value and set the Content-Type header depending on the content type
https://github.com/user-attachments/assets/771c273a-e29c-496d-9a79-ba9e9bf2a000

OMG the weird syncing bug was related to https://github.com/scalar/scalar/pull/2569
🕺
it works perfectly now


UnhandledPromiseRejection error

(node:15637) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Forbidden
(node:15637) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:15637) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Forbidden

It happens as soon as someone says something in the IRC channel, sadly I don't have anything else

Ah, figured it out, I tried to make a one-way channel on discord so I disabled write permissions on the everyone role, that broke it.


docs(examples): link labels with their fields in examples, to enhance accessibility

I have found 3 examples in which <label> elements were not linked to their fields, and linked them correctly.
I have also removed a pattern attribute on an <input type="number"> as it is not supported on that type (cf. the MDN documentation).
As for the modifications in examples/client-side-validation/package-lock.json, it's simply the result of running npm install in that example folder.

🙏


Stopped working

Hi
I always got "sender is not authenticated"
What key I need to use for gcm_api_key ?
Just generated from "mix web_push.gen.keypair" ?

I am not really sure how authentication is currently handled by GCM or FCM.
I think this might be related to https://github.com/danhper/elixir-web-push-encryption/issues/14 so maybe try with and without sending an auth key.

Thanks, it helps


[Fix] select nested type of string within type array should be wrappe…

…d with '' in vectorized path
eg.
mysql> set enable_vectorized_engine = true;
mysql> select k3 from test_array_string order by k2 limit 1;
+----------------------------------------------+
| k3                                           |
+----------------------------------------------+
| ['cdsdasd', 'xxxx', '3', '4', '5', NULL] |
+----------------------------------------------+

Proposed changes
Issue Number: close #10497
Problem Summary:
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

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

@qidaye sorry, i rebased, please approve again


stripping out ANSI escape color codes when building jupyter book

when a notebook fails during a jupyter-book build running on readthedocs, the traceback is hard to read since it contains ANSI color escape codes. example:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[4], line 3
      1 from sklearn_evaluation import plot
----> 3 cm = plot.InteractiveConfusionMatrix.from_raw_data(
      4     y_test.tolist(),
      5     y_pred.tolist(),
      6     X_test=X_test,
      7     feature_subset=[
      8         "Male",
      9         "body_mass_g",
     10         "bill_depth_mm",
     11         "bill_length_mm",
     12         "flipper_length_mm",
     13     ],
     14     nsample=6,
     15 )

source: https://readthedocs.org/projects/sklearn-evaluation/builds/21083255/
jupyter-book uses myst-nb to execute notebooks. we can use something like this to remove the escape codes
Unfortunately, to fix this, we'd need to modify other packages as well.
execution is performed by jupyter-cache, which uses nbclient for notebook execution.
even though the fix is simple, it'd take some time since we depend on the package maintainer's approval.

https://ploomber-contributing.readthedocs.io/en/latest/maintainer/readthedocs.html#debugging-failed-notebooks


WIP: add reasource 'api_token' and data source 'permission_groups'

marking as draft as this isn't yet ready for review

marking as draft as this isn't yet ready for review

What is required in order for this to be ready for review?

Let's start with a pull request description as to what the change is and any context associated with it. From there we need to:

cleanup the comments where functionality isn't used but has been left behind
remove the dependency changes to go.mod/go.sum as they come in automatically
add documentation for these two new pieces of functionality
"WIP" removed from the title

Once we get those things underway, we can start looking at the code itself. Doing these things before someone spends time reviewing the code and approach cuts down on the unnesecary back and forth or scribbling the metaphorical red ink all of the PR.

Once you remove your changes to go.{mod,sum} you can merge in the latest master and it will include those changes from cloudflare-go.

I think this PR can be review now:

[x] cleanup the comments where functionality isn't used but has been left behind
[x] remove the dependency changes to go.mod/go.sum as they come in automatically
[x] add documentation for these two new pieces of functionality
[x] "WIP" removed from the title

I hope I've got all proposed changes done.

Nearly there! It looks like the test state isn't matching up with the assertions right now.
=== RUN   TestAccAPIToken
    testing.go:705: Step 1 error: After applying this step, the plan was not empty:

        DIFF:

        UPDATE: cloudflare_api_token.uikfrstsfs
          condition.#:                                                                         "1" => "0"
          condition.0.request_ip.#:                                                            "1" => ""
          condition.0.request_ip.0.in.#:                                                       "0" => ""
          condition.0.request_ip.0.not_in.#:                                                   "0" => ""
          id:                                                                                "b20c3f79a90b9bc33a0cb001ce0606ac" => "b20c3f79a90b9bc33a0cb001ce0606ac"
          name:                                                                                "uikfrstsfs" => "uikfrstsfs"
          policy.#:                                                                            "1" => "1"
          policy.0.effect:                                                                     "deny" => "deny"
          policy.0.permission_groups.#:                                                        "1" => "1"
          policy.0.permission_groups.0:                                                        "82e64a83756745bbbb1c9c2701bf816b" => "82e64a83756745bbbb1c9c2701bf816b"
          policy.0.resources.com.cloudflare.api.account.zone.0da42c8d2132a9ddaf714f9e7c920711: "*" => "*"
          status:                                                                              "active" => "active"
          value:                                                                               "mgdSw-BoxExx7F2Q1me4SAqXDGpfoc07NDDBCV74" => "mgdSw-BoxExx7F2Q1me4SAqXDGpfoc07NDDBCV74"

        STATE:

        cloudflare_api_token.uikfrstsfs:
          ID = b20c3f79a90b9bc33a0cb001ce0606ac
          provider = provider.cloudflare
          condition.# = 1
          condition.0.request_ip.# = 1
          name = uikfrstsfs
          policy.# = 1
          policy.0.effect = deny
          policy.0.permission_groups.# = 1
          policy.0.permission_groups.0 = 82e64a83756745bbbb1c9c2701bf816b
          policy.0.resources.com.cloudflare.api.account.zone.0da42c8d2132a9ddaf714f9e7c920711 = *
          status = active
          value = mgdSw-BoxExx7F2Q1me4SAqXDGpfoc07NDDBCV74
--- FAIL: TestAccAPIToken (9.48s)
=== RUN   TestAccAPITokenAllowDeny
    testing.go:705: Step 0 error: After applying this step and refreshing, the plan was not empty:

        DIFF:

        UPDATE: cloudflare_api_token.ywpzjtdhmx
          condition.#:                                                                         "1" => "0"
          condition.0.request_ip.#:                                                            "1" => ""
          condition.0.request_ip.0.in.#:                                                       "0" => ""
          condition.0.request_ip.0.not_in.#:                                                   "0" => ""
          id:                                                                                "6aa4d5d28e95f8fd56f8bd27ccdb70e1" => "6aa4d5d28e95f8fd56f8bd27ccdb70e1"
          name:                                                                                "ywpzjtdhmx" => "ywpzjtdhmx"
          policy.#:                                                                            "1" => "1"
          policy.0.effect:                                                                     "allow" => "allow"
          policy.0.permission_groups.#:                                                        "1" => "1"
          policy.0.permission_groups.0:                                                        "82e64a83756745bbbb1c9c2701bf816b" => "82e64a83756745bbbb1c9c2701bf816b"
          policy.0.resources.com.cloudflare.api.account.zone.0da42c8d2132a9ddaf714f9e7c920711: "*" => "*"
          status:                                                                              "active" => "active"
          value:                                                                               "bysG-69wNNXXOagUicOqRlXONjKKmNGYjP9dGDvB" => "bysG-69wNNXXOagUicOqRlXONjKKmNGYjP9dGDvB"

        STATE:

        cloudflare_api_token.ywpzjtdhmx:
          ID = 6aa4d5d28e95f8fd56f8bd27ccdb70e1
          provider = provider.cloudflare
          condition.# = 1
          condition.0.request_ip.# = 1
          name = ywpzjtdhmx
          policy.# = 1
          policy.0.effect = allow
          policy.0.permission_groups.# = 1
          policy.0.permission_groups.0 = 82e64a83756745bbbb1c9c2701bf816b
          policy.0.resources.com.cloudflare.api.account.zone.0da42c8d2132a9ddaf714f9e7c920711 = *
          status = active
          value = bysG-69wNNXXOagUicOqRlXONjKKmNGYjP9dGDvB
--- FAIL: TestAccAPITokenAllowDeny (4.17s)
FAIL
FAIL	github.com/cloudflare/terraform-provider-cloudflare/cloudflare	13.690s
FAIL

Had to make some if checks. And to change policy blocks from list to hash set, as CF is returning policies unordered.

nice one! looks like we're all green on the integration test suite.
=== RUN   TestAccAPIToken
--- PASS: TestAccAPIToken (12.25s)
=== RUN   TestAccAPITokenAllowDeny
--- PASS: TestAccAPITokenAllowDeny (20.38s)
PASS
ok  	github.com/cloudflare/terraform-provider-cloudflare/cloudflare	32.661s

Datasource is also green now after fixing the ID
=== RUN   TestAccCloudflareApiTokenPermissionGroups
--- PASS: TestAccCloudflareApiTokenPermissionGroups (2.41s)
PASS
ok  	github.com/cloudflare/terraform-provider-cloudflare/cloudflare	2.433s

Thanks for the persistence on this one @UrosSimovic! Appreciate your contribution here 👍


Update NuGet Dependencies

Bump Microsoft.AspNetCore.TestHost from 5.0.10 to 5.0.11 (#50)
Bump SharpZipLib from <IP_ADDRESS> to 1.3.3 (#56)
Bump Microsoft.AspNetCore.TestHost from 5.0.10 to 5.0.11 (#54)
Bump Moq from <IP_ADDRESS> to 4.16.1 (#55)

Codecov Report

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

@@            Coverage Diff            @@
##             master      #53   +/-   ##
=========================================
  Coverage          ?   40.24%
=========================================
  Files             ?       48
  Lines             ?     1998
  Branches          ?      183
=========================================
  Hits              ?      804
  Misses            ?     1163
  Partials          ?       31

Continue to review full report at Codecov.

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


ImportError: cannot import name 'deform_conv_cuda' from partially initialized module 'mmdet.ops.dcn' (most likely due to a circular import)

when I run the process, I found the issue.And I try a lot of ways, But it is not useful. What can I do to deal with it?
when it run here:    from . import deform_conv_cuda
the error appear:
File "/home/ty/model/polar mask/demo/demo_visualize.py", line 1, in
from mmdet.apis import init_detector, inference_detector, show_result_pyplot
File "/home/ty/model/polar mask/mmdet/apis/init.py", line 2, in
from .inference import (inference_detector, init_detector, show_result,
File "/home/ty/model/polar mask/mmdet/apis/inference.py", line 10, in
from mmdet.core import get_classes
File "/home/ty/model/polar mask/mmdet/core/init.py", line 6, in
from .post_processing import *  # noqa: F401, F403
File "/home/ty/model/polar mask/mmdet/core/post_processing/init.py", line 1, in
from .bbox_nms import multiclass_nms, multiclass_nms_with_mask
File "/home/ty/model/polar mask/mmdet/core/post_processing/bbox_nms.py", line 3, in
from mmdet.ops.nms import nms_wrapper
File "/home/ty/model/polar mask/mmdet/ops/init.py", line 2, in
from .dcn import (DeformConv, DeformConvPack, DeformRoIPooling,
File "/home/ty/model/polar mask/mmdet/ops/dcn/init.py", line 1, in
from .deform_conv import (DeformConv, DeformConvPack, ModulatedDeformConv,
File "/home/ty/model/polar mask/mmdet/ops/dcn/deform_conv.py", line 9, in
from . import deform_conv_cuda
ImportError: cannot import name 'deform_conv_cuda' from partially initialized module 'mmdet.ops.dcn' (most likely due to a circular import) (/home/ty/model/polar mask/mmdet/ops/dcn/init.py)

@Frank1o @ty199931 Sorry for late response, Could give more detail about the version of MMCV and MMDet?
BTW, is there any modification of the code?

@Frank1o @ty199931 Sorry for late response, Could give more detail about the version of MMCV and MMDet?
BTW, is there any modification of the code?

Sorry for the late reply！
my version of MMCV and MMDet:
mmcv 0.4.3
mmdet 1.1
After analyzing it, I found that the torch version was automatically upgraded to1.9.0,and I reinstalled version 1.4.0，It works but the error still exist.
Fortunately，it no longer affects training and testing！
I think there may be a problem with C++ compilation, but I don't know how to fix it.

OK，I will try it again by changing the version，and then,I will reply to you.Thanks very much.------------------ 原始邮件 ------------------
@.>
发送时间: 2021年8月29日(星期天) 下午5:50
@.>;
<EMAIL_ADDRESS>主题: Re: [open-mmlab/mmdetection] ImportError: cannot import name 'deform_conv_cuda' from partially initialized module 'mmdet.ops.dcn' (most likely due to a circular import) (#5961)

@Frank1o @ty199931 Sorry for late response, Could give more detail about the version of MMCV and MMDet?
BTW, is there any modification of the code?
Sorry for the reply, I will try it again,then to reply to you.

@Frank1o @ty199931 Sorry for late response, Could give more detail about the version of MMCV and MMDet?
BTW, is there any modification of the code?

Hello, I want to learn the Polar Mask，but it is based on mmdetection. And when I run the line:
from mmdet.apis import init_detector, inference_detector, show_result_pyplot, show_result
it appears error:
Traceback (most recent call last):
File "/home/ty/下载/PolarMask-master/demo/demo.py", line 1, in
from mmdet.apis import init_detector, inference_detector, show_result_pyplot, show_result
File "/home/ty/下载/PolarMask-master/mmdet/init.py", line 1, in
from .version import version, short_version
ModuleNotFoundError: No module named 'mmdet.version'
And I have compiled the mmdetection,but it doesn't work.  I don't know why. Please help me.

Rm the build directory and rebuild it with python setup.py build_ext --inplace, then the package will be built locally.

Rm the build directory and rebuild it with python setup.py build_ext --inplace, then the package will be built locally.

请问这样操作可以解决form.import deform_conv_cuda吗？重新编译会不会覆盖原始环境？
我之前环境是没有问题的，可以正常训练和测试，在一次可视化过程中，我安装了torchcam，然后我的torchvison就出了问题，卸载重装了torchviosn，发现torch版本随着重装更新了，然后出现了一系列错误（ImportError），在对torch版本降级后可以正常训练和测试，但是在ATO/mmdet/ops/init.py中，'get_compiler_version','get_compiling_cuda_version'报错,mmdet/ops/dcn/中依然存在form.import deform_conv_cuda问题，猜测可能是cpp编译出了错，不知道该如何解决

For mmdet 1.1, you can use ~Pytorch 1.3 and rebuild it

Feel free to reopen the issue if there is ant question

OK，thanks，I will try it as soon as possible ------------------ 原始邮件 ------------------
@.>
发送时间: 2021年9月3日(星期五) 晚上8:55
@.>;
<EMAIL_ADDRESS>主题: Re: [open-mmlab/mmdetection] ImportError: cannot import name 'deform_conv_cuda' from partially initialized module 'mmdet.ops.dcn' (most likely due to a circular import) (#5961)

how to get per-classes AP?

OK，I will try it again by changing the version，and then,I will reply to you.Thanks very much.------------------ 原始邮件 ------------------ @.> 发送时间: 2021年8月29日(星期天) 下午5:50 @.><EMAIL_ADDRESS>主题: Re: [open-mmlab/mmdetection] ImportError: cannot import name 'deform_conv_cuda' from partially initialized module 'mmdet.ops.dcn' (most likely due to a circular import) (#5961)

HI How did you solve this issue?
I tried to change the version but the problem still exist? Can you help me out?

I meet this issue too，I tried to change the version but the problem still exist，it just stopped while loading the model


Firefox always crashes in emulated x86-64 Ubuntu VM on M1 Mac

Describe the issue
Running Firefox (122 or later, including 127) in Ubuntu results in a crash of Firefox. Sometimes it loads shortly and sometimes it crashes immediately.
Other browsers (Brave or Vivaldi x86-64 version) do run normally.
I had the issue in Ubuntu 22.04LTS and I installed a fresh 24.04LTS, in both it is reproducible.
Strange that all apps work normally except Firefox, so it should be a combination of Firefox and QEMU.
Do I use the wrong QEMU parameters ?
Configuration

UTM Version: 4.4.5
macOS Version: 14.5
Mac Chip : M1

Crash log
The VM or UTM did not crash, but Firefox.
firefox.crash.zip

Debug log
debug.log.zip
Upload VM
config.plist.zip

Do you try with other browser? I see that you are using Snap, try avoid Snap or Flat firstly.

Do you try with other browser? I see that you are using Snap, try avoid Snap or Flat firstly.
Yes, I tried Vivaldi, same issue (under Linux Lite, an XCFE4 version of Ubuntu 24.04). But on xubuntu 22.04 not.
None of these Linuxes contain Snap or Flatpak.
I removed them as well from ARM VM and on a Raspberry Pi device, because snap is a resource hog.

Duplicate of #5749


Scene/ShadowMap point light shadows test failure

Does anyone else see this test fail when running the tests locally?  I get this in Chrome on Windows 10:
Expected [ 255, 255, 255, 255 ] not to equal [ 255, 255, 255, 255 ].
at http://localhost:8080/Specs/Scene/ShadowMapSpec.js:733:34
cc @lilleyse

Pretty sure I have


Linter Set Up

From @ivanmauricio on November 10, 2016 12:44
We need to find base .eslintrc.json file which we can customise as we go along.
Copied from original issue: foundersandcoders/keep-the-lights-on#14

Thanks @iteles, will have a look into it!

From @iteles on November 10, 2016 15:27
On linting, have you seen https://github.com/dwyl/goodparts which @eliascodes @shouston3 @jrans and @SimonLab worked on over the summer?


Implement song "LIKE" functionality (API)

Description
We want users to be able to "like" a song and go straight to their "Liked Songs" playlists
Acceptance Criteria

Within the backend, each user should have its own liked songs playlist
Once a song likes a song, there should be a flow to add that song to their liked playlist (alongside any relevant song metadata)

Closed by PR #55


Add timestamp to the timeout log message

coverage: 68.571%. remained the same
when pulling a67974932b864309c81480d45e647b6279d28218 on eiriksm-patch-2
into 33715f063588e18b55ac2a9c0ad9cb4e6f719f01 on main.


update ogdc-runner to support argo recipes

The existing ogdc-runner code is setup to use parsl as the workflow executor. Most of this code can be cleaned-up as support for argo recipes is added.

[x] Update the CLI to submit an argo recipe from ogdc-recipes to the cluster.
[x] Remove parsl-specific code. Note that we may end up wanting to support workflows that use parsl in the future, but we do not intend to use parsl as the workflow execution tool for ogdc. ogdc-runer would submit a workflow that includes steps with parsl code to argo, and argo would handle executing that workflow. As such, we do not need to keep anything that references parsl in the ogdc-runner.
[x] Add a simple integration test that runs an argo workflow against local cluster and asserts that the job was successful.

resolved by #30 and #33


[MINOR][SQL] Refactor the comments in HiveClientImpl.withHiveState

What changes were proposed in this pull request?

This PR refactors three parts of the comments in HiveClientImpl.withHiveState
One is about the following comment.
// The classloader in clientLoader could be changed after addJar, always use the latest
// classloader.

The comment was added in SPARK-10810 (#8909) because IsolatedClientLoader.classLoader was declared as var.
But the field is now val and cannot be changed after instanciation.
So, the comment can confuse developers.
One is about the following code and comment.
// classloader. We explicitly set the context class loader since "conf.setClassLoader" does
// not do that, and the Hive client libraries may need to load classes defined by the client's
// class loader.
Thread.currentThread().setContextClassLoader(clientLoader.classLoader)

It's not trivial why this part is necessary and it's difficult when we can remove this code in the future.
So, I revised the comment by adding the reference of the related JIRA.
And the last one is about the following code and comment.
// Replace conf in the thread local Hive with current conf
Hive.get(conf)

It's also not trivial why this part is necessary.
I revised the comment by adding the reference of the related discussion.
Why are the changes needed?

To make code more readable.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

It's just a comment refactoring so I add no new test.

Test build #137334 has started for PR 32162 at commit 867b8ad.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41914/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41914/

Test build #137334 has finished for PR 32162 at commit 867b8ad.

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

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137334/

Test build #137385 has started for PR 32162 at commit badeb87.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41962/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41962/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41962/

Test build #137385 has finished for PR 32162 at commit badeb87.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public class VectorizedBLAS extends F2jBLAS
trait AnalysisOnlyCommand extends Command
 implicit class MetadataColumnHelper(attr: Attribute)
case class WriteToDataSourceV2(
case class WriteToMicroBatchDataSource(

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137385/

Thank you, @sarutak .


[KBM Bug Bash] Display order of re-mappings is different in the two windows

Environment
Windows build number: Microsoft Windows [Version 10.0.19041.207]
PowerToys version:
PowerToy module for which you are reporting the bug (if applicable): Keyboard Manager

Steps to reproduce

Open "Remap a Key"
Set "Esc" to "Enter"
Set "Enter" to "Esc"
Set "Ctrl (Left)" to "Alt (Left)"
Set "Ctrl (Right)" to "Alt (Right)"
Click Apply and close this window

Expected behavior
I would except the order of the re-mappings displayed on the main window to be same as the above order(re-mapping window) in which I set them.
Actual behavior
The order of these re-mappings displayed in the main window is different from the one previous window. Although order doesn't matter, it is a little confusing as to why the order just jumbled on its own.
Screenshots

@saahmedm do we want this for 0.19 if we have capacity?

@HariPrasadV
This seems fixed in 0.27.1

Please reopen, if it's still reproducing for you.


Fix invalid support info

Your .github repository is a fork of the StandardJS one and still contains mentions of eg our Discord channel: https://github.com/aralroca/.github/blob/c56790c5265d6cce126213d04d9568d280a89c11/.github/ISSUE_TEMPLATE/config.yml#L4
Please correct this and other unchanged info instead of eg. sending confused users to our Discord asking for help there 🙏
Similar to https://github.com/maggie0002/balena-plex-seedbox/issues/3

Thanks, updated! 😊


WIP: Reduce latency for higher polynomial degrees

First attempt to attack #516. Waiting for benchmark results: https://github.com/trixi-framework/Trixi.jl/actions/runs/738745714
TODO:

[x] Fix benchmark via GitHub actions
[ ] Add keyword arguments to DGSEM etc., see #533
[ ] Check whether more type stability can be achieved for these constructors (using StaticInt? at a higher level)
[ ] Perform more benchmarking to investigate latency

Benchmarks from Rocinante :horse_racing:

1 Thread: Significant regressions were only observed for except for `["3d", "elixir_advection_extended.jl", "p3_rhs!"]` and `["3d", "elixir_advection_extended.jl", "p7_rhs!"]`, where a regression of 7% is observed.

Job Properties

Time of benchmarks:

Target: 12 Apr 2021 - 10:18
Baseline: 12 Apr 2021 - 10:32

Package commits:

Target: 8c5844
Baseline: 14ba5c

Julia commits:

Target: f9720d
Baseline: f9720d

Julia command flags:

Target: -Cnative,-J/mnt/hd1/opt/julia/1.6.0/lib/julia/sys.so,-g1,--check-bounds=no,--threads=1
Baseline: -Cnative,-J/mnt/hd1/opt/julia/1.6.0/lib/julia/sys.so,-g1,--check-bounds=no,--threads=1

Environment variables:

Target: None
Baseline: None

Results
A ratio greater than 1.0 denotes a possible regression (marked with :x:), while a ratio less
than 1.0 denotes a possible improvement (marked with :white_check_mark:). Only significant results - results
that indicate possible regressions or improvements - are shown below (thus, an empty table means that all
benchmark results remained invariant between builds).

Job Properties

Time of benchmarks:

Target: 12 Apr 2021 - 10:41
Baseline: 12 Apr 2021 - 10:55

Package commits:

Target: 8c5844
Baseline: 14ba5c

Julia commits:

Target: f9720d
Baseline: f9720d

Julia command flags:

Target: -Cnative,-J/mnt/hd1/opt/julia/1.6.0/lib/julia/sys.so,-g1,--check-bounds=no,--threads=2
Baseline: -Cnative,-J/mnt/hd1/opt/julia/1.6.0/lib/julia/sys.so,-g1,--check-bounds=no,--threads=2

Environment variables:

Target: None
Baseline: None

Results
A ratio greater than 1.0 denotes a possible regression (marked with :x:), while a ratio less
than 1.0 denotes a possible improvement (marked with :white_check_mark:). Only significant results - results
that indicate possible regressions or improvements - are shown below (thus, an empty table means that all
benchmark results remained invariant between builds).

I added a kwargs-only DGSEM constructor as discussed on Slack and started another round of benchmarks on Rocinante. I will post the results here when they're ready. It would be nice to get some review but I'll mark this as WIP to prevent merging before benchmarks are available.

Latest benchmarks from Rocinante:

1 Thread: Significant regressions were only observed for except for ["2d", "elixir_euler_vortex_mortar_shockcapturing.jl", "p3_analysis"] (9%), ["3d", "elixir_advection_extended.jl", "p3_rhs!"] (7%), and ["3d", "elixir_advection_extended.jl", "p7_rhs!"] (6%).

Job Properties

Time of benchmarks:

Target: 12 Apr 2021 - 18:58
Baseline: 12 Apr 2021 - 19:12

Package commits:

Target: af48ea
Baseline: 09196c

Julia commits:

Target: f9720d
Baseline: f9720d

Julia command flags:

Target: -Cnative,-J/mnt/hd1/opt/julia/1.6.0/lib/julia/sys.so,-g1,--check-bounds=no,--threads=1
Baseline: -Cnative,-J/mnt/hd1/opt/julia/1.6.0/lib/julia/sys.so,-g1,--check-bounds=no,--threads=1

Environment variables:

Target: None
Baseline: None

Results
A ratio greater than 1.0 denotes a possible regression (marked with :x:), while a ratio less
than 1.0 denotes a possible improvement (marked with :white_check_mark:). Only significant results - results
that indicate possible regressions or improvements - are shown below (thus, an empty table means that all
benchmark results remained invariant between builds).

Job Properties

Time of benchmarks:

Target: 12 Apr 2021 - 19:21
Baseline: 12 Apr 2021 - 19:35

Package commits:

Target: af48ea
Baseline: 09196c

Julia commits:

Target: f9720d
Baseline: f9720d

Julia command flags:

Target: -Cnative,-J/mnt/hd1/opt/julia/1.6.0/lib/julia/sys.so,-g1,--check-bounds=no,--threads=2
Baseline: -Cnative,-J/mnt/hd1/opt/julia/1.6.0/lib/julia/sys.so,-g1,--check-bounds=no,--threads=2

Environment variables:

Target: None
Baseline: None

Results
A ratio greater than 1.0 denotes a possible regression (marked with :x:), while a ratio less
than 1.0 denotes a possible improvement (marked with :white_check_mark:). Only significant results - results
that indicate possible regressions or improvements - are shown below (thus, an empty table means that all
benchmark results remained invariant between builds).

I can't add the -pre suffix here since all commits will be squashed. We can still push such a suffix to main after this PR is merged.

I can't add the -pre suffix here since all commits will be squashed. We can still push such a suffix to main after this PR is merged.

No, I realize that the -pre here will be squashed, that's ok. I was just surprised to see that we don't have a -pre version in the current main and thought that there was a change in the way we handle version updates.

There was a time when we had lots of nice PRs that were all supposed to be released immediately after merging them. Since we introduced squas-merges, we basically had a commit history of the form

merge PR
bump version for release
add pre-release suffix
repeat...

Since we made a new release for every push to main, there was no point in adding the pre-release suffix and I didn't continue to do it every time. Maybe I should start again adding it...


azurecli: pyhton process in vscode high cpu usage

VSCode Version: 1.40.2
OS Version: Windows10 v1909 Build 18363.476

Steps to Reproduce:

install or have installed azurecli on windows (typically : C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2
install or have installed azureclitools in vscode
create or edit file named *.azcli

Result: subprocess Visualstudiocode\python(32bit) located at C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe take 25-50% cpu all time even if file *.azcli is closed
when vscode restarted and no *.azcli is opened cpu is allright

Does this issue occur when all extensions are disabled?: No
if i disable extension "azure Cli tools" cpu is ok and when i re-enable it, python(32bit) is back at 40%cpu : \

Please file issue against the extension that is causing this.


Hard disk problem

Windows build number: Microsoft Windows [version 10.0.19041.388]
Windows Terminal version (if applicable): 1.2.2022.0

just do 'cd E(another hard disk):/'

when we try to do cd E:/ it doesn't change the path

This is how the command prompt has always worked in Windows, and this behavior has its roots in MS-DOS 1
See more here.

its strange because in the normal terminal it works fine


Notifee seems to be stopping a foreground service.

Hi there,
I am facing an issue where I have a service running, which allows the user to connect the device with a computer via Bluetooth and log in into it. Everything works as expectel until the mobile device receives a notification in background to log in into the computer, then I show 2 actions in the notification. If the user clicks yes, I open the app passing the launchActivity parameter with the 'default' value. If the user clicks 'no', the app remains in background, but the service gets stopped and the connection with the computer drops.
Here's the code I pass to the notification when I create it.
actions: [
          {
            title: i18n.t('yes'),
            pressAction: { id: AUTH_NOTIFICATION_ACTION_ALLOW, launchActivity: 'default' },
          },
          {
            title: i18n.t('no'),
            pressAction: { id: AUTH_NOTIFICATION_ACTION_REJECT },
          },
        ],

I also have this in my manifest:
    <service
      android:name="com.age.sdk.bluetooth.BluetoothService"
      android:stopWithTask="true"/>

However, I don't want to stop the service when the user just rejects a login request from the computer. Be aware that if I pass launchActivity: 'default' when the user clicks "no", everything works as expected, but the app appears in the foreground instead of staying in the background.
Any idea?

I suppose a flag can prevent that behaviour
https://notifee.app/react-native/reference/androidlaunchactivityflag