Develop upstream sync 190916

Compiles fine for //tensorflow/tools/pip_package:build_pip_package
The biggest single update in the weekly merge task is in tensorflow/python/kernel_tests/signal/fft_ops_test.py. I kept the upstream version and added no-rocm guard to complex data type.

conflict file list:

tensorflow/compiler/jit/BUILD
tensorflow/compiler/xla/service/gpu/BUILD
tensorflow/compiler/xla/service/gpu/collective_permute_thunk.cc
tensorflow/compiler/xla/service/gpu/nvptx_compiler.cc
tensorflow/python/BUILD
tensorflow/python/kernel_tests/signal/fft_ops_test.py

Current state:
Cuda, ROCm, ROCm-v2 failures:

//tensorflow/python/feature_column:feature_column_test
//tensorflow/python/feature_column:feature_column_v2_test
//tensorflow/tools/docs:tf_doctest
//tensorflow/python/keras/optimizer_v2:optimizer_v2_test
//tensorflow/python/keras/optimizer_v2:optimizer_v2_test_gpu

ROCm and ROCm-v2 failures:

//tensorflow/python/kernel_tests/linalg:linear_operator_circulant_test
//tensorflow/python/kernel_tests/linalg:linear_operator_circulant_test_gpu

ROCm-XLA failures:

//tensorflow/compiler/mlir/lite/tests/end2end:glob_lit_tests

Both rocm and rocm-v2 test log shows failure for //tensorflow/python/kernel_tests/linalg:linear_operator_circulant_test:

...
2019-09-17 19:33:03.575536: I tensorflow/stream_executor/stream.cc:2123] [stream=0x4ebebd0,impl=0x4ebec70] did not wait for [stream=0x4cbb7a0,impl=0x4cba950]
2019-09-17 19:33:03.575605: I tensorflow/stream_executor/stream.cc:5071] [stream=0x4ebebd0,impl=0x4ebec70] did not memcpy host-to-device; source: 0x3da86c0
2019-09-17 19:33:03.575794: F tensorflow/core/common_runtime/gpu/gpu_util.cc:340] CPU->GPU Memcpy failed
Fatal Python error: Aborted

I cannot reproduce this offline. @whchung I vaguely remember some issues regarding CPU->GPU memcpy failures last week. Should we just disable the test for now?

@jerryyin this test should be reviewed. normally it means something new in StreamExecutor API.

@whchung Sounds good, will try harder tomorrow.

Merging the pull request as: two commits before have a full pass CI run, the last commit merged in verified commit, and that at least one build succeed in last CI run.


infinite auto print 、

Environment
Windows build number: Microsoft Windows [版本 10.0.19041.1]
Windows Terminal version (if applicable): 0.7.3382.0

Steps to reproduce

open Terminal
input language : simplified Chinese
type 【 or 】 or 、

Expected behavior
should just the one charcter typed
Actual behavior
check this video:
2019-12-12 10-32-31.zip
when terminal is blur, the auto print is stoped
but I open powershell 7, and tyoe those charcters, it works fine

windows 10 preinstallation powershell is the same:

/dup #3706


Is it possible to edit the raw HTML code and write it back into the editor

Hello :)
I am currently trying to implement the quill-editor into my app.
So far the basic functionalities work really well.
Now I wanted to add a custom button to the editor options that opens up a model in which it is possible to edit the HTML code that the editor creates and when clicking "ok" it should be written back into the editor via the v-model attribute.
Everything works so far BUT the editor kind of "ignores" the new tags written in the modal and just inserts the content into the old (for example 'p') tags.
Here is my HTML code:

            <quill-editor v-model="mail.messageContent"
                      :options="editorOption"
                      :disabled="disabled"
                      :class=" { readOnly: editorIsReadOnly }"
                      @blur="onEditorBlur($event)"
                      @focus="onEditorFocus($event)"
                      @ready="onEditorReady($event)">

                    <button id="custom-button" :disabled="disabled" @click="setCodeContent(mail.messageContent, messageContentHTML)" v-b-modal.modal-center></button>

            </quill-editor>

@Component({
    components: {
        quillEditor
    },
    props: {
        mail: Object
    },
    methods: {
        setCodeContent(messageContent: string, messageContentHTML: string) {
            messageContentHTML = messageContent;
        },
        setMailMessageContent(mail, messageContentHTML: string) {
            mail.messageContent = messageContentHTML;
        }
    },
    computed: {
        messageContent() {
            return this.messageContentHTML;
        }
    },
    watch: {
        'mail.messageContent'(oldValue) {
            this.messageContentHTML = oldValue;
        }
    }
})

I think it's related to this: https://github.com/quilljs/quill/issues/128
I'm having the same problem.


[backport] fix: [NPM] [Linux] panic if applyIPSets continues to fail

Reason for Change:
Backport #2964
Issue Fixed:
Fixes #2963 in release/v1.5 branch
Requirements:

[x] uses conventional commit messages
[ ] includes documentation
[ ] adds unit tests
[x] relevant PR labels added

/azp run Azure Container Networking PR

/azp run NPM Conformance Tests

/azp run NPM Scale Test


[confcom] Add confcom extension

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[x] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.

Could you fix the failed tests?

@SethHollandsworth, please fix test failure first.

Thanks, the failed test was because of a recent feature branch. They are fixed now


Nodevember Discussion

Howdy @rauchg!
Tonight you mentioned some future plans for Next.js that are directly in line with preferences I have for my own projects.
I wanted to list out the ones I can remember & my current take on potential solutions.

Prefer
 over
.

https://github.com/insin/babel-plugin-react-html-attrs

Everyone on my team prefers this because no one's had to touch element.className manually since using React.  Having less context switching between React & HTML is 💯 .
Less Babel.

https://github.com/babel/babel-preset-env

We're just now experimenting with this, but I was able to avoid Babel entirely in a recent project because Chrome + Node support is that good.  (Check out my webpack.config.js)
But, the gist is that we'll develop with only the latest Chrome + Node and, when NODE_ENV=production, build to the lowest-common-denominator.
In the future, we're going to attempt individual targeted builds (e.g. Top 5 browsers and ES5 build) that are served depending on User Agent.
Remove import React from "react".

(webpack.ProvidePlugin example)

When writing functional components, React is an implementation detail.  In this case:
1. Implicitly provide the `react` module when the `React` variable is referenced.
2. Alias `react` package to `preact-compat` for smaller production bundles.

Fragments.

http://isfiberreadyyet.com/

We're both waiting for it :)
Better  which works, but I'm not completely sold that this is better. It's an ugly, lateral solution to using existing CSS within React.  Having used some Glamor & styled-components, I'm increasingly confident that we're at a place that custom styles can build upon globals, as well as leveraging resets/normalizers to effectively sandbox styles for components (until Shadow DOM/CSS is viable).
.
Personally, I'm not a fan of side-effect components like react-helmet & similar.  In a Redux/MobX environment, I'm a fan of the centralized state tree being able to APPEND_TITLE, SET_TITLE, etc. for the layout to transform accordingly.
For something like Next.js, getDocumentMeta({ title }) could allow for title.set(...), title.append(...), etc. after the getInitialProps lifecycle.

Anyway, I wanted to jot this stuff down for a couple of reasons:

I think Next.js is fantastic & deserving of wider adoption.
These solutions, excluding maybe one or two, have existed in some form for a bit, so I assume they're on your radar and I would like to know why they're not viable solutions.  That way I can make better decisions for my projects as well :)

+1 on the removal of import React from "react"
Not sure about the class vs className since standard enforces single quotes in strings, so also for html attributes, which would mean they will not be 100% compatible with html anyway.

I don't really understand the removal of import React from 'react', what implications does it have? Where can I read more about it ?

It's the fact that each component, even the smallest one, that uses jsx will need the import statement at the top
right now an index.js with this won't work:
export default () =>
hi there, what's up

You'll need
import React from 'react'
export default () =>
hi there, what's up

Which is basically overhead since almost all files that render something will need this import.

@ericclemmons I think we could most of these stuff, when Next.js allows you to customize your babel and webpack config.

Personally, I'm not a fan of side-effect components like react-helmet & similar. In a Redux/MobX environment, I'm a fan of the centralized state tree being able to APPEND_TITLE, SET_TITLE, etc. for the layout to transform accordingly.

You don't really have to use , which is great. But it basically covers 99% of the use-cases with a very simple API that works with SSR, which is a really big deal.

These are some really great thoughts. Thank you

@cusxio I'm convinced JSX should be built into the language, like Reason (https://github.com/facebook/reason/pull/775). Right now it's a weird transformation for a specific framework. Plus, you need to import even if you don't explicitly use React in the file which is weird.

Also, something worth noting is that I initially considering making the page a "full page". Since this is not possible with React and because it has lots of other complications, I discarded it.
export default () => (

       <title>woot</title>

)

 is somewhat of an answer to those limitations. The fact that it's composable is definitely questionable, but it seems right for this use-case and it's been confirmed with our experience so far.

Per your last comment, with any 3rd party lib, modal, or analytics, React barfs when rendering the full body.
Glad you guys saw it. Closing so individual issues can be raised as needed...


SwiftUI: Overwrite KFImage appear animation

Problem:
With pull request #1767 you fixed some animation issues, but also created a new one (at least for my use case). When you have a KFImage view with an animation modifier somewhere in the tree, this animation is also applied when the image was loaded. In ImageBinder a withAnimation-block is used to animate the appearance when needed, but a withAnimation-block doesn't overwrite any animation set in any parent of KFImage. This leads especially to weird animations when the image is loaded from cache and therefore no animation should happen, which happens anyway.
Also ImageBinder sets loadedImage directly which also often causes scaling animations when the resizable() modifier is applied to KFImage.
Failed solution: This seems like the trivial solution, but doesn't quite work: Set the animation modifier with animation(nil) like this:
List(objects) { object in
       HStack {
             KFImage(object.url)
                  .resizable()
                  .animation(nil)

             Text(object.title)
       }
}
.animation(.easeInOut)

This fixes the problem of having unwanted animations when the image inside KFImage is loaded, but also destroys the animation when e.g. two objects in the list get switched. In this example, the text would animate as expected in SwiftUI, but the image would just switch instantly. So this would completely disable the animation behaviour of these images (a wrapper with animation enabled doesn't help there).
Proposed Solution:
Instead of using a withAnimation-block in ImageBinder when the image was successfully loaded, I used a transaction block as follows:
var transaction = Transaction(animation: animation)
transaction.disablesAnimations = true
withTransaction(transaction) {
      self.loadedImage = value.image
      self.loaded = true
}

By using the disableAnimations property, you can actually overwrite the animation set on the view and have a guarantee to use the given one. The naming of disableAnimations is actually a bit confusing, because it only disables animations defined in the view hierarchy. I guess a better name would be overwriteAnimations. Therefore when using e.g. animation = nil, it is guaranteed there won't be any animation, while withAnimation doesn't do that. I also included setting the loadedImage inside the block, which prevents the weird scaling animations when the image is loaded.
Things to consider:
Developers may want to have custom animations when the image is loaded, which would only be possible via the internal ImageTransition, which currently only supports a linear fade, after this request and animation modifiers wouldn't affect any animations initiated by Kingfisher itself. So it would enable having different animations for image appearance and anything else in your app.
I think this way of handling animations is a better approach, but maybe you have a different taste or a better idea to solve this problem.

Thanks for this. I didn't know the disableAnimations before and it looks promising! I will see how it can work with current setup!

@alexeichhorn With the change here, I found the List Demo scene in the sample app works in a quite funny way:
https://user-images.githubusercontent.com/1019875/134101322-334608ae-9b0c-4147-b7c9-f2a10487eca3.mp4
When I move it out from the transaction block, it works back to normal.
Is that necessary or is it trying to fix a certain problem?

Seems like I have only tested in the sample app with the first commit. Sorry for that.

Is that necessary or is it trying to fix a certain problem?

It should actually prevent these weird animations 😂, but in a different scenario. In your sample apps you don't really use the .animation(...) modifier (instead only withAnimation), but I do e.g. in certain parts of my apps. So this modifier causes problems with KFImage. Above I e.g. described:

Also ImageBinder sets loadedImage directly which also often causes scaling animations when the resizable() modifier is applied to KFImage.

So setting loadedImage inside the transaction block is to prevent that. If you move it out, I can give you few examples where it completely breaks animations:

In SingleViewDemo.swift change two lines of codes:

VStack {
    KFImage(url)
        .cacheOriginalImage()
        .setProcessor(blackWhite ? BlackWhiteProcessor() : DefaultImageProcessor())
        .onSuccess { r in
            print("suc: \(r)")
        }
        .onFailure { e in
            print("err: \(e)")
        }
        .placeholder { progress in
            ProgressView(progress)
        }
        .fade(duration: index == 1 ? 0 : 1)
        .forceTransition()
        .resizable()
        .scaledToFill()   // INSERTED THIS
        .frame(width: 300, height: 300)
        .cornerRadius(20)
        .shadow(radius: 5)
        .frame(width: 320, height: 320)

    Button(action: {
        self.index = (self.index % 10) + 1
    }) { Text("Next Image") }
    Button(action: {
        self.blackWhite.toggle()
    }) { Text("Black & White") }

}.navigationBarTitle(Text("Basic Image"), displayMode: .inline)
.animation(.linear(duration: 3.0))     // AND INSERTED THIS

(adding .scaledToFill() and .animation(.linear(duration: 3.0))).
And this is how it looks like:
https://user-images.githubusercontent.com/10730702/134597981-f008680b-df88-42d2-bd75-b0a189885418.MP4

example in LazyVStackDemo.swift:
Also insert .animation(.linear(duration: 1.0)) like this:

struct LazyVStackDemo: View {
    var body: some View {
        ScrollView {
            LazyVStack {
                ForEach(1..<700) { i in
                    ImageCell(index: i).frame(width: 300, height: 300)
                }
            }
            .animation(.linear(duration: 1.0))   // INSERT THIS
        }.navigationBarTitle(Text("Lazy Stack"), displayMode: .inline)
    }
}

And it will look like this:
https://user-images.githubusercontent.com/10730702/134598005-470a1ae4-156a-45e6-a172-6f6987fe6c07.MP4
And in a similar way you can theoretically mess up most of these examples by just adding the animation() modifier.

I am working on a solution for this - it's a bit harder than anticipated. I currently almost have a solution, but the last Transition example in the Demo App is not 100% working. Everything else works.

@alexeichhorn
Appreciate the work until now! ....At least now I can get the conclusion that SwiftUI animation is hard and fragile..

Still having problems to handle the animation correctly when also applying a transition animation. As @onevcat said, SwiftUI animations are fragile. Fixing one thing, breaks another. Fixing such little UI bugs in SwiftUI is very hard as you don't have full control. So I am sorry, I don't have the mental endurance to fix it currently 😂. Only solution that would fully work is basically just using the UIKit version and wrapping it for SwiftUI. Might however not be the best solution for other reasons.

I will revisit this issue this weekend when I can find some more time!

Hi,
I have a chance to check this issue again today, and here are some of my thoughts.

As we all know, from iOS 15, Apple deprecated the implicit animation animation(_:) and suggest to use animation(_:value:) instead. The non-value version of animation would add the animation to all the transaction applied to the whole view tree to any animatable properties. It is the evil cause of all the chaos of SwiftUI animation and finally now Apple noticed this. So, for animation purpose, adding a value to the implicit animation should solve most of the problems mentioned in this issue. For example, in the first code snippet, if you need to fade in the list, maybe it is a better idea to add a state and only apply animation to that state:

+ @State private var shown = false
List(objects) { object in
  HStack {
    KFImage(object.url)
    .resizable()
-   .animation(nil)

    Text(object.title)
  }
}
- .animation(.easeInOut)
+ .animation(.easeInOut, value: shown)
+ .opacity(shown ? 0.0 : 1.0)
+ .onAppear { shown.toggle() }

Again, adding .animation(nil) to KFImage is removing all the animation, and it is also an expected behavior. Yes, it also removes the possibility of animation from a parent view (such as list cell reordering), but it is what expected in the old implicit animation.
I am not quite a fan of creating a Transaction and customize the disablesAnimations more than necessary way. Behind the scene, withAnimation is a shorthand of Transaction and one can make further customization by adding a .transaction modifier to control it in a better way.
There is a recent change #1873 which fixes some certain case that the nil animation not applied. I am not sure if it is related to this issue (probably not), but withAnimation(nil) seems broken in old implementation.

It is not likely the best approach to handle the original potential issue. I am closing this for now to prevent further confusion.


Suggest Edit: alfredapp/1password

Gallery URL
https://alfred.app/workflows/alfredapp/1password/
Website
No response
Report Bug
No response
Forum
No response
About
Add requirements for the workflow to work:
Requirements: Install the Automation Tasks.
Notes
No response

Thank you for the suggestion, but this will be addressed another way later.


Puppet run fails on File resource for data directory

I have the following snippet in my manifest for elasticsearch deployment and get an error about the File resource on the regular puppet runs. The first setup run works as expected.
From my understanding the error comes from the recurse => true attribute since the File resource traverses the data directory and some files/dirs changes while the traversal is running. Why is the recurse attribute needed?
  class {'elasticsearch':
    version => '1.4.2',
    java_install => true,
    init_defaults => $logserver_config,
    datadir => '/var/lib/elasticsearch-data',
    config => {
      'cluster.name' => "elasticsearch-$location",
      'http.cors.enabled' => 'enabled',
      'http.cors.allow-credentials' => 'enabled',
#      'http.cors.allow-origin' => '*',
    },
  }
  ->
  elasticsearch::instance { 'ls01':,
  }

Error Message:
(/Stage[main]/Elasticsearch::Config/File[/var/lib/elasticsearch-data]) Failed to generate additional resources using 'eval_generate: No such file
or directory - /var/lib/elasticsearch-data/ls01/elasticsearch-bb/nodes/0/indices/.marvel-2015.01.21/0/index/_6d2.fdx

Hi,
the recurse attribute is for ensuring all files belong to the right user if a custom user is given.
Could you remove the explicit order '->' it shouldn't be required as the module already takes care of that internally.

OK, I understand the reason for using recurse, but sadly the this leads to the mentioned error nearly for every puppet run. For the setup phase I see a good reason for this but not for the runtime phase. If the files below my data dir have the wrong user, I have a general problem in the setup which could not be fixed by changing all user id of all files below the data directory...
I have also removed the explicit order, but that does not change the behaviour.

Very weird you are seeing this issue as i haven't seen this with any of my tests.
It is possible that with the recurse option it first finds all possible files and then does the changes and then in the meantime elasticsearch it self has done something with the files ( merge it into other segments for example )
Not using recurse means that if you would be switching users the data dir won't be changed correctly.
But then again, who would change it after already running ES.
I'll see if i can fix this issue.

Maybe for the purpose of being sure that the right user is owning the files a exec 'chmod -R' would be more feasible in this case..

I've testet the whole setup with 3.7.3puppetlabs1 from the puppet repo and I was not able to reproduce this problem. Since puppet 2 moves slowly to deprecation, I like to close this issue..

Tried it also with puppet 3.7.3 and problem persists.
Error: /Stage[main]/Elasticsearch::Config/File[/var/lib/elasticsearch-data]: Failed to generate additional resources using 'eval_generate': No such file or directory - /var/lib/elasticsearch-data/ls01/elasticsearch-bb/nodes/0/indices/logstash-2015.01.21/0/index/_9pj.fdx
Error: /Stage[main]/Ic3s-logging::Server/Elasticsearch::Instance[ls01]/File[/var/lib/elasticsearch-data/ls01]: Failed to generate additional resources using 'eval_generate': No such file or directory - /var/lib/elasticsearch-data/ls01/elasticsearch-bb/nodes/0/indices/logstash-2015.01.21/1/index/_9py.fdt

Okay. I think its a race condition for the 2 stages that recurse works.
First it finds all the files and dirs it needs to manage. then it creates the resources to change them.
It seems that in the time between the discovery and changes some files got changed.
I'll remove the recurse option so we atleast manage the main data dir.

@lairsdragon could you try out a possible fix with PR https://github.com/elasticsearch/puppet-elasticsearch/pull/247 ?

did some local testing.
The PR allows the module to manage the data directory it self but not the files within the data dir.
That should solve your issue.
Will merge this tomorrow unless you find an issue with this.

I just hit this same issue (or a similar issue), even on the 0.9.0 version.  The error I was getting (repeatedly) was:
Error: /Stage[main]/Elasticsearch::Config/File[/usr/share/elasticsearch]: Failed to generate additional resources using 'eval_generate': No such file or directory - /usr/share/elasticsearch/data/es-01/elasticsearch/nodes/0/indices/logstash-2015.02.06/0/index/_ah.fdx

I removed the recurse => true parameter from the file { $elasticsearch::params::homedir: } resource in config.pp which resolved the issue.

@talisto that is worrying, i had hoped that the 0.9.0 release would have solved it by setting explicit recurse to false on the other parts.
I'll re-open this issue an chase it.

@talisto I've created PR https://github.com/elasticsearch/puppet-elasticsearch/pull/263
Would you be able to test it out and see if this fixes your issue?

Ok, I've applied your PR and it seems to be all good (my puppet agent applies the manifest just fine), however the problem occurred intermittently, so I can't say that it is definitively fixed.  I'm assuming it is though!

@talisto sorry for not getting back sooner, been on holiday.
I've merged the PR and will do a release this week.
thanks for testing!

+1 started happening since I upgraded to ES 2.1.1 and latest git code for this module

Changing recurse=>true to recurse=>false on line 214 in instance.pp (in file { $instance_datadir}), but that's probably not a correct fix.

@siliconalchemy it most likely will be a good and i will most likely implement that soon.


Rename Role#leader to Role#permanent_secretary.

I've spoken to both James M and Tom about this and know that there are conflicting opinions which is why I didn't want to just push to master.  I prefer the explicitness of this approach while I believe Tom prefers the former, more generic, approach.  Does anyone else have any strong opinions either way?  BTW, I'm more than happy to throw this branch away if we decide it's not useful.
Original commit message
The leader flag is currently only being used to determine whether or not a board member is a permanent secretary.  I'd rather the naming of the column reflected that.

I've overridden MinisterialRole#permanent_secretary and MinisterialRole#permanent_secretary? to return false.  I had originally overridden MinisterialRole#permanent_secretary=(*args) to prevent ministerial roles ever being created with the permanent_secretary flag on.  The problem with that approach is that it prevents an existing ministerial role being changed to a permanent secretary board member role in one operation.

I don't think you should ever use 'after_initialize' to set default values, as it gets run when records are found, not just when they are first built.

I've just discussed this with Tom. He prefers to set default values in the initialize method itself. I'm very happy with that approach. I think I only got into the habit of using after_initialize, because (perhaps in a very early version of Rails) it was awkward to add an initialize method to an ActiveRecord model.
I definitely prefer doing either of the above to setting defaults in the database. With the latter approach, it feels as if the default values are hidden away in the database schema rather than more obviously in the model code. In the end, I could live with either approach, but I'd prefer we adopt one consistently.

I've now pushed this in e4c4c0ee145c24c279aeb7fc9bcc3641692f9bf4 so I'm closing this pull request.


docs-bug(Button): Mention that the MDC buttons have a more specific selector for the button color

Documentation Feedback
The MDC buttons have a more specific selector for the button color (there was a related issue https://github.com/angular/material.angular.io/pull/1164 in this project earlier).
However, at the moment the Guide Migrating to MDC-based Angular Material Components misses this moment.
I propose to add mentioning of the above change into the guide.
Affected documentation page
https://material.angular.io/guide/mdc-migration#button

Currently the only supported way of changing a button's color is through theming. Later this year we will support further customization of color with a new token-based theming API.


Update timing of Stage3D's VideoTexture

You are simply updating texture inside this method, but what happens if you use VideoTexture multiple times in a single frame? Multiple unnecessary upload? Unexpected thing may happen if textures are updated between each calls.
You could avoid that with frame counter, or register it to somewhere and update every frame.
Also, why did you do this in a method named __getTexture()? It's not clear what this method does unless you see source code.
You have to make sure that you don't call this in a functions that doesn't render, that is pretty hard to guess for others.
Why shouldn't this be a separate call, like updateVideoTexture()?
https://github.com/openfl/openfl/blob/develop/openfl/display3D/textures/VideoTexture.hx#L63-L81

I agree, updating only if the texture is dirty would be better. Does anyone want to take a crack at this? Thanks

I've added this as an enhancement here :smile: https://trello.com/c/YB8sxsvE/30-improve-stage3d-videotexture-to-only-update-when-the-video-changes


[stable/traefik] Added optional clusterIP value to specify the clusterIP for the main service

What this PR does / why we need it:
Adds an option to specify the ClusterIP on the main Traefik service.  I route to it by service IP and am not able to use a hostname for that particular purpose.
I also semi-fixed up the alignment in the values table in README.md :)
Which issue this PR fixes
N/A
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md

/assign @billimek

Whoops....just noticed I did this from the wrong branch.

Whoops - wrong PR

/assign @jbdoumenjou

/assign @emilevauge


Update kinematics config to allow head to search

Is this change still required @tayloryoung6396?

You said you were changing this, then never pushed changes @tayloryoung6396. What's happening with this branch/PR?
Also, where does this fit in with what @NDxiura is doing?

I would like to see this branch revived or removed please @tayloryoung6396

#581 Addresses the same problems and is more developed.


Fix: fix irfft1d bug

Thanks for your contribution and we appreciate it a lot. :rocket::rocket:
1. Motivation
Please describe your motivation and the goal you want to achieve through this pull request.
2. Modification
Please briefly describe what modification is made in this pull request, and indicate where to make the modification.
Are new test cases added? If so, please post the corresponding generator-PR link here.
3. Test Report
If you want to know how to do operator testing, you can see GTest-User-Guide-zh.
3.1 Modification Details
3.1.1 Accuracy Acceptance Standard
For static threshold standard details, see: MLU-OPS™ Accuracy Acceptance Standard.

static threshold

diff1

[ ] float32 mlu diff1 <= 1e-5
[ ] float32 mlu diff1 <= 3e-3
[ ] float16 mlu diff1 <= 3e-3

diff2

[ ] float32 mlu diff2 <= 1e-5
[ ] float32 mlu diff2 <= 3e-3
[ ] float16 mlu diff2 <= 3e-3

diff3

[ ] mlu diff3 == 0
[ ] mlu diff3_1 == 0
[ ] mlu diff3_2 == 0

dynamic threshold

[ ] diff1: mlu diff1 <= max(baseline diff1 * 10, static threshold)
[ ] diff2: mlu diff2 <= max(baseline diff2 * 10, static threshold)
[ ] diff3: mlu diff3 <= max(baseline diff3 * 10, static threshold)

float32, threshold = 1e-5
float16, threshold = 1e-3

3.1.2 Operator Scheme checklist

Supported hardware

[ ] MLU370
[ ] MLU590

Job types

[ ] BLOCK
[ ] UNION1
[ ] UNION2
[ ] UNION4
[ ] The operator will dynamically select the most suitable task type, for example, UNION8

3.2 Accuracy Test
3.2.1 Accuracy Test
If you have checked the following items, please tick the relevant box.

[ ] Data type test (e.g. float32/int8)
[ ] Multi-dimensional tensor test
[ ] Layout test
[ ] Different size/integer remainder end segment/alignment misalignment test
[ ] Zero dimensional tensor test/zero element test
[ ] stability test
[ ] Multiple platform test
[ ] Gen_case module test, see: Gencase-User-Guide-zh
[ ] Nan/INF tests
[ ] Bug fix tests
[ ] For memory leak check details, see: GTest-User-Guide-zh
[ ] For code coverage check details, see: GTest-User-Guide-zh
[ ] For I/O calculation efficiency check details, see: MLU-OPS™-Performance-Acceptance-Standard

3.2.2 Parameter Check
Test Point-1: When a new operator is submitted, the test points are given and the test results are stated. Acceptance Standard: Normal error.
Please fill your test results(Error Message) in here, ...

Test Point-2: Whether illegal parameters are passed. Acceptance Standard: Normal error.
Test results...

3.3 Performance Test
See MLU-OPS™ Performance Acceptance Standard for details.
Platform：MLU370
# The test results should contain Op name, Shape, Data type,
#   MLU Hardware Time(us), MLU Interface Time(us), MLU IO Efficiency,
#   MLU Compute Efficiency, and Mlu Workspace Size(Bytes)
#
# for example:
#
# ----------- case0 -----------
# case0
# [Op name                ]: abs
# [Shape                  ]: input.shape=[1024,1024,3,4], output.shape=[1024,1024,3,4]
# [Data type]             ]: float32
# [MLU Hardware Time      ]: 15728 (us)
# [MLU Interface Time     ]: 369.008 (us)
# [MLU IO Efficiency      ]: 0.23275
# [MLU Compute Efficiency ]: 0.5
# [Mlu Workspace Size     ]: -1 (Bytes)
#
# ----------- case1 -----------
# ...

Platform：MLU590
# ----------- case0 -----------
# ----------- case1 -----------
# ...

3.4 Summary Analysis
Please give a brief overview here, if you want to note and summarize the content.


Don't get metrics

Hello
I tried using your docker image to track github status.
But unfortunately I don't get metrics:

Please tell me how can I fix this?

Ugh... haven't maintained this component for quite a while...
How did you start/deploy it? (helm-chart, locally with/without docker).
Have you provided it a configuration with statuspage urls?
Can you please add the log output of the component itself?

Thanks for the answer :)
Deployed to docker using your dockerfile - src/main/docker/Dockerfile.native
Page available at http://<IP_ADDRESS>:8080/metrics
logs:
$ docker logs -f hungry_antonelli
Starting with configuration at
cat: '': No such file or directory
2022-03-27 12:38:44,915 INFO  [io.quarkus] (main) status-metrics-exporter 0.0.1 native (powered by Quarkus 1.6.0.Final) started in 0.026s. Listening on: http://<IP_ADDRESS>:8080
2022-03-27 12:38:44,915 INFO  [io.quarkus] (main) Profile prod activated.
2022-03-27 12:38:44,915 INFO  [io.quarkus] (main) Installed features: [cdi, kotlin, mutiny, scheduler, smallrye-context-propagation, vertx, vertx-web]
"Have you provided it a configuration with statuspage urls?" - unfortunately I don't understand what I should have done
I tried specifying the address of githubstatus in config.json before building the image:

Yeah, sorry for the not existing docs...
The component uses a configuration file, that need to be mounted into the container an announced by an env var: https://github.com/heubeck/statuspage-prometheus-exporter/blob/master/charts/statuspage-prometheus-exporter/templates/Deployment.yaml#L35
An example config file is here: https://github.com/heubeck/statuspage-prometheus-exporter/blob/master/config.json
Please let me know, how it goes...

Thank you very much! It's all right!

awesome, thank you @kvs96
if you find this component useful and continue to use it, please let me know - than I try to maintain it a bit ;)


fix typo in recordType method of wal_watcher.go

@simonpasquier Can this be merged?

Yeah it looks safe. If @codesome or @gouthamve disagrees, we can still revert it.

OMG SO FAST!


Update the README with better information

...describing some of the important configuration and other settings.

Could we mention some basic stuff around dependencies and the need to run npm install beforehand?

Is it worth writing something about the TCP (and therefore TLS) connection pools vs HTTP requests?

Do we need stuff around secrets management?

Could we mention some basic stuff around dependencies and the need to run npm install beforehand?

Added a check for this in entrypoint.sh, which will alert the user. Fixed

Do we need stuff around secrets management?

Added a note about secret management and the "config file". Fixed

Is it worth writing something about the TCP (and therefore TLS) connection pools vs HTTP requests?

I've added a note about this and the problems of high CPU warnings while testing. Fixed


Removing data elements from response if the error throwing

More info: https://github.com/webonyx/graphql-php/issues/280

Thanks!


19 add card management system

Closes #19

Codecov Report

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

@@                  Coverage Diff                  @@
##             release-candidate       #23   +/-   ##
=====================================================
  Coverage                     ?   100.00%
=====================================================
  Files                        ?        30
  Lines                        ?       640
  Branches                     ?         0
=====================================================
  Hits                         ?       640
  Misses                       ?         0
  Partials                     ?         0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Files add to support filebeat

This diifs adds support to extract the logs inside the /tmp/ folder into filebeat.
The configmap_console ouitputs the logs into stdout [parsed]
Otherwise configmap.yaml needs the envs for elastic cloud to be configured. But will send the logs parsed into a filebeat index.

I'll merge these in for now and move them to an examples/ folder. Mind adding a readme and guide for it?


district_domain drops path when user provides scheme

https://github.com/StudentVue/StudentVue.py/blob/002dc48424bf892e8f6d6c0c84c87c8b44a31eaa/studentvue/StudentVue.py#L52-L57
this code (improperly?) drops the path when district_domain is prefixed with a scheme such as https://, as noted in #18

Fixed by #20.


investigate using class so that we could use 'this' for context

currently all our parameters must be passed over arguments function
we may elevate this if all code is run inside recurse class

we decided on passing context over arguments function as final implementation


Fix #32 : Provide guidance for non tech users to file issues on oppia's github

This PR fixes #32 by introducing a new Markdown file which includes guide on how to file an issue on Oppia'a github.

@gp201 PTAL, Thanks.

@seanlip Could you also take a Pass and suggest any changes if needed, Thanks.

@gp201 Can you PTAL. I have addressed your comments, Thanks :)

@U8NWXD PTAL, Thanks.


Add ppc64le support to Tekton results

This PR is to track work on adding official Power support to Tekton results.
I am able to build(using ko) and test api/watcher images natively on Power. Using these images I could successfully deploy Results on Power. I have added build and unit test jobs for ppc64le in the tekton pipeline in this PR.
@wlynch @dibyom let me know your inputs on this.

@wlynch @dibyom any update on this?

/ok-to-test

Error seems to be due to this:
tekton/release.yaml
74:16     error    trailing spaces  (trailing-spaces)

@dibyom I have fixed the linting error. Please review it.

/lgtm

/kind feature
We need this label for release as discussed in the last WG call.


add shebang, python version check and fix bug in menu

Add shebang so that the script can be called directly with ./ciscopwdhasher.py on most systems except Windows.
Add version check for python version requirement.
Fix text for type 8 passwords.

Thanks heaps!


/usr/bin/env: ‘bash\r’: No such file or directory

When running ./setup.sh, I receive this message:
/usr/bin/env: ‘bash\r’: No such file or directory
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3 is already the newest version (3.8.2-0ubuntu2).
qemu-system is already the newest version (1:4.2-3ubuntu6.21).
qemu-utils is already the newest version (1:4.2-3ubuntu6.21).
python3-pip is already the newest version (20.0.2-5ubuntu1.6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

/usr/bin/env: ‘python3\r’: No such file or directory

qemu-img: Could not open 'BaseSystem.dmg': Could not open 'BaseSystem.dmg': No such file or directory
/usr/bin/env: ‘bash\r’: No such file or directory

I've tried using dos2unix setup.sh, and sed $'s/\r$//' setup.sh  before ./setup.sh, and still having issues. Any idea?

@ctthomas Can I see what your setup.sh file looks like?

Actually, please run this command ./tools/debug.sh

@notAperson535 I get the same message:
$ ./tools/debug.sh
/usr/bin/env: ‘bash\r’: No such file or directory

@ctthomas what OS are you on? Is it NixOS?

What does that gives you?
which env

@ctthomas what OS are you on? Is it NixOS? Windows?

It seems the file has Windows line endings...
Have you edited the file (or even opened and saved without altering it?)
Possible solution would be to check ~/.gitconfig and make sure autocrlf=true does not exist...
Other than that, maybe this would help
dos2unix basic.sh

@ctthomas what OS are you on? Is it NixOS? Windows?

@ctthomas it seems the file has Windows line endings... Have you edited the file (or even opened and saved without altering it?)

It shouldn't have windows lines, as I made it in github

dos2unix basic.sh

It's setup.sh, and they already tried dos2unix setup.sh

I've tried using dos2unix setup.sh, and sed $'s/\r$//' setup.sh before ./setup.sh, and still having issues. Any idea?

setup.sh is not the problem. It's the fetch-macOS-v2 file on line 1

@notAperson535 I'm on Windows 11. Running this in a Ubuntu 20.04 WSL2.

@ctthomas go ahead and run this command git pull --rebase, and then try again

Seems to fix that issue, this returns:
Unable to init server: Could not connect: Connection refused
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: No such file or directory
audio: Failed to create voice `dac'
gtk initialization failed

Once setup.sh finsishes , press ctrl+c and run sudo HEADLESS=1 ./basic.sh. Once this is done, download VNC Viewer, here, then type localhost:5900 into the top to connect to the vm using vnc.


feat: External Glides missed/extraneous prediction report

Asana ticket: Build External Glides Missed/Extraneous Prediction Report
This turned out to be a sizable amount of work! (and code!)
Happy to do a walk-through over a call if it would help.

I wonder how hard it would be to give the user something like a progress bar when downloading files to give a better idea of how close they are. Or even just logging something like "Downloading file 123 of 456"

The original code did print a line for each file located on disk or downloaded, and I found it to be unnecessarily noisy... I do see how the new code might be a little too quiet, leaving you to wait a minute or more and trust that it's not just spinning its wheels.
It would be great if Kino provided a progress bar widget, but I wasn't able to find one. I'll see about adding back some console printing.

Leaving a comment here just to note some additional work that came up:
The current logic doesn't check the contents of the files it downloads, it simply trusts that a VehiclePosition file contains at least some valid/useful VehiclePositions, and ditto for TripUpdates.
In dev-blue, at least currently, that's not always the case. I need to adjust the code to do more filtering up front so that we only count files with useful data toward the desired sample rate.
This will likely also result in much smaller ETS tables and faster report re-runs, if I can find a way to make the data-loading code cell only re-evaluate when certain user settings are changed.


LDAP adminGroup not updating

Hi there
I'm still on version 1.0.8
we created the .env to go the a config.yml - it was all working when we initially installed it.
After restarting the system we've had a issue. The Admin users can no long get to the Admin page.
Also the default admin user doesn't seem to work either, the details from the config or the details from the service status.
the status is on
INFO[2022-08-22 20:55:49] starting ldap user synchronization...
nothing past that.
Anythoughts?
Here is my config.yml
core:
  listeningAddress: <IP_ADDRESS>:8123
  externalUrl: "myExternalURLhere"
  title: License Request
  ldapEnabled: True
  company: MyCompany
  adminUser<EMAIL_ADDRESS>  adminPass: wgportal
  mailFrom: Wireguard<EMAIL_ADDRESS>wg:
  devices:
    - wg0
  defaultDevice: wg0
  configDirectory: /etc/wireguard
email:
  host: <IP_ADDRESS>
  port: 25
  tls: false
ldap:
  url: ldap://<IP_ADDRESS>:389
  dn: OU=Staff,OU=Users,OU=Active,OU=FB,DC=mycompany,DC=com,
  user<EMAIL_ADDRESS>  pass: a^u5AeyeM-epeis2M
  adminGroup: OU=IT,OU=Staff,OU=Users,OU=Active,OU=FB,DC=mycompany,DC=com
  # startTLS: false

I figured it out. Needs to be a group for Admin's not an OU.
Anyone know why this is happening for a user?
DEBU[2022-08-24 09:26:59] updating ldap user<EMAIL_ADDRESS>

don't have it in debug mode.
and possible close this ticket since you fixed it :)


Generate package pairs to check

This is separating out from #236

Tests WIP, will push in a later commit.


Add assertion to verify preprocessor was run on create-ref modifier

Our team uses ember-ref-bucket in one of our private addons and an app that uses that addon. We did not have ember-ref-bucket in the dependencies for the app, which caused an issue where we could use create-ref but the bucket was set incorrectly because the preprocessor was not running on the app code.
This took us a while to debug. The assertion in this PR would provide immediate feedback in development/test and the action to take to resolve. I'm happy to change this if you have any feedback.
Thanks for your work on this addon!

Hi @jasonbekolay, thank you for report!
Technically it's completely allowed to use ref-bucket without preprocessor, but I agree it's barely a real use-case and could lead into issues as mentioned.
I'm afraid if we land change as-is we could break flow for users if already used with this behaviour. Could we replace assert with warn?

Updated 👍 I've also changed it not warn if the bucket is specified.

@jasonbekolay thank you for your work! v5.0.7 published.

Thanks for the quick merge and release 😄


0.19.1 unable to infer dependencies for custom tests

Describe the bug
I have a macro test_valid_code defining a custom test that uses {{ ref('model') }}. For dbt 0.19.1 (this only fails for 0.19.1), dbt compile gives
Encountered an error:
Runtime Error
  Compilation Error in test valid_code (models/model.yml)
    dbt was unable to infer all dependencies for the model "valid_code_model".
    This typically happens when ref() is placed within a conditional block.

    To fix this, add the following hint to the top of the model "valid_code_model":

    -- depends_on: {{ ref('model') }}

    > in macro test_valid_code (macros/tests/test_valid_code.sql)
    > called by test valid_code_model (models/model.yml)
    > called by test valid_code_model (models/model.yml)

Trying to add -- depends_on: {{ ref('model') }} to the model and/or test file doesn't help.
Expected behavior
dbt {compile,run} to not give any errors.
System information
Which database are you using dbt with?

[ ] postgres
[ ] redshift
[ ] bigquery
[x] snowflake
[ ] other (specify: ____________)

The output of dbt --version:
$ dbt --version
installed version: 0.19.1
   latest version: 0.19.1

Up to date!

Plugins:
  - bigquery: 0.19.1
  - snowflake: 0.19.1
  - redshift: 0.19.1
  - postgres: 0.19.1

The operating system you're using:
macOS 11.2.3
The output of python --version:
Python 3.8.5

@bmwilly Thanks for the report! It does look like this represents a regression from v0.19.0.
Could you clarify what {{ ref('model') }} represents here? Is that the model that the test is being defined on? If so, this could just be {{ model }} instead (as the built-in schema tests have it).
If this represents a different model that is being referenced within your schema test, then I've been able to reproduce this error:
{% macro test_valid_code(model) %}

    select count(*) from (

        select * from {{ model }}
        union all
        select * from {{ ref('model_b') }}

    )

{% endmacro %}

Compilation Error in test valid_code_model_a_ (models/schema.yml)
  dbt was unable to infer all dependencies for the model "valid_code_model_a_".
  This typically happens when ref() is placed within a conditional block.

  To fix this, add the following hint to the top of the model "valid_code_model_a_":

  -- depends_on: {{ ref('model_b') }}

  > in macro test_valid_code (macros/test_valid_code.sql)
  > called by test valid_code_model_a_ (models/schema.yml)
  > called by test valid_code_model_a_ (models/schema.yml)

Here's one way to work around this in the meantime, so that the dependency is still detected:
{% macro test_valid_code(model, other_model) %}

    select count(*) from (

        select * from {{ model }}
        union all
        select * from {{ other_model }}

    ) validation_errors

{% endmacro %}

version: 2

models:
  - name: model_a
    tests:
      - valid_code:
          other_model: "{{ ref('model_b') }}"

@jtcohen6 thanks for the quick response and for the understanding from my not very clear report!

If this represents a different model that is being directly referenced from within your schema test definition, then I've been able to reproduce this error:

yes, I did mean a different model that is being directly referenced in the schema test definition, similar to the example you give.
I was able to fix this using your workaround — thanks!
Feel free to close this issue; I'll leave it open in case you want to use it to track restoring the previous functionality.

@bmwilly We're including a fix for this in v0.19.2, for which we just cut a release candidate. Any chance you could test locally and confirm that it fixes the issue you described above?
pip install --upgrade 0.19.2rc1
# or
brew install<EMAIL_ADDRESS>

@jtcohen6 seems to work, thanks!


Response Header is missing except content-length & content-type

Package
dio
Version
5.4.0
Operating-System
Linux
Output of flutter doctor -v
flutter doctor -v
[✓] Flutter (Channel stable, 3.16.8, on Pop!_OS 22.04 LTS
    6.6.6-76060606-generic, locale en_US.UTF-8)
    • Flutter version 3.16.8 on channel stable at
      /home/rnp/snap/flutter/common/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 67457e669f (7 days ago), 2024-01-16 16:22:29 -0800
    • Engine revision 6e2ea58a5c
    • Dart version 3.2.5
    • DevTools version 2.28.5

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /home/rnp/Android/Sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.21+9-post-Ubuntu-0ubuntu122.04)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/linux#android-setup for
      more details.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[!] Android Studio (not installed)
    • Android Studio not found; download from
      https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup
      for detailed instructions).

[✓] VS Code (version 1.85.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.80.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Pop!_OS 22.04 LTS
      6.6.6-76060606-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 120.0.6099.224

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Dart Version
3.2.5
Steps to Reproduce
Try sending Cookie's from backend, then the headers are missing

Expected Result
I should get the set-cookie data from dio response headers.

Actual Result

// Response Header in Web

This is a web based project so, ignore the android studio / toolchain related errors,

On the Web, cookies are implicitly handled by the browser. All you need to do is to enable BrowserHttpClientAdapter.withCredentials.

DioError ║ DioExceptionType.connectionError
The connection errored: The XMLHttpRequest onError callback was called. This typically indicates an error on the network layer. This indicates an error which most likely cannot be solved by the library.
New error comes up due to this code
 _dio.httpClientAdapter = BrowserHttpClientAdapter(withCredentials: true);

As the error stated:

This typically indicates an error on the network layer. This indicates an error which most likely cannot be solved by the library.

Closing as the issue becomes unactionable.

@AlexV525 I am sending a api request to the baceknd of the server and in the response i am getting 10 response header which also includes a cookie, but currently i am able to fetch only 2 of them (...mention the header names). ....add the server.js file in refrence.

i am facing to the same error. I have checked in browser with 10 response header but in dio debug only log 2 property content-type, content-length

@rnp0728 in our case this was the fix.


set up backend and create an api for contact form

some one is building a contact form  https://github.com/Sanskriti1102/Techtalksintelligenz/issues/64
i want to set up backend and add an Api  so that you can receive the message of the people filling the form
i will use nodejs to setup backend and nodemailer for creating api
please assign this issue to me @Sanskriti1102

Can you implement these too Mail the responses to our email and store in a google sheet?

Can you implement these too Mail the responses to our email and store in a google sheet?

Yes I can do it but hen make the issue level3

We cant assign this as level3 it will be level 2 issue

We cant assign this as level3 it will be level 2 issue

You don't have any backend I have to set it up that an overhead that's why

@AyushSharma72 assigned


Mismatch between text and sample code in Web share doc

https://github.com/google/WebFundamentals/blob/master/src/content/en/updates/2016/10/navigator-share.md mentions under "Be progressive"

Wait for the element to be available intercept and prevent the default behavior of the click.

Besides the typo, the sample code linked doesn't prevent default.

cc : Mr. @PaulKinlan


Fix transitions

Hi @joamatab ,
I noticed when trying to upgrade that transitions were broken when going between waveguides with different intent layers. There were no tests for this case, so I added a test which was previously broken but fixed by this MR (basically it was just a pydantic issue).
A few other notes...

I noticed while making the test that the area() function is also pretty badly broken... I'll make a new issue for this
We should probably add a tutorial on how to work in platforms which transition between multiple waveguide types (and maybe expand the generic PDK to cover this case).

Awesome, thank you Troy!


feat: add segmentation

let's standardize on either import letsql or import letsql as ls

let's standardize on either import letsql or import letsql as ls

Opened PR #403 forcing the standard

Something is broken with caching
Running
import operator

import toolz

import letsql as ls
from letsql.common.caching import ParquetSnapshot
from letsql.common.utils.defer_utils import deferred_read_parquet
from letsql.expr.relations import into_backend

rate_to_rate_str = toolz.compose(operator.methodcaller("replace", ".", "p"), str)

def rate_to_parquet(flight, rate):
    base_url = f"https://nasa-avionics-data-ml.s3.us-east-2.amazonaws.com/Tail_652_1_parquet"
    filename = f'{flight}.{rate_to_rate_str(rate)}.parquet'
    return f"{base_url}/{filename}"

def asof_join_flight_data(flight, airborne_only=True):
    """Create an expression for a particular flight's data """

    con = ls.connect()
    ts = (
        deferred_read_parquet(con, parquet_path, rate_to_rate_str(rate))
        .mutate(flight=ls.literal(flight))
        for rate, parquet_path in (
            (rate, rate_to_parquet(flight, rate))
            for rate in sorted(rates, reverse=True)
        )
    )
    db_con = ls.duckdb.connect()
    (expr, *others) = (into_backend(t, db_con, name=f"flight-{flight}-{t.op().parent.name}") for t in ts)
    for other in others:
        expr = expr.asof_join(other, on="time").drop(["time_right", "flight_right"])
    if airborne_only:
        expr = expr[lambda t: t.GS != 0]
    return expr

tail = "Tail_652_1"
flight = "652200101120916"
rates = (0.25, 1.0, 2.0, 4.0, 8.0, 16.0)
expr = asof_join_flight_data(flight)
storage = ParquetSnapshot()
cached = expr.cache(storage=storage)
assert not storage.cache.exists(expr)
ls.execute(cached.count())
assert storage.cache.exists(expr)

results in
/nix/store/xjz78j087rn070fa5yq49y7wg1k8wpg3-letsql-dev-env/lib/python3.10/site-packages/ibis/expr/types/relations.py:685: FutureWarning: Selecting/filtering arbitrary expressions in `Table.__getitem__` is deprecated and will be removed in version 10.0. Please use `Table.select` or `Table.filter` instead.
  warnings.warn(
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
Cell In[1], line 49
     47 assert not storage.cache.exists(expr)
     48 ls.execute(cached.count())
---> 49 assert storage.cache.exists(expr)

AssertionError:

@dlovell
This is happening because we are putting a RemoteTable before cross-source caching, any of these assertions work:
assert storage.cache.exists(cached.op().replace(replace_fix(transform_cached_node)).parent)
assert storage.cache.exists(uncached(cached.op()))

I'm working on a fix

Now, it is possible to do the following:
storage.exists(expr)


adds incomplete_test_app decorator

Motivation
Adds a new decorator to distinguish between whether a test is failing because a feature is not supported or if the test relies on an unimplemented/incomplete interface.
For example:

The ruby tracer supports setting resource names on spans but the ruby parametric app does not support the trace/span/set_resource endpoint. With this proposal all tests that rely on this unsupported endpoint will be annotated with incomplete_test_app.

Changes

removed duplicate code from missing_feature, bug, irrelevant, and flaky decorators (refactor)
Adds incomplete_test_app annotation (core change)
Documents new annotation (documents new annotation)
Use new annotation in parametric manifest files (uses the new annotation so we know it works).

Workflow

⚠ Create your PR as draft ⚠
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Test logic is modified? -> Get a review from RFC owner. We're working on refining the codeowners file quickly.
Framework is modified, or non obvious usage of it -> get a review from R&P team

:rocket: Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist

[ ] If PR title starts with [<language>], double-check that only <language> is impacted by the change
[ ] No system-tests internal is modified. Otherwise, I have the approval from R&P team
[ ] CI is green, or failing jobs are not related to this change (and you are 100% sure about this statement)
[ ] A docker base image is modified?

[ ] the relevant build-XXX-image label is present

[ ] A scenario is added (or removed)?

[ ] Get a review from R&P team

Two things to consider before moving forward :

all skip reasons must be understood by the feature parity dashboard. Could you contact @colin-higgins to see how to mode forward

Yup that was my follow up task if this contribution was accepted. I would like to add a a black/dark-grey square to the feature parity dashboard. That way we can distinguish between missing_feature and incomplete_tests.

which other name have you considered for incomplete_test ? I have the feeling it can be misleading, as we could understand it as "the test itself is incomplete". It may be a good idea to ping more people on slack to ensure the name we'll chose is the best one

In parallel, two request changes :

some doc
some test

Thank you for tackling this !

I thought about using one of these:

harness_limitation
incomplete_endpoint
incomplete_test_app
inconsistent_endpoint
inconsistent_test
incomplete_tooling
experimental_endpoint

I can't find a simple way to capture the scenario where the test app is limited. I am open to ideas. I don't love incomplete_test either. In theory an incomplete test shouldn't even exist.

I'm personally in favor of incomplete_test_app, because litteraly, weblog/parametric app are test apps, and they are incomplete. Could you asking this on #apm-shared-testing to validate (or not) this choice?

Yup that was my follow up task if this contribution was accepted. I would like to add a a black/dark-grey square to the feature parity dashboard. That way we can distinguish between missing_feature and incomplete_tests.

It must be done before merging this, otherwise we'll probably break the import.

missing_feature

Yup this makes sense to me. I will update the test declaration in system-tests to report notImplemented for now

https://dd.slack.com/archives/C025TJ4RZ8X/p1732810833889749
Let's wait three days. As it's optional (team who wants to  keep using the old decorator will be able to), I won't require a vaste majority. But at least I don't want a strong opposition to move forward on that.


Typo in Chapter 3 about CentOS Vagrant Box File

I think there is an error in "Ansible For DevOps" book on chapter 3, page 20, line 8:
http://config.vm.box = "geerlingguy/centos8"
But on page 21, it mentioned
"all three servers will be running CentOS 7"
I believe the Box file is for CentOS 7 and not CentOS 8.
Abid Malik

Another reader also spotted this one—it's just due to my own lack of editing in the final work to get the 2nd edition done. I'll fix this soon and have an updated copy of the manuscript.

This is fixed in the latest version of the book.
Though I'm sure I've mixed up something else, somewhere else now :D


[BUG] Bot returns error 'Role does not exist' even though it clearly does when ranking?

So I'm making a simple bot to test my skills and learn a bit of JS, so I decided to branch off my bot into automating functions (like ranking a user or sending a shout), I've seen this post before about a year ago, but it seems I'm getting the error still, it's probably something I did wrong but here's my code.

                console.log('I\'m doing something.');
               nbx.getIdFromUsername(`${args[0]}`).then((getIdFromUsername) => {
                userid = getIdFromUsername
                console.log(`${args[0]} + ${args[1]}`);
                nbx.setRank(group, userid, args[1] ); // This is the main line of course.
              });

So this is a simple few lines of code of course, but when I run it argument 1 is still 1 like I sent in the message, but for some reason that isn't the case?
Also a little bit more information that might be the issue;
I'm ranking myself (owner of the group) to role 1

Yeah, so I came back to it later and it turned out that if I set the rank to 1 instead it worked, sorry about that. Still not sure why it's doing that but I'll keep you updated.

Hi! setRank does not accept a rank number (1-255), but a roleset when passed in this way.
Why not try passing it like so:
nbx.setRank({ group, target: userid, rank: args[1] })

Relevant docs page

Hi! setRank does not accept a rank number (1-255), but a roleset when passed in this way.
Why not try passing it like so:
nbx.setRank({ group, target: userid, rank: args[1] })

Relevant docs page

It seems to rank just fine when I do nbx.setRank(, , 4)

Yeah, so I came back to it later and it turned out that if I set the rank to 1 instead it worked, sorry about that. Still not sure why it's doing that but I'll keep you updated.

The reason this is happening is because your args[1] is a string. Due to a strict equal operator in getRole.js this means it will not match a string against a number (which it is expecting).
To fix your issue, I would recommend instead of using args[1], use Number.parseInt(args[1]. That should make the passed argument a number and find the role correctly. 😄

Hi combo never reply as much Sent from my T-Mobile 4G LTE Tablet
-------- Original message --------From: Atom<EMAIL_ADDRESS>Date: 8/10/20  16:35  (GMT+03:00) To: "suufi/noblox.js"<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [suufi/noblox.js] [BUG] Bot returns error 'Role does not exist'
  even though it clearly does when ranking? (#175)
Yeah, so I came back to it later and it turned out that if I set the rank to 1 instead it worked, sorry about that. Still not sure why it's doing that but I'll keep you updated.
The reason this is happening is because your args[1] is a string. Due to a strict equal operator in getRole.js this means it will not match a string against a number (which it is expecting).
To fix your issue, I would recommend instead of using args[1], use Number.parseInt(args[1]. That should make the passed argument a number and find the role correctly. 😄
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/suufi/noblox.js/issues/175#issuecomment-671357814",
"url": "https://github.com/suufi/noblox.js/issues/175#issuecomment-671357814",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]


https://graph.microsoft.com/v1.0/lists returns 400 error

The table gives 4 graph endpoint equivalents for 4 SharePoint v2 endpoints, but only 3 of them seem to work. Sites, Drives and Drive all return a 200 response with some data, but lists returns a 400 error with the following message
{
    "error": {
        "code": "BadRequest",
        "message": "Resource not found for the segment 'lists'.",
        "innerError": {
            "date": "2020-10-23T12:46:40",
            "request-id": "98724143-e705-46f9-8e48-5503d3e533fa",
            "client-request-id": "23fde489-dc69-00ae-f2cf-354824a9cef6"
        }
    }
}

Is there a mistake in the table, or is additional configuration required?

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

ID: accadff1-1b70-6a67-4465-d66245aa3a09
Version Independent ID: 8e108e60-9c50-0856-712c-f85e64c9813a
Content: Operations using SharePoint REST v2 (Microsoft Graph) endpoints
Content Source: docs/apis/sharepoint-rest-graph.md
Product: sharepoint online
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Hi, it looks like you may not be forming the URL correctly. In order to call the /Lists endpoint, you need to provide a Site ID first.
_api/v2.0/sites/mytesttenant.sharepoint.com,532bd9a4-869f-45e2-b5f0-323f6604a429,c67564a0-242f-40bf-b4ac-a0ea8dbc935e/lists
Use the following documentation on the API usage and resources
https://docs.microsoft.com/en-us/graph/api/resources/sharepoint?view=graph-rest-1.0

@MatthewSteeples ,
To get the site id in Azure AD, try to call the endpoint below in Graph Explorer with GET Request:
https://graph.microsoft.com/v1.0/sites?search=*

Then as suggested from bcameron1231, use this endpint format:
https://tenantname.sharepoint.com/_api/v2.0/sites/zheguo.sharepoint.com,6f0d629d-b9b2-44f2-a676-2a590f7d08a2,040f9461-79c2-4cda-8afe-f8b592a0b646/lists

Hi @bcameron1231 and @Jerry0527,
Thanks for those pieces of information. That gives back queries that I'd expect. One thing I'm having trouble finding (and I don't seem to be able to find it here either) is where the "personal" lists created through Microsoft Lists are stored. I've tried looking in the sites, and in the -my suffix too but don't seem to be able to track these down. I recognise that this isn't the right place to ask for support, but is there anything you can point me in the direction of?

Personal Lists are stored in the User's OneDrive. You would need to use the standard SharePoint REST APIs to get the data from these lists, from that Users OneDrive site.
e.g
https://mytenant-my.sharepoint.com/personal/bcameron_mytenant_com/_api/web/Lists/getbytitle('Issue Tracker')/items

Thanks. Feels like I'm getting closer now. Is there a way to get those through the Graph API (as that's what the rest of our system currently uses)?

@bcameron1231 Exactly what I was after thanks. It was the middle syntax that I was having trouble with deducing (what to put as the "site" for a personal site)


Accept namespaces

What was changed
Parametrize the namespace to allow starting workflows for different namespaces.
Why?
Parametrizing namespaces allows to start workflows without restarting the container.
Checklist

Closes

How was this tested:

Any docs updates needed?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 3 committers have signed the CLA.:x: cherifGsoul:x: mickmcgrath13:x: rlmcneary2You have signed the CLA already but the status is still pending? Let us recheck it.


docs: fix various typos in docstrings

chore

coverage: 80.514%. remained the same
when pulling 6773516a8a2e56d4110e03621d9c308bb489579b on doc-typos
into 5518fa0eed06ff1f65671bb7d897632c2c825245 on master.


--export=malloc --export=free cause memory leak

TinyGo Version: 0.28.1
nottinygc Version: v0.4.0
when cgo LDFLAGS is
#cgo LDFLAGS: -Lwasm -lgc -lmimalloc -lclang_rt.builtins-wasm32 --export=malloc --export=free
the wasm plugin will cause memory leak.
but when I remove --export=malloc --export=free it will not.
What't the reason?

When you remove the flags, do you mean you are removing them from this line and using replace?
https://github.com/wasilibs/nottinygc/blob/main/init.go#L9
Is it possible to get a code reproduction?

Hi @rinfx - any more info for this issue? A repro would be great.

Hi @rinfx - we have released a new version that fixes memory leaks in certain situations with lots of random data. I wasn't quite able to understand your original issue, but I am going to go ahead and close this. If you still see some issue, feel free to reopen.


amp-bind "turing" example broken

The turing.amp.html example is broken.
It's logging console errors: Expression size (199) exceeds max (50).

NVM meant to file that in the amphtml repo


Please arrange questions topic-wise

I don't like to idea of arranging them topic-wise. I sometimes challenge people by randomly selecting the question (which means, I scroll a lot up and down and then select one).
By ordering them topic-wise, I wouldn't know if by scrolling I will get a question of the same topic.


MSID: 98310 Version: 1 DOI: 10.1101/2<IP_ADDRESS>3470

MSID: 98310
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>3470
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=98310
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>3470

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/98310v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>3470
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/98310/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

error: [journal-ref-article-title] This journal reference (id c69) has no article-title element.
error: [journal-ref-article-title] This journal reference (id c88) has no article-title element.
warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c31) has a publication-type='other'. Is that correct?
warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c33) has a publication-type='other'. Is that correct?


Histogram range selection UX is misleading

From DanB

One minor thing I noticed is related to the UI for dragging to select a subset based on a histogram.  As you drag to select the various bins, the color changes from light to solid.  However, it seems this color change happens as you cross the vertical midpoint of the bar/bin, but that fails to select it unless your drag selection includes the entire bin.  GIF included below.

https://files.slack.com/files-pri/T03L2C6TB-F01TE30FKCG/2021-03-29_10.43.06.gif
This will require a deep dive into Plotly behaviour and settings.
See also #66 - might as well do at the same time?

The most pragmatic way to fix this is to adopt the Plotly way of selecting, which means when more than half of a bar is selected, it will become selected, and selections will be quantised to the bin/bar boundaries.
I will knock up a PR to demo this.


Update with new icon

A new icon is available in master:
https://github.com/dataiku/dip/blob/8a329c743447e5394f04cc78dbc54c67fe7c53c2/src/main/platypus/static/dataiku/css/font.less#L1540
To guarantee back-compatibility, you can use this syntax
"icon": "icon-azure-kubernetes-services icon-cloud"

👋  @hrjn  (small UX thing)

@alexcombessie noted, I'll add that to the next few updates we make to the plugin, thanks!

Hello @jbelafa @hrjn!
Any chance we can use our custom icon (comes with DSS8)?
Cheers,
Alex

I haven't forgotten you @alexcombessie :D New icon will pop up when merging #14

Done.

Done.


Hide the input styling for the year input if the min and max date have the same year.

Hide the input borders/background and input buttons for the year input if the min and max date have the same year.
I have some possible solutions listed below.
Option A: Style the input.
You could disable and style the input. But you could possibly be fighting style differences across different browsers which could get messy... The example below works in Chrome, but I wouldn't be surprised if it didn't look right in some other browsers.

<input class="cur-year" type="number" min="2016" max="2016" disabled="true">

input[type=number][disabled] {
    opacity: 1; /* Restore the opacity */
    border: 0; /* Remove the border */
    background: transparent; /* Remove the background */
    cursor: default !important; /* Restore cursor to default */
    pointer-events: none; /* Remove pointer events to be safe? */
}

Also addressing #386.
Option B: Swap the input with a simple span
Much cleaner html and css, but more JS logic for adding and removing the input when applicable.
2016

:cake: see https://github.com/chmln/flatpickr/commit/5a099e69e68c941486624ca4f31db03fc1afb205


Tests for Add-On plugins + 1 minor fix

Spotted that the html-webpack-plugin-alter-asset-tags event is passed an undefined chunks arg.
This PR has this fix plus additional testing for the add-on plugin functionality.
This testing consists of:

3 additional tests at the end of BasicSpec.js;
a test utility class AddOnTestPlugin,js that acts both as a plugin and as a tester;
additional dependency jasmine2-custom-message which allows useful messages from generic test code.

Oh!
All tests passing locally on node v4,v5,v6.
I will take a look at why Travis is failing.
Sorry

Please don't use a class for unit tests

Closing as might be superseded if PR#514 is accepted.


go.mod: bump containerd dependency to 1.5.10

Changes
To be on the safe side, bumping to latest containerd 1.5.x version, see changelog
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Docs included if any changes are user facing
[ ] Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes
NONE

/lgtm

/retest


clarity-native-bin tag update: feat-light-pox-scan

:robot: This is an automated pull request created from a new release in stacks-blockchain.
Updates the clarity-native-bin tag.

Not a release build


Add wrap for ListItem

Problem
A long line in ListItem does not break into multipe lines
Solution
Add a possibilty to wrap ListItem text, same thing as Paragraph
Alternatives
Not that I know about

I arrived here because I'm looking for a case where I wanted to wrap lines ListItems :)
I'll probably be able to rewrite what I have into using a paragraph and lines instead though.

As an unblocker for this, you can pre wrap the lines (e.g. using textwrap) based on the layout rect:
e.g.:
let text = Text::from(textwrap::wrap(string_to_wrap)
    .iter()
    .map(|s| Line::from(s)));

Was not aware of the crate textwrap, I'll give it a try
Thanks Josh :pray:

Right now, each list item is effectively just a container for Text combined with a style. The style is probably superfluous now that text has a style itself (it didn't previously). But it doesn't have the same properties that are available on Paragraph (and likely shouldn't as this would blow out the complexity of things).
I'd like to see Text and line grow fields that specify the wrapping config (mentioned in #293 to some extent). This is a good example of why.
As another workaround, the tui-widget-list crate allows you to configure the rendering of your list items easily, which would allow paragraphs to be used which support wrapping, and / or using textwrap to pre-wrap each item as necessary.
I think this probably makes this ok to mark as a duplicate of #293 - thoughts @pythops? Happy to keep this open or close it.

I'd like to keep it one till we have a wrap for ListItem or decide we won't have it at all. I lean more toward the first option personally.


handle Errors from non http URL sources

Current implementation can only handle error messages from http[s] servers. This causes problems for ftp datasets (see #52 ).
The exception handler should be more generic

In the end, this issue was fixed along side issue #52


Synchronise scroll with active transcript sentence

Feature Request
Is your feature request related to a problem or unsupported use case? Please describe.
When a video is played and a transcript shown, both are synchronized. We know which sentence is active by highlighting it. But in most of case we have a scroll bar and this scroll bar is not synchronized with the active transcript sentence.

Describe the solution you'd like
The active sentence should always be visible in the screen. To do that the scroll position should change to always display it.

https://github.com/openfun/marsha/pull/705


Add Phasor layers/network capability

It would be awesome to implement the ability to train spiking phasor networks in Spyx. JAX has the ability to support complex-valued autodifferentiation, so this should be possible. Doing this would enable extremely fast training by eliminating recurrence when learning before converting to a recurrent architecture for inference.
https://arxiv.org/abs/2204.00507

This is tied to #21


chore: chain serialisation manual implementation

Adds a manual implementation of a bincode compatible serialization for Chain and ExExNotification.
Resolves #11389

I'm not sure this is what you expected, let me know if I understood the issue correctly.

ahhhh makes sense ok!


Dupe bug

Found a dupe bug in the FTB Continuum pack in regards to an interaction between the cooking table and the oven. If you ask the cooking table to craft lots of a single cookable item untill the oven is full, itll start dropping full stacks of the uncooked item.
On a LAN server of FTB Continuum v.1.5.2 on Minecraft 1,12,2, added veinminer to the pack.

You closed this, did you find the issue?

See #325 #332 #334


Error: The argument type 'Int32List' can't be assigned to the parameter type 'Uint16List'.

I tried to run flutter applications from repos
https://github.com/2d-inc/HistoryOfEverything
https://github.com/2d-inc/developer_quest
and both failed with argument type error:

Running Gradle task 'assembleDebug'...

Compiler message:
file:///Applications/flutter/.pub-cache/git/Flare-Flutter-4aebb0ff5b98c7bcf2183c6bac8226cc7ddf5402/flare_flutter/lib/flare.dart:1023:18: Error: The argument type 'Int32List' can't be assigned to the parameter type 'Uint16List'.
 - 'Int32List' is from 'dart:typed_data'.
 - 'Uint16List' is from 'dart:typed_data'.
Try changing the type of the parameter, or casting the argument to 'Uint16List'.
        indices: _indices, textureCoordinates: _uvBuffer);
                 ^
Compiler failed on /Users/andreyaleev/Dev/samples/developer_quest/lib/main.dart
Finished with error: Gradle task assembleDebug failed with exit code 1

Running Gradle task 'assembleDebug'...

Compiler message:
../HistoryOfEverything/dependencies/Nima-Flutter/lib/nima.dart:114:90: Error: The argument type 'Int32List' can't be assigned to the parameter type 'Uint16List'.
 - 'Int32List' is from 'dart:typed_data'.
 - 'Uint16List' is from 'dart:typed_data'.
Try changing the type of the parameter, or casting the argument to 'Uint16List'.
		_canvasVertices = new ui.Vertices.raw(ui.VertexMode.triangles, _vertexBuffer, indices: _indices, textureCoordinates: _uvBuffer);
		                                                                              ^
Compiler failed on /Users/andreyaleev/Dev/samples/HistoryOfEverything/app/lib/main.dart
Finished with error: Gradle task assembleDebug failed with exit code 1

And here is output from flutter doctor

flutter doctor -v
[✓] Flutter (Channel master, v1.5.9-pre.236, on Mac OS X 10.13.6 17G6030, locale en-RU)
    • Flutter version 1.5.9-pre.236 at /Applications/flutter
    • Framework revision 894dca77b6 (3 hours ago), 2019-05-14 02:35:39 -0400
    • Engine revision 49bc9c86c9
    • Dart version 2.3.1 (build 2.3.1-dev.0.0 a0290f823c)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/andreyaleev/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✗] iOS toolchain - develop for iOS devices
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
    ✗ libimobiledevice and ideviceinstaller are not installed. To install with Brew, run:
        brew update
        brew install --HEAD usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ ios-deploy not installed. To install:
        brew install ios-deploy
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.dev/platform-plugins
      To install:
        brew install cocoapods
        pod setup

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 35.3.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] Connected device (1 available)
    • Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 9 (API 28) (emulator)

! Doctor found issues in 1 category.

Duplicate: https://github.com/2d-inc/Flare-Flutter/issues/75

History of Everything and Developer Quest should be built with Flutter stable, it looks like you are on master. There are breaking changes in dev and master right now. Flare supports those changes but those two apps are published in the Play Store and App Store, so we chose to keep them on Flutter stable. As soon as the breaking changes make their way into the stable channel, we will update them.

History of Everything and Developer Quest have been updated now that the signature changes are in stable. This issue can likely be closed.


null value ignored when using RuleFor and SetValidator

Could be related to #486 but I'm not getting any exception.
I've created an abstract validator that contains this rule:
RuleFor(x => x.Value).SetValidator(x => new BinaryFieldValueValidator((BinaryDataTypeInput) x.DataType)).When(x => x.DataType is BinaryDataTypeInput);

where x.Value is of type object. However, when x.Value is null, I'm not getting in the BinaryFieldValueValidator constructor, so the SetValidator lambda is not executed.
Any reason for that?

Hi, this isn’t related to that other issue you linked to. That’s to do with the root object being null, which isn’t allowed.
Your rule looks fine to me - I tried it and couldn’t reproduce the problem. Could you put together a sample that reproduces the issue? Thanks.

Sure, here you go:
Sample code
using System;
using FluentValidation;

namespace ConsoleApp3
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Test true"); new ValueValidator().ValidateAndThrow(new BoolDataType { Value = true });
            Console.WriteLine("Test null"); new ValueValidator().ValidateAndThrow(new BoolDataType { Value = null });
            Console.WriteLine("Test false"); new ValueValidator().ValidateAndThrow(new BoolDataType { Value = false });
            Console.ReadKey();
        }
    }

    public class ValueValidator : AbstractValidator<DataType>
    {
        public ValueValidator()
        {
            RuleFor(x => x.Value).SetValidator(x => new BoolDataTypeValidator()).When(x => x is BoolDataType);
        }
    }

    public class BoolDataTypeValidator : AbstractValidator<object>
    {
        public BoolDataTypeValidator()
        {
            Console.WriteLine("BoolDataTypeValidator considered");
        }
    }

    public class DataType
    {
        public object Value { get; set; }
    }

    public class BoolDataType : DataType
    {
    }
}

Output
Test true
BoolDataTypeValidator considered
Test null
Test false
BoolDataTypeValidator considered

Ah, I see.
I'd assumed your BoolDataTypeValidator was a custom PropertyValidator implementation, but it's actually an AbstractValidator.
If you use SetValidator with an AbstractValidator derivative, then it will not be run if the property value is null. This is intentional behaviour as AbstractValidator derivatives are designed to validate the properties of a complex type, which cannot be done if the instance is null. If you want to check for null here, then you can precede the SetValidator call with a NotNull rule (although it doesn't seem like this is what you want in this case).
You should probably switch to using a custom PropertyValidator. If the value is null this will then be passed to the validator where you can then run any kind of validation that you want. See the docs for custom property validators here: https://github.com/JeremySkinner/FluentValidation/wiki/e.-Custom-Validators#writing-a-custom-reusable-property-validator

Thanks for your answer. A PropertyValidator doesn't really fit our use-case, but we've found a work-around for handling the null case.

@huysentruitw could you please share your work-around?

Because we do not allow nulls as a value, I could add an additional rule to fail when the value is null before even using the custom validators.


Drop-In on Windows Phone 8.1

browser = IE Mobile 11.0
os = Windows Phone 8.1
"Card Number", "Expiration Date" & "CVV" not activated after normal tapping (1 finger).
However, fields are activated for data entry after taping with 2 fingers.

@CheapData Thanks for bringing this to our attention! We'll take a look and keep you posted.

Hello @CheapData
you managed to solve this problem ?

@acorreiatp So far, we've been unable to reproduce this problem. Could we get more information (browser, device model, etc.) about where you've seen this issue?

We haven't been able to reproduce this. If you can provide more specific information about how to reproduce it, please re-open the issue.


Then card: Configure Emergency power reserve

Add a new THEN card to configure the emergency power reserve in % and Wh
Add a new THEN card to remove the limitation

fixed 1.0.0


Your theme is listed in jekyllthemes.ru

Your theme has been listed on http://jekyllthemes.ru/

@artemsheludko Спасибо!