Rolling restart generated wrongly ordered usage events.

Thanks for submitting an issue to capi-release. We are always trying to improve! To help us, please fill out the following template.
Issue
When executing a rolling restart on Cloud Foundry Apps, I'm getting a wrong response (output) from v3 API when calling: GET /v3/app_usage_events.
This causes the wrong conclusion that the APP is in a STOPPED state as of that moment.
Context
When we execute the following command on a Cloud Foundry App: cf restart <app_name> --strategy rolling everything is ok on an app level. But when we retrieve all the usage events by calling: /v3/app_usage_events (after this rolling restart), it's not showing the right order (status for that App) in the output.
When reading the documentation it states (https://docs.cloudfoundry.org/running/managing-cf/usage-events.html#ordering, this page mentions v2 examples, but I think it's also applicable for v3 as created_at field is not 100% true)
Ordering Usage Events
The order of events returned from the API are guaranteed to match the sequence of events that occurred in the system.
You should not use the timestamps on events to sequence events. They may come from different Cloud Controller instances whose time could be slightly mismatched.
Unless you are billing on the millisecond, they are precise enough for normal usage.
If this is a true statement, the output (response) is wrong, see below what we are retrieving. Note if we should use the created_at field in the v3 response, then the output is also wrong, see below the timings.
From both scenario's the usage collector is showing that the app is STOPPED in it's last step, which is not the case as we did a rolling restart (cf app <app_name>) and the app is STARTED.
Steps to Reproduce
cf restart <app_name> --strategy rolling
GET /v3/app_usage_events
Expected result
Order of retrieval should be different, this is the expected result, as the app should be in STARTED state as last retrieved event.
{
    "guid":  "17bc6c73-de32-4e08-b407-85eb2672f425",
    "created_at":  "2022-02-21T16:03:47Z",
    "updated_at":  "2022-02-21T16:03:47Z",
    "state":  {
                  "current":  "STOPPED",
                  "previous":  "STARTED"
              },
    "app":  {
                "guid":  "f637b380-a85f-421e-81a7-2955a1749402",
                "name":  "python"
            },
    "process":  {
                    "guid":  "261cf10f-3f3a-45ed-95bc-a7e9994d94af",
                    "type":  "web"
                },
    "space":  {
                  "guid":  "5e49f853-3236-44ab-bf31-73912192b038",
                  "name":  "python"
              },
    "organization":  {
                         "guid":  "6bd0f56e-a706-4fee-93a3-2b861314537f"
                     },
    "buildpack":  {
                      "guid":  "3be063fc-d9dd-4447-9422-6812e03fdc8d",
                      "name":  "python_buildpack"
                  },
    "task":  {
                 "guid":  null,
                 "name":  null
             },
    "memory_in_mb_per_instance":  {
                                      "current":  256,
                                      "previous":  256
                                  },
    "instance_count":  {
                           "current":  1,
                           "previous":  1
                       },
    "links":  {
                  "self":  "@{href=https://********/v3/app_usage_events/17bc6c73-de32-4e08-b407-85eb2672f425}"
              }
},
    {
        "guid":  "ec976bcd-3dca-424f-8bfe-776f346b5d79",
        "created_at":  "2022-02-21T16:03:36Z",
        "updated_at":  "2022-02-21T16:03:36Z",
        "state":  {
                      "current":  "STARTED",
                      "previous":  "STOPPED"
                  },
        "app":  {
                    "guid":  "f637b380-a85f-421e-81a7-2955a1749402",
                    "name":  "python"
                },
        "process":  {
                        "guid":  "8f38a907-f02b-434a-8d65-edf960b454b5",
                        "type":  "web"
                    },
        "space":  {
                      "guid":  "5e49f853-3236-44ab-bf31-73912192b038",
                      "name":  "python"
                  },
        "organization":  {
                             "guid":  "6bd0f56e-a706-4fee-93a3-2b861314537f"
                         },
        "buildpack":  {
                          "guid":  "3be063fc-d9dd-4447-9422-6812e03fdc8d",
                          "name":  "python_buildpack"
                      },
        "task":  {
                     "guid":  null,
                     "name":  null
                 },
        "memory_in_mb_per_instance":  {
                                          "current":  256,
                                          "previous":  256
                                      },
        "instance_count":  {
                               "current":  1,
                               "previous":  1
                           },
        "links":  {
                      "self":  "@{href=https://********/v3/app_usage_events/ec976bcd-3dca-424f-8bfe-776f346b5d79}"
                  }
    }
 ]

Current result
The current order by retrieval from v3 API shows a STOPPED state as last usage event, which is not the case as it was a rolling restart.
    {
        "guid":  "ec976bcd-3dca-424f-8bfe-776f346b5d79",
        "created_at":  "2022-02-21T16:03:36Z",
        "updated_at":  "2022-02-21T16:03:36Z",
        "state":  {
                      "current":  "STARTED",
                      "previous":  "STOPPED"
                  },
        "app":  {
                    "guid":  "f637b380-a85f-421e-81a7-2955a1749402",
                    "name":  "python"
                },
        "process":  {
                        "guid":  "8f38a907-f02b-434a-8d65-edf960b454b5",
                        "type":  "web"
                    },
        "space":  {
                      "guid":  "5e49f853-3236-44ab-bf31-73912192b038",
                      "name":  "python"
                  },
        "organization":  {
                             "guid":  "6bd0f56e-a706-4fee-93a3-2b861314537f"
                         },
        "buildpack":  {
                          "guid":  "3be063fc-d9dd-4447-9422-6812e03fdc8d",
                          "name":  "python_buildpack"
                      },
        "task":  {
                     "guid":  null,
                     "name":  null
                 },
        "memory_in_mb_per_instance":  {
                                          "current":  256,
                                          "previous":  256
                                      },
        "instance_count":  {
                               "current":  1,
                               "previous":  1
                           },
        "links":  {
                      "self":  "@{href=https://********/v3/app_usage_events/ec976bcd-3dca-424f-8bfe-776f346b5d79}"
                  }
    },
    {
        "guid":  "17bc6c73-de32-4e08-b407-85eb2672f425",
        "created_at":  "2022-02-21T16:03:47Z",
        "updated_at":  "2022-02-21T16:03:47Z",
        "state":  {
                      "current":  "STOPPED",
                      "previous":  "STARTED"
                  },
        "app":  {
                    "guid":  "f637b380-a85f-421e-81a7-2955a1749402",
                    "name":  "python"
                },
        "process":  {
                        "guid":  "261cf10f-3f3a-45ed-95bc-a7e9994d94af",
                        "type":  "web"
                    },
        "space":  {
                      "guid":  "5e49f853-3236-44ab-bf31-73912192b038",
                      "name":  "python"
                  },
        "organization":  {
                             "guid":  "6bd0f56e-a706-4fee-93a3-2b861314537f"
                         },
        "buildpack":  {
                          "guid":  "3be063fc-d9dd-4447-9422-6812e03fdc8d",
                          "name":  "python_buildpack"
                      },
        "task":  {
                     "guid":  null,
                     "name":  null
                 },
        "memory_in_mb_per_instance":  {
                                          "current":  256,
                                          "previous":  256
                                      },
        "instance_count":  {
                               "current":  1,
                               "previous":  1
                           },
        "links":  {
                      "self":  "@{href=https://********/v3/app_usage_events/17bc6c73-de32-4e08-b407-85eb2672f425}"
                  }
    }
 ]

Possible Fix
The order of events returned from the API should be guaranteed to match the sequence of events that occurred in the system.

Hi thanks for bringing this up. I think this is currently expected behavior due to the way --strategy-rolling works. If you check the response object you will notice that the the two events are tied to different processes. --strategy-rolling eliminates downtime for an app restart by bringing up new versions of the app's processes before removing the old processes.   You can read more about rollings deploys in our docs.

I checked the docs and did a reverse engineering session on the above, it seems indeed that we need the process entry together with the app guid entry to determine if a an app is started / stopped for billing purposes (as processes are linked)
In the "old" v2 we didn't have that field (process) and therefore we mapped the state on App guid entry only.


Feature Request - allow user can star certain problems

Feature Request
What about adding a new feature that allow user can start certain problems on the neetcdoe website?
When practicing the Blind 75 list, I found some problems that I have to study/solve again. If I can star those problems on the neetcode website, I think it would make the life a little easier for people like me.
Thanks

This seems like a duplicate of #364, please reopen if this isn't the case.


Clarify Executor.stdout/err docs and implementation requirements.

While developing Funnel, we've found that ensuring that these logs are reliably the correct tail of the content is tricky and feels like an unnecessary burden to implementors. I'm proposing we remove the requirement of the tail, and free up implementations to do what works best for them and their users. There is a fallback of writing the stdout/err to a file and uploading that file to permanent storage, as a way to consistently guarantee you get the full content.

👍


Added a test case for CmdAdd in CNI plugin

Please provide a description of this PR:
For issue #49228
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[X ] Ambient
[ ] Configuration Infrastructure
[ ] Docs
[ ] Dual Stack
[ ] Installation
[X ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ X] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[ X] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

Hi @biswajit-9776. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Install error on negspacy (pip install)

Describe the bug
Getting the below error with pip install negspacy command in Anacondo Prompt.
To Reproduce
Steps to reproduce the behavior:
Run Anaconda Prompt as Administrator
type - pip install negspacy and enter
Expected behavior
negspacy package gets install and should be present in C:\ProgramData\Anaconda3\Lib\site-packages
Screenshots
(base) C:\WINDOWS\system32>pip install C:\negspacy-0.1.0a0.tar.gz
Processing c:\negspacy-0.1.0a0.tar.gz
ERROR: Command errored out with exit status 1:
command: 'c:\programdata\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\xx\AppData\Local\Temp\pip-req-build-4b2hz8em\setup.py'"'"'; file='"'"'C:\Users\xx\AppData\Local\Temp\pip-req-build-4b2hz8em\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: C:\Users\xxAppData\Local\Temp\pip-req-build-4b2hz8em
Complete output (7 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\xx\AppData\Local\Temp\pip-req-build-4b2hz8em\setup.py", line 10, in
long_description=open("README.md").read(),
File "c:\programdata\anaconda3\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 274: character maps to
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Desktop (please complete the following information):

OS: Windows

Additional context
Add any other context about the problem here.

Hi, thank you for raising this issue. Please try installing again and let me know if you continue to get the issue.
pip install negspacy --upgrade

I think I fixed the windows decoding issue.

Replicated the issue on azure and had no issue when installing the new version. Let me know if you're still having the problem. Thanks!

Thank Jeno for fixing the issue with negspacy install. I was able to install negspacy and import the packages.
Ran:
nlp = spacy.load("en_core_web_sm")
negex = Negex(nlp)
nlp.add_pipe(negex, last=True)
Im trying to see how negation works with different scenarios:
doc = nlp(" Client is not on the Terrorists watchlist.")
Result:
Terrorists True
doc = nlp(" Client is not on the Terrorists Watch list.")
Result:
Terrorists True
doc = nlp(" Client is not on the Terrorist Watchlist.")
Result : NULL
doc = nlp(" Client is not on the Terrorists watch list.")
Result : NULL
doc = nlp(" Client is not on the terrorists watch list.")
Result : NULL
doc = nlp("Client is not affiliated to Soverign citizen.")
Result : Soverign True
doc = nlp("Client is not affiliated to soverign citizen.")
Result : NULL
Could you please check and explain why the negation detection is failing with some texts which is very close to how the successful ones are written? Is there a NER dictionary that is being being used behind the seen to identify Org entities?
Please let me know if there is  a way to fix this

Oh good! I'm glad that issue is resolved.
Yes - You're using the built in spaCy NER in the backend. If you have a specific dictionary of entities you'd like to process, I would suggest using the EntityRuler in spaCy.
This way you could make your own new entities or add patterns to existing ones.

Thank you!  Looking forward to enhancements on this. Great work with this package!


Adds useful Clojure dependencies

Adds clojure.java-time for convenience working with Java 8 Date-Time from Clojure
Adds tick for advanced date-time manipulation
Adds cuerdas for String manipulation (similar to GREL functions in Clojure)
Adds kixi.stats for statistical sampling and transducing

But what I really want is somehow to not even bake these Clojure dependencies into OpenRefine's dependencies but instead allow dynamic Clojure dependencies via a deps.edn file and whenever I restart OpenRefine it will have pulled down those dependencies?  Or perhaps it can work without restarting OpenRefine, and it downloads the dependencies and adds them to the classpath automatically.
Details: https://clojure.org/guides/deps_and_cli

What issue does this address? Also, ss there an issue for the related enhancement request that's embedded at the end?

@tfmorris Hi Tom!  Yes I'm composing the issue... I wanted to just publish this as a thought and we can totally blow this PR away or improve it.    Sorry, my mistake!  This is how I have to currently do things to get Clojure jars on the classpath.  Yes as mentioned at the end, I'd love to do this dynamically, but don't know if its possible?  That's the issue I am about to send.

I would prefer to come up with a system for users to add dependencies themselves. Adding them as build dependencies of OpenRefine itself will make our packages needlessly bigger and these dependencies will be flagged by analysis tools (such as mvn dependency:analyze as unused, so I don't think this is a durable solution. Also, the availability of these packages is not discoverable easily for users.
Overall, we should review the Clojure expression language as a whole for security - if the user is able to call any function from any library on the classpath, it feels pretty dangerous. We should ideally have a controlled environment where we know what we expose to the user. This would also help with stability of expression evaluation (since updating one of our dependencies could break Clojure expressions which rely on it).

I would prefer to come up with a system for users to add dependencies themselves. Adding them as build dependencies of OpenRefine itself will make our packages needlessly bigger and these dependencies will be flagged by analysis tools (such as mvn dependency:analyze as unused, so I don't think this is a durable solution. Also, the availability of these packages is not discoverable easily for users.
Overall, we should review the Clojure expression language as a whole for security - if the user is able to call any function from any library on the classpath, it feels pretty dangerous. We should ideally have a controlled environment where we know what we expose to the user. This would also help with stability of expression evaluation (since updating one of our dependencies could break Clojure expressions which rely on it).

@wetneb agree it would be nice for users to add dependencies themselves. That should be a goal.
It's no more or less dangerous than the exact thing that can be done with Python as well pulling down libraries and using them, which @ettorerizza loves when I found out how to easily do it through sys.path.
But if we take a step back and look at those few Clojure libraries I mentioned... it's those kinds of functions that are gaps in OpenRefine currently.  We could say that we don't have bandwidth to continue to grow GREL...so instead we help users with easier mechanisms to extend the Expression language.
I'd love to improve the date handling for GREL, in particular helping scientists deal with intervals more (https://cljdoc.org/d/tick/tick/0.3.1/api/tick.interval) was the actual use case for this issue.  I'll focus on that in a new issue, once I collect additional feedback from a few groups.  Stay tuned.

@wetneb agree it would be nice for users to add dependencies themselves. That should be a goal.
It's no more or less dangerous than the exact thing that can be done with Python as well pulling down libraries and using them, which @ettorerizza loves when I found out how to easily do it through sys.path.
But if we take a step back and look at those few Clojure libraries I mentioned... it's those kinds of functions that are gaps in OpenRefine currently.  We could say that we don't have bandwidth to continue to grow GREL...so instead we help users with easier mechanisms to extend the Expression language.
I'd love to improve the date handling for GREL, in particular helping scientists deal with intervals more (https://cljdoc.org/d/tick/tick/0.3.1/api/tick.interval) was the actual use case for this issue.  I'll focus on that in a new issue, once I collect additional feedback from a few groups.  Stay tuned.


VBA-Docs/api/Word.WdStyleType.md list of values incomplete?

The documentation currently lists 4 values (1 to 4).
However, when looking in the object Browser (in Visual Basic in Word) the WdStyleType is reported having 6 values.
The two missing ones are
wdStyleTypeParagraphOnly (=5) och wdStyleTypeLinked (=6).
The documentation should probably also mention that if you create a Style with ActiveDocument.Styles.Add("StyleName", wdStyleTypeParagraph) you get a "linked" style as a result. You have to use the wdStyleTypeParagraphOnly to get a "pure" paragraph style.
Not sure what the difference is between using wdStyleTypeParagraph and wdStyleTypeLinked is in practice and why the wdStyleTypeParagraphOnly had to be created.

Adding the live link for reference: https://docs.microsoft.com/en-us/office/vba/api/word.wdstyletype
Thanks for this info; @Lindalu-MSFT, can you follow up?

@Linda-Editor sure, thanks for the heads up!

Actually, it appears that wdStyleTypeLinked and wdStyleTypeParagraphOnly are reserved for internal use only. I will need to follow up with the product team for verification.

wdStyleTypeLinked and wdStyleTypeParagraphOnly are reserved for internal use only. Closing issue.


Add new blog post for Distributed tracing in event driven architecture: 2024

I added a new blog post under 2024 that talks about Distributed Tracing in Event Driven Architecture Systems.
Any reviews of further opinions on this is greatly appreciated! Thanks!
CC: @chalin

Thanks @svrnm for the feedback. I attempted to rewrite it to include a focus on open source components like the solace otel receiver in the collector and solace APIs. I have also referenced otel open source tools like the agent as well. This re-write of the blog had more of an architecture approach discussing the issues that could be faced with distributed tracing in an event driven architecture in general while taking a tool as an example, in this case Solace.
The previously declined PR had a solace focus to it while this one was more generic leaving the audience with thoughts about EDA systems... Do you have any recommendations on what should be changed in the blog to make it more generic? I took a similar approach to the Apache Kafka blog back in 2022.
Any feedback and consideration is appreciated!

Solace PubSub+ Event Broker is commercial, so we can not accept it as an example tool in such a blog post. If the blog post focus is "issues that could be faced with distributed tracing in an event driven architecture in general", then use an OSS tool as an example.

Thanks for the input. The issue is there isint an OSS event broker that supports span generation from within the broker, so presenting a solution with an open source technology will not fit in this. I can present the problem in the blog post but no solution without mentioning an enterprise approach.
Any thoughts on this? Thanks!

Thanks for the input. The issue is there isint an OSS event broker that supports span generation from within the broker, so presenting a solution with an open source technology will not fit in this. I can present the problem in the blog post but no solution without mentioning an enterprise approach. Any thoughts on this? Thanks!

Sorry, but I am not a subject matter expert on this topic, what is the "enterprise approach" in this context which is not possible to be presented without an OSS solution?
But, to reiterate that point: we can and will not accept a blog post that promotes a commercial offering as a solution. If you think your blog post is impossible to get to some points without that, then unfortunately we can not accept the blog post here.

No worries, I completely understand. The Enterprise approach covered in this article is the ability to generate spans from within the broker in the overall distributed system. So for example spans like what happens when a message goes to a particular queue, dead letter queue, rejections due to broker specific issues, hops between multiple brokers in an event mesh, and the time the message takes to traverse inside the broker.
OSS solution approach telemetry with message broker as a "black box", in other words telemetry data show messages going in and out of the broker with no details on what's going on inside the broker. This requires further broker specific customizations and a dedicated receiver on the collector. I did write another blog post about this on DZone (tho that one was more solace specific so I didnt submit it to the otel blog).
However I do understand the guideline around refusing to promote an enterprise solution, which makes sense for a site that promotes only OSS. I'll think of another way to address this gap in the industry without mentioning a solution..
Thanks again for looking into this.

oss message brokers and middleware are a black box until they are not: eventually some of them will have opentelemetry built-in as well, as this is what OpenTelemetry is all about. A good way for you to address this gap in the industry is collaborating with the community to close it, e.g. by providing a helping hand in the Semantic Conventions Messaging WG. They meet every Thursday at 8:00PT, and you can get in touch via CNCF slack at #otel-messaging
I will close this PR now


Add CVE-2021-43808 laravel/framework

the advisory should also be added for the illuminate/view package, for projects using the subtree packages rather than the monorepo package.

I add also on the illuminate/view package


Started css styling. Data inputs correctly drill down to specific components.

This is a lot David. Let's work on smaller ones next time. :D


".s" in AMD target bundled js often change and cause content hash change

There is always a ".s" equal to a number, in my bundled javascript, which is in a AMD target, and I will use requireJS to load the js file.
for example

define("ModuleName", [], (function () {
    return function (t) {
        var e = {};

        function r(n) {
            if (e[n]) return e[n].exports;
            var o = e[n] = {i: n, l: !1, exports: {}};
            return t[n].call(o.exports, o, o.exports, r), o.l = !0, o.exports
        }

        return r.m = t,... , r.o = function (t, e) {
            return Object.prototype.hasOwnProperty.call(t, e)
        }, r.p = "", r(r.s = 142)
    }({
        142: function (t, e, r) {
            r("x4Sl"), t.exports = r("QNkY")
        }

Sometimes, The number "142" in the bundled js will change (into 141) even though my source code doesn't.
I want to know what is the ".s=" and the number after it in the code. And how can I avoid the number's change to cause content-hash changed?

Thank you for creating this issue. However, issues need to follow one of our templates so that we can clearly understand your particular circumstances.
Please help us help you by recreating the issue using one of our templates.

Please respect time of other developers, we don't know your version/code/configuration/etc, so it is impossible to help


Add new ResolverWithOpts

This will allow us to add new options to Resolver without breaking API in the future.
In the near term, this allows us to set a custom User-Agent header:
headers := http.Header{}
headers.Set( "User-Agent", "my-user-agent")
resolver := ResolverWithOpts(ResolverOptHeaders(headers))

Resolves https://github.com/oras-project/oras/issues/240

@deitch -

We used to pass a context.Context to Resolver(). Do we not need it anymore?

It's actually not needed. The original implementation was just throwing it away (Resolver(_ context.Context, ...). The beauty of this is that if it is needed later, we can add a new WithResolverContext(context.Context) option.

In other areas, functions to set options passed as variadic parameters always were named With*, which would make these WithResolverOptClient(client *http.Client) or WithResolverOptPlainHTTP(). Should we be consistent in the naming?

Yes, agree. Done.

whether or not to use plain http is a boolean, which defaults to false. If the only thing we will do is set it to true, then it probably should just be ResolverOptPlainHTTP() (or WithResolverOptPlainHTTP(), not parameter required

Done.


Contact us form

There is a non-functional contact us form at https://techpro.club/contactus.
We need help from someone who can use Golang to write the functionality for us which sends an email to<EMAIL_ADDRESS>with the sender's details

Sender's name
Email
An email subject
Email message

Also, before sending the email the content should be ReCaptcha verified. Please use this library https://github.com/dpapathanasiou/go-recaptcha

Hey @chilarai. Can you please assign this task to me

Sure @Abhishekchauhan089


Syntax045

Episode 45 Ready for merge.

@wesbos: This episode is not showing up on the site. Could it be the timestamp?

Yep! It’s not released yet. 32 more mins


iter: add GOEXPERIMENT=rangefunc-limited version [freeze exception]

CL 543319 needs to be submitted for the release.

cc @golang/release

@cherrymui and @heschi both looked at https://go.dev/cl/543319 and concluded that it has no effect with the experiment disabled, so it's safe to land after the freeze.
@rsc in the release meeting, we'd appreciate it if you could elaborate on the justification in the issue, but otherwise the freeze exception is tentatively accepted.

The justification is that this change is necessary for people to try GOEXPERIMENT=rangefunc and see the high-performance iter.Pull that we expect rather than the low-performance one that can be implemented without runtime changes. The changes are limited to the implementation of iter.Pull - if you're not using it, there is no risk. And the change are only visible when using GOEXPERIMENT=rangefunc - if you don't set it, you can't get at any of this code. So the risk to the overall release is as close to zero as a change can be.


startRecording

wavsetupRecorder();
recorder.startRecording();

E/AudioRecord: Could not get audio input for record source 1, sample rate 44100, format 0x1, channel mask 0x10, session 161, flags 0
E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22.
E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
E/AndroidRuntime: FATAL EXCEPTION: Thread-367
                  Process: com PID: 3241
                  java.lang.IllegalStateException: startRecording() called on an uninitialized AudioRecord.
                      at android.media.AudioRecord.startRecording(AudioRecord.java:885)
                      at omrecorder.PullTransport$AbstractPullTransport.preparedSourceToBePulled(PullTransport.java:89)
                      at omrecorder.PullTransport$AbstractPullTransport.start(PullTransport.java:70)
                      at omrecorder.AbstractRecorder$1.run(AbstractRecorder.java:29)
                      at java.lang.Thread.run(Thread.java:818)

http://stackoverflow.com/questions/4342482/cannot-access-audiorecorder

E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord

pls show your wavsetupRecorder() method. It should be some illegal parameter not sure of though

private void wavsetupRecorder() {
        recorder = OmRecorder.wav(
                new PullTransport.Default(wavAudioSourcemic(), new PullTransport.OnAudioChunkPulledListener() {
                    @Override
                    public void onAudioChunkPulled(final AudioChunk audioChunk) {
                        progressbar.setProgress((int) (audioChunk.maxAmplitude()));
                        if (smart.audioRecorder().getRecordingState() == 1)
                        {
                            progressbar.setProgress(0);
                        }
                    }
                }), wavfile());
    }

    private AudioSource wavAudioSourcemic() {
        smart = new AudioSource.Smart(MediaRecorder.AudioSource.MIC, AudioFormat.ENCODING_PCM_16BIT,
                AudioFormat.CHANNEL_IN_MONO, frequency);
        return smart;
    }

file is read-Owner, Group
write-Owner only
hw make
read and write-Owner, Group, Others

Are you sure you have write permission to record & access external storage in manifest

yes

hw make
read and write-Owner, Group, Others

i am saying about permission in manifest.. android.permission.WRITE_EXTERNAl_STORAGE

yes i have
u need call recordInstance.release()? in

hw make wav file
read and write-Owner, Group, Others

This issue only happens due to permission.. See you are also requesting on runtime as from android 6.0 onwards we need to request permission on runtime.

i slved i called recordInstance.release()
but hw make wav file
read and write-Owner, Group, Others
i have made all permission on runtime.

yes if you want to release the audio source you can do by simply like this:
pulltransport.audioSource().release();

yes
but hw make wav file
read and write-Owner, Group, Others
i have made all permission on runtime.

if (recorder == null)
return;
if (recorder != null) {
recorder.stopRecording();
pulltransport.audioSource().release();
recorder = null;
}

jus add
if (recorder == null)
            return;
        if (recorder != null) {
            recorder.stopRecording();
            pulltransport.audioSource().release();
            recorder = null;
        }

make wav file
read and write-Owner, Group, Others
i have made all permission on runtime.


Autocomplete list show all values as undefined

Autocomplete is now working for me as of version 0.3.5

Thanks for following up, will close this issue.


Application won't launch, Windows 10

Using the shortcut created on the desktop. Nothing happens, even after a restart.
Any suggestions?
Keen to get this working, as Flickr's own download feature is broken (for months now) presumably as they don't want people to leave and stop paying. Happy to donate for a working solution.
Thanks

I found http://getbulkr.com which works well (PRO version $39 for full res images)


refactor: switch proto files to SDK math

Closes: #6099
What is the purpose of the change
Updating proto files to references the new upstream math types
Testing and Verifying
This change is already covered by existing tests
Documentation and Release Note

[ ] Does this pull request introduce a new feature or user-facing behavior changes?
[ ] Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

[ ] Specification (x/{module}/README.md)
[ ] Osmosis documentation site
[ ] Code comments?
[ ] N/A

Merging with one ACK since the risk is low and to avoid merge conflicts from waiting.
If issues, will be fixed in future PRs


Cannot configure Webpack

In the installation instruction, configuration of Webpack is included:
new webpack.ProvidePlugin({
$: "jquery",
jQuery: "jquery"
})
Since manual Webpack configuration is not allowed in create-react-app boilerplate of Facebook, I tried using...
import $ from "jquery"
window.$ = $;
window.jQuery = $;
instead.
Yet still, dropdowns of buttons in the toolbar are not working. Any idea/solution for this?

Unfortunately the only way I was able to solve this was to eject from create-react app:
create-react-app run eject
then add the following to config/webpack.config.dev.js   in the plugins array
plugins:  [
  // place this at the bottom of the array..
  new webpack.ProvidePlugin({
    $: "jquery",
    jQuery: "jquery"
  })
],

I'd be interested if you find a better way.
Cheers!

I solved this by manually using bootstrap js files and jQuery. Since the problematic dropdown button generated by summernote has the class name of "dropdown-toggle", I inserted...
import $ from "jquery";
import bootstrap/js/dropdown";
and,
 $(".dropdown-toggle").dropdown();
inside render()
I also noticed that dropdown won't still work unless a re-render occurs after an action is called. In my case, initialization of form made the runaround.

@sandddyyyy from your first comment, where did u include these line?
import $ from "jquery"
window.$ = $;
window.jQuery = $;

I add these lines to  index.js with fresh create-react-app but I got error
TypeError: $node.attr(...).tooltip is not a function

I'm trying the same thing. I get the following error:
Line 6:  Import in body of module; reorder to top  import/first

My code is:
import React, { Component } from 'react';
import $ from "jquery";
import "bootstrap/js/dropdown";
window.$ = $;
window.jQuery = $;
import ReactSummernote from 'react-summernote';
import 'react-summernote/dist/react-summernote.css';
import 'react-summernote/lang/summernote-ru-RU';

If I move the window statements below the imports, I get:
Reference Error
Object../node_modules/bootstrap/js/dropdown.js
node_modules/bootstrap/js/dropdown.js:165
  162 |     .on('keydown.bs.dropdown.data-api', toggle, Dropdown.prototype.keydown)
  163 |     .on('keydown.bs.dropdown.data-api', '.dropdown-menu', Dropdown.prototype.keydown)
  164 |
> 165 | }(jQuery);

I've tried importing jquery via a CDN link in my index.html, but I get:
TypeError: Cannot read property 'lang' of undefined
  1 | (function ($) {
> 2 |   $.extend($.summernote.lang, {
  3 |     'ru-RU': {
  4 |       font: {
  5 |         bold: 'Полужирный',

Here's my CDN link:
    <script
            src="https://code.jquery.com/jquery-3.2.1.min.js"
            integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
            crossorigin="anonymous"></script>

This is how I import jquery and bootstrap in CRA. Need to install exports-loader
import jQuery from 'jquery/dist/jquery.slim';
import Popper from 'popper.js';

window.$ = window.jQuery = jQuery;
window.Popper = Popper;

window.Util = require('exports-loader?Util!bootstrap/js/dist/util'); // eslint-disable-line
window.Dropdown = require('exports-loader?Dropdown!bootstrap/js/dist/dropdown'); // eslint-disable-line
window.Modal = require('exports-loader?Modal!bootstrap/js/dist/modal'); // eslint-disable-line

@dustinkeib I try your proposal to solve error ( TypeError: $node.attr(...).tooltip is not a function )
but it not work , but i find there is a default code in  ' webpack.config.dev.js ' :  'new ModuleScopePlugin(paths.appSrc, [paths.appPackageJson]),'
I think maybe is this code cause  your proposal can't work ? do you have other way to  solve this error ?

@sandddyyyy What do you mean by:

initialization of form made the trick

@phil-a if you are familiar with the behavior of React, you should have known that a component renders initially once. Unless you trigger a change in props or state (or your shouldComponentUpdate returns true), it won't re-render. In my solution (if you want to call this 'hack' as a workaround for this bug), I added a jQuery function to 'activate' dropdown functionality. However, it won't take effect unless the component re-render. Since I am using redux-form for my forms, initialization of values in the form triggers re-rendering of component, thus making the dropdown to be activated and ready to be used. Well, that is my hypothesis after my investigation. I hope this will help.

To anyone who used create-react-app tool to generate their boilerplate and encounter this issue, there's already a better workaround for this without ejecting your app and all these "hacks". Please see react-app-rewired. With this, you can conveniently configure your webpack. Just be cautious as instructed in their README and disclaimer.

@sandddyyyy how to add jquery using react-app-rewired ?

There is an easier way to solve this problem.
Create a js file to include your globals
//globals.js import jquery from 'jquery'; window.jQuery = jquery; window.jquery = jquery; window.$ = jquery;
then in your component js file
import "../globals" import ReactSummernote from 'react-summernote'; import 'react-summernote/dist/react-summernote.css';

@Deewai,
Thanks, it's work for me. :)

@dustinkeib I try your proposal to solve error ( TypeError: $node.attr(...).tooltip is not a function )
but it not work , I find there is a default code in ' webpack.config.dev.js ' : 'new ModuleScopePlugin(paths.appSrc, [paths.appPackageJson]),'
I think maybe is this code cause your proposal can't work ? do you have other way to solve this error ?

i am facing same issue, did you found solution on this?

If you used create-react-app and ejected, this is what I did to:
Edit your webpack.config.js, add the following (I placed mine as the last item in plugins, right above the closing ].filter(Boolean), for plugins... add this code:
new webpack.ProvidePlugin({ $: "jquery", jQuery: "jquery" }),
Where ever you use react-summernote component, I did the following (based on @Deewai suggestion).  Add the imports:
import jquery from 'jquery'; import 'bootstrap3/js/modal'; import 'bootstrap3/js/dropdown'; import 'bootstrap3/js/tooltip'; import 'bootstrap3/dist/css/bootstrap.css';
AFTER all imports but before your function or class declaration, put the following:
window.jQuery = jquery; window.jquery = jquery; window.$ = jquery;
This allowed for react-summernote react to work for me.
Hope that helps.

The @Deewai solution worked for me, with a detail:

Create a js file to include your globals
//globals.js
import jquery from 'jquery';
import 'bootstrap'
window.jQuery = jquery;
window.jquery = jquery;
window.$ = jquery;
then in your component js file
import "../globals";
import ReactSummernote from 'react-summernote';
import 'react-summernote/dist/react-summernote.css';


Add a data type check for TVMArrayCopyFromTo

Add a data type check for tvm.nd.array's API TVMArrayCopyFromTo. Lacking the type check
leads to a value error in some situations.
For example, the user input x to a built graph, the x has a shape of [200,10] and has a dtype of 'float32'. When copying the x
to the NDarray placeholder with type 'float64' whose shape is [100,10], the program doesn't report a warning, because it can pass the size check i.e. 200*10*32==100*10*64, however, every 64 continous bits in inputx is treated a number  and copyed to the new ndarray, the values change. because of different hardcode. More importantly, this kind of error is implict.
@masahi

@mbrookhart @jwfromm @Huyuwei
Hi，professors. I carefully checked all the errors given by the automated review tools and I think these errors are not due to my fixe, but because the test cases themselves are not rigorous.

Thanks @hxzd5568 , can you update some of the testcases?

Yes, I can. My plan for updating test cases is 1. to remove unnecessary implicit data type conversion, such as the conversion int32 to float32 in tests/python/frontend/onnx/test_forward.py::test_reshape[llvm], 2. to add force conversion expressions cast() if necessary. And we could add a flag check_dtype in python/tvm/runtime/ndarray.py:copyfromto. How about it?

likely we don't needs the check_dtype in set_input, but instead do that in copyfrom, so we can first copy the data to the right dtype then call set_input

ideally set input can be kept as minimum, if we can start from copyfrom that would be great.


improve benchmark macro

closes: https://github.com/open-web3-stack/open-runtime-module-library/issues/690

Codecov Report

Merging #692 (90a43c0) into master (ec9a8d8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #692   +/-   ##
=======================================
  Coverage   74.74%   74.74%
=======================================
  Files          82       82
  Lines        7215     7215
=======================================
  Hits         5393     5393
  Misses       1822     1822

Impacted Files
Coverage Δ

benchmarking/src/lib.rs
31.81% <ø> (ø)

Continue to review full report at Codecov.

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


How to use twint if there are some firewalls?

Question
How to use twint if there is a firewall?
Initial Check
There is a firewall in my country,  I need to set up a proxy, but I don't know how to operate, is there a detailed case? Thank you.

If I use a VPN software, and I do not set the proxy in twint, then when I tried to run it, there is something wrong.
The note is:
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host twitter.com:443 ssl:False [Connect call failed ('<IP_ADDRESS>', 443)]

If you need to use a VPN, you have just to activate it and run twint as usual
That error means that Twitter is blocking your connection, probably due to VPN

If you need to use a VPN, you have just to activate it and run twint as usual
That error means that Twitter is blocking your connection, probably due to VPN

Thanks, I'll try it again with another VPN
Thanks again, sincerely.

Anytime!
Since this issue is not strictly related to Twint, I'm gonna close this. Please feel free to keep me updated commenting here and I'll do my best to help you!


[Feature request] Allow configuration of DTU import settings

When a figure is imported via a dtu file passed over localhost, the import process will make adjustments to the figure root rotation.
It would be useful if this could be disabled so that already converted figures (e.g. DTL figures) can be imported. Currently, a DTL converted figure can be imported manually into UE with no issues. However, if a dtu file is created for the converted figure and is sent to UE, the figure appears in UE with the skeleton in the correct place, but the mesh is face down having been rotated 90 degrees forwards.

Sorry for the late reply.  You can enable the FBX Import Dialog in Project Settings -> Plugins -> Daz To Unreal Settings -> Show FBXImport Dialog.  This should bring up the FBX Import Options window during import of a DTU file: you should be able to adjust the Import Rotation to account for Y-UP vs the Maya Z-UP.   I will look into adding UI to make post-processing of FBX optional.

Hey Daniel,
Thank you for the replies. I'm still struggling to get a successful import
using my modified dtu file, but I'll get there.
The other thing I'd like to put out there as a suggestion is the automatic
setting of 'Recompute Tangents' for materials after import, as it's a
pretty tedious task.
I've written up some detail on it here:
https://virtuality.space/dtl/#recomputetangents but in a nutshell, enable
Skin Cache needs to be set in the project settings to enable the setting
and it's essential to avoid shading issues when JCMs and other morphs make
significant changes to the mesh.
Currently, 'Recompute Tangents' must be set on at least the Torso, Head,
ARms and Legs at a minimum. They have to be set one after the other and
there's a significant delay whilst the recomputing takes place - it's
laborious!
It'd be great if this was an import option, not just for my project but for
all users in general.

Dave

On Thu, 15 Dec 2022 at 00:30, danielbui78 @.***> wrote:

Sorry for the late reply. You can enable the FBX Import Dialog in Project
Settings -> Plugins -> Daz To Unreal Settings -> Show FBXImport Dialog.
This should bring up the FBX Import Options window during import of a DTU
file: you should be able to adjust the Import Rotation to account for Y-UP
vs the Maya Z-UP. I will look into adding UI to make post-processing of FBX
optional.
—
Reply to this email directly, view it on GitHub
https://github.com/daz3d/DazToUnreal/issues/19#issuecomment-1351824414,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3Y2YYIWPHGZO6J2YRCTF2DWNH74LANCNFSM6AAAAAASPHPEJM
.
You are receiving this because you authored the thread.Message ID:
@.***>


Updated validations.py python script

Fixed the behavior of validate_user function in validations.py.
Closes #1
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[x] Tests pass
[x] Appropriate changes to README are included in PR

@googlebot I signed it!


faucet.lightning.community fails

Background
Trying to fund my node but repeatedly get error message "site cannot be reached".
Pinging the site works..wondering if LND is functioning ?
Your environment

version of lnd : Not Applicable , funding via website

Steps to reproduce
Try funding from faucet.lightning.community
Additional info / question:
How can i connect to faucet.lightning.community and open a channel from a iPV6 node ?

I may have banned your IP, PM me on email/twitter/irc/slack to check. The faucet is active atm and has been for a few days.


Update init.py

Add newly introduced Sunnata Hybrid Keypad.

Do you have one of these to verify that is the correct DeviceType?
I'm not able to add this into my Lutron Designer yet to verify.

This seems like it's right.


Windows 11 22H2 Home

Thanks for this app.
In the Windows 11 22H2 version, the explorer has a Home tab with Quick access and Favorites. After using WindSetView and only customizing the Global and Download folder type, the Home tab is no longer in the default view. I'm wondering if a new folder type can be make for the Home view so that I can keep the default look.

Windows 11 "Home" is equivalent to Windows 10 "Quick Access" even though the default grouping makes it appear like Quick Access is a subfolder of Home. They are the same folder type (i.e. same GUID).
You must uncheck the box to the left of Quick Access (or any other folder type you want to leave at its Windows default) so that WinSetView does not create a FolderType entry for that folder type. I just tested that on Windows 11 22H2 and it worked correctly. That is, the WIndows 11 Home tab remained at the default view.
In the next release I'll make some changes so that "Quick Access" displays as "Home" on Windows 11. They also changed "Folder path" to "File location". I'll check for other renamed items and I may go with a separate INI file for Windows 11.
Please test again with "Quick Access" unchecked and let me know if that gave you the desired result. Thanks.

It works. Thank you.


Remove embedded mode from foreground

Emebedded mode causes all modules and libraries be loaded up front, making cross platform releases without a bundled ERTS fail. One example is the crypto application. When starting in embedded mode, the crypto .so library is loaded from the release. If the release was made on a different architecture, crypto fails to start and thus the whole node doesn't start. If embedded mode is not used, crypto is loaded on demand from the ERTS on the host (same as in the console and start targets).

@eproxus Did you test upgrades with this? If I understand from the Erlang release handling docs, embedded mode is required for those to work properly, amongst other things.

Yeah, it seems that it is required to upgrade the runtime itself (possibly some more information here). LYSE doesn't mention it though, which is strange.

We could perhaps make this a configurable option in exrm, such that embedded mode is used by default, but if you don't intend to do upgrades, and want to be able to deploy a release without building on the target architecture, then you could set a flag to disable embedded mode. I feel like the best practice is to build on your target platform, but I can understand if that's not always the ideal option for everyone.

Yeah, I'm not really sure about this anymore. I'll close this pull request for now, and play around with this a bit more, if that's okay with you.

Sounds good, just let me know if you need me to take a look at anything!


Update Schedule with Sponsor

Please update to include Oportun on the first view of the schedule.

Where exactly?

I'm trying to add sponsor section to all the pages which have footer. That's actually done now. The session schedule is not a page with a footer. Looks like this will be a CSS kung-fu fight.

I need more details.


Get rid of pools and update functions for ve

Fixes #250
Changes proposed in this PR:

Get rid of pools and update functions for ve.

Incredible, it looks good to me. Great addition w the end-to-end coverage.
I've been trying to run everything locally, am running into issues w/ subgraph updating in time... Always times out.
Am looking to see if I can change graph-node to update more frequently, so it's not so far behind ganache.


Fix crash bug due to null reference in log viewer

[Title: describe the change in one sentence]
[ describe the change in 1 - 3 paragraphs ]
How to use
[ describe what reviewers need to do in order to validate this PR ]
Testing done
[Describe the testing you have done before submitting this PR. Please include both the commands you issued as well as the output you got.]

@fondoger , thanks. I don't think the type annotations are necessary for those functions since their respective states have been declared with the boolean type. Let me know if this was still failing for you.
I will separate the fix from the type changes since they should be in different commits anyway.


Aligning Variable Names with the JSON Format

During the refactorisation, we were all talking about respecting or not the JSON format for variable names. Required ones are "version", "vectorString", "baseScore", "baseSeverity".
But I remember than @pandatix disagree with this notion.

And that why we are currently using more logical things such as score, equivalentClasses and so on.
The specification document talks about "Base Score":

This is just to initiate a conversation about this topic. I didn't see a "Discussions" tab in the repository, so I decided to open an issue instead. 😊

I confirm this is an issue in the specification. No "base score" notion exist in CVSS v4, as the scoring takes the Base+Threat+Environmental metrics groups ;)

Thanks. That was to be sure. Thus, if you have contacts with FIRST people, you may report this to them.
Because the specification should be updated in order to stay serious. This new CVSS is going to be used in really huge companies. 😊
You guys are really great people by the way.

Poke @nickleali :)

Yep thanks for bringing this to our attention. The FIRST CVSS SIG is aware of the inconsistencies in the CVSS v4.0 JSON schema and the documentation with regards to the nomenclature. We're tracking on updating the terminology in the schema and documentation.
The concern now is if we do an update between versions, we risk breaking functionality for 4.0. The plan is to include these updates with 4.1, but if you are looking at doing a refactor of the calculator with the new terminology, possibly we can have a draft of the schema early to share.
Let's continue to coordinate on this. I'll bring this item up at our next CVSS SIG meeting.

There are multiple issues in FIRST website. The examples provided seem inconsistent and vulnerabilities are not well scored, according to discussions I've had with senior pentesters in daily life.
Concerning next 4.1, the refactor provides a clean class structure, making future changes much easier to integrate!

If you identify any examples with inaccuracies, or any other issues in the FIRST CVSS site, please let me know at<EMAIL_ADDRESS>and I'd be happy to address them. If there are examples that could be added to the examples document, you could request those as well for me to add in a future updates. Always looking to provide more details for the community.

I will totally do that in next week. Thanks a lot.

@nickleali , by the way, we sent an email to<EMAIL_ADDRESS>do you know how long we should wait for an answer?

Thanks, could you please respond to the emails when you'll be ready, not here? In order to have a more private thread concerning this point.


Ollie: Watch malesensepro.com

Ollie requests the watch of the watch_keyword malesensepro\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

malesensepro\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

malesensepro\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ

Approved by Spevacus in Charcoal HQ


Verify that the DLC channel can be refunded

We currently don't have a test that verifies this behaviour.
This is likely covered by rust-dlc (and if not it should be covered by it), but we might want to test the UX. In that sense, we could use this as an opportunity to start writing e2e tests outside of ln-dlc-node.

the scenario if the oracle is down.


License and certificate question

From what I can see, this repository is using the MIT license model. I just want verify/clarify two things:

Is it permitted to make commercial applications from this?
Certificates are fetched from urls specified here

Are these urls official in some capacity?
Will these be updated if some country revokes their signing certificate and issues a new one?

Yes, as long as you follow the MIT license
Yes, these are the official Swedish URLs and all certificates are in sync with all DCC countries

Thank you for the response!


Issue with 'Submit for Review' button using Wagtail-Review (0.3.1) when used with Wagtail (4.1.2)

After clicking on the "Submit for Review " button it stays greyed out and we get a console error.  Any clues on why this is happening?  Any tips on how to resolve?
The console log error message I see in Chrome dev tools is related to a Uncaught Syntax Error: Unexpected toke '<', <!doctype "... is not valid JSON related to modal-workform.js.

Thanks for the report! This has now been fixed in #52 and released as part of version 0.4.


Fixing universe

Need to explicitly add the runtime framework version for 2.1

Your commit messages need work... 😁

Your commit messages need work... 😁

Sorry I have a script for feedback that I should adapt to take a commit message

Can we get Universe unblocked?

@muratg has already said there's no plan to update product packages to 2.2. Let's resolve this offline.

🆙 📅

Resolved: We're sticking with lowest required TFMs for now and we expect everything to reset in 3.0.


Clear text password sending to the server

The site isn't under SSL and I can see my password in clear text over the wire.
http://crisischeckin.azurewebsites.net/Account/Login
If the username/password combo is used on another site (which it probably is because people do that...), then you want to at least secure the user/password send on login & also register user pages.

@BillWagner Is it possible to deploy the website under SLL so that this issue can be closed?

Thanks.  I will update config to 301 redirect non-ssl in release as all sites on azure can be accessed via https at the same url by default.  Also the url has been updated (per readme) so issue should use https://crisischeckin-d.azurewebsites.net/Account/Login


enhance: Add node filter when show segment loaded via grpc

Add node filter for show segment-loaded-grpc command to make it easier finding segment distribution when querynodes number is large.

/lgtm


[Failing Test]: testRedistributeAfterSlidingWindows incorrect

What happened?
testRedistributeAfterSlidingWindows and testRedistributeAfterSlidingWindowsAndGroupByKey in sdks/java/core/src/test/java/org/apache/beam/sdk/transforms/RedistributeTest.java is not using SlidingWindow, instead of FixedWindow, possibly a copy-paste issue. After correct this typo, the test then fails.
context: https://github.com/apache/beam/pull/31915#discussion_r1693231408
Issue Failure
Failure: Test is continually failing
Issue Priority
Priority: 2 (backlog / disabled test but we think the product is healthy)
Issue Components

[ ] Component: Python SDK
[X] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam YAML
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Infrastructure
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

Can i resolve this bug?

.take-issue

take-issue

Repeatedly giving this error - "Cannot resolve symbol 'RunnerApi'"
Things I tried out:
I did setup the gradle project on IDEA.
I changed my jdk from 20 to 21.
cleared the idea system directory and imported the project again.
Still the runner api does not seem to work.


Documentation with minor incorrection?!?

Hi,
On the A Minimal Application under Quickstart, you have code for a minimal Flask implementation, although it should be added the app.run so it can actually run the app, and load the server.
This is the form for applications that are connected to a WSGI server, which I believe beginners won't be doing that as one of their first steps.
Another minor correction, is on URL Building also under Quickstart, it has:
print url_for('profile', username='John Doe')
I believe should be : print url_for('user', username='John Doe')

The recommended way to run applications is with the flask run command, detailed below that.
route takes the name of the view function as the endpoint name by default.  The view function is profile.

Oh, I just realized this was a new feature from the 0.11 version, thank you for the clarifications on both points.
So I believe the snippet on the Python Package Index, should also be updated.


Merge incoming changes on main repository

There have been some important changes on the main template repository, which will be merged into the current working main branch with this PR.

Test comment


merge package template from arlac77/npm-package-template

package.json

chore(devDependencies): update<EMAIL_ADDRESS>from template
chore(devDependencies): update<EMAIL_ADDRESS>from template

Codecov Report

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

@@          Coverage Diff          @@
##           master   #257   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      2
  Lines          21     21
=====================================
  Hits           21     21

Continue to review full report at Codecov.

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

Coverage remained the same at 100.0% when pulling 53d6326665ff64000c17b95a28f6a4b77eef6dea on template-sync-1 into d33c42414cb1ba48678e8d884f3fc69048efb89c on master.


Sources fail to load on install

For some reason, cpy is failing to copy resources. This is probably due to the rexreplace command failing. This command probably should be moved to the back of the postinstall sequence.

  "scripts": {
    "prestart": "npm run clean && npm run mod:vendor",
    "start": "hugo server -s exampleSite --bind=<IP_ADDRESS> --disableFastRender --printI18nWarnings",
    "prebuild": "npm run clean && npm run mod:vendor",
    "build": "hugo --gc --minify -s exampleSite",
    "clean": "rimraf exampleSite/public exampleSite/resources",
    "mod:clean": "hugo mod clean",
    "mod:update": "rimraf _vendor && hugo mod get -u ./... && hugo mod get -u && npm run -s mod:vendor && npm run -s mod:tidy",
    "mod:tidy": "hugo mod tidy",
    "mod:vendor": "rimraf _vendor && hugo mod vendor",
    "postinstall": "npm run -s copy:css && npm run -s copy:rexrep && npm run -s copy:js && npm run -s copy:font_scss && npm run -s copy:icons",
    "copy:css": "cpy<EMAIL_ADDRESS>dist --rename=timeline.scss --flat",
    "copy:rexrep": "rexreplace '..\/js\/..\/css\/icons\/' '/' dist/timeline.scss", //<-FAILS
    "copy:js": "cpy<EMAIL_ADDRESS>dist/js --flat",
    "copy:font_scss": "cpy<EMAIL_ADDRESS>dist --rename=font.default.scss --flat", //<-FAILS
    "copy:icons": "cpy<EMAIL_ADDRESS>dist --flat", //<-FAILS
    "test": "npm run -s build",
    "upgrade": "npx npm-check-updates -u && npm run -s mod:update",
    "prepare": "node .husky/install.mjs"
  },

Everything works in the example site when running tests, but on actual installation and use in a production site, the module fails to deliver satisfactory results. This is being attributed to html resource loading security policies.

I was unaware of merging a pull request, while mentioning this issue would cause it to automatically close. Which is cool and all, but no intentional.
Everything still looks good on the test site, but when it comes to the actual working example, it still fails to load everything.


[Add Category Page]  Allowed reserved characters in the 'Name' field

Environment: Google Chrome 118.0.5993.118 (Official build) (64-bit)
Reproducible: always
Build found:
Preconditions

Site is opened in browser: https://zero-waste-staging.onrender.com/uk
User is logged in as Administrator
'Categories' page is opened

Steps to reproduce

Click on 'Add category' button
Fill 'Name' field with invalid data (reserved characters): "&^$#@!!()_=-"
Select valid data "10" in 'Priority'
Click on 'Create' button

Actual result

Category is created.

Expected result

"Only letters and numbers are allowed" error message appears below the field.
Category isn't created.

User story and test case links
E.g.: "User story #427
Labels to be added
Type: "Functional"

At the meeting on 12/30/2023 with BA Oleh Nakonechniy and Ihor Kohut decided to add to Acceptance Criteria 2:
"The field only allow alphanumeric input"
"Accepts upper and lower case letters".
"Not allow reserved characters".
These changes have been added to the US #427
https://github.com/orgs/ita-social-projects/projects/25/views/7?filterQuery=598&pane=issue&itemId=46428738


Add call options to extract metadata

Currently, the metadata (headers & footers) for client requests is only visible in interceptors. We should add CallOptions that make it easier to surface these to users. The API would likely be similar to grpc.Header and grpc.Footer.

Including a reference to the gRPC documentation on metadata:
https://github.com/grpc/grpc-go/blob/master/Documentation/grpc-metadata.md

I can take this if you haven't started working on it already.

I haven't start on it at all! Go for it :)
Maybe we can settle on a design in issue comments first? After looking at this more, there are two problems:

Clients can't access the response headers or trailers.
Clients can't set headers (since all the context-based client-side APIs only work in interceptors).

For (1), what do you think of options like this? They'd populate the ImmutableHeaders as the response data comes in.
func ResponseHeaders(h *ImmutableHeaders) CallOption {
  // stuff
}

func ResponseTrailers(t *ImmutableHeaders) CallOption {
  // stuff
}

I'm not sure what to do about (2). We could add a different CallOption to set request headers, or we could think about a context-based API.
What do you think?

How do you feel about starting with this end-to-end metadata test:

The client uses a new API with a NOP implementation to set a test header on an outbound request
The server changes the header in a predictable way and sets the new value on the response
The client uses a new API with a NOP implementation to read the response header value and assert its value

The test will initially fail, because the new API won't do anything useful, but it gives us a concrete API which we can review and iterate on. Also, once the test passes it may replace the current interceptor-based metadata integration test (TestCallMetadataIntegration).
After the headers are implemented, we can follow up with trailers which will probably resemble the headers API and implementation.

Sounds perfect.


Error occurs when running coverage.m due to m is NaN

Hi Gustavo,
Thank you for your useful code. But when I try to run the code, I find there are some errors, and I don't know how to sovle it.
The error message is shown below.
* Starting YALMIP integer branch & bound.
* Lower solver   : fmincon-standard
* Upper solver   : rounder
* Max time       : 3600
* Max iterations : Inf
 Node       Upper       Gap(%)     Lower     Open   Elapsed time

Index in position 3 is invalid. Array indices must be positive integers or logical values.

Error in coverage (line 110)
        waypoints{i} = findWaypoints(X(:,:,i),V);

I checked what happened there, it caused by for i = 1:m, but m is NaN. m comes from this code
[X,v,m] = lip3(V,uav,uavSpeed,uavSetupTime,uavFlightTime,h,O);
However, in lip3.m there is no code to assign a value to m. I am not sure if it is my wrong understanding or I miss some necessary info. If you have any ideas, please let me know! Thank you very much!

Hi @ryrobotics ,
Could you please tell me how to solve this problem?

Hi @ryrobotics , Could you please tell me how to solve this problem?

Hi @chenga02, this issue was quite a long time ago. I cannot remember the details, but it may be caused by the Gurobi itself, e.g., it is not activated correctly because the lack of license may cause Gurobi to return NaN.
Perhaps you can try to run some demos for Gurobi to validate if it is well set up.


chore: release master

:robot: I have created a release beep boop
all-components: 1.2.0
1.2.0 (2023-06-04)
Features

implement container component (#21) (06cdc5e)

container: 1.0.0
1.0.0 (2023-06-04)
Features

implement container component (#21) (06cdc5e)

allaround-components: 1.4.0
1.4.0 (2023-06-04)
Features

implement container component (#21) (06cdc5e)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wholesome-ghoul/allaround-components/releases/tag/allaround-components-v1.4.0 :sunflower:

:robot: Release is at https://github.com/wholesome-ghoul/allaround-components/releases/tag/all-components-v1.2.0 :sunflower:

:robot: Release is at https://github.com/wholesome-ghoul/allaround-components/releases/tag/container-v1.0.0 :sunflower:


Reading a "0x00" before the Slave Address

Hello,
I am using the computer as Modbus Slave, ID-2, Function 03, Address 02.
The value in that address is 7.
The library is requesting correctly, and the computer is responding correctly (02 03 02 00 07 BD 86 - I checked with an oscilloscope) .
But even so I was getting an error invalid address (0xE0).
My code is very basic.
In the setup

node.begin(2, Serial1);

In the loop

result = node.readHoldingRegisters(0x02, 1);

Serial.print("Result:  ");

Serial.println(result, HEX);

I started to debug and changed the function ModbusMasterTransaction(uint8_t u8MBFunction)
Serial.write(_serial->read());
//u8ModbusADU[u8ModbusADUSize++] = _serial->read();
//u8BytesLeft--;
I am getting
00 02 03 02 00 07 BD 86 instead of 02 03 02 00 07 BD 86.
I also notice that when there is nothing connect to the ModbusMaster, each second it is printing a 0x00.
Any tips on how I can solve this? Is anyone else having the same problem?

I am sorry, it was a hardware problem in the signal isolator.
The library is working properly.

Hello I have the same problem, how did you solve it?

I added a pull up resistor on the uart.
Em sex, 5 de abr de 2019 12:52, turbozob<EMAIL_ADDRESS>escreveu:

Hello I have the same problem, how did you solve it?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/4-20ma/ModbusMaster/issues/116#issuecomment-480327069,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdAvG_Qd0BWOVbvSyWE9wsukaO-hh-rrks5vd3EqgaJpZM4ZnDoz
.

Thanks for the tip, but It did not help. This is my situation using RS485MAX module, which reports invalidSlaveID.
Below is comm traffic from SlaveID 1
BAD message "reports 0xE0 ku8MBInvalidSlaveID"
Rx: 01 05 00 03 00 00 3D CA 00
Tx: 01 05 00 03 00 00 3D CA
GOOD "reports 0x00 ku8MBSuccess"
Rx: 01 05 00 03 00 00 3D CA
Tx: 01 05 00 03 00 00 3D CA


Is actualvim being developed?

Hi, I think this approach to a Vim mode is excellent. I'm curious if anyone is currently developing and refining actualvim. I understand if not - things come up. I'm just curious.

That's too bad. I think this project has the right approach and I'd love to see it get some attention (even if from someone else). Thanks for showing that this can be done.

Neovim has since matured, and I'm in the middle of porting this to it. Actualvim is a great starting point for the Sublime integration, and Neovim provides everything I need to do a seamless integration. Maybe look for it in a couple of months, or if I get some free time away from my many other projects.

That sounds great.

Are you thinking about picking up development of this again?

Good news is coming: https://github.com/lunixbochs/actualvim/tree/neovim

closing as fixed, see #38


gramine builder

Test with:

Copy sgx environment variable template to .env files

cp gramine-builder/env.example gramine-builder/.env

Add SPID and API Key to .env
Run demo

cd gramine-builder/
./run_demo.sh

Things I needed to do to make it work:

put prof-relay repo under the root of the repo -- could be added as a submodule, or we could build an image for it host it on dockerhub or github
pull latest ethereum/client-go image
edit kurtosis.yml as in

~/code/prof-project/ethereum-package/gramine-builder$ git diff
diff --git a/kurtosis.yml b/kurtosis.yml
index 8147170..2b054e0 100644
--- a/kurtosis.yml
+++ b/kurtosis.yml
@@ -1,2 +1,2 @@
-name: "github.com/kushalbabel/ethereum-package"
+name: "github.com/prof-project/ethereum-package"
 # name: "github.com/kurtosis-tech/ethereum-package"

Addressed all points in https://github.com/prof-project/ethereum-package/pull/1#issuecomment-2057966388 via two pull requests at

https://github.com/prof-project/prof-relay/pull/1
https://github.com/prof-project/ethereum-package/pull/2


Images are slightly different sizes on CI

This is a great idea, but we're having trouble nailing down a particular problem when the images are rendered on CI. We keep getting test failures with the following error message:
Test image size 1050x1127 does not match expectation 1050x1125

This isn't consistent at all, sometimes they're 2px off and sometimes they're more:
Test image size 320x1692 does not match expectation 320x1672

Any guesses as to what is causing this? We're using Poltergeist as our Capybara JS driver, if that makes a difference. Developers run this suite locally on Mac OS X, and the CI server is using Ubuntu Linux. Let me know if I can provide any additional information (including source code to the tests).

Do you have any asynchronous JavaScript which alters the page and might not have been finished when taking the screenshot?

@tubbo, if @jekuno's suggestion doesn't help, it's possible that it's platform-specific behavior of phantomjs.
If you visually compare the test and expected image, can you see what the differences are?
One problem that might hit you is that fonts may not be consistent between OS X and Linux.  See, e.g. Besting PhantomJS Font Problems or [PhantomJS With WOFF Support]((https://blog.42mate.com/phantomjs-with-woff-support/).  I'm not sure whether that would account for different pixel sizes.
If the relevant parts of images are the same except for extra pixels around the edge, the upcoming version 1.0 of spec-page-regression will let you choose which parts to compare.  @jekuno, @paresharma -- any thoughts on when 1.0 will be ready to release?


Prevent Electrify Thousand Arrows from hitting Ground-types

The negative ModifyMove priority was removed for some reason in 236a620.

Maybe @Slayer95 had a reason

Whether he had a reason or not, there was a later commit (#1437) that changed the priority on Electrify to cause this problem anyways.

Are you commiting this again without testing? :|
This doesn't fix anything as ModifyMove is a single event in this context.

Why is the singleEvent called before the larger runEvent? Does that basically mean that Thousand Arrows will be unaffected by immunity in every context, right?

we might want to flag specific immunities to ignore, instead of the current ModifyMove hack

Upon closer inspection I believe it's safe to say that adding the flag is actually unneeded in Thousand Arrows. TryHit triggers before the battle checks for immunities, setting negateImmunity['Ground'] = 'ignoreEffectiveness' on the target Pokemon. Without the unaffected by immunities flag, the battle engine then runs BattlePokemon#runImmunity, finds negateImmunity['Ground'], and then continues anyways.

I tested that when working on https://github.com/Zarel/Pokemon-Showdown/commit/236a62052a5f662df4d822137f826663f1a7c988 and it is actually necessary. It's stopped at moveHit iirc

tryMoveHit, actually. But I guess you're right.

git blame on both of them can give hints.

Specifically, if you use git blame to find the commit where negateImmunity['Ground'] was added and compare the commit where .affectedByImmunities = false was added, you can can often figure out whether or not it's necessary.


Benchmark the same interpreter from release to release.

Added code to benchmark the same interpreter from release to release. The workflow is that first build image for release1 and release2, then do docker cp to get the benchmark json files from the image to host. And finally do pyperformance compare on the json files. Then the result of comparing python versions for the two releases are stored as files on host named as py2.7_res, py3.4_res and py3.5_res.
Test completed.
Command: DOCKER_NAMESPACE=gcr.io/google-appengine TAG1=2017-02-28_19_33 TAG2=2017-04-07-115536 ./benchmark_between_releases.sh
Usage: cd to tests/benchmark/benchmark_between_releases/ and run the shell script.

Link to issue: https://github.com/GoogleCloudPlatform/python-runtime/issues/101

This looks reasonable enough to me, but I think this would be better expressed as a cloud build pipeline. Seems like a good candidate for using the local emulator we have here. Maybe if @duggelz is cool with this we can merge it as-is and move it to cloud build as a follow-up?

Agree with Jon's comment.  For posterity, I'll add review comments that I previously discussed in person.


with ionic framework

The plugin worked in ionic - android without any problem.
In ionic - ios, it worked  but the receiver app (my app) could not get the data.
What could we do.

In ionic - ios, it worked but the receiver app (my app) could not get the data.

Does the sharing dialog open the app? (to check if the custom url scheme is well defined when using ionic)
If it does, it means the data has been added to a shared user-preferences. If you can open the Xcode project on iOS, you can make sure both the Share extension and App are in the same App Group (see README about that)


update PicoCLI to 4.1.0

Signed-off-by: Sally MacFarlane<EMAIL_ADDRESS>See #1371

ok so there are breaking changes in 4.1.0 - needs some work


Vickel: Watch johori.com

Vickel requests the watch of the watch_keyword johori\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

johori\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Rejected by double-beep in Charcoal HQ. Reason: 'the watch was fine, I didn't see the PR before watching the same domain'


When I changed the font size of the editor, the font of the Output window was also changed, which is not good, but I also can't find a configuration to change the font of the Output window

I have used VS Code for a long time, when I changed the font size of the editor, the font of the Output window was also changed, which was not good, but I did not find the configuration to change the font of the Output window.The Output window is mainly for message Output and does not follow the editor to change the font size.Smaller fonts provide more output and reduce scrolling.A strong Output can provide better information.
Can you provide font size and font configuration in the configuration?

/duplicate
https://github.com/microsoft/vscode/issues/21489


Validate compression method in all ZipFile.Add overloads

… to validate the method themselves, and throw consistent exceptions for unsupported methods
Related to the discussions in #333 and some of the issues that occur when adding extra compression methods due to using ZipEntry for compression method validation:
There are currently the following methods in ZipFile to add a new entry and specify a compression method to use:
public void Add(string fileName, CompressionMethod compressionMethod, bool useUnicodeText);
public void Add(string fileName, CompressionMethod compressionMethod);
public void Add(IStaticDataSource dataSource, string entryName, CompressionMethod compressionMethod);
public void Add(IStaticDataSource dataSource, string entryName, CompressionMethod compressionMethod, bool useUnicodeText);
public void Add(IStaticDataSource dataSource, ZipEntry entry);

(there is also one that just takes a ZipEntry which only accepts 0 length entries, so i'm not sure if this applies to that one).
Out of those:
The first two check if the compression method is supported themselves, and throw ArgumentOutOfRangeException if it isn't.
The next two don't check themselves, but use the CompressionMethod property setter on ZipEntry, which throws NotSupportedException for methods it things are unsupported.
The final one does no checks, which ends up relying on the property setter in ZipEntry I think? (could hypothetically be an issue if you read an entry with an unsupported method from an existing file?)
This PR makes two changes:

do explicit validation in the Add functions, and throw ArgumentOutOfRangeException for unsupported methods,

Use a local method to decide what is supported instead of deferring to ZipEntry (it's ZipFile that knows what it supports after all).

This somewhat counts as an API change as it changes the exceptions thrown by a couple of the functions from NotSupportedException to ArgumentOutOfRangeException (i'm not sure which exception is best to use, though as ArgumentOutOfRangeException is the one that is specified in the doc comments and NotSupportedException isn't documented, that seemed the simple one to standardize on)
I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.

I think NotImplementedException is the one we should use (if that's the case of course). Since both NotSupportedException and Argument*Exceptions indicate that the operation is invalid or the argument is invalid.
ArgumentOutOfRangeException is also just true on a machine level. An enum is not really a number, it's a token for a commonly understood API concept.

NotImplemented sounds better than ArgumentOutOfRange, I can change that if you're ok with changing the documented excdeption types on a couple of functions.

Related: ZipOutputStream.PutNextEntry is in a similar situation with not validating the compression type is supported, and it could perhaps do with throwing the same exception type there.

Yeah, they should probably use the same exception.
The change in API should not be a problem, since this is not an exception that is usually catched by the consumer and handled. Instead, most people would just see it whenever they attempt to use a feature that is not supported by the library (yet).

Exception changed to NotImplementedException

rebased on top of #420 to fix a merge conflict


RATIS-1159. Wait ChannelFuture be completed before getting the local address

What changes were proposed in this pull request?
Need to wait the ChannelFuture be completed. Otherwise the local address could be null.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/RATIS-1159
How was this patch tested?
UT (run 100 times locally without seeing the timeout issue again)

@runzhiwang  @szetszwo


Add: Readme

Added: https://github.com/htkoca/fcc-markdown-previewer/commit/68f4ee6e7f33430de1e7d6a2b93c3f3a7e25cab7


feat: add a package for React components library

Feature request
When we have a CSS package added (#1), we will also add a React components library that will use the styles pushed in CSS in the other package to create components exposed in a Storybook.
Preferred solution
Use our existing library of components currently in our private Decathlon's repository.

Possible solutions to init this package:

https://github.com/thepeaklab/react-component-library-starter
https://github.com/DenysVuika/react-lib


[BUG] Part1- Doc Improvement

AppSmith Doc
Introduction
Present:- Invest weeks of time building it from scratch and fighting with HTML/CSS
Improvement:- Investing weeks of time building it from scratch and fighting with HTML/CSS
Getting Started
Present:- Appsmith stands for speed and getting started with Appsmith is just as fast.
Improvement:- Appsmith stands for speed and getting started with Appsmith is just as fast as Usain Bolt.
Present:- To simplify installation, appsmith comes with an installation script that will download all of the necessary dependencies and help you configure appsmith.
Improvement:- To simplify installation, appsmith comes with an installation script that will download all of the necessary dependencies and helps you in configuring the appsmith.
Present:- If you're installing appsmith on Mac, you must have docker desktop installed. Docker is installed automatically by the script on other operating systems.
Improvement:- For Mac, Docker Desktop is required. For other operating systems, docker will be installed automatically by the script.
Present:- Check if all containers are running correctly.
Improvement:- Check if all the containers are running correctly.
FAQs
Present:- You may have these questions and we want to answer.
Improvement:- You may have these questions and we would like to answer them.
Present:- What type of apps are built on Appsmith?
Improvement:- What kind of apps can be built on Appssmith?
Present:- We make building internal tool building easy by giving you building blocks (widgets, APIs, Queries) which you can configure and connect together while the framework does most of the heavy lifting.
Improvement:- Appsmith makes building internal tool building easy, by giving you building blocks (widgets, APIs, Queries) which you can configure and connect together while the framework does most of the heavy lifting.
Present:- Appsmith bridges mundane API and UI configurations with powerful code expressions to let you build apps the way you see fit.
Improvement:- Appsmith bridges mundane API and UI configurations with powerful code expressions to let you build the apps the way you see them fit.
Present:- Appsmith is open source and can be fully audited and deployed on-premise to ensure none of your data leaves your VPC.
Possible Improvement:- Appsmith is an open source framework and can be fully audited and deployed on-premise to ensure none of your data leaves your VPC.
Present:- What if I get stuck building an app on Appsmith?
Improvement:- What if I get stuck while building an app on Appsmith?
Present:- What can't I do on Appsmith?
Improvement:- Like with every GOD particle, Appsmith also has its own limitations?
Present:- It works great for tools internal to your team or organization but you wouldn't get very far trying to build an attractive consumer website.
Improvement:- It works great for tools, internal to your team or organization (didn’t get it after this)but you wouldn't get very far trying to build an attractive consumer website.

@visibleajay @Nikhil-Nandagopal Is this issue already taken? If not, I could maybe take it up for Hacktoberfest?

@AninditaBasu Thank You for showing interest. This is in open and anybody can take it. Also, AppSmith is running a Bug Bounty contest.

Thank you @visibleajay . Can you please assign this one to me then? I wont take it up before Oct 1 (and would like to call dibs 🙂 )

@Nikhil-Nandagopal @mohanarpit I would like to take this issue for hacktoberfest!

@Hard-Coder05 Welcome to Appsmith! 🎉 Go for it!
Make sure you read our docs contributions guidelines before starting.

@mohanarpit If this is considered as a Hactoberfest issue then please do add the label
btw I am working on it!

@Nikhil-Nandagopal @mohanarpit I have raise th PR please review it once and You can close this issue!


FileHandle.size() does not work well for large file(more than 3.9GB)

FileHandle.size() use unsigned int to return the size of the file, which only has 4,294,967,295.
Not enough for larger file.

Thanks for pointing this out. I added a new branch with a proposed change to the interfaces and member variables.

Is this going to be committed to master soon?


Requiring Form to have a name attribute

Is there a way to get the select3.js file to work with a form that doesn't have a name attribute.
It isn't really an issue, but it does throw console errors and I imagine has some consequences I haven't found yet.
The error (if omitting the name attr) is this:
TypeError: Cannot set property '$dirty' of undefined
    at compile.setPristine (select3.js:39)
    at select3.js:158
    at angular.js:16299
    at e (angular.js:4924)
    at angular.js:5312

Which links through to this (after following functions)
var form = scope.$eval(elm.closest('form').attr('name'));

If it isn't possible, maybe make the error reporting more verbose.
For example, if form is undefined there, throw an error saying 'Form must have a name attribute' or something, so that the error is easier to track down for those that don't want to dive into source code of select3.js

This appears to concern a different library. select3.js doesn't exist in this repo.


Filter not working

I'm setting the filter as follows:
        - '--filter=__name__="consumer_group_backlog_avg_10m"'

However when I trace the logs in the sidecar it stays here and doesn't seem to forward any metrics
level=info ts=2019-02-22T12:52:07.654292427Z caller=main.go:256 msg="Starting Stackdriver Prometheus sidecar" version="(version=0.4.0, branch=master, revision=e246041acf99c8487e1ac73552fb8625339c64a1)"
level=info ts=2019-02-22T12:52:07.654367128Z caller=main.go:257 build_context="(go=go1.11.4, user=kbuilder@kokoro-gcp-ubuntu-prod-217445279, date=20190221-15:24:24)"
level=info ts=2019-02-22T12:52:07.654414564Z caller=main.go:258 host_details="(Linux 4.14.65+ #1 SMP Thu Oct 25 10:42:50 PDT 2018 x86_64 prometheus-84b8bdf44-6kcw8 (none))"
level=info ts=2019-02-22T12:52:07.654645769Z caller=main.go:259 fd_limits="(soft=1048576, hard=1048576)"
level=info ts=2019-02-22T12:52:07.658270228Z caller=main.go:463 msg="Web server started"
level=info ts=2019-02-22T12:52:07.658797109Z caller=main.go:444 msg="Stackdriver client started"
level=info ts=2019-02-22T12:53:10.664382837Z caller=manager.go:150 component="Prometheus reader" msg="Starting Prometheus reader..."
level=info ts=2019-02-22T12:53:10.668043076Z caller=manager.go:211 component="Prometheus reader" msg="reached first record after start offset" start_offset=0 skipped_records=0

When I curl the prometheus server it should be querying metrics for it does seem to have the metric I'm trying to filter for:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   313  100   313    0     0  43745      0 --:--:-- --:--:-- --:--:-- 44714
{
  "status": "success",
  "data": {
    "resultType": "vector",
    "result": [
      {
        "metric": {
          "__name__": "consumer_group_backlog_avg_10m",
          "consumer_group": "media-extractor"
        },
        "value": [
<PHONE_NUMBER>.789,
          "892269.2"
        ]
      },
      {
        "metric": {
          "__name__": "consumer_group_backlog_avg_10m",
          "consumer_group": "summarizer"
        },
        "value": [
<PHONE_NUMBER>.789,
          "548159.4"
        ]
      }
    ]
  }
}

Does anything seem clearly wrong? What could be the issue? Thanks!

Thanks for the report. Nothing obvious jumps to mind. What is the full command-line? Note that if you have multiple filters, they all have to pass.
Do you see any metrics in Stackdriver if you remove all filters (the sidecar should forward all metrics by default)? Knowing this would help us eliminate the filter as a problem.

Hi Javier, thanks for picking this up.
I'm passing the args through a k8s manifest. The full command is:
      - name: stackdriver-prometheus-sidecar
        image: gcr.io/stackdriver-prometheus/stackdriver-prometheus-sidecar:0.4.0
        imagePullPolicy: Always
        args:
        - --stackdriver.project-id={{ project-id }}
        - --prometheus.wal-directory=/prometheus/data/wal
        - --stackdriver.kubernetes.location={{ gcp_region }}
        - --stackdriver.kubernetes.cluster-name={{ kube_cluster }}
        - --stackdriver.use-gke-resource
        - '--filter=__name__="consumer_group_backlog_avg_10m"'

Yes without filter all metrics are exported, and others filters work.
The problem may lie in a small detail, that the metric I'm trying to export (consumer_group_backlog_avg_10m) is actually an aggregate metric from a group rule. The config is:
groups:
- name: consumer-groups
  rules:
  - record: consumer_group_backlog_avg_10m
    expr: avg_over_time(consumer_group_backlog_k8s[10m])
  - record: consumer_group_backlog_k8s
    expr: sum(kafka_consumer_group_total_lag) by (consumer_group)

The contents of the metric are in my initial post, this at least shows that is available in prometheus. Perhaps these custom metrics are stored in a different directory within prometheus? I can't see any other directory with data though =(

Anderson, thanks for the clarification. The issue is indeed caused by recorded rules, as you suspected. I can see two options:

You can ingest the raw metric into Stackdriver and use Stackdriver's query-time aggregations. In this case, ingest kafka_consumer_group_total_lag and query with 'mean aggregation' using a '10m window' and 'group by consumer_group label'. Would this work for your case? Raw metrics have the advantage that you can play with the data interactively in the Metrics Explorer and Stackdriver dashboard, filter and group by metadata, etc.
Add a static_metadata entry in the collector's config (docs). As long as you preserve the job and instance labels (i.e. don't aggregate them away in your query), which is the case in this rule, then it should work. If you go with this option, I would recommend ingesting consumer_group_backlog_k8s instead of consumer_group_backlog_avg_10m, so you can still change the aggregation (not the group-by) at query time.

I will add an entry to our website explaining this in a bit more detail. Thanks for bringing it up!

I'm going to go ahead and close this request. If there's anything else I can do to help you, let me know.

Thanks a lot for your reply!
The first solution wouldn't work for me, because I'm planning to autoscale (hpa) on these metrics.
The second solution works like a charm! Thanks!
Saw you've already updated the google docs as well, cool!

Glad it helped, thanks for the update!


E2: Added 4 new entity-related functions

 number=entity:getEFlags(): Returns a bit flag of all engine flags of the entity.
 number=entity:isEFlagSet(number): Checks if given engine flag is set or not.
 number=entity:getFlags(): Returns all flags of given entity.
 number=entity:isFlagSet(number): Checks if given flag is set or not.

Additionally I could also register EFL/FL enums as E2 constants, just say so if you want me to (I should probably do it without asking to avoid hardcoding issues with E2s).

Why would you expose this and not even have the decency to wrap it with a friendlier interface? Or even add the appropriate constants to E2 as well? I'm pretty sure anyone who even knew or needed to use engine flags would be using straight-up Lua, much less E2, for such contraptions,


Hide the filed without permission on the table head

If a role doesn't has permissions to some fields,  how to hide the field on the table head ?

Not support yet.


[PT Run] Folder plugin: Improvements for the results

Summary of the Pull Request
With dpi scaling the results are truncated. And the first result is missing the context menu.

This PR is adding:

Tool Tip for each result type
The folder name for the first "Open this folder" result
Improving the search tip
Adding context menu to the first "Open this folder" result

How does someone test / validate:
Test functionality on a local build and run Unit Tests.
Quality Checklist

[x] Linked issue: #16626
[x] Communication: I've discussed this with core contributors in the issue.
[x] Tests: Added/updated and all pass
[x] Installer: Added/updated and all pass
[x] Localization: All end user facing strings can be localized
[ ] Docs: Added/ updated
[x] Binaries: Any new files are added to WXS / YML

[x] No new binaries
[ ] YML for signing for new binaries
[ ] WXS for installer for new binaries

Contributor License Agreement (CLA)
A CLA must be signed. If not, go over here and sign the CLA.

Review for v0.57.0?

Hi @htcfreek, getting some build errors locally due to the analyzers. Could you please fix those?

Thank you!

Yep. The anslyzer wasn't active before the last main branch merge this morning.
But why isn't farm failing?

Yep. The anslyzer wasn't active before the last main branch merge this morning.
But why isn't farm failing?

CI seems to be seeing these as warnings instead of errors.

@jaimecbernardo
Build is fixed.

@jaimecbernardo
I updated the text and the PR should be ready.