When index rebuild takes longer than 10 minutes, the index gets rebuilt again (and again)

Changes in 1.9 mean that the index rebuild indexes everything in one go. This is great, as you no longer have to wait ages for the rebuild, but it also means that the rebuild call can take a large (and arbitrary) amount of time, depending on how many content items you have to index.
Currently, when an index rebuild is kicked off, the DefaultLockFileManager is used to create a lock file, which times out after 10 mins, via it's Expiration property. If you have a large number of content items, this is not be enough time for the rebuild to complete, so the e.g. Search.settings.xml will not have been written yet. That being the case, after 10 mins the job/scheduled task will find no file lock, and have no xml file to read (i.e. no LastContentId to start from), and therefore start a full rebuild again, and you might end up with a permanent rebuild loop.
A quick-fix is to increase the Expiration to e.g. 30 minutes, but as it's an arbitrary length of time that is likely to need increasing over time with more content items (it will also vary depending on server load, environment etc.), this is not a good solution. Also the DefaultLockFileManager will be used elsewhere (tbh, the Expiration property should possibly be promoted to a public property of the interface so you can tune it to different process lengths? but I digress...)
I really like the rebuild-in-one-go improvements, but I think maybe the locking here needs a rethink? Or alternatively, the rebuild process could write out to the index and xml file more often to update the LastContentId (this may be desired anyway, in case a long rebuild gets interrupted).

The solution is that the indexing loop should renew/slide the expiration.

@sebastienros  would you please tell me how to renew the expiration in the loop?

If you look where the lock is acquired, right after this there should be a loop to process the content items. At that point, whenever progress is done (in the loop) use the lock API to extend the lease.

I just took a look at the code, and the lock file is created out of the method which contains the loop.
We need to pass the lock file object to the method running the loop here: https://github.com/OrchardCMS/Orchard/blob/dev/src/Orchard.Web/Modules/Orchard.Indexing/Services/IndexingTaskExecutor.cs#L134
This way we can extend the lease every time a content item is processed. But this also requires a new 'Renew' method on the ILockFile interface.


add screenStyle and widgetStyle to Styles and StylesType

Resolve #40
Changes:

add screenStyle and widgetStyle to Styles and StylesType

@natysoz have u review this PR?


Bug fixes

null length should error
add parentAttribute in errors
add .[] dependent key in has-many
extend dependents from base validator

Null or undefined value in length validator should be invalid
I assume ember-cp-validations follows semver. How is this not a breaking change?

@aalimovs that was my mistake. Ill add upgrade notes to the release. Please use allowBlank to allow null or undefined values.


[jsi] align pointer casting

Summary
there's an inconsistency for pointer casting between isHostObject and getHostObject / asHostObject. is it intentionally? by some chances i came across an issue where dynamic_pointer_cast returns null, maybe we can align the pointer casting implementation.
Changelog
[General] [Changed] - Align JSI isHostObject pointer casting as getHostObject and asHostObject
Test Plan
ci passed

This is intentional. isHostObject<T> tells you whether the object is a HostObject and whether the type it points to is T. The dynamic_pointer_cast performs the latter check. If the type is not T, the cast will return nullptr and isHostObject will evaluate to false. Changing this to static_pointer_cast will mean that we are no longer checking for the correctness of the type.
In the case of getHostObject<T>, a static cast is fine because we are already asserting that isHostObject<T> is true, so the object must be of the correct type. Similarly, in asHostObject, we are first validating that isHostObject<T> is true, so the conversion is safe.


Mention the new Open Source project sell-your-saas

I think you should mention the open source project https://github.com/eldy/sellyoursaas in your resources.
It is the first (and only project) that offer a full working solution to your saas application (from marketing, deployement of customer instances  to accountancy). 100% of the need is covered so you can start a saas business in only 2 or 3 days.
Just take a look: https://www.sellyoursaas.org

Hey, thanks for submitting. It seems like a huge project, please help me to understand it a bit more.
Is it correct that this is a platform where to put your existing SaaS product to manage the deployment and other DevOps things, rather than a tool for actually building a company from scratch?
Sorry if I misunderstood, I found the website not very clear since I'm not an expert in DevOps.

It is both:
"a platform where to put your existing SaaS product to manage the deployment and other DevOps things"
and also a tool to
"building a company from scratch"

Wow, it's very impressive. I'll add it now 😁


I am using the latest Android Studio 2.2.3 and i have added the proguard-rules.pro also, i got the following errors.

Warning:butterknife.compiler.ButterKnifeProcessor: can't find superclass or interface javax.annotation.processing.AbstractProcessor
Warning:butterknife.compiler.ButterKnifeProcessor$IdScanner: can't find superclass or interface com.sun.tools.javac.tree.TreeScanner
Warning:butterknife.compiler.ButterKnifeProcessor$RClassScanner: can't find superclass or interface com.sun.tools.javac.tree.TreeScanner
Warning:butterknife.compiler.ButterKnifeProcessor$VarScanner: can't find superclass or interface com.sun.tools.javac.tree.TreeScanner
Warning:com.google.auto.common.AnnotationValues$1$1: can't find superclass or interface javax.lang.model.util.SimpleAnnotationValueVisitor6
Warning:com.google.auto.common.AnnotationValues$1$1$1: can't find superclass or interface javax.lang.model.util.SimpleAnnotationValueVisitor6
Warning:com.google.auto.common.AnnotationValues$1$1$2: can't find superclass or interface javax.lang.model.util.SimpleAnnotationValueVisitor6
Warning:com.google.auto.common.AnnotationValues$1$1$3: can't find superclass or interface javax.lang.model.util.SimpleAnnotationValueVisitor6
Warning:com.google.auto.common.AnnotationValues$1$1$4: can't find superclass or interface javax.lang.model.util.SimpleAnnotationValueVisitor6
Warning:com.google.auto.common.AnnotationValues$1$2: can't find superclass or interface javax.lang.model.util.SimpleAnnotationValueVisitor6
Warning:com.google.auto.common.BasicAnnotationProcessor: can't find superclass or interface javax.annotation.processing.AbstractProcessor
Warning:com.google.auto.common.BasicAnnotationProcessor$2: can't find superclass or interface javax.lang.model.util.SimpleElementVisitor6
Warning:com.google.auto.common.MoreElements$1: can't find superclass or interface javax.lang.model.util.SimpleElementVisitor6
Warning:com.google.auto.common.MoreElements$2: can't find superclass or interface javax.lang.model.util.SimpleElementVisitor6
Warning:com.google.auto.common.MoreElements$3: can't find superclass or interface javax.lang.model.util.SimpleElementVisitor6
Warning:com.google.auto.common.MoreElements$4: can't find superclass or interface javax.lang.model.util.SimpleElementVisitor6
Warning:com.google.auto.common.MoreTypes$15: can't find superclass or interface javax.lang.model.util.SimpleTypeVisitor6
Warning:com.google.auto.common.MoreTypes$16: can't find superclass or interface javax.lang.model.util.SimpleTypeVisitor6
Warning:com.google.auto.common.MoreTypes$2: can't find superclass or interface javax.lang.model.util.SimpleTypeVisitor6
Warning:com.google.auto.common.MoreTypes$3: can't find superclass or interface javax.lang.model.util.SimpleTypeVisitor6
Warning:com.google.auto.common.MoreTypes$4: can't find superclass or interface javax.lang.model.util.SimpleTypeVisitor6
Warning:com.google.auto.common.MoreTypes$5: can't find superclass or interface javax.lang.model.util.SimpleTypeVisitor6
Warning:com.google.auto.common.MoreTypes$CastingTypeVisitor: can't find superclass or interface javax.lang.model.util.SimpleTypeVisitor6
Warning:com.google.auto.common.SuperficialValidation$1: can't find superclass or interface javax.lang.model.util.AbstractElementVisitor6
Warning:com.google.auto.common.SuperficialValidation$2: can't find superclass or interface javax.lang.model.util.SimpleTypeVisitor6
Warning:com.google.auto.common.SuperficialValidation$3: can't find superclass or interface javax.lang.model.util.SimpleAnnotationValueVisitor6
Warning:com.google.auto.service.processor.AutoServiceProcessor: can't find superclass or interface javax.annotation.processing.AbstractProcessor
Warning:com.squareup.javapoet.AnnotationSpec$Visitor: can't find superclass or interface javax.lang.model.util.SimpleAnnotationValueVisitor7
Warning:com.squareup.javapoet.JavaFile$2: can't find superclass or interface javax.tools.SimpleJavaFileObject
Warning:com.squareup.javapoet.TypeName$1: can't find superclass or interface javax.lang.model.util.SimpleTypeVisitor7
Warning:butterknife.compiler.BindingClass: can't find referenced class javax.lang.model.element.Modifier
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.AbstractProcessor
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced field 'javax.annotation.processing.ProcessingEnvironment processingEnv' in program class butterknife.compiler.ButterKnifeProcessor
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class com.sun.source.util.Trees
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.RoundEnvironment
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Modifier
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.ElementKind
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeKind
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeVariable
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeKind
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeKind
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.ArrayType
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.DeclaredType
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeKind
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeKind
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.util.Types
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.ExecutableElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.ElementKind
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.ExecutableElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.VariableElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.DeclaredType
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.ElementKind
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeKind
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Modifier
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeKind
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.SourceVersion
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.tools.Diagnostic$Kind
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.Messager
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.util.Elements
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.PackageElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.AnnotationMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.ExecutableElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class com.sun.source.util.Trees
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class com.sun.tools.javac.tree.JCTree
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.util.Elements
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.MirroredTypeException
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.util.Types
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class com.sun.source.util.Trees
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.VariableElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.AbstractProcessor
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.RoundEnvironment
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.DeclaredType
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.ArrayType
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.ExecutableElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.VariableElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.tools.Diagnostic$Kind
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.MirroredTypeException
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class com.sun.tools.javac.tree.JCTree
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class com.sun.source.util.Trees
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.RoundEnvironment
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Modifier
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.ElementKind
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeKind
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.util.Types
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.SourceVersion
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.Messager
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.util.Elements
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.PackageElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.tools.Diagnostic
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class com.sun.tools.javac.tree.JCTree$Visitor
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.util.Elements
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.util.Types
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.Filer
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class com.sun.source.util.Trees
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.RoundEnvironment
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.RoundEnvironment
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.RoundEnvironment
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.RoundEnvironment
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.RoundEnvironment
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Modifier
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeVariable
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.ArrayType
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.DeclaredType
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeVariable
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.ArrayType
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.RoundEnvironment
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.RoundEnvironment
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.RoundEnvironment
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeVariable
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.VariableElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.ExecutableElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.VariableElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.DeclaredType
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.TypeMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.SourceVersion
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.tools.Diagnostic$Kind
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.tools.Diagnostic$Kind
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.AnnotationMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.ExecutableElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.AnnotationMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.AnnotationMirror
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.RoundEnvironment
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class com.sun.tools.javac.tree.JCTree
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.annotation.processing.RoundEnvironment
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.type.MirroredTypeException
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class com.sun.tools.javac.tree.JCTree
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.TypeElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.VariableElement
Warning:butterknife.compiler.ButterKnifeProcessor: can't find referenced class javax.lang.model.element.Element

Your dependency isn't set up correctly. Please see the README for instructions on what your build.gradle should look like.


Upgrade pulsar-client-go to 0.8.1

Pulsar Client Go 0.8.1 contains important bug fixes

release notes: https://github.com/apache/pulsar-client-go/releases

The failure is because if permission of push code coverage is because of PR from a fork. A regular PR should work. But I added more changes to upgrade all the dependencies and upgrade to go 1.17
https://github.com/datastax/pulsar-heartbeat/pull/36


resnet:  41 epoch with SGD w/ polynomial learning rate decay.

Please share the HPs via the PR 390 @jonathan-cohen-nvidia

What PR are you referring to?

It seems that claims have been made that resnet SGD can converge in 41 epochs. People are interested in how that is possible; are there HPs.
We allowed resnet SGD + poly because of claims it was really good. We would like to see the HPs that make it really good.
AI(NV) see what you can share.

@jonathan-cohen-nvidia  https://github.com/mlperf/training/pull/390

Here are HPs that work well for SGD + Poly LR.
| LR | Mom | WD | Warmup | Total epochs | Expected convergence
-- | -- | -- | -- | -- | -- | --
BS ~1.6k | 3 | 0.9 | 0.000025 | 3 | 41 | 40
BS ~3.2k | 6 | 0.9 | 0.000025 | 5 | 42 | 41
In official HP speak:
BS -> global_batch_size
LR -> sgd_opt_base_learning_rate
Mom -> sgd_opt_momentum
WD -> sgd_opt_weight_decay
Warmup -> opt_learning_rate_warmup_epochs
Total Epochs -> sgd_opt_learning_rate_decay_steps
sgd_opt_learning_rate_decay_poly_power -> Must be set to 2 according to the rules
sgd_opt_end_learning_rate -> According to the rules it must be 0.0 or 0.0(...)01, doesn't make any difference

Perfect, thank you @jonathan-cohen-nvidia !

SWG:
Reported to be closable.

During HP borrowing, can we borrow LARS optimizers when you use SGD or vice versa.

Yes.  Since that's officially a HP, it is allowed to switch to a different optimizer during HP borrowing.  We explicitly discussed this & agreed it should be allowed.

Ok. Let's document this.

Clarify in the rules, if not already there, that Optimizer is an HP which can be borrowed/stolen.

SWG:
Clarify in the rules, if not already there, that Optimizer is an HP which can be borrowed/stolen.


Update CONTRIBUTING.md

Fixed broken links.

This change is

Current coverage is 80% (diff: 100%)

Merging #1656 into master will decrease coverage by <1%

@@             master      #1656   diff @@
==========================================
  Files           273        273
  Lines         16727      16727
  Methods        2660       2660
  Messages          0          0
  Branches       1843       1843
==========================================
- Hits          13406      13394    -12
  Misses         2902       2902
- Partials        419        431    +12

Powered by Codecov. Last update e7fee59...d9a50c2

Thanks!


Editor freezes

I was using r4intellij today to edit an R file, and it was very frustrating: I could type for maybe 30 seconds, but then the editor would just freeze.  Not crash, or do anything crazy, but the cursor would disappear and I could do no work.  Then after maybe a minute, it would unfreeze.  I could do another 30 seconds of work before it would freeze again.  This cycle repeated many times before I abandoned trying to edit the R file in IntelliJ and simply used a text editor (TextPad).
I have no idea what r4intellij was doing during those freeze times.  Any advice for how I could probe deeper?
I am using the latest released version of the r4intellij  plugin (version 1.0.8).
I am using the latest released version of IntelliJ (version 2017.3.4).  I never saw this freezing issue with previous versions of IntelliJ, and I think that I just upgraded to 2017.3.4 last week, so perhaps this is the culprit?
My machine is a Windows 10 64 bit Pro box.

Never, experienced such a problem (but I'm using macos so windows might be different). You could use "help->log" to locate threadDump and attach it to this thread. But typically JetBrains support are more able to decipher those files, so you may want to ask them directly.


About us section improvement #28

…the card height issue is solved
Thank you for your contribution 🤩🤩

Please mention the following in order to get PR merged  🙌🏻🙌🏻

Kind of change this PR introduce :
Issue it resolves :
Screenshots & GitHub Page Link :

@SO1ee  Create issues first, then the PR, follow the PR template. Resolve the merge conflicts.

Okay . I am trying to solve the conflicts

!. It will only change the about us section 2.It fixed the height issue of the Network card on about us section and for every card on the about us section i have added animation . 3.https://github.com/SO1ee/Blood-Buddy

Don't provide the link for the forked repo, but the GitHub page of this repo forked from your end. @SO1ee

Okay

It will only change the about us section
2.It fixed the height issue of the Network card on about us section and for every card on the about us section i have added animation .
3.https://github.com/2024-SANDHYA/Blood-Buddy

If any modification is needed please let me know.

If any modification is needed please let me know.

@SO1ee Neither I  want the repo link nor do I want the link of the existing website that's in the repo,  but the link for the changes that you made, so provide the GitHub page link for the changes that you have made.

oh! now i have got it

It will only change the about us section
2.It fixed the height issue of the Network card on about us section and for every card on the about us section i have added animation .
3.https://so1ee.github.io/Blood-Buddy/

@SO1ee  Please make all three even.

It is even at my end

Conflicts resolved

It's not @SO1ee  😅

Hey ! Could you please guide me how to solve this conflict?

@SO1ee  refer this https://www.atlassian.com/git/tutorials/using-branches/merge-conflicts


Save the trained model

Once we have trained the model we can save the trained model and open it in a new notebook.

@EiffL I tried saving the trained model (I think the model is called simsiam but correct me if I'm wrong) using the following code after the training step:
model = simsiam
model.save("/content/my_model")

But I get the following error:
WARNING:tensorflow:Skipping full serialization of Keras layer <__main__.SimSiam object at 0x7f5e0925ac10>, because it is not built.
WARNING:tensorflow:Skipping full serialization of Keras layer <__main__.SimSiam object at 0x7f5e0925ac10>, because it is not built.
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
[<ipython-input-38-bf6d68dc379e>](https://localhost:8080/#) in <module>()
      1 get_ipython().system('pwd')
      2 model = simsiam
----> 3 model.save("/content/my_model")

1 frames

[/usr/local/lib/python3.7/dist-packages/keras/saving/saving_utils.py](https://localhost:8080/#) in raise_model_input_error(model)
     83 def raise_model_input_error(model):
     84   raise ValueError(
---> 85       f'Model {model} cannot be saved because the input shapes have not '
     86       f'been set. Usually, input shapes are automatically determined when '
     87       f'calling `.fit()` or `.predict()`. To manually set the shapes, call '

ValueError: Model <__main__.SimSiam object at 0x7f5e0925ac10> cannot be saved because the input shapes have not been set. Usually, input shapes are automatically determined when calling `.fit()` or `.predict()`. To manually set the shapes, call `model.build(input_shape)

Do you have any idea how I could solve it? I tried looking up the error but it got me more confused :)
I also tried model=history since the definition of history calls simsiam.fit but if I do that it returns:
AttributeError: 'History' object has no attribute 'save'


False positive validation of LWC

Summary
When attempting a push an invalid LWC, sfdx shows a success message with a list of files changed although deployment has failed and files have changed in the org.
Steps To Reproduce:

create an LWC component with invalid markup:
<template>
<p<>1234567

</template>

push using the command:
sfdx force:source:push --json

Expected result
Error message
Actual result
The outcome - success with list of changed files, although nothing changed:
{
"status": 0,
"result": {
"pushedSource": [
{
"state": "Changed",
"fullName": "betaComponent1",
"type": "LightningComponentBundle",
"filePath": "/Users/danklein/workspace/Singletrack-Core/SingletrackDev/singletrack/main/default/lwc/betaComponent1/betaComponent1.css"
},
{
"state": "Changed",
"fullName": "betaComponent1",
"type": "LightningComponentBundle",
"filePath": "/Users/danklein/workspace/Singletrack-Core/SingletrackDev/singletrack/main/default/lwc/betaComponent1/betaComponent1.html"
},
{
"state": "Changed",
"fullName": "betaComponent1",
"type": "LightningComponentBundle",
"filePath": "/Users/danklein/workspace/Singletrack-Core/SingletrackDev/singletrack/main/default/lwc/betaComponent1/betaComponent1.js"
},
{
"state": "Changed",
"fullName": "betaComponent1",
"type": "LightningComponentBundle",
"filePath": "/Users/danklein/workspace/Singletrack-Core/SingletrackDev/singletrack/main/default/lwc/betaComponent1/betaComponent1.js-meta.xml"
}
]
}
}
System Information
bash

If you are using sfdx

Run sfdx version --verbose --json

If you are using sf

Run sf version AND sf plugins --core

Paste the output here
-{
"cliVersion": "sfdx-cli/7.155.1",
"architecture": "darwin-x64",
"nodeVersion": "node-v16.15.1",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.3.1 (core)",
"@oclif/plugin-not-found 1.2.6 (core)",
"@oclif/plugin-plugins 1.10.11 (core)",
"@oclif/plugin-update 1.5.0 (core)",
"@oclif/plugin-warn-if-update-available 1.7.3 (core)",
"@oclif/plugin-which 1.0.4 (core)",
"@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)",
"alias 2.0.1 (core)",
"apex 0.13.0 (core)",
"auth 2.1.0 (core)",
"community 2.0.0 (core)",
"config 1.4.12 (core)",
"custom-metadata 2.0.0 (core)",
"data 2.0.3 (core)",
"generator 2.0.1 (core)",
"info 2.0.1 (core)",
"limits 2.0.1 (core)",
"org 1.13.2 (core)",
"salesforce-alm 54.5.1 (core)",
"schema 2.1.1 (core)",
"sfdx-cli 7.155.1 (core)",
"signups 1.1.2 (core)",
"source 1.10.2 (core)",
"telemetry 2.0.0 (core)",
"templates 54.8.0 (core)",
"trust 2.0.0 (core)",
"user 2.0.2 (core)"
],
"osVersion": "Darwin 21.5.0"
}

Additional information
important to note:

if pushing without --json flag, (sfdx force:source:push), error message appears as expected
the issue happens in scratch orgs created with namespace

Hello, was this working on a previous version of the CLI ? if so which one ?

@maggiben it is, v 7.132.0 has no issue

I've introduced an HTML error in our demo dreamhouse-lwc and I got these results:

and with --json

Maybe you can provide us with an org to reproduce this error, thanks !

@maggiben did you try the exact example that was provided in the description, i.e., a brand new LWC component with the following HTML body:
<template>
<p<>1234567

</template>

I'm able to reproduce it with that against pretty much any org.
PS: I'm lurking on this issue because this was originally asked in the context of IC2 but since it was reproducible by both of us using only the CLI, I asked that an issue be opened here.

I created a new component and try pushing, Im still getting an error:

I noticed that In the example above I was nesting caseTest inside force-app/main/default/lwc/caseTest like so: force-app/main/default/lwc/caseTest/caseTest and It did not found the error.
However when I moved it back one folder up: force-app/main/default/lwc/caseTest deploy went by without noticing the error as you described.
I'll report it as a bug.

@SCWells72 @dankleinsingletrack I'm following your steps exactly and am on sfdx-cli/7.158.1 darwin-x64 node-v16.15.1 but can't reproduce the error
<template>
  <p<>1234567

</template>

I've also tried pushing a valid version up and then changing it to be bad, and still get the same (good) error.
Can you update the CLI (plugin source is 2.0.x these days) and see if the problem has already been fixed?

@SCWells72 @dankleinsingletrack I've making no progress with this.  I made a repro-repo
https://github.com/mshanemc/gh1602-bad-lwc-validation

does it fail for you?
if not, is there anything obviously different between my repo and your setup?

@mshanemc I've cloned and attempted to repro using your repo.
It didn't fail. I noticed that you don't have namespace specified in sfdx-project.json
Added namespace, created a new scratch org and managed to repro

OK, so the namespace is the key.  I wasn't using it based on what @SCWells72 said

I'm able to reproduce it with that against pretty much any org.

Thanks for checking!

@mshanemc For what it's worth, I can (or at least could; I haven't tried since the last time I responded here) reproduce this against a non-namespace org. However, if you find that you can reproduce this against a namespace org, hopefully that will lead you to the more general issue and solution.

I found the bug and we're gonna get this out today in RC

Interesting. I just brought up the same project that reproduced this on June 30 against the latest-and-greatest CLI at that point and it no longer reproduces for me. Oh well...


FIX: Scipy docs path

this should probably just wait for scipy docs to become stable again

Codecov Report

Merging #681 (563357f) into master (352b190) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #681   +/-   ##
=======================================
  Coverage   48.00%   48.00%
=======================================
  Files          45       45
  Lines        5702     5702
  Branches      810      810
=======================================
  Hits         2737     2737
  Misses       2869     2869
  Partials       96       96

Flag
Coverage Δ

reportlettests
∅ <ø> (∅)

unittests
48.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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 352b190...563357f. Read the comment docs.


Graylog-core docker Java error "Error creating converter for d | Could not initialize class sun.util.calendar.ZoneInfoFile"

(it this the correct issues tracking?)
Please see a full stacktrace here: https://github.com/Graylog2/graylog2-server/issues/20871
Windows10 WSL2 and docker compose gives a java error on startup and exited, mongodb+datanode components started successfully.
I disabled a graylog restart flag so that an output console did not repeate an error messages.
Compose script taken from and also tested additional script, uses a graylog:graylog:6.1 image.
https://github.com/Graylog2/docker-compose/blob/main/open-core/docker-compose.yml
https://go2docs.graylog.org/current/downloading_and_installing_graylog/docker_installation.htm
Versions:
$ docker --version
Docker version 24.0.7, build 24.0.7-0ubuntu2~22.04.1
$ docker compose version
Docker Compose version v2.30.1
$ docker-compose version
docker-compose version 1.29.2, build unknown
docker-py version: 5.0.3
CPython version: 3.10.12
OpenSSL version: OpenSSL 3.0.2 15 Mar 2022
$ cat /proc/sys/vm/max_map_count
262144
Log-in to a graylog(entrypoint changed to sleep N sec) show a valid jvm in an image.
$ docker-compose exec graylog bash
$ java -version
openjdk version "17.0.12" 2024-07-16
$ docker compose build && docker compose up
graylog-1   | 2024-11-04T10:41:28.132899974Z main ERROR Error creating converter for d java.lang.reflect.InvocationTargetException
graylog-1   |   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
graylog-1   |   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
graylog-1   | Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.util.calendar.ZoneInfoFile
graylog-1   |   at java.base/sun.util.calendar.ZoneInfo.getTimeZone(Unknown Source)
graylog-1   |   at java.base/java.util.TimeZone.getTimeZone(Unknown Source)
graylog-1   |   at java.base/java.util.TimeZone.setDefaultZone(Unknown Source)
graylog-1   |   at java.base/java.util.TimeZone.getDefaultRef(Unknown Source)

Please see a full stacktrace here:
https://github.com/Graylog2/graylog2-server/issues/20871

I put the additional timezone attributes if it was to do with ZoneInfoFile errors but no help.
GRAYLOG_MESSAGE_JOURNAL_ENABLED: "false"
GRAYLOG_REPORT_DISABLE_SANDBOX: "true"
GRAYLOG_TIMEZONE: "Europe/Helsinki"
GRAYLOG_ROOT_TIMEZONE: "Europe/Helsinki"
GRAYLOG_TZ: "Europe/Helsinki"


[FEATURE] add better error message if trust config exists in global account

What area do you want to see improved?
terraform provider
Is your feature request related to a problem? Please describe.
If a user wants to create a trust configuration for a global account, and the account already has a trust configuration, the TF provider currently throws the following message:
Error: API Error Creating Resource Trust Configuration (Global Account)               with btp_globalaccount_trust_configuration.uut,               on terraform_plugin_test.tf line 9, in resource "btp_globalaccount_trust_configuration" "uut":                9: resource "btp_globalaccount_trust_configuration" "uut" {             invalid character 'L' looking for beginning of value
See as well https://github.com/SAP/terraform-provider-btp/pull/188
Describe the solution you would like
If a user wants to create a trust configuration for a global account, and the account already has a trust configuration, the TF provider should throw a message like e.g.
can't create trust configuration for platform users in global account, as it is already set
Describe alternatives you have considered
No response
Additional context
No response

We had a similar issue already with resource providers (see NGPBUG-350117). This issue is likely caused by the underlying service and has to be reported to them.


Stylesheet update for new CRs generated via Mauro

When CRs are generated via Mauro the stylesheet for CRs needs updating to include NHS styling, e.g. NHS Logo, ISO Logo.

14/1/22 - discussed with Bob. Once we have CR Dita from James, I will run through Oxygen and send the output to Data Products via a Jira ticket.

CR Dita has been provided by James. I have tested it in Oxygen.
James is going to do some work on the stylesheet before I speak to Marcus.

Meeting with James and Marcus planned for 8/2/22.

James met with Marcus 8/2/22 and has a few changes to make. James will provide a further example when he has made the changes.

15/2/22 - James is still working on this and will provide a further example when he has made the changes.

James to generate CR1818 for us to look at.

There is an issue with strikethrough that we were going to discuss with Cath but she has recently been unavailable for Mauro meetings.
This will need addressing if the project restarts.

Steve has said that Data Solutions will be responsible for this so he needs to ensure it is documented in their work package.

Steve is now working on the Stylesheets.
A draft CR has been produced by Likin.
It has been referred to Steve with

What was generated for the same CR in Together
A CR from before the project was paused a couple of years ago.

We seemed to have taken a step backwards on this.
It may be time to review the styling moving forward as this is a new product.

Why do you say we have gone backwards?  The stylesheets I wrote 2 years ago are in this repository:  https://github.com/NHSDigital/DITAStyleSheets

1915-16-07-2024.pdf
This is what was produced by Likin.
I just wanted to make the point that this isn't as good as we had before.
Steve is working on this.

Likin just needs to use the 'NHS Data Dictionary (CR pdf).opt' template in the configuration when he generates the PDF.

Sorry James, I have told Steve that. He wants to deal with it.

I have advised Steve that a couple of changes are required to the stylesheet:

Replace the NHS Digital logo with the NHS logo (this is what we have on the current CRs)
Remove the ISO logo as NHS England have withdrawn from ISO.

Also, a discussion is required with Nick and Naresh on the styling. Is the new CR fit for purpose?

Peter has identified a potential solution to the missing strikethrough issue.  Steve & Likin to review & test the code before implementing in our CSS/LESS stylesheets.


Implement the admission server

We should implement an admission server in the apisix ingress controller to validate configurations like plugins. But for now, we don't have a way to validate each plugins unless we have the json schema data.

I'm working on this, assign it to me, please.

I did a research and found three ways to implement this:

The hand-crafted solution：implement the server with net/http or gin, verbose and time-consuming, but most flexible.
openshift/generic-admission-server: it is simpler to set up but more opinionated (e.g. you can’t select the server framework). It is worth noting that the framework uses TLS authentication and authorization mechanisms which are built into the Kubernetes aggregated API server library, which means that webhooks are secure by default. Using this library allows you to avoid the complication of creating and maintaining a client key and certificate for each webhook server; you only need to maintain a server key and certificate for each webhook server. And by using this library your webhook will also perform authorization which uses Kubernetes' own SubjectAccessReview and RBAC mechanisms.
kubewebhook:  the setup code at the beginning is longer,  but writing the actual business logic is much easier. More flexible than openshift/generic-admission-server.

Reference: https://banzaicloud.com/blog/slok-webhook/
Could you give some advice that which way should I take ? Thanks.

I did a research and found three ways to implement this:

The hand-crafted solution：implement the server with net/http or gin, verbose and time-consuming, but most flexible.
openshift/generic-admission-server: it is simpler to set up but more opinionated (e.g. you can’t select the server framework). It is worth noting that the framework uses TLS authentication and authorization mechanisms which are built into the Kubernetes aggregated API server library, which means that webhooks are secure by default. Using this library allows you to avoid the complication of creating and maintaining a client key and certificate for each webhook server; you only need to maintain a server key and certificate for each webhook server. And by using this library your webhook will also perform authorization which uses Kubernetes' own SubjectAccessReview and RBAC mechanisms.
kubewebhook:  the setup code at the beginning is longer,  but writing the actual business logic is much easier. More flexible than openshift/generic-admission-server.

Reference: https://banzaicloud.com/blog/slok-webhook/
Could you give some advice that which way should I take ? Thanks.

I look through these two packages, I like the features provided by kubewebhook like the metrics integration, I'd like to vote for it. BTW, do you know which admission server frameworks are used by other famous ingress controllers or service mesh control plane?

kubewebhook: the setup code at the beginning is longer, but writing the actual business logic is much easier. More flexible than openshift/generic-admission-server.

It's not a problem as we already have a HTTP server managed by go-gin.

I look through these two packages, I like the features provided by kubewebhook like the metrics integration, I'd like to vote for it.

Ok, I will use it.

BTW, do you know which admission server frameworks are used by other famous ingress controllers or service mesh control plane?

I just look through go.mod files of ingress controllers mentioned in this file and find neither of these frameworks is being used.

This feature has been implemented #573, and I will close this issue. Feel free to reopen it, if you have any question.


Help Error

$ python pokecli.py -cf ./configs/config.json_tut.example
Traceback (most recent call last):
File "pokecli.py", line 46, in
from pokemongo_bot import inventory
File "C:\Users\troy112233l\Desktop\Pokemon Botters\PokemonGo-Bot\pokemongo_bot_init_.py", line 22, in
from api_wrapper import ApiWrapper
File "C:\Users\troy112233l\Desktop\Pokemon Botters\PokemonGo-Bot\pokemongo_bot\api_wrapper.py", line 12, in
from pgoapi.protos.POGOProtos.Networking.Requests.RequestType_pb2 import RequestType
ImportError: No module named RequestType_pb2

Please use issue template


Stats error in LenetTraining example

Stats error in LenetTrainingExample, caused by stats usage change in SceneInitializer.

Fixed by checking existence Stats type before import sentence.

@BoTime The usage of Stats in sceneInitializer seems a little bit weird, maybe need further discussion.


content view scrolling

i do a background operation for ui update. when i scrolling the content view it stuck in the middle of two months. i have also tried dispatch async. Please give me a solution

me too


mixed content on stats page

[x] Check you are using the LATEST release or the development branch.
[x] Make sure you have SEARCHED existing issues first.
[x] Read the GUIDELINES linked in the yellow notice box above.
[x] COMPLETE this issue template.

Technical details regarding my environment

YOURLS version: 1.7.2
Plugins enabled: none
PHP version: 5.5.9
Any other useful information depending on context (server OS & version, MySQL version, browser version, …)
OS: Ubuntu 14.04.5 LTS
nginx/1.4.6

Bug description

Mixed Content: The page at 'https://domain.name/url+' was loaded over HTTPS, but requested an insecure image 'http://www.google.com/s2/favicons?domain=domain.name'. This content should also be served over HTTPS.
A similar issue and similar server setup like https://github.com/YOURLS/YOURLS/pull/2167

What is the current behavior?
console throws mixed content on stats page
This is a bug because…

hardcoded url in functions-info.php:243 "http://www.google..."

What is the expected or desired behavior?

Without hard coded protocol and using //link

Debugging summary

I did debug the is_ssl as well,
var_dump($_SERVER['HTTPS']) returns null, despite ssl certificate is set . Thus, is_ssl returns false.

$_SERVER['HTTPS'] not being set properly is a server configuration issue. YOURLS matches protocols when it detects that it's running over HTTPS, so you'd probably be well served to find the configuration problem and fix it. That will prevent other mixed-content errors and such from both YOURLS and any other apps that check whether SSL is enabled.

PS you did not say what you are trying to use https for? Example, some people use https for only the admin area but not the short URLs.  Other people want to use https for both admin and short URLs.  Most people use http for everything!

Most people use http for everything!

Not really, using HTTP without TLS in production is now highly discouraged.

@LeoColomb - Hey Leo, this might make a very good point of discussion.  Let's start with a few quotes...
 Google search for TLS

Transport Layer Security (TLS) – and its predecessor, Secure Sockets Layer (SSL), which is now prohibited from use by the Internet Engineering Task Force (IETF) – are cryptographic protocols that provide communications security over a computer network.

LeoColomb (above) April 14, 2018

using HTTP without TLS in production is now highly discouraged.

Very interesting... "Highly Discouraged" by whom within the YOURLS community?  Do you highly discourage running a YOURLS production site on http Leo?  Are you, Leo, recommending we dump http and only support https with TLS?  I'm serious and after hearing from others, I might be persuaded to get behind that recommendation.
I am working on three YOURLS projects, MultiSite, Full-Fledged Installer and removing Core Constants (Options) from config.pho.  Each of these would be far easier to build and maintain if we dumped support for http and used only https running TLS.
I have a hand full of production sites I plan to use this on that mate WordPress, YouTube and YOURLS for better branding.  The YOURLS sites will be MultiSite and the plan is for nginx, https and TLS.  Therefore, I am really vested in improving YOURLS.
Recent ozh comment Dec 16, 2017

For the record, as of writing, 89.9% of YOURLS install are on http instead of https. The truth is: the vast majority of people just don't care. It's a personal URL shortener, no sensitive data transmitted, it just works, period.

Leo, are you willing to force 89.9% of YOURLS installed sites to switch from http to https and TLS?  That would make my projects easier and clean up some rather clumsy code.  Nonetheless, the real question is, are 89.9% of YOURLS sites "wrong" or "Highly Discouraged" by whom within the YOURLS community?
This is interesting, others please comment?

Is @ozh now "highly discouraging" people from using YOURLS under http?  Last December ozh seemed to indicate that YOURLS under http is what most of the community wanted.  Has there been any change since then?

Using plain HTTP is not "highly discouraged" by anyone associated with YOURLS. The whole web industry is moving toward encrypting everything, motivated by big players like Google giving preferential treatment to HTTPS sites.
Neither @LeoColomb nor @ozh is expressing anything but observations about the shift in the larger web community.

Ha Ha Ha! So if I got it right @dgw You are saying that @LeoColomb comment, that is quoting my comment which is highly specific about the YOURLS community only. And even more specific in that my posts were trying to help the Original Poster with his nginx YOURLS install under https. That this is just a random thought or "observations about the shift in the larger web community."
Wow!
But why did he quote my very YOURLS specific comment with such a random observation that does not help the OP at all?
Leo is a leader in the YOURLS community, so when he makes a blanket statement...

using HTTP without TLS in production is now highly discouraged.

While quoting an extremely YOURLS specific comment, I think it is fair to say that YOURLS developers should take note and pay attention.
On the other hand, @ozh - who is at the very top of the YOURLS community, seems to be saying most of the YOURLS community (89.9% at least) doesn't care about HTTPS or TLS and run their production YOURLS servers on HTTP without TLS.
These are different and opposing positions coming from what arguably could be called the YOURLS community leadership, in posts that are specifically about YOURLS and the YOURLS community.  I think it deserves to be clarified.
Frankly, after studying the YOURLS code for about a year now, I can see where the HTTP/HTTPS code could stand some real improvements (perhaps a total rewrite for https!), that may even help with performance.  But there are more important things that should be worked on.  For example, removing all core constants (except DB) would be a worthy project.  Likewise, the YOURLS code could be greatly improved by getting rid of the core options. (they confuse Noobs, are not needed and are the source of all problem configurations). I have YOURLS demo sites running as a proof of concept, showing the advantages of doing these.

@PopVeKind Please do not try to turn our respective comments in a conflicted position, it's not very kind.
@ozh may report usage statistic regarding YOURLS installation. Yes, maybe a lot of old YOURLS instances keep working on a raw HTTP session or are wrongly configured as HTTP only but now behind a TLS session. (BTW what @ozh said is a fact, not a argument to reject any HTTPS migration)
The thing is the web world is moving over a HTTP-with-TLS-only world, for a many reasons (good and bad ones).
You asked @vineettalwar (sorry for the spam 😅) why he's planning to use HTTPS everywhere, I simply answer you that he may want to follow current guidelines, and that the argument of what people do currently is not what is encouraged today from the whole web ecosystem. 😃

@LeoColomb Thanks Leo for the clarification on your comment.  It may not have appeared that way to you but I was really asking vineettalwar if he planned to use HTTPS for both Admin area and Short URLs, or for the Admin Area Only?
About the whole web ecosystem, I tend to agree with your assessment.  In fact, as soon as I get the MultiSite Plugin running, I will be putting up a few YOURLS sites using nginx and HTTPS.  However, that move is due to our new shop policy and effects hundreds of domains, most do not run YOURLS.

The thing is the web world is moving over a HTTP-with-TLS-only world, for a many reasons.

Do you have an example how to of this?  How to run YOURLS over HTTP-with-TLS?  Or how to run WordPress over HTTP-with-TLS?  I assume TLS will still need an SSL certificate and therefore cannot run on a shared hosting like https://www.pair.com/webhosting/shared.html offers. Likewise, TLS-over-HTTP would still require the delay of the security handshake, which is what some people object to.
I can see why people would want to run WordPress via HTTPS.  For example the visual security clues on the browser. Likewise, SEO experts have begun reporting Google is giving ranking preference to HTTPS.  However, a 301 driven YOURLS site would care little about Google ranking!  Anything on the browser would just be a flash till the Long URL was arrived at.
By the way, the prototype MultiSite Plugin allows parking of domains or protocols.  For example, if you had one site set up to service http://ni.ce/yourls it could be made to service parked domains (without additional redirects):

http://ni.ce/yourls
https://ni.ce/yourls
http://www.ni.ce/yourls
https://www.ni.ce/yourls
http://ti.ny/yourls
https://ti.ny/yourls
http://www.ti.ny/yourls
https://www.ti.ny/yourls

These share the same database and keywords. The above would all go to the same Long URL.
As well as completely different domains with their own database tables and keyword sets. These would go to independent Long URLs as if it was a completely different YOURLS site,

HI,
I have debugged as you suggested earlier by @PopVeKind
Following are the findings.

I have set one example page. with

<php?
var_dump($_SERVER['HTTPS']);

http://example.com/test-one.php -> redirected to https://example.com/test-one.php and value is returned as NULL
https://example.com/test-one.php -> returned NULL as well
Checked user/config.php ->
YOURLS_SITE is set to https://example.com
YOURLS_ADMIN_SSL is set to true
I am using https
I have then debugged using phpinfo() on server.
Found following info  ->
Under PHP variables
 _SERVER["HTTP_X_FORWARDED_PROTO"]  is set to https
Under HTTP Headers section
X-Forwarded-Proto is set to https
Under apache environment section ..
HTTP_X_FORWARDED_PROTO is set to https
Enabled SSL protocols are following:
TLS1.0, TLS1.1, TLS1.2
Regarding the server config: Here nginx is set as a front end server, and apache as backend server. and nginx works as reverse proxy for apache and SSL is set via nginx.

Ah! So you're "just" behind a proxy (nginx here).
A simple plugin can resolve this issue:

<?php
/*
Plugin Name: HTTPS behind a proxy
Plugin URI: https://github.com/YOURLS/YOURLS/issues/2383
Description: This plugin add checks HTTPS when behind a proxy.
Version: 1.0
Author: YOURLS
Author URI: https://yourls.org/
*/

yourls_add_filter('is_ssl', 'proxy_is_secure_forwarded');
function proxy_is_secure_forwarded($is_ssl) {
	return $is_ssl
		|| (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && "https" == $_SERVER['HTTP_X_FORWARDED_PROTO']);
}

Thanks for helping to solve the issue.

Nope, It doesn't work unfortunately.  - Page is stuck in redirect loop, after this.
This page isn’t working
example.com redirected you too many times.

So, this is how it is solved, documenting for others for reference.

culprit was yourls_admin_ssl define in config.php
As soon, as I removed it, redirect loop was gone.
Then, activated. above plugin, this fixes the issue....
Both admin area and short urls works on ssl perfectly.

@vineettalwar - Thanks Vineet for returning with your solution.
I was looking at that the other day and wondering about it.
See HTTPS Plugin Development #2391
YOURLS_SITE can be set to http:// or https:// and seems to affect the whole site ShortURLs and Admin
YOURLS_ADMIN_SSL seems to be if someone uses http:// in YOURLS_SITE (for ShortURLs but wants to use https:// for the Admin area only.
I wondered what would happen if both were set.  This may be the answer.
The HTTPS Plugin would use a pulldown menu for everything to make it less confusing.
An example of what I am talking about can be seen at:
http://a.fil.net/s/admin/db-config.php
Look at the HTTPS option near the bottom.
This uses neither YOURLS_SITE nor YOURLS_ADMIN_SSL and I think the pulldown menu is easier for people to get the right settings. Which do you think would be easier for you?


Support disassembling .pyc files

We've seen some instances of malware being hidden in .pyc files (example here) Currently this tool refuses to display .pyc files because they are binary. Instead, we should attempt to disassemble the bytecode to some degree and display as much as possible in the UI.

This is a fantastic idea. How should the UX be for this?


project config

How about take a project config, which we can config the ENV is  "dev" or "prod".
When "dev", I hope the host is, such as "localhost:xxx",
and when "prod", I hope the host is my release domain or ip.
That's all. Thanks for your cool tools.

This has been resolved by adding environments and variables support.


#685 ios support for testplans part 2

Fixes #
Test Plan

How do we know the code works?

.
Checklist

[ ] Documented
[ ] Unit tested

Example ios_shards.json generated from AllTests_AllTests_iphoneos13.7-arm64e.xctestrun
{
  "en": {
    "UITests": [
      [
        "UITests/test1PLLocale"
      ],
      [
        "UITests/test1ENLocale"
      ],
      [
        "UITests/test1",
        "UITests/test3"
      ]
    ],
    "SecondUITests": [
      [
        "SecondUITests/test2ENLocale"
      ],
      [
        "SecondUITests/test2PLLocale",
        "SecondUITests/test13"
      ],
      [
        "SecondUITests/test11",
        "SecondUITests/test12"
      ]
    ]
  },
  "pl": {
    "UITests": [
      [
        "UITests/test1PLLocale"
      ],
      [
        "UITests/test1ENLocale"
      ],
      [
        "UITests/test1",
        "UITests/test3"
      ]
    ],
    "SecondUITests": [
      [
        "SecondUITests/test2ENLocale"
      ],
      [
        "SecondUITests/test2PLLocale",
        "SecondUITests/test13"
      ],
      [
        "SecondUITests/test11",
        "SecondUITests/test12"
      ]
    ]
  }
}

Codecov Report

Merging #1321 (a01fe1e) into master (8cc0786) will decrease coverage by 0.11%.
The diff coverage is 80.22%.

@@             Coverage Diff              @@
##             master    #1321      +/-   ##
============================================
- Coverage     77.85%   77.73%   -0.12%
- Complexity      706      712       +6
============================================
  Files           244      247       +3
  Lines          4701     4770      +69
  Branches        901      912      +11
============================================
+ Hits           3660     3708      +48
- Misses          550      562      +12
- Partials        491      500       +9

Verified by running few sample projects with test plans.

[ ] Flank is correctly parsing xctestrun V2 file and splits it into separate ones using Test Configurations

[ ] Flank correctly filters methods with Test-Targets flag

[ ] Flank is missing the ability to specify test configuration, but it will be covered in separate ticket: #1379


show X-Forwarded-For ip header on rainloop auth logs behind haproxy

**RainLoop version1.12.1, browser Mozilla Firefox 65.0.2 , OS:Windows 10 on client side, on the server Ubuntu Linux working fine, behind haproxy
Expected behavior and actual behavior:
i want to tell ha proxy showme the, now it show the haproxy ip not the X-Forwarded-For header.
i want make some how to block more of 3 or 5 failled logins
LogFormat "%{X-Forwarded-For}i  %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
but rainlop auths logs  are show to me the haproxy ip
Steps to reproduce the problem:
Logs or screenshots:
apche log showing real ip client:
200.55.xxx.xxx  - - [15/Mar/2019:15:17:44 -0500] "GET /?/Ajax/&q[]=/_ouGQQPoG93XHTEm_pVHseebg_ZeUUNY73NmR7SwR7AOtPXCOA-8lJ0imL_AJN8mugLM5tlwKcrISWtii1fZkDvo7bLFmA7i1gyoMeOk5vTh-VoAj26wsE18oINZKpo0XMdmNPhbRuNBI5MEtv1Gghu37Ihu6hKHLzt1byKwrHubvjsDOsOu3gdb5K15AM6ZyLZnt7XfU_gatuSx-FY9gdB3Uk28Nhaq__s6VFcr2XNxTZ_9pwy6ZS386KQ7BgGRrB5MZzD44ZN2yON3b__PvKLkwYSYUpKsEPOIFrjIaFI_KMj8SdqIVOrQd-f5qaa2spTihV7o0xVgXGc5D/MessageList/&q[]=/SU5CT1gAMAAyMAAANDA2YTQxMzVhYjJkODBlY2FhZGIwZDU0NjE5OWE3YTQAZWJkM2MxOWQ4ODJmYTIzNjYyMDI2N2MzYzE3MmM2ZmQANTE0OTUAMAA HTTP/1.1" 200 34383 "https://webmail.domain/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0"
rainloop log showing haproxy ip:
[20:18:33.651][7d2b2611] INFO[DATA]: [DATE:15.03.19][OFFSET:-00][RL:1.12.1][PHP:7.2.15-0ubuntu<IP_ADDRESS>][<IP_ADDRESS>][PID:13079][Apache/2.4.29 (Ubuntu)][apache2handler]
[20:18:33.651][7d2b2611] INFO[DATA]: [Suhosin:off][APC:off][MB:on][PDO:mysql][Streams:tcp,udp,unix,udg,ssl,tls,tlsv1.0,tlsv1.1,tlsv1.2]
[20:18:33.651][7d2b2611] REQUEST[NOTE]: [POST] https://webmail.domain/?/Ajax/&q[]=/0/
[20:18:33.651][7d2b2611] AJAX[NOTE]: Action: DoLogin
[20:18:33.651][7d2b2611] POST[DATA]: {"Email":"swd","Login":"","Password":"*******","Language":"","AdditionalCode":"","AdditionalCodeSignMe":"0","SignMe":"0","Action":"Login","XToken":"9364dabc0438d16fd4a85b0530b9c599"}
[20:18:33.651][7d2b2611] LOGIN[DATA]: The email address "swd" is not complete
[20:18:34.652][7d2b2611] INFO[NOTICE]: RainLoop\Exceptions\ClientException: InvalidInputArgument[903] in /var/www/mailweb/rainloop/v/1.12.1/app/libraries/RainLoop/Actions.php:2232

Is this in the works?

this would make fail2ban more useful when rainloop is behind a reverse proxy, eg. nginx

it looks like this is at least partly implemented as a "lab" feature with http_client_ip_check_proxy:
https://github.com/RainLoop/rainloop-webmail/blob/5e409ac638afb67cb9866d298783f9b4da0bf9fb/rainloop/v/0.0.0/app/libraries/RainLoop/Actions.php#L493
https://github.com/RainLoop/rainloop-webmail/blob/f5b92b8b65e6b7312ff930ad04abe71e136dc27c/rainloop/v/0.0.0/app/libraries/MailSo/Base/Http.php#L358
i will experiment with this setting in the afternoon.

actually, i just verified that this works. you will need to set labs.http_client_ip_check_proxy = On and ensure that your reverse proxy is setting either of the X-Forwarded-For or Http-Client headers correctly.


What is the algorithm used in the feature selection procedure in Autogluon? It's PCA or LDA? coz I did not find the document inside. Thanks.

We use a custom implementation of Permutation Feature Importance to determine feature selection. An example in sklearn can be seen here: https://scikit-learn.org/stable/modules/permutation_importance.html
Our overall feature selection technique is pure custom logic (PR) and it is suggested to inspect the code to better understand the functionality if interested.


Remove extra backslash in issue template

Doesn't seem to belong there.

The extra \ helps with unaliasing ls in case the user had aliased ls as lsd.

Oh, I wasn't aware! I've been doing /bin/ls ... for years :sweat_smile: - for some more context, see this StackOverflow answer. Thanks @meain and @Peltoche!


Add ecapture usage example in k8s environment

Add ecapture usage example in k8s environment
Signed-off-by: Vincent Li<EMAIL_ADDRESS>

LGTM, Thanks.

cool


make maximumFrameCount of renderToFile available for user

I'm developing a app which can export user's performance and background music as one wav file. I need to adjust maximumFrameCount to control the progress callback interval. I think this would be a feature to control the progress callback interval.

Thanks


[Bug] the json input is invalid in the workflow history and with a wrong encoding for accents

Expected Behavior
I want to copy the input to perform a check on the json
The input payload should be well structured
Actual Behavior
When debugging a failed workflow through the temporal web, I wanted to check the input filled.
Actually, the input payload is invalid

Steps to Reproduce the Problem

launch a workflow with an input json
check the temporal web or call the /history API

Specifications

Version: 1.3.0
Platform: docker-compose

@vitarb @Sushisource afaik this relates to all sdks?


Production build Issue

Can't build in production mode, Any idea ?:
Log :
`[10:47:39]  ionic-app-scripts 1.1.4
[10:47:39]  build prod started ...
[10:47:39]  clean started ...
[10:47:39]  clean finished in 2 ms
[10:47:39]  copy started ...
[10:47:39]  ngc started ...
[10:47:41]  build prod failed: Error encountered resolving symbol values statically. Calling function 'makeDecorator',
function calls are not supported. Consider replacing the function or lambda with a reference to an exported
function, resolving symbol NgModule in
<EMAIL_ADDRESS>resolving symbol NgModule in
<EMAIL_ADDRESS>resolving symbol NgModule in
<EMAIL_ADDRESS>resolving symbol NgModule in
<EMAIL_ADDRESS>resolving symbol IonicImageViewerModule in
/Users/Adil/IdeaProjects/aliae/node_modules/ionic-img-viewer/dist/src/module.d.ts, resolving symbol
IonicImageViewerModule in /Users/Adil/IdeaProjects/aliae/node_modules/ionic-img-viewer/dist/src/module.d.ts
[10:47:41]  ionic-app-script task: "build"
[10:47:41]  Error: Error encountered resolving symbol values statically. Calling function 'makeDecorator', function
calls are not supported. Consider replacing the function or lambda with a reference to an exported function,
resolving symbol NgModule in
<EMAIL_ADDRESS>resolving symbol NgModule in
<EMAIL_ADDRESS>resolving symbol NgModule in
<EMAIL_ADDRESS>resolving symbol NgModule in
<EMAIL_ADDRESS>resolving symbol IonicImageViewerModule in
/Users/Adil/IdeaProjects/aliae/node_modules/ionic-img-viewer/dist/src/module.d.ts, resolving symbol
IonicImageViewerModule in /Users/Adil/IdeaProjects/aliae/node_modules/ionic-img-viewer/dist/src/module.d.ts
Error: Error encountered resolving symbol values statically. Calling function 'makeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol NgModule in<EMAIL_ADDRESS>resolving symbol NgModule in<EMAIL_ADDRESS>resolving symbol NgModule in<EMAIL_ADDRESS>resolving symbol NgModule in<EMAIL_ADDRESS>resolving symbol IonicImageViewerModule in /Users/Adil/IdeaProjects/aliae/node_modules/ionic-img-viewer/dist/src/module.d.ts, resolving symbol IonicImageViewerModule in /Users/Adil/IdeaProjects/aliae/node_modules/ionic-img-viewer/dist/src/module.d.ts
at SyntaxError.BaseError [as constructor] (/Users/Adil/IdeaProjects/aliae/node_modules/@angular/compiler/bundles/compiler.umd.js:1597:31)
at new SyntaxError (/Users/Adil/IdeaProjects/aliae/node_modules/@angular/compiler/bundles/compiler.umd.js:1795:20)
at simplifyInContext (/Users/Adil/IdeaProjects/aliae/node_modules/@angular/compiler/bundles/compiler.umd.js:25783:27)
at StaticReflector.simplify (/Users/Adil/IdeaProjects/aliae/node_modules/@angular/compiler/bundles/compiler.umd.js:25795:17)
at StaticReflector.annotations (/Users/Adil/IdeaProjects/aliae/node_modules/@angular/compiler/bundles/compiler.umd.js:25291:64)
at NgModuleResolver.resolve (/Users/Adil/IdeaProjects/aliae/node_modules/@angular/compiler/bundles/compiler.umd.js:17771:86)
at CompileMetadataResolver.getNgModuleMetadata (/Users/Adil/IdeaProjects/aliae/node_modules/@angular/compiler/bundles/compiler.umd.js:18272:64)
at addNgModule (/Users/Adil/IdeaProjects/aliae/node_modules/@angular/compiler/bundles/compiler.umd.js:25053:62)
at /Users/Adil/IdeaProjects/aliae/node_modules/@angular/compiler/bundles/compiler.umd.js:25064:18
at Array.forEach (native)
npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/Cellar/node/6.7.0/bin/node" "/Users/Adil/.npm-packages/bin/npm" "run" "ionic:build" "--" "--prod"
npm ERR! node v6.7.0
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! aliae@ ionic:build: ionic-app-scripts build "--prod"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the aliae@ ionic:build script 'ionic-app-scripts build "--prod"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the aliae package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ionic-app-scripts build "--prod"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs aliae
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls aliae
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/Adil/IdeaProjects/aliae/npm-debug.log`
Dependencies  :
"dependencies": {
"@angular/common": "2.4.8",
"@angular/compiler": "2.4.8",
"@angular/compiler-cli": "2.4.8",
"@angular/core": "2.4.8",
"@angular/forms": "2.4.8",
"@angular/http": "2.4.8",
"@angular/platform-browser": "2.4.8",
"@angular/platform-browser-dynamic": "2.4.8",
"@angular/platform-server": "2.4.8",
"ionic-angular": "2.3.0",
"@ionic-native/core": "3.1.1",
"@ionic-native/status-bar": "3.1.1",
"@ionic-native/splash-screen": "3.1.1",
"@ionic-native/network": "3.1.1",
"@ionic-native/keyboard": "3.1.1",
"@ionic-native/push": "3.1.1",
"@ionic/storage": "2.0.0",
"ionicons": "3.0.0",

"ionic-img-viewer": "1.1.8",
"rxjs": "5.0.1",
"zone.js": "0.7.2",
"sw-toolbox": "3.4.0"

},
"devDependencies": {
"@ionic/app-scripts": "1.1.4",
"typescript": "2.0.9"
}

Try to update to ionic-img-viewer v1.3.0.
I haven't tried ionic-angular v2.3.0 with the library yet, i'll do it later on today and publish a fix if needed.

Thank you, that's works. but why this version is not on git repo releases.

Yes the github tags were not up to date - i will correct that.
Thats for pointing this out to my attention. Meanwhile, you can refer to npm to see the latest version.

Hii @Riron   , I am facing this on latest version of ionic-img-viewer
"ionic-img-viewer": "^1.3.2",
"ionic-angular": "2.0.1",

any fix ?
Thanks.

Same error on production builds only ? Version 1.3.2 is not valid with "ionic-angular": "2.0.1".
With "ionic-angular": "2.3.0" it's been tested and shoulds work. Please make sure you upgraded ionic-angular correctly, and if the problem persist please open a new issue 😉
Thanks !

Yes , I upgraded and verified it in node_modules. Here is the issue https://github.com/Riron/ionic-img-viewer/issues/43


Add a new issue template for DX improvements / refactoring

🛠 Fixes Issue #44
👨💻 Changes proposed
added a new template for DX issue
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

I think we also should mention all the tech stack which are ok to use in the project it will help new contributors to know what they can use on the package and what not  . what you guys say ?

I think we also should mention all the tech stack which are ok to use in the project it will help new contributors to know what they can use on the package and what not  . what you guys say ?

Cool, create an issue for that and discuss. I don't think this PR is right place to discuss that 😅

Edit the PR title to follow the conventional commit message other than that everything looks good.

Edit the PR title to follow the conventional commit message other than that everything looks good.

so which one it should be from conventional commit?

using dx makes the best sense here.


Adjust as per review.

=> https://github.com/propelorm/Propel2/pull/1833

Codecov Report

Merging #1841 (f342e25) into bugfix/strict-param-types-master-merged (e95c5f7) will decrease coverage by 20.84%.
The diff coverage is 28.57%.

@@                              Coverage Diff                               @@
##             bugfix/strict-param-types-master-merged    #1841       +/-   ##
==============================================================================
- Coverage                                      87.74%   66.90%   -20.85%
  Complexity                                      7763     7763
==============================================================================
  Files                                            282      282
  Lines                                          21321    21231       -90
==============================================================================
- Hits                                           18709    14204     -4505
- Misses                                          2612     7027     +4415

Flag
Coverage Δ

5-max
66.90% <28.57%> (-20.85%)
:arrow_down:

7.4
66.90% <28.57%> (-20.85%)
:arrow_down:

agnostic
66.90% <28.57%> (ø)

mysql
?

pgsql
?

sqlite
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/Propel/Generator/Builder/DataModelBuilder.php
87.25% <0.00%> (-1.97%)
:arrow_down:

src/Propel/Generator/Builder/Om/ObjectBuilder.php
84.79% <0.00%> (-9.42%)
:arrow_down:

src/Propel/Runtime/ActiveQuery/ModelCriteria.php
55.29% <0.00%> (-41.23%)
:arrow_down:

src/Propel/Runtime/Collection/ObjectCollection.php
51.21% <ø> (-45.74%)
:arrow_down:

.../Propel/Generator/Builder/Om/AbstractOMBuilder.php
86.44% <100.00%> (-10.46%)
:arrow_down:

src/Propel/Runtime/ActiveQuery/PropelQuery.php
0.00% <0.00%> (-100.00%)
:arrow_down:

.../Propel/Generator/Command/templates/propel.yml.php
0.00% <0.00%> (-100.00%)
:arrow_down:

.../Propel/Generator/Command/templates/schema.xml.php
0.00% <0.00%> (-100.00%)
:arrow_down:

...el/Generator/Command/templates/propel.yml.dist.php
0.00% <0.00%> (-100.00%)
:arrow_down:

...el/Runtime/Validator/Constraints/DateValidator.php
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 144 more

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 e95c5f7...f342e25. Read the comment docs.


Not openingn up

My team loved the tool however since 20/05/2018 it has stopped loading

Same problem.

Same issue, is anyone looking into this?

Issue fixed, thanks to @MarkGaze
Can you please confirm it is working now?


Schedule

We have 4 Tuesdays 9-12 CEST each.
How should the schedules look like?

Session 2:
Initial suggestion:

45 min: workshop overview, roles, onboarding/installation, helpers
30 min: co-teaching
30 min: collaborative doc/interaction ( + usage during whole workshop)
45 min: screenshare & sound

Session 4:
initial suggestion:

1,5 hour streaming: setup, why we stream etc
1 hour recordings

merged into session issues


Add option to exclude paths, fix crash on missing reactSnapshot section

It can be helpful to deliberately exclude some paths from the crawling process. Therefore I added an option to do so via package.json. It also fixes the crash if you don't have a reactSnapshot section in your package.json at all (regression from 05628b4cf9cd5ccca18b248dae797d67ec1a7e5a) and adds documentation for those features.

This is released now as part of v1.1.0 🎉


Analysis Server completion results should include info on where to insert imports

I noticed on completion results there's this field:

importUri (optional String)
The import to be added if the suggestion is out of scope and needs an import to be added to be in scope.

However there's no information on where it should be inserted. It might not be safe to insert at offset: 0 as the file might have a header comment.
It would be better if the response also contained an offset of where to insert (which should probably be after the last existing import, if one exists) or a source edit to apply to the document instead.

@DanTup It looks like in most cases Analysis Server simply doesn't suggest items that are not available in context. E.g. you can't complete Fut to Future if there's no import 'dart:async'. First you have either to type Future and use a quick fix to insert import, or to write import manually.
Related https://github.com/dart-lang/sdk/issues/25298 and https://github.com/dart-lang/sdk/issues/21931.

Yeah; I'd never actually seen a result for something not-imported, but since it was documented I figured maybe it was possible.

in most cases

Is it most, or all? If it never occurs, removing it from the docs might be a good idea (it seems kinda broken in its current form because of not providing a location to import).

We would like to reserve the ability to start suggesting available but not yet imported names.

But won't the API need to change to support that anyway (to provide the location to add the import)? It doesn't seem that in the current form we could implement this ready to automatically take advantage of the "future feature"?

It would certainly be better if we provided an edit, and I expect we will, but clients could (theoretically) take advantage of the info by figuring out where to insert the URI.

This field no longer exists (and completions with imports are handled differently), so there's nothing to do here.


⚠ ClamAV has degraded performance

In 268aa6d, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 86 ms

Resolved: ClamAV performance has improved in fc302f4.


Grammar: Unordered group with nonsequential sub-repetitions

Rule: ('a' 'b'* 'c')# ; parses c a, a c b c, or b b b a c, but not b c b b a. Is there a way to express such a grammar?

I'm not sure that I understand the pattern b c b b a. Do you mean that b can appear anywhere multiple times while c and a can appear only once?

Exactly.

I don't think that such a rule can be expressed at the syntax level. When you need some complex structural rule, make it more lax at the grammar level (to parse all valid cases but probably some invalid too) and than use object processors to make further constraints.
In your case you can make a rule:
Rule: ('a' | 'b'* | 'c')+

This will match b c b b a but will also match b c b b c a or b b b which we want to prevent.
Register than object processor for Rule and do further checks in Python and throw error if the rule is violated. You have all the context information needed (like position of each matched element).
BTW, you will have to collect matched elements as your rule given here is just a match rule and as such will return a string if not instructed otherwise by match filter.

Right, that makes sense. I'll give it a go. Thanks!


Upgrade KubernetesV1 to NodeJS16

Task name: KubernetesV1
Description:

bumped task version
add node16 handler

Documentation changes required: N
Added unit tests: N
Attached related issue: https://github.com/microsoft/build-task-team/issues/3753
Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] Checked that applied changes work as expected

/azp run

approved


I need help with keyboard shortcuts for chrome on android 13

What key to interact with popup like this cause any key like tab or enter it goes to the main site under the pop up

Im using external keyboard on my phone


Is there a way to pass the styles to the native-base v3 component used inside the wrapper component?

Description
I have created some basic wrapper for the native-base component, now sometimes I am using the native base components and need to pass some styles props to the wrapper and from wrapper to native base component. At this point of time I am seeing the only utility props can be passed  as style to native base component. Is there any way that I can pass the style props to native base components instead of utility props. If not I might need to write my own logic to convert css to utility props for each component. Note: The reason behind not using the native base components and utility props directly to the app(without wrapper) is  just to keep the decoupling of the UI library and there will be learning for native base to each developer in team. event if new react0-native developer comes in he need to go through this learning, to avoid this we are creating the generic wrapper components and avoiding direct use of native base components
CodeSandbox/Snack link
https://snack.expo.dev/A5ODOwAub
Steps to reproduce

Go to snack
Run the code
See error: There is no effect of style provided for custom input

NativeBase Version
3.3.*
Platform

[X] Android
[X] CRA
[ ] Expo
[X] iOS
[ ] Next

Other Platform
No response
Additional Information
No response

Thanks for your patience, we were a bit occupied. All NativeBase components accept style prop which is directly mapped to React Native's style prop. You can straightaway pass your styles in this style prop. But the drawback is that theme tokens don't get resolved inside this prop.
<Box bg="red.500" /> // This will render a Box with red.500 color picked from theme i.e. #ef4444
<Box style={{ backgroundColor: "#ef4444" }} /> // This will render the same Box.

Closing this issue since a solution is provided. feel free to re-open the issue.


Add happy-proxy.com as a proxy source

happy-proxy.com

Limited usefulness. Can only get ~24 proxies per request and rate-limited on number of requests per day.


help

Describe your problem here.
what do i need to do? :
source/Achievements.hx:319: characters 30-54 : Warning : FlxCamera.defaultCameras is deprecated, use FlxG.cameras.setDefaultDrawTarget instead
source/MainMenuState.hx:67: characters 3-39 : Warning : FlxCamera.defaultCameras is deprecated, use FlxG.cameras.setDefaultDrawTarget instead
source/PlayState.hx:338: characters 3-39 : Warning : FlxCamera.defaultCameras is deprecated, use FlxG.cameras.setDefaultDrawTarget instead
source/editors/CharacterEditorState.hx:94: characters 3-41 : Warning : FlxCamera.defaultCameras is deprecated, use FlxG.cameras.setDefaultDrawTarget instead
source/editors/DialogueCharacterEditorState.hx:82: characters 3-40 : Warning : FlxCamera.defaultCameras is deprecated, use FlxG.cameras.setDefaultDrawTarget instead
source/options/NoteOffsetState.hx:57: characters 3-39 : Warning : FlxCamera.defaultCameras is deprecated, use FlxG.cameras.setDefaultDrawTarget instead
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.


Add doc about writing a project proposal

Merging thanks a lot!

@rstrudel I have added you to the jean-zay-users org!


tikv-ctl: support raw raft log key

This pr add two features to tikv-ctl:

allow specifying the raw key when print the log entry, which is useful when just knowing the raw key but the actual region and index;
print out the size when doing scanning or printing raft log entry.

@siddontang @zhangjinpeng1987 PTAL

LGTM

PTAL

LGTM


Travis CI build failing for Python 3.3

File "/home/travis/build/veeresht/CommPy/commpy/init.py", line 17, in
from filters import *
ImportError: No module named 'filters'

commpy/channelcoding/algcode   NotPython: Couldn't parse '/home/travis/build/veeresht/CommPy/commpy/channelcoding/algcode.py' as Python source: 'invalid syntax' at line 35

commpy/channelcoding/gfields   NotPython: Couldn't parse '/home/travis/build/veeresht/CommPy/commpy/channelcoding/gfields.py' as Python source: 'invalid syntax' at line 63

commpy/channelcoding/tests/test_convcode   NotPython: Couldn't parse '/home/travis/build/veeresht/CommPy/commpy/channelcoding/tests/test_convcode.py' as Python source: 'invalid token' at line 17

Prefixing commpy. to all the import statements fixed the ImportError for me. Tested with python 3.5.1 on Ubuntu 16.04.


Project with multiple repos

I have a project, made up of multiple repositories that are not at root level but are nested at 1 or 2 levels. GitLens picks up these repos but only when I have a file for the repo open. Is there a way how to keep all repos active and showing, without the need to open their files?

You can set "gitlens.advanced.repositorySearchDepth": 2 (or greater) to change how deep GitLens will search for repositories.


Created a more complex LogMessage.

The LogMessage now conforms to LogMessage, which contains a lot of useful information about each log event, such as the thread from which a log gets called.
Plus the code coverage has been increased to 85%.
A lot of errors have been fixed.

This is going to be version 0.2.


Fix dash network #586

Nice first PR, thanks for your contribution! I'll tweak the character case after merging and tag!

Thank you for tweaking characters!