sql server ad-admin create fails with "ERROR: Operation returned an invalid status 'Accepted'"

Related command

az sql server ad-admin create \
  --display-name "{displayName}" \
  --resource-group "{resourceGroupName}" \
  --subscription "{subscriptionId}" \
  --object-id "{sqlAdminADGroupID}" \
  --server "{sqlServerName}" \
  --debug

Describe the bug
sql server ad-admin create fails with "ERROR: Operation returned an invalid status 'Accepted'"
With pipeline debugging enabled and the debug flag on the az command i can observe that the underlying HTTP call appears to succeed but the az tool cannot handle the 202 Accepted Response from that call
To Reproduce
Execute az sql server ad-admin create
Expected behavior
Call succeedes, the ad user nominated in the call is assigned as the AD Admin of the SQL Server, the result of the operation is printed to the console.
Environment summary
[section]Starting: AzureCLI
==============================================================================
Task         : Azure CLI
Description  : Run Azure CLI commands against an Azure subscription in a PowerShell Core/Shell script when running on Linux agent or PowerShell/PowerShell Core/Batch script when running on Windows agent.
Version      : 2.198.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-cli
==============================================================================
[command]/usr/bin/az --version
WARNING: You have 3 updates available. Consider updating your CLI installation with 'az upgrade'
azure-cli                         2.38.0 *
Please let us know how we are doing: https://aka.ms/azureclihats
core                              2.38.0 *
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
telemetry                          1.0.6 *
Extensions:
azure-devops                      0.25.0
Dependencies:
msal                            1.18.0b1
azure-mgmt-resource             21.1.0b1
Python location '/opt/az/bin/python3'
Extensions directory '/opt/az/azcliextensions'
Python (Linux) 3.10.5 (main, Jul  1 2022, 04:14:40) [GCC 9.4.0]

Additional context
Request URL: 'https://management.azure.com/subscriptions/{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/administrators/ActiveDirectory?api-version=2020-11-01-preview'
The Azure Pipeline task currently executes with 2.38, We have also force updated the az cli version to 2.39 and the bug is also present in this version.

route to CXP team


Upgrade Ansible Images

Description of the change:

Upgrade the python version 2 which is deprecated to 3.
Upgrade ansible version and it deps/utilities too
Use yum update

Motivation for the change:

https://github.com/operator-framework/operator-sdk/issues/1884
https://jira.coreos.com/browse/OSDK-545
Keep the images and versions updated ( solve technical debts )
Address request made in : https://github.com/operator-framework/operator-sdk/pull/1979

@camilamacedo86 I don't see anything in this PR relating to the UBI 7 -> 8 upgrade you linked in your description. Can you remove that issue and ticket unless some changes here do relate?

/test e2e-aws-go

I don't see anything in this PR relating to the UBI 7 -> 8 upgrade you linked in your description. Can you remove that issue and ticket unless some changes here do relate?

Hi @estroz,
It is because the libs choose here is order to help us to move to ubi8 as well besides solves these issues. However, we can remove from the desc the ubi ticket. No problem at all.

Hi @estroz and @fabianvf shows that all comments are addressed here.
Please, could you check it and let us know if is LGTM?

/test e2e-aws-subcommand
/test e2e-aws-helm
/test e2e-aws-ansible

/test e2e-aws-subcommand
/test e2e-aws-helm
/test e2e-aws-ansible

/test e2e-aws-subcommand
/test e2e-aws-helm
/test e2e-aws-ansible

/test e2e-aws-subcommand

/test e2e-aws-subcommand


Debounce will rollup

Wavesurfer.js version(s):
5.2
Browser and operating system version(s):
Windows10 & Ubuntu 20.04
Use behaviour needed to reproduce the issue:
I am building a project with vite. Unfortunately I cannot build the project because I have an error from the import of debounce in the util/index.js file.

Debounce is in devDependencies, shouldn't be in the dependencies instead ?
It works fine in dev mode but I cannot build for release my project

Sorry I found an issue who's mentionning the solution: install the debounce package in the project
https://github.com/katspaugh/wavesurfer.js/issues/1569
However is it stilll normal the package is in devDependency and not in dependencies


Added missing post-DNVM-install step for OSX

Added missing post-DNVM-install instructions for OSX

Hi @chrisbrinkman, I'm your friendly neighborhood Microsoft Open Technologies, Inc. Pull Request Bot (You can call me MSOTBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSOTBOT;

/cc: @glennc

IMO, the title of PR should depict what has changed, instead of "Update README.md". (you can still edit the title)

Fixed
Sent from my phone

On Apr 30, 2015, at 3:05 PM, Peter Jas<EMAIL_ADDRESS>wrote:
IMO, the title of PR should depict what has changed, instead of "Update README.md". (you can still edit the title)
—
Reply to this email directly or view it on GitHub.

@chrisbrinkman thank you

Thanks @chrisbrinkman. :+1:
IMO, this PR is ready for merging.

Also, this closes #505.

This would clarify what was in the other PR, right? Can we rebase and I'll merge it?

See #684 for a more minimal fix of the source dnvm.sh issue.

Closing because this is no longer needed. Thanks!


The gradle flyway plugin should be able to create new migration files with the correct file naming format.

gradle flywayCreate CreateUser
This should create a file with the name:
src/main/resources/db/migrate/V[date]__CreateUser.sql

... so I don't have to remember the correctly format for naming a file and I can get my job done quicker.  I should just be able to run a command and my script should be ready for editing.

Duplicate of #400


Fix panic with odo init when non-existent devfile path is provided

Signed-off-by: Parthvi Vala<EMAIL_ADDRESS>
What type of PR is this:
/kind bug

What does this PR do / why we need it:
This PR fixes panic when a non-existent devfile path is provided to odo init.
Which issue(s) this PR fixes:

Fixes #5540
PR acceptance criteria:

[ ] Unit test

[x] Integration test

[ ] Documentation

How to test changes / Special notes to the reviewer:
➜  odo init --name aname --devfile-path /tmp/devfile.go
 ✗  Copying devfile from "/tmp/devfile.go" [42631ns]
 ✗  unable to download devfile: open /tmp/devfile.go: no such file or directory
the command failed, the devfile has been removed from current directory

@valaparthvi Just curious. I remember I had a similar issue when trying to use odo init with a remote Devfile URL, but forgot to report it :)
Would that also cover this case, that is when the Devfile path points to an invalid HTTP URL ?

/approve
Thanks for this fix


CSSJ / Acknowledgements in new_flow branch for merging

Hi Birkin,
A note that Ben updated the acknowledgements on Tabulator (https://cds.library.brown.edu/projects/disa/browse/) to include CSSJ as one of our partners in the footer. It will be ready for your to merge and push to the server when you are ready to do so. Email below:
"Hi Ashley -- I just added CSSJ to the acknowledgements text, in the new_flow branch (via https://github.com/Brown-University-Library/disa_dj_project/commit/1e3f484794633a27839ed2bd1abbda9b653a6607), but will just need to get merged into whatever dev branch Birkin merges & pushes to the server for it to show up on the dev. server... --Ben"

Implemented in commit 1ee2f67abe21f0ccc59c04dc715c811f4e053f94.


Secure typed dashboards

Work on this pull request was imported into the following pull request:
https://github.com/CatalystCode/ibex-dashboard/pull/115


Shutdown if mqttClient ist disconnected

Description
This pr fixes an issue, where it isn't shutting down, even if the connection to the mqtt broker is lost.
Type of change

[X] Bug fix (non-breaking change which fixes an issue)

Codecov Report

Merging #1165 (a6c5da8) into main (edc0d28) will increase coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1165      +/-   ##
==========================================
+ Coverage   13.06%   13.15%   +0.08%
==========================================
  Files          29       29
  Lines        7908     7908
==========================================
+ Hits         1033     1040       +7
+ Misses       6803     6798       -5
+ Partials       72       70       -2

Impacted Files
Coverage Δ

golang/internal/ioddfinder.go
66.15% <0.00%> (+3.07%)
:arrow_up:

golang/internal/exponential_backoff.go
60.71% <0.00%> (+10.71%)
:arrow_up:

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 edc0d28...a6c5da8. Read the comment docs.


fix: allow for dev env to change between dev and live collections

This pull request will manually check for the dev env variable as a string to determine the collection names. This is because the variable has been treated as a boolean which will only satisfy the first condition.

testing has confirmed that switching the actions env variable and rebuilding will switch the collections fire store.


Error when installing the plugin

Sorry that I had to send the issue this way, but the repo doesn't accept issues.

Error when installing the plugin:
> pip3 install ofxstatement-seb
Collecting ofxstatement-seb
  Could not find a version that satisfies the requirement ofxstatement-seb (from versions: )
No matching distribution found for ofxstatement-seb

invalid


Add diagnostics to the Annotation and Documentation Nodes when they are not attached to a construct

Description:
$subject as per the LS requirements.
Related Comments: https://github.com/ballerina-platform/ballerina-lang/pull/31342#issuecomment-865514963, https://github.com/ballerina-platform/ballerina-lang/pull/31342#issuecomment-865617446
Related PR: #29751

@nadeeshaan @IMS94 would the same diagnostic (annotation.not.attached.to.a.construct) be enough for both top-level and object-level? Top-level we have variable-decl as the parent and at the object-level we have object-field as the parent.
or do we need two types?
Let's say annotation.not.attached.to.a.top.level.construct, annotation.not.attached.to.a.object.member

@lochana-chathura For our use case, we can manage with a single diagnostic. We just want to know if there's no attached node for a given annotation node and if yes, show all annotation suggestions.
But, having a separate diagnostic for object members will come in handy to filter out object field/method specific annotations. If you can add 2 separate diagnostics, that'll be helpful.


Required form parameters are not generated properly in OpenAPI 3.0 and C# client

Parameters in a controller action that are marked with the attributes [FromForm] and [BindRequired] are not properly generated in OpenAPI 3.0. The parameters should be added to the required section of the body schema. This works with Swagger 2.0.
In addition, even if the parameters are marked correctly as required in OpenAPI 3.0, the C# client is not generated correctly when generateOptionalParameters is set to true. Required form parameters are treated as optional and assigned a default value.
Steps to reproduce:
Setup NSwag to use OpenAPI 3.0 in Startup.cs:
public class Startup
{
    public Startup(IConfiguration configuration)
    {
        Configuration = configuration;
    }

    public IConfiguration Configuration { get; }

    // This method gets called by the runtime. Use this method to add services to the container.
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddControllers();
        services.AddOpenApiDocument(document =>
        {
            document.SchemaType = SchemaType.OpenApi3;
            document.DocumentName = "test";
            document.Title = "testing";
        });
    }

    // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
    public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
    {
        if (env.IsDevelopment())
        {
            app.UseDeveloperExceptionPage();
        }

        app.UseHttpsRedirection();

        app.UseRouting();
        app.UseOpenApi();
        app.UseSwaggerUi3();
        app.UseAuthorization();

        app.UseEndpoints(endpoints =>
        {
            endpoints.MapControllers();
        });
    }
}

Create a controller class with a required form parameter:
[ApiController]
[Route("api/[controller]")]
public class FormController : Controller
{
    [HttpPost("Action")]
    public ActionResult Action([FromForm, BindRequired] string test)
    {
        return Ok();
    }
}

The generated OpenAPI spec is:
"paths": {
  "/Action": {
    "post": {
      "operationId": "Form_Action",
      "requestBody": {
        "content": {
          "multipart/form-data": {
            "schema": {
              "type": "object",
              "properties": {
                "test": {
                  "type": "string",
                  "nullable": true
                }
              }
            }
          }
        }
      }
    }
  }

The expected spec is:
"paths": {
  "/Action": {
    "post": {
      "operationId": "Form_Action",
      "requestBody": {
        "content": {
          "multipart/form-data": {
            "schema": {
              "type": "object",
              "required": [
                "test"
              ],
              "properties": {
                "test": {
                  "type": "string",
                  "nullable": true
                }
              }
            }
          }
        }
      }
    }
  }

If you use the expected spec and generate a C# client using generateOptionalParameters, the generated code is:
public virtual async System.Threading.Tasks.Task Action(string test = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
    ...
}

The expected code is:
public virtual async System.Threading.Tasks.Task Action(string test, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
    ...
}

I can confirm this issue persists in version 13.20.0 (latest stable as of now) and would like to see it fixed.

I just encountered the same issue. It's a big deal, isn't it? You are entirely blocked by using NSwag when you have optional fields using [FromForm].

Still an issue. All of my DTO properties are marked as nullable: true even if they have [BindRequired] and [Required].


move on! and off! to the main adapter API

Ideally they would be added to both Flipper and Split API.
However, Split doesn't support these methods apparently.
I think most likely this is the exception rather than the norm ... most feature flag systems will allow you write values from code, not just read.
So, it's my opinion that Split can just raise an error if it can't support this method.

Closing the ticket for now, but we are open to revisiting it should a need emerge


Deleting unnecessary javascript

This chunk of code now seems to break MathJax, rather than help!  Deleting seems to allow me to see Latex rendered when viewing my website under Chrome.
https://stackoverflow.com/questions/56648378/rendering-latex-on-hugo-websites-with-mathjax

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Added pivot functionality similar to Bootstrap tabs

#446
Implemented support for pivots to be attached to a content element. Currently pivots are able to switch styles between the pivot-links but do not hide/show any content.
Commit details

I've updated the pivot JS code to support switching between show/hide for attached pivot-content.
I've defined the classes for ms-Pivot-content
I've updated the pivot samples to include the pivot contents

Implementation details

Used generic selectors for the data attribute which says what the pivot-link points to so that people aren't forced to use IDs or classes for their content elements
Introduced the ms-Pivot-content CSS class only as a wrapper on top of the CSS display property. Similar to the Panel css

Hi @av-virlan, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;

Thanks for this contribution, @av-virlan! As you've seen, the current JS for the Pivot is simply there to demonstrate how the state classes should be toggled and isn't of much use in an actual app. We'll review this pull request and get back to you if any changes are necessary.

Looks good to me.

So whats the point of creating pivot tab headers without implementing tab functionality ?
Do you erally think we're interested in "how state classes should be toggled" instead of creating apps using your frabework and contributing to it ?

@HeToC: That's what this pull request adds – functional pivots. The original JS was to demonstrate the classes that are available in Fabric and not intended for production use. We're very interested in taking whatever contributions you'd like to offer. :smile:

@mikewheaton Actually i'd like to make office ui fabric react compatible without jquery reference, should i create new repository or create pull requests here ?
ps im new to opensource so sry for silly qs ;)

@HeToC: This core Fabric project is focused on HTML and CSS. Any implementation of these components in another framework should be done in a separate repo. You can look at ngOfficeUIFabric to see an implementation in Angular and react-fabric to see one in React.


Link and highlight issues for edit and tag forms

Trello: https://trello.com/c/4Uc4JL4T/870-add-a-publishing-requirement-to-select-a-primary-organisation
This corrects these two forms where we weren't linking to and highlighting issues.
Edit form
Before:

After:

Tags Form
Before:

After:

@soniaturcotte just to double check, is this the approach we want to take for all forms in the app? One slight exception to this will be the file selector for images/attachments, which doesn't support showing errors at the moment, so I'm guessing we wouldn't want to link to it either.

@soniaturcotte just to double check, is this the approach we want to take for all forms in the app? One slight exception to this will be the file selector for images/attachments, which doesn't support showing errors at the moment, so I'm guessing we wouldn't want to link to it either.

Yes looks great, from the screenshots I'm assuming that this is the standard Design System pattern.
For the file upload, is there a reason we can't do this: https://design-system.service.gov.uk/components/file-upload/ ?

@soniaturcotte oops, that was incorrect of me. Embarrassingly, I actually worked on showing errors on the file upload component! Anyway, although it can support the pattern, we don't do it in the app for some reason. @kevindew, do you think we should have a tidy-up card for this stuff?


form_extra_fields on InlineBaseFormAdmin?

I'm trying to use the form_extra_fields that i see declared in the InlineBaseFormAdmin base class, but it looks like this isn't being used? Using postprocess_form works fine, just wondering what the field is about then?

Looks like this was fixed here: https://github.com/flask-admin/flask-admin/commit/48d383339b91d7f4392b556844ddc802f23626e0


meta: speed up and reduce memory for loading metadata

Codecov Report

Merging #2148 (c478447) into main (7356cbc) will decrease coverage by 0.00%.
The diff coverage is 79.92%.

:exclamation: Current head c478447 differs from pull request most recent head 7a43158. Consider uploading reports for the commit 7a43158 to get more accurate results

@@            Coverage Diff             @@
##             main    #2148      +/-   ##
==========================================
- Coverage   61.66%   61.65%   -0.01%
==========================================
  Files         139      139
  Lines       25163    25018     -145
==========================================
- Hits        15516    15426      -90
+ Misses       7828     7795      -33
+ Partials     1819     1797      -22

Impacted Files
Coverage Δ

pkg/meta/redis.go
71.06% <64.70%> (-0.30%)
:arrow_down:

pkg/meta/dump.go
79.60% <81.03%> (+3.63%)
:arrow_up:

pkg/meta/sql.go
65.62% <83.13%> (-0.01%)
:arrow_down:

pkg/meta/tkv.go
76.04% <85.71%> (-0.36%)
:arrow_down:

pkg/vfs/writer.go
78.64% <0.00%> (-1.02%)
:arrow_down:

pkg/vfs/reader.go
80.65% <0.00%> (+3.46%)
:arrow_up:

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 7356cbc...7a43158. Read the comment docs.


💬 Prompt updates

@tylermaran, I am thinking that we can define a JSON which has constants like the default system prompt which both the JS and Python SDK could use this JSON to load the default system prompt. This will reduce redundancy across zerox's SDKs.

Hey @pradhyumna85, agreed. We could definitely have a shared prompt library. As well as some shared tests. Since it's really hard to tell how the output changes with a prompt change.
On the subject of shared code, I'm planning on writing some tests that do something like:

Run ~10 documents through
Do a regex test on the resulting markdown for a bunch of discrete indicators that we know it should contain.

ex:
If we ran this doc: https://github.com/getomni-ai/zerox/blob/main/examples/cs101.pdf
We could do a regex test
const bits = [
  "byte",
  "16-bit signed 2s complement integer",
  "Short",
  "32-bit signed 2s complement integer",
  "Integer",
  "64-bit signed 2s complement integer",
  "Long",
  "float",
  "32-bit IEEE 754 floating point number"
  ]

const countMatches = (text) => {
  const pattern = new RegExp(bits.join('|'), 'g');
  const matches = text.match(pattern);
  return matches ? matches.length : 0;
}


[Bug] [Zeta] imap-storage-file module e2e error

Purpose of this pull request
close #5236
Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

@hailin0 PTAL


Embedded Vimeo videos fall back to Link instead of Recaptcha

Affected Version
4
Description
We are seeing a lot of rate-limited responses to embedded Vimeo videos on SCPS-CCL infrastructure - I believe this is because it treats all requests as coming from the same IP, but that's beside the point. When this happens, it returns a recaptcha/verification widget that is HTML, that should be rendered on the page for the user; instead it is turned into a link that looks like this:

While admittedly that takes the user to the appropriate video, it does fundamentally look terrible and doesn't go away once clicked.
The actual response from Vimeo is something like:

Verify to continue

We detected a high number of errors from your connection. To continue, please confirm you're a human (and not a spambot).

  <form id="form" action="https://vimeo.com/_unblock_ratelimit" method="post">

  </form>

So it would seem that we could pull that out, rather than just pulling out the
 and using it as the link
Steps to Reproduce
Triggering the rate-limit is hard but it happens on the SCPS-CCL infra every few months.

We could probably do something here as, in the rework, EmbedContainer will look at the returned HTML to determine the type. Can you provide a sample of the returned HTML when it's a recaptcha?

the returned HTML

Yeah it's in the issue description - that piece of HTML is the response you get (except with an actual site key rather than big_ol_string). Response code is 403.

When this happens, it returns a recaptcha/verification widget that is HTML, that should be rendered on the page for the user

Are you sure? Isn’t the challenge being presented to the webserver and not the end user?

Isn’t the challenge being presented to the webserver and not the end user?

I guess sort of? The webserver is the source, it seems - but the user has the power to say "this is legitimate". Should look something like the image in this post when rendered: https://news.ycombinator.com/item?id=23897370

Ah okay - I wasn’t sure if the user would be allowed to solve the captcha given that they’ll be coming from a different IP address, but if they can then that makes sense 😄


Add ast-builder to resources Ecosystem / Tools

https://rajasegar.github.io/ast-builder/

ooh would love to! Thanks for sharing!

Done! Feel free to raise a PR if you spot anything that's missing 😄
Should be up shortly 👍
https://www.codeshiftcommunity.com/docs/ecosystem


processing-team-member-111701011-spec

Devansh Singh Rathore(Rotate & Color change module), Design Spec.

issue resolved


Can you please add autofill support

Description
If we fill the same form multiple time, it should give some suggestion as autofill in chrome
Steps to reproduce issue
Login few times to some site and see you get no suggestion for a form like in incognito.
Details

Are you nativefying a public website? Yes
Feature request? Have you looked at nativefier --help to see if an existing option could fit your needs?
Full nativefier command used to build your app: nativefier "github.com"
Version of Nativefier (run nativefier --version): v7.6.3
Version of node.js (run node --version): v8.11.1
OS: Windows 10
Error message / stack trace (if any):

<Error message / Stack trace here>

Hi @aashutoshrathi and thanks for the feedback. That's a known feature request; closing as duplicate of https://github.com/jiahaog/nativefier/issues/310


Add formatting output with scr as well as the actual output reaction.

So it's easier to just copy and paste it with the formatting for the show custom reactions.

isn't there Format.Escape or something like that, what you did wouldn't look so pretty

Discord.Format.Sanitize <- that's what i meant


How to remove the cloudfoundry/cli?

How to remove the cloudfoundry/cli?

See http://docs.cloudfoundry.org/cf-cli/install-go-cli.html#uninstall.


Web content not respecting windowcontrols patches

I used ./install.py --patch windowcontrols/left -w full and the web-based UI (friends list, chat windows) still have the window controls on the right. Is this PEBKAC or is not yet implemented?

Not yet implemented.
CSS can obviously do it, but getting every page with a window control properly formatted might not involve the prettiest of solutions and be prone to getting broken down the line by some minor change on Valve's end.

@tkashkin This and https://github.com/tkashkin/Adwaita-for-Steam/issues/84 https://github.com/tkashkin/Adwaita-for-Steam/issues/85 were addressed in https://github.com/tkashkin/Adwaita-for-Steam/pull/111
Can probably close em.


Convert to ES6

Addresses #52
This is a first pass at upgrading to ES6. I also converted from karma to testem :)
I left the single file pretender.js file intact, not sure how you want to split it up.
Concerns:

Single UMD module may not be the best approach
Tests are not ran against node.js
Versioning dist/pretender.js may not be desired

Todo:

Could use ember-cli to run/build

Could use ember-cli to run/build

There's a bug in testem where it doesn't respect the cwd (working directory) passed to it. Once I can get that fixed, it'll be much simpler than what you have here to use ember-cli for basic JavaScript libraries.
Also I'm not sure how well broccoli-cli works on windows, whereas I know ember-cli works (pretty much) fine

Thanks for this, but I think we're holding off. The landscape just keeps shifting


Step 3 contains unrealisable step

Step 3 contains the screenshot which is not actual and intents to actions which nowadays user won't be able to do.
From CodeLAB:

Screen from INTEGRATIONS tab today.

Please change a description a little bit and update screen or make it more clear via description.

This actually seems to have been fixed at some point, so I'm closing this Issue.
If you think the resolution is in error, please re-open the issue with fresh information.


Use chttpd:send_error/2 in mango_httpd

Overview
We used to call non exported function chttpd:send_error/6. Switch to
public chttpd:send_error/2 for sending error.
Testing recommendations
induce error in mango or update code as follows
diff --git a/src/mango/src/mango_httpd.erl b/src/mango/src/mango_httpd.erl
index 2e87771..e69001a 100644
--- a/src/mango/src/mango_httpd.erl
+++ b/src/mango/src/mango_httpd.erl
@@ -33,6 +33,8 @@
 }).

 handle_req(#httpd{} = Req, Db0) ->
+    Stack = erlang:get_stacktrace(),
+    chttpd:send_error(Req, {<<"ErrorStr">>, <<"ReasonStr">>, Stack}),

Issue mango query request
http --auth=adm:pass http://<IP_ADDRESS>:15984/mango_test_ffdbb10509f046cea3883d144586c02d/_index
HTTP/1.1 500 Internal Server Error
Cache-Control: must-revalidate
Content-Length: 59
Content-Type: application/json
Date: Fri, 02 Mar 2018 15:16:21 GMT
Server: CouchDB/2.1.1 (Erlang OTP/17)
X-Couch-Request-ID: f942b096d7
X-Couch-Stack-Hash:<PHONE_NUMBER>
X-CouchDB-Body-Time: 0

{
    "error": "ErrorStr",
    "reason": "ReasonStr",
    "ref":<PHONE_NUMBER>
}

Check that

response has error and reason.
response code is 500
logs contain stacktrace

Related Issues or Pull Requests

Checklist

[x] Code is written and works correctly;
[ ] Changes are covered by tests;
[ ] Documentation reflects the changes;

Using chttpd:send_error/4 seems to be closer to the original intent? It's public func as well.

bump

Using chttpd:send_error/4 seems to be closer to the original intent? It's public func as well.

chttpd:send_error/4 doesn't support passing of stack trace. The stack trace is converted here. There are no calls to json_stack/1 from  chttpd:send_error/4. chttpd:send_error/4 calls chttpd:send_error/5 with Stack = [].


compile token never finish

eosio-cpp -I include -o eosio.token.wasm src/eosio.toke.cpp --abigen

never finished.
machine: ubuntu 18.04, 2 cores, so https://github.com/EOSIO/eosio.cdt/issues/288 do not help .

i am following the https://developers.eos.io/eosio-home/docs/token-contract tutorials to learn how to write eos contract, but i am stuck in this step.

@larryk85

the issue has been fixed after i upgraded eosio.cdt version from 1.6.0 to 1.6.1.

it happened again, even through eosio-cpp already be upgraded to v1.6.1
eosio-cpp -v
clang version 7.0.0 (https://github.com/eosio/clang.git 6b886302a11a8419b76e469794ff9d0c531a4b4b) (https://github.com/eosio/llvm a41b8e7653258a4f1a5911ef28c95672efce051e)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/opt/eosio.cdt/1.6.1/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.4.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.4.0
Candidate multilib: .;@m64
Selected multilib: .;@m64

@larryk85 i need your help, thanks

See issue #741, this can happen even with multiple CPUs. Regardless, PR #896 should resolve this issue.
I'm going to close this since the issue is being tracked on #741 and we have a fix incoming.


Add features

1.add proxy support;
2.add more available sci-hub url
3.change to python3

Hey, @vc5 sorry for the delay in responding to this (been super busy with work), but your work looks good to me. Merging 👍


Update typings.json to support version numbers

This is required for keeping dependencies in sync. It'll break the nice decentralisation that occurs right now, but if typings.json could specify 1.2.0 (for example), we can validate that against both the registry versions and the package.json version to keep typings in sync.
Edit: Can't just be numbers. We have multiple sources and the name can be different to the installed typing. E.g<EMAIL_ADDRESS>Linked: https://github.com/typings/cli/issues/24
Edit 2: The registry can be an array of sources - does this mean it'll only ever be one source now? If it's multiple, we could reuse the version field in typings.json to handle this.
Edit 3: If we use the version field in typings.json, we might need to support a "for" field that tells us which registry this is typed for.

Ok, thought about this and it's a great chance to semi-demo using an improved registry and update functionality using semver. I can make the change to the Typings registry to expose something closer to NPM-like structure and we store the versions such as<EMAIL_ADDRESS>where the build metadata is the date added timestamp and the compiler version.

Oh, this is done! :tada:


in_app_purchase can't dispatch purchase updates.

After upgrading to 0.1.1+2 of the in_app_purchase plugin, we're unable to get purchase updates on Android.
I've been digging through the stack, and I think I have located the issue. When the BillingClientWrapper#callHandler calls the PurchasesUpdatedListener it tries to pass the call.arguments  to PurchasesResultWrapper#fromJson factory.
In commit 0dcd0cd931337a4759daee2796c18c1dd7df4dcd a new signature was added to the factory, which makes the factory call fail:
factory PurchasesResultWrapper.fromJson(Map map)
was changed to
factory SkProductResponseWrapper.fromJson(Map<String, dynamic> map)
The consequence of this, is that the PurchasesUpdatedListener#onPurchasesUpdated(int, List<Purchase>) is simply dropped.

I'm quite certain that this means that no-one will be able to complete purchases on flutter stable channel using in_app_purchase version 0.1.1+2.
I came around this issue by sticking to 0.1.1+1.

I can confirm that, I receive an W/BillingHelper(26580): Couldn't find purchase lists, trying to find single data. error after a successful purchase, but my InAppPurchaseConnection.instance.purchaseUpdatedStream is not updated. Only after reloading and asking for pastPurchases, I receive an event on my stream. Solution was to revert from 0.1.1+2 to 0.1.1+1

I am building from the source and also experiencing the same problem still in 0.2.0. This is a critical issue.

is there any update?

I just checked pub.dev, and it seems that two new versions has been published. I haven't tested those myself. I do see that @cyanglaz has been committing to the plugin since this issue has been created. This issue does seem critical :|

The fix is here https://github.com/flutter/plugins/pull/1775
Will close the issue when the PR is merged

Fix is merged, closing the issue. If you found related bugs please feel free to file another issue with details.

Can anyone verify that the issue is resolved? I am still experiencing the same issue even in 0.2.0+1
To reproduce, simply purchase a subscription from Android, the purchaseUpdatedStream is not updated. It is working only in 0.1.1+1

I am also experiencing the same issue with 0.2.0+1. The purchaseUpdatedStream is not updated after a purchase.

Can anyone provide a mini sample app to reproduce the issue. It seems working for me with the example app in the plugin.

Getting the same error reported in this issue also with the example app in the plugin with 0.2.0+1.
I tried with the beta and stable channel with the same result.
The purchaseUpdatedStream is not updated after a purchase. A relaunch of the app shows the subscription as purchased. Only tried on Android.
Please let me know if any other info may be useful. Thanks!
flutter doctor -v

[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.5 18F132, locale es-ES)
    • Flutter version 1.5.4-hotfix.2 at /Users/developer/flutter
    • Framework revision 7a4c33425d (9 weeks ago), 2019-04-29 11:05:24 -0700
    • Engine revision 52c7a1e849
    • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

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

[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.0, Build version 10A255
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

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

[✓] Connected device (1 available)
    • SM G960F • 2168360e37047ece • android-arm64 • Android 9 (API 28)

• No issues found!

The same example app is not working for me too. I cloned the plugin repo and build from the source. I made sure the upstream branch is up to date with the latest commit [in_app_purchase]fix the type casting issue (#1775) and the latest version is 0.2.0+1. When purchasing a subscription from Android, purchaseUpdatedStream is not updated. I checked with the master and stable branches multiple times.
@cyanglaz, This can be easily reproduced by manually test a subscription purchase from Android with the example app itself.

@rahulraj64 @pabloserranof  Thank you for the details, did you mean only subscription causes the issue? Consumable works fine?

@cyanglaz It's not working for managed products either in 0.2.0+1. But when I used the version  0.1.1+1 from the pub, it worked. Tested on Samsung Galaxy S8 running Android 9.0. Please feel free to ask for any additional details from our side. I am desperately waiting for integrating this plugin into my production app.

@cyanglaz I just tried with a managed product for the first time with 0.2.0+1 and it does not work either. Getting the same result as with the subscription reported before. Tested with the example app code from the plugin and with the same "flutter doctor" as before. The item is purchased but purchaseUpdatedStream is not updated.

I have encountered the same problem with 0.1.1 and 0.2.0 as well. Always get "Couldn't find purchase lists, trying to find single data."  Just wondering if there is going to be updates coming soon or if I should explore other avenues.

I did a bit of digging and it seems that the function that sets up the stream never gets triggered.
I placed break points and also print statements in the plugin function that is meant to return the StreamSubscription but it never gets called.
I hope this helps.
Let me know if this is not clear and you need more details.

Thank you for all the valuable details. I have detected the bug and will provide a fix soon.

https://github.com/flutter/plugins/pull/1785 Should fix the issue in 0.2.0+1, if you update to 0.2.0+2, the stream should be able to get updates. Closing the issue now. If related issues are still found, please feel free to open the issue or ping me in this issue.

Verified that the fix 0.2.0+2 is working.
Thanks @cyanglaz

Is this fixed? I am still having issues with the latest version.

@HiroshiHorie This is fixed. You might have a different issue. Do you mind open another issue ticket explaining the details of the issue that you are facing?

@cyanglaz I'm sorry it seems to be fixed, I don't know why there was a time it didn't work.

This issue is still present on iOS. Android seems perfect

@solokingjec If that's the case, I think you should create a new issue with a reference to this one.

I'm seeing this issue again on 0.3.4...

purchaseUpdated.listen not working. I'm experimenting with test card with rejection after a few minutes but its not trigger

@kepuza the maintainers of this lib have never been able to fix this lib in over two years. Don't bother with it; we've been using https://pub.dev/packages/flutter_inapp_purchase and it works flawlessly (for two years)

@ollydixon Thank you i will try


Transformation fails in project that depends on itself

I have a project that contains an implementation dependency to itself through a binary dependency. The preferProjectModules resolution strategy is then used to replace the dependency with a project dependency to look like this:

Applying a transformation in this configuration in a clean build crashes, since the transformation is applied to the output artifact of the project itself which, of course, doesn't exist:
* What went wrong:
Execution failed for task ':scythe:runtime:kaptKotlin'.
> Could not resolve all files for configuration ':scythe:runtime:_classStructurekaptKotlin'.
   > Failed to transform runtime.jar to match attributes {artifactType=class-structure, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
      > Execution failed for StructureArtifactTransform: /Users/cpuerta/temp/oss/scythe/runtime/build/libs/runtime.jar.
         > /Users/cpuerta/temp/oss/scythe/runtime/build/libs/runtime.jar (No such file or directory)

In order to repro, use the repo from #13329 (shared with @ljacomet, @melix and @jjohannes), pull to the latest master, and run:
rm -rf scythe/runtime/build
./gradlew :scythe:runtime:compileKotlin -Pscythe.apply

Environment: Gradle 6.5
Build scan: https://scans.gradle.com/s/rogy6bluv22gg

This is kind of related  #10484.
Although this issue here should be solved in a way that we do not get and error (while #10484 might be solved by giving the right error)

Yeah, I would expend the self-dependency to either be dropped automatically or cause an error.


IMDS does not work for App Services.

IMDS does not work for App Service managed identity.  See https://stackoverflow.com/questions/56992713/.  Guidance is to use the deprecated MSI VM Extension or the nuget which devolves to calling the extension.  Can we get some updated guidance on the true deprecation date and how App Services should be getting tokens for calling, for example, another Azure App Service.  This feature is super cool since I don't have to worry about some PAT, certificate or other token that has an expiration date.
Pointing to the link shared with me:  https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/mgmtcommon/AppAuthentication/Azure.Services.AppAuthentication/TokenProviders/MsiAccessTokenProvider.cs to the library source to confirm that it's using the "deprecated" API.
It would be nice if the App Services Identity page in the azure portal pointed us to an accurate page -or- if this page had accurate, supported Azure App Service-specific guidance.

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

ID: 7bd6bdc9-b545-f273-dc80-eeb69107d919
Version Independent ID: dbbbadd6-f533-33e3-1c1f-7cbc889b20b7
Content: Managed identities for Azure resources
Content Source: articles/active-directory/managed-identities-azure-resources/overview.md
Service: active-directory
Sub-service: msi
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@DonFrazier Thanks for your comment. We are actively investigating and will get back to you shortly.

@DonFrazier Thank you for providing your document enhancement request. We are engaging the content team to look into this further.
@MarkusVi Could you please have this article reviewed with engineering and get it updated as needed ?

I have created a backlog item to track this.
#please-close


gnmi enhancement to support json_ietf encoding and work when json_ietf_val is bytes string

Can we support different encodings for get? I think we just need a new argument (already made local change and it works).
On top of that, when json_ietf_val is a bytes string, we hit json.decoder.JSONDecodeError exception. Example:

json_ietf_val = b'DIRECTLY_CONNECTED'
This could be a simple fix as well, which I've made locally and it works.
Thank you for the awesome library!

Hey @brunoonovais ,
thanks for your message. I'm not too sure I do understand the request, as pygnmi already supports all encodings, which are supported by gNMI: https://github.com/akarneliuk/pygnmi/blob/903e50bc11b38dbb98d03d549e67908cc88da2e1/pygnmi/client.py#L272
On a second one, it would be good to see, what was the request you have so far performed to receive such an answer. Given it is a DIRECTLY_CONNECTED, I would assume you have requested for a specific route. However, it would be good to see the message, which caused an exception, if possible.
Overall, if you feel that something can be improved, you are welcome to raise a pull request ;-)
Best,
Anton

Hey Anton
Sorry, I should've worded this properly. I actually meant pygnmicli, not
pygnmi client.
I will just submit a PR and you let me know if you have a problem with that
or not :) Didn't want to raise it before talking to you first.
Thank you!
Bruno Novais
On Sun, May 1, 2022 at 6:54 PM Anton Karneliuk @.***>
wrote:

Hey @brunoonovais https://github.com/brunoonovais ,
thanks for your message. I'm not too sure I do understand the request, as
pygnmi already supports all encodings, which are supported by gNMI:
https://github.com/akarneliuk/pygnmi/blob/903e50bc11b38dbb98d03d549e67908cc88da2e1/pygnmi/client.py#L272
On a second one, it would be good to see, what was the request you have so
far performed to receive such an answer. Given it is a DIRECTLY_CONNECTED,
I would assume you have requested for a specific route. However, it would
be good to see the message, which caused an exception, if possible.
Overall, if you feel that something can be improved, you are welcome to
raise a pull request ;-)
Best,
Anton
—
Reply to this email directly, view it on GitHub
https://github.com/akarneliuk/pygnmi/issues/58#issuecomment-1114356532,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKG3BBD2VKIPPDJPO3BBQFTVH4DSRANCNFSM5UWCXIYA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hey @brunoonovais ,
sounds good, looking forward.
Best,
Anton

Hi Anton
Just wanted to send you the diff before I send a PR. Do you see any problem
with this? I may have to change a couple of things on client.py as well,
but wanted to send those changes to pygnmicli at least for now.
Thank you
Bruno Novais
On Tue, May 3, 2022 at 6:12 PM Anton Karneliuk @.***>
wrote:

Hey @brunoonovais https://github.com/brunoonovais ,
sounds good, looking forward.
Best,
Anton
—
Reply to this email directly, view it on GitHub
https://github.com/akarneliuk/pygnmi/issues/58#issuecomment-1116711275,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKG3BBDWHS5XPFX3RP4TJ73VIGQFRANCNFSM5UWCXIYA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hey @brunoonovais,
sure, please send it to me or submit PR so I can review directly there.
Best,
Anton

Hey @brunoonovais ,
hope you are well. Are you still going to submit PR?
Best,
Anton

Hey Anton
I've recently changed jobs so could not catch up on this, sorry about that.
I will find a box to test the changes I've made again on this other vendor
and let you know. It just may take a bit of time since I have a ton of
stuff to learn for the job haha.
Cheers!
Bruno Novais
On Thu, Jul 14, 2022 at 15:43 Anton Karneliuk @.***>
wrote:

Hey @brunoonovais https://github.com/brunoonovais ,
hope you are well. Are you still going to submit PR?
Best,
Anton
—
Reply to this email directly, view it on GitHub
https://github.com/akarneliuk/pygnmi/issues/58#issuecomment-1184830875,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKG3BBDEGAMONCTERWW3NBTVUBUVXANCNFSM5UWCXIYA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hey @brunoonovais ,
hope you enjoy a new job :-) I believe your request is now sorted by #92 . Could you please test and let me know if anything else is needed?
Best,
Anton

Hey Anton, thank you! all good :)
I just pulled the latest and still seeing it:
bash-3.2$ ./pygnmicli -t device:6030 -u admin -p admin -i -o capabilities
-d all
Traceback (most recent call last):
File "/Users/bnovais/Downloads/pygnmi/scripts/./pygnmicli", line 163, in

main()
File "/Users/bnovais/Downloads/pygnmi/scripts/./pygnmicli", line 40, in
main
target=args.target, username=args.username, password=args.password,
token=args.token,
AttributeError: 'Namespace' object has no attribute 'token'
bash-3.2$
I think we can just verify if args.token and use that option, otherwise
remove it. That is what I did to get around it, but looks clean enough?
Cheers!
Bruno Novais
On Wed, Aug 10, 2022 at 12:22 PM Anton Karneliuk @.***>
wrote:

Hey @brunoonovais https://github.com/brunoonovais ,
hope you enjoy a new job :-) I believe your request is now sorted by #92
https://github.com/akarneliuk/pygnmi/pull/92 . Could you please test
and let me know if anything else is needed?
Best,
Anton
—
Reply to this email directly, view it on GitHub
https://github.com/akarneliuk/pygnmi/issues/58#issuecomment-1210951110,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKG3BBAGXFGP2IYRZ4GNDBDVYPJK5ANCNFSM5UWCXIYA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Also, what is interesting. where are you running that from? It doesn't seem you properly install it via pip as otherwise you would run it as pygnmicli without ./. What version of Python do you have on the host?

Hello @brunoonovais ,
Both your requested items are sorted in #93  and published in pygnmi==0.8.8, which is just released in pypi as well. Please, test and let me know.
Best,
Anton

Closed due to inactivity


Question: How to use metrics for u64 or f32

Hi I am fairly new to rust and was porting an internal service,
one of the goals I've set for myself was to do report some system metrics to datadog, using https://github.com/sevco/metrics-datadog-exporter-rs.
Some of the metrics from https://docs.rs/self-meter/latest/self_meter/ are process cpu usage f32 and process memory usage u64 which don't implement the IntoF64 trait.
47  |                         gauge!("process.cpu_usage", report.process_cpu_usage);
    |                         ----------------------------^^^^^^^^^^^^^^^^^^^^^^^^-
    |                         |                           |
    |                         |                           the trait `IntoF64` is not implemented for `f32`
    |                         required by a bound introduced by this call
    = help: the trait `IntoF64` is implemented for `f64`
note: required by a bound in `metrics::Gauge::set`

So how would I go about to report these?

Playing around with it and trying to write a meaningful questions I came up with the solution myself:
I think for u64 I can use a counter, for some reason I was thinking u64 being an unsigned f32 (insert picard facepalming here).
And for the f32 case I can use Into::<f64>::into(report.process_cpu_usage).


Conformance: allow opting out of subtests

Currently, we have some logic like this:
			for _, ct := range tests.ConformanceTests {
				t.Run(ct.ShortName, func(t *testing.T) {
					if reason, f := skippedTests[ct.ShortName]; f {
						t.Skip(reason)
					}
					ct.Run(t, csuite)
				})
			}

To execute the conformance tests from our own Go runner. The issue is this is not very granular as the conformance has subtests in plenty of places.
It would be nice to be able to be more specific so we could opt out of something like GatewayInvalidTLSConfiguration/Nonexistent_secret_referenced_as_CertificateRef_in_a_Gateway_listener instead of just GatewayInvalidTLSConfiguration/

Based on discussion in chat, it seems like at least Istio, Consul, and GKE have used an approach like this. I'd be open to some kind of built in way to do this instead of everyone inventing their own.

In the Kong ingress controller, we used a similar approach too. I'd like to pick this one and propose a built-in solution to opt-out entire test suites (GatewayInvalidTLSConfiguration ) or only specific test cases (GatewayInvalidTLSConfiguration/Nonexistent_secret_referenced_as_CertificateRef_in_a_Gateway_listener).
/assign

FWIW: Go 1.20 will have a go test flag -skip https://github.com/golang/go/issues/41583

I would prefer to not use -skip personally since we want it in code not in our test runner, but we could make do if needed.

I think that having a standard mechanism for skipping tests is good, but that skipping Core tests should eventually mark you as not conformant. Otherwise we could have implementations skip all the tests but still "pass" conformance. Obviously this requires us to have a more structured conformance process than the current honor system though.


Frontend fails to load

Description of problem:
After switching to the new Repro and Zigbee2mqtt 1.19.1-1, my frontend fails to load. So far, I used port 8099 for the frontend, which worked fine.
Now with Zigbee2mqtt 1.19.1-1 the frontend is starting up, keeps loading, but in the end fails to load any entities.
Loading devices takes too long time. Consider reading documentation

With standard port 8080, I get the following message:
502: Bad Gateway

edit:
There might be a specific Firefox 89.0 issue. I tried Safari 14.1.1 and it actually works just fine. Here the Firefox console output:
Firefox kann keine Verbindung zu dem Server unter wss://hassio.local:8123/api/hassio_ingress/icud41yOOa_lpxBB9e1HVQMhRSY6dBFkdvYLePEt-jY/api aufbauen. vendor.215ef97a9e734a42331c.js:2:1151562

Source-Map-Fehler: Error: NetworkError when attempting to fetch resource.
Ressourcen-Adresse: http://hassio.local:8123/api/hassio_ingress/icud41yOOa_lpxBB9e1HVQMhRSY6dBFkdvYLePEt-jY/scripts/vendor.215ef97a9e734a42331c.js
Source-Map-Adresse: vendor.215ef97a9e734a42331c.js.map

edit 2:
This error is related to the new HTTPS-only mode in Firefox. I deactivated it before specifically for http://hassio.local:8123, which did not work. Deactivating the HTTPS-only mode for all pages in the Firefox setting did the trick.
Zigbee2mqtt add-on version:
><EMAIL_ADDRESS>start /app

Your entire configuration from the frontend (with sensitive fields redacted):
data_path: /config/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://core-mosquitto
  user: [xy]
  password: [xy]
serial:
  disable_led: true
  port: /dev/ttyACM0
advanced:
  log_level: info
  pan_id: 6754
  channel: 11
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_blocklist: []
  availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
  port: 8099
experimental:
  new_api: true
socat:
  enabled: false
  master: pty,raw,echo=0,link=/dev/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  restartdelay: 1
  initialdelay: 1
  options: '-d -d'
  log: false

Running platform
Core: core-2021.6.3
Supervisor: supervisor-2021.05.4
Operating System: Home Assistant OS 5.13

Your logs from Home Assistant Supervisor
Zigbee2MQTT:info  2021-06-09 12:21:20: Started frontend on port <IP_ADDRESS>:8099

I recommend also updating to 1.21.0 and clearing cache, but also setting up https for your home assistant instance if you access it from the outside.


Proposal: Split transactions endpoint by group

Problem
Reported by @rg911

The new searchTransaction returns the aggregate transaction without inner transactions. Then the transaction/{id} only returns confirmed transactions. It is not possible to get an aggregate bonded cosigned by purely using the rest api.

Alternatives discussed
A)  Pass the group as a path param.
New endpoints:  /transactions/:group/ and /transactions/:group/:id|hash
(+) Mongo stores each group as a separate collection.
(+)  Aggregate transactions can be cosigned by hash, without having to request all the aggregate transactions related to the account.
(+)  Custom filters can be added to a specific group in future iterations (e.g. return only partial transactions not signed or return only confirmed transactions finalized).
(-) Multiple endpoints.
B) Catapult-server merges transactions under the same collection.
(+) One endpoint approach.
(-)  Server has good reasons to not merge all the collections: Pruning partial and unconfirmed txs at different intervals.
C) REST queries all the transaction-related collections at the same time.
(+) One endpoint approach.
(-) Ids between collections could cause conflicts.
Solution proposed : A
Other changes
Decided with the REST team to rename transactions/:hash/status -> /transactionStatus because:

It does not return transactions but status.
Enters in conflict with the new set of endpoints.
REST defines transactionStatus as a separate set of routes.

Alternatives evaluated: transactions/status/:hash

Would it better to have group / status as a path param in transactions endpoint rather than using 3 separate. Server side can still call different collections.

we will treat as a param server side so it doesn't really matter to us how openapi represents it

I decided to separate them in order to allow:
(+) Custom filters can be added to a specific group in future iterations (e.g. return only partial transactions not signed or return only confirmed transactions finalized).
This would permit to solve this issue https://github.com/nemtech/catapult-rest/issues/244
If you think we are not going to need it, I'm ok with adding a path param based on the enum.

I decided to separate them in order to allow:
(+) Custom filters can be added to a specific group in future iterations (e.g. return only partial transactions not signed or return only confirmed transactions finalized).
This would permit to solve this issue nemtech/catapult-rest#244
If you think we are not going to need it, I'm ok with adding a path param based on the enum.

Either way will do for me

Why not using a path parameter instead of having each endpoint 3 times?

it's explained above

One issue related to splitting the endpoints by state is that the user would need to know the status of the transaction, not only the id in order to retrieve the data. Also, the status the user knew could not be valid anymore, for example, the transaction has been moved from unconfirmed to confirmed, the unconfirmed endpoint by id would return 404.

One issue related to splitting the endpoints by state is that the user would need to know the status of the transaction, not only the id in order to retrieve the data. Also, the status the user knew could not be valid anymore, for example, the transaction has been moved from unconfirmed to confirmed, the unconfirmed endpoint by id would return 404.

the proposal is exactly the same paradigm that was offered by the API before we suggested a badly designed one, so i don't think it is so dramatic to go back on this we can always decide if we want to improve this afterwards, and specially now, where we are in a hurry to move forward with this change
we won't be able to paginate over all the transactions as one full group as things are now for the motives already mentioned multiple times in multiple discussions in the very recent past

It's ok, I stated my points. If you don't agree. It's fine.

fine

i'm not saying i don't agree, they are facts, and they have been considered when deciding that, but we can't have everything at no loss
and you didn't just state your points, you also said pagination is broken, when it isn't, you just don't like the way in which it was designed, and also, this issue has nothing to do with pagination, it's about merging different collections/endpoints

I do like the new design, especially the user query params in order to mix and match options.  I don't like splitting objects by state at API level.
If you have 100 confirmed, 100 unconfirmed, and 100 partials and you want to show them in pages of 50 from newest to oldest, how would you do it?

i'm just saying that this is staying just as it was before, and that pagination is working, this is related to the redesign of endpoints, which in the end wasn't as easy as it was thought, so we aren't going back on anything, we are still moving forward, and we can still consider this in the future once 9.6 deadline is met
there are many things that can't be done with this and many other APIs, we know the current issues but there are many more things on the table that you have probably not considered but you just think it is as easy as doing a join - first of all, the real meaning of the statuses that david has been trying to explain to you, second, the architectural constraints that i won't get my hands dirty with, basically because the database design and administration is NOT under REST's hands as it usually is in most projects,  third, assuming we could join collections, we would lose temporality, because in most databases when doing so you can still sort by other factors or timestamps, but in our situation, we can't, so we would be relying on yet another complex sorting which would probably not be fully consistent either, and we can go on - but most importantly, we committed to having 9.6 ready next week, and i doubt anyone wants such changes on REST/openapi, one day before delivery

That's why I said it is fine. Let's move on, we will be creating the new endpoints in the SDKs. Using path param would have simplified this side of the API but It's ok if the params may change in the future.

we expect/hope to have those changes by tomorrow


polish: improve consistency of warnings and errors

Related to #377

Ooh that tower of icons looks a bit imposing, no?

Ooh that tower of icons looks a bit imposing, no?

I actually like how it clearly delineates the warnings and errors from the informative messages, which have no icon.
In most cases there should be no errors, so you would not see any Xs.
In many cases there should be no warnings. And if there are it is nice to know where the warning ends and the other messages start.

The layout suggested by @JacobMGEvans could only be generated if we captured the calls to logger and only rendered them at some point (?) once they had all been completed.
We already do this, effectively, with validation warnings and errors because they are captured in Diagnostics messages, which are then all rendered together after validation completes.

I updated to use the esbuild formatter. I am not sure it is any better but open to opinions...

I like this better!

OK let's go with this. I just need to work out how to fix the Windows snapshots 😿

I will follow up with a PR to change the mocking to mock the logger rather than the console


Core sorting logic moved in separate method so that it could be called directly

Core sorting logic moved in separate method so that it could be called directly from user code to do manual sorting without column clicks, method for removal of sortclicking behavior.

Thanks for creating this implementation. I incorporated some of the ideas of your code into master. Closed in #136


Add a Valgrind test file

http://stackoverflow.com/questions/3982036/how-can-i-use-valgrind-with-python-c-extensions


Fix Toggle Fold for multiple carets

Fixes #73414
The new function get_caret_lines() returns a list of line numbers with carets on them, excluding any duplicates.
BTW as an aside, I noticed toggle fold doesn't support selection ranges (e.g. Ctrl+A -> Alt+F doesn't work).

BTW as an aside, I noticed toggle fold doesn't support selection ranges (e.g. Ctrl+A -> Alt+F doesn't work).

Not sure this would be accepted with the HashSet function. This problem has been solved in a lot of places without HashSet, for example toggle_inline_comment().

Oof, well I don't really understand the logic of that code there, or how it avoids affecting a line multiple times... 😅
Gonna let someone else fix this properly I think. Possibly make it work with selections too.


no dom events on v-touch component

Hi, it seems that DOM events don't fire on the v-touch instance.
Specifically, I am interested in @mousemove
I have tried passing :options="{domEvents:true}" but that doesn't seem to make any difference (btw, I think in the README it is missing the colon in front of "options")
How would I go about registering mouse events on the v-touch instance?
Thank you

wow. ok that made no sense. my bad.. :(
I write here what is wrong with my question above for others' reference

DOM events don't fire on any component. For that there is the native modifier

:options="{domEvents:true}" isn't for extending the range of events hammerjs will recognize, but for extending the event object passed in the handlers, so to allows e.preventDefault and such


Fixed tregex, tokensregex, semgrex

Thanks for contributing! I'm now busy with my graduation project. I will check it later and will add this to the next version.

Thanks for contributing! I'm now busy with my graduation project. I will check it later and will add this to the next version.

Thanks for contributing! I'm now busy with my graduation project. I will check it later and will add this to the next version.


Publish DB-Snapshot-Creator Extension

Request to submit new DB-Snapshot-Creator extension to Azure Data Studio.

This PR fixes #

Looks like a useful extension.  Thanks for contributing!


Table vs NPC

Should we place tables around the world or an NPC to start the blackjack game? My personal vote is NPC for the following reasons:

Saves space when placing him in various locations, which means more areas can allow the player to gamble.
Allows for easy addition of new games, just a new dialogue option.
Closely resembles the method used by the Skyrim mod "tavern games"
Can easily vary the appearance of the dealer to match the environment that he/she is placed in.

There might be more pros and there might be cons I am not considering but I really think this is a great option, please feel free to disagree and challenge me on it, but I want feedback before we start working on adding the game to worldspaces.

Yea, I think its a great idea too. Go ahead and dive into it! Let me know if anything about Actions:Play script needs to be changed to support starting a game through dialogue.

One thing to change, can you remove the debug box that asks you to confirm playing the game?

Oh yea, I see. You probably want to prompt those questions within the NPC dialogue. I will have to take a little time to think that through but I will surely remove it one way or another so you can do your thing.

Should be along the lines of removing the condition that checks for yes or no and just placing the playgame function right there instead of the condition check being there

Well for something quick n dirty that would work. I dont want to completely remove the message though in the case that the play action was not via dialogue. I still want to be able to support other methods of game activation like and inventory item or in game activator.

Possibly another quick and dirty route but what about basically copying everything and putting it into "PlayBlackJack_Dialogue" script which doesn't have the message box and is just the one we use to attach for dialogue execution?

Good idea, I will give that a shot. Do you have a dialogue script ready to call Blackjack.Play() yet?

Like a script I have written? No, what I'm hoping is that you write that "Play via Dialogue" script and then when it is ready to go and you have merged it into the master files on Git, I will update my files and then attach that new script on the back end of the dialogue I create

On dialogue there is literally a "run script on end" option that I will put that script into

Okay. I will make something that works in that case.

With commit ec3f2ca, I hope you can now use the existing actions:play script in dialogue.

I'm going to close this issue since we now have the functioning dialogue script as well as functioning tables so this is no longer an issue, we simply implement however we want wherever we want!

Yaay!


stateful calculations processors ?

can the streamsets on yarn streaming cluster model do stateful calculations?
Such as real-time statistics PV, UV or certain fields aggregation ?
will you give some advice and code sample ?

Hi @sumpan - no, at present, StreamSets is more oriented towards record-by-record transformations. You probably want to do stateful calculations in Spark Streaming. SDC can feed Spark Streaming with data - see this blog entry for an example: https://streamsets.com/blog/continuous-data-integration-streamsets-data-collector-spark-streaming-databricks/
BTW - we have a Google Group and Slack channel for general Q&A - see https://streamsets.com/community/

thx for your reply @metadaddy
ye , i want to do stateful calculation in spark streaming without writing a single line code
record-by-record transformations is very useful and really convenient, but not enough yet for me
"Google Group and Slack channel" in china can not work ,you know ,network is unreachable ,fuck
any other way to talk about some questions ?

Happy to answer questions here if it's the only channel that works!
I don't know of a way to do stateful calculations without writing any code... I'll pass this on to our produce manager to see if it's in our long-term roadmap.

@sumpan How do you communicate with other open source communities? StackOverflow? IRC?

@sumpan Try emailing<EMAIL_ADDRESS>- let me know how you get on!

Stratio sparta
https://stratio.atlassian.net/wiki/display/SPARTA0x9/Introduction
how do you think about this ?
I think streamsets can also do that , user do have to write any code ,but use config
as I know streamanalytix can do that thing(http://streamanalytix.com/)
besides .streamanalytix can translate pipeline both to storm topology or spark streaming job
so ,streamset have plan to support run pipeline in  apache storm cluster ?

@metadaddy


[image_picker] pickMultiImage: The argument limit does not work on Android

Steps to reproduce
I used the function await picker.pickMultiImage(limit: 5), but it seems the limit attribute is not working.
Please let me know where I went wrong. Thank you!
Flutter 3.19.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision https://github.com/flutter/flutter/commit/bae5e49bc2a867403c43b2aae2de8f8c33b037e4 (3 months ago) • 2024-02-13 17:46:18 -0800
Engine • revision 04817c99c9
Tools • Dart 3.3.0 • DevTools 2.31.1
image_picker: ^1.1.1
Expected results
The limit attribute is supposed to restrict the number of images.
Actual results
The limit attribute is currently not restricting the number of images.
Code sample
Code sample
final ImagePicker picker = ImagePicker();
            List<XFile> listImage = await picker.pickMultiImage(limit: 5);

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.0, on macOS 14.0 23A344 darwin-arm64, locale en-VN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[!] Android Studio (version unknown)
    ✗ Unable to determine Android Studio version.
[✓] Android Studio (version 2021.2)
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.89.0)
[✓] Connected device (3 available)
[✓] Network resources

duplicate of https://github.com/flutter/flutter/issues/147773


Migrate kie-tools/publish_jitexecutor_native.yml GH workflow to Apache Jenkins

We will keep this workflow running on Github because ASF Jenkins doesn't have a MacOS agent node available which is required for this workflow.


Fix: OCK z-index overlay

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1


Added edit option to dot command

Allows you to easily open your dotfiles in your editor by running dot -e

I can dig it. Cheers!


kola/tests/kubeadm: Skip 1.25 on old versions too

But try to make it general, so the information about the test are in a
single place.
Not adding the changelog - it's a fix for a recent feature.

Worked in CI (no kubeadm 1.24 and 1.25 in tests on old LTS): http://jenkins.infra.kinvolk.io:8080/job/container/job/test/2306/consoleText


Remove enableUserSelectHack, set to false by default

Rant: We had an incredibly difficult time connecting the dots between a setState causing a modal to hide and figuring out why the user was losing focus in Gmail. I've probably spent 10+ hours digging through our codebase since we have a ton of places where we manage the user's selection. The last thing I expected was for the Draggable wrapper on that modal to be removing all ranges from the document. I had to resort to a binary search "comment half of everything out, see if it still works, repeat" which was still extremely difficult because I didn't consider the very last element to be the one causing issues.
Repro: The user selects text in any Gmail compose window, opens formatting, clicks bold, our modal disappears (from something like document.addEventListener('mousedown', checkIsOutsideAndHideModal), and the user loses their selection and bold is not applied
RCA:
https://github.com/react-grid-layout/react-draggable/blob/master/lib/DraggableCore.js#L97
This comment explains why it exists, but the code that consumes this flag is mostly about removing document ranges
https://github.com/react-grid-layout/react-draggable/blob/master/lib/utils/domFns.js#L168

I just spent more time than I care to admit trying to figure out the same problem. Setting enableUserSelectHack was the missing piece I needed


Usage section needs update

The API was broken with last update:
var JsonDB = require('node-json-db');
now
var JsonDB = require('node-json-db').JsonDB;

You're right.
Shouldn't have happened. I've unpublished the 0.8.0 until I've resolved this issue.


Track controller/communication

add basic communication to ctc and track

@chrisg564 Youre good to merge if it looks good to you.


MGRS conversion

Given the interest level, we'll most likely add a from function to Cartographic.
We have C and C# implementations that we can port, or we can use a third-party library like node-coordinator (MIT) or perhaps proj4js (also MIT), but I didn't see MGRS listed for the later.
See @pjcozzi for more info.

This is best handled outside of Cesium.


removeHotspotId api, hotspotId, number or string

https://github.com/mpetroff/pannellum/blob/eb50628da1852afa5a1586f88bcd1e01a3e63468/src/js/pannellum.js#L3207
hotspotId and sceneId can have string or number type.
but in the api use "===" exactly equal syntax.
if you didn't purpose it, I think it is better to use "==" expression than it.

I did it on purpose, since I generally err on the side of strict checking to avoid issues due to type conversion. However, there's no particular need for it in this case, so I relaxed the checks.
The IDs are specified as strings in the documentation, so while numbers may end up working, they're not explicitly supported.


Update PyPI package information with new home page pointing to this repository (copy)

Please update the page for pyfakefs on PyPI with URLs that point to this repo. This will help people like me to be certain that this is the official copy that should be contributed to.
The problem is that there are a bunch of clones and there is no certainty around which one should receive community efforts. https://github.com/search?utf8=✓&q=pyfakefs
If this repo is not to be the official, then maybe you can help to transfer over to this one, which appears to have more interest and collaboration already: https://github.com/jmcgeheeiv/pyfakefs/issues/44

David,
I am getting requests to update PyPi pyfakefs with jmcgeheeiv/pyfakefs.  Would be willing to hand over of share control of PyPi pyfakefs to me?  I'll take good care of it.

+1, there are several enhancements in jmcgeheeiv/pyfakefs fork. It would be nice to see the library updated in pypi.

+1 for @jmcgeheeiv

+1

+1, please update the package with the jmcgeheeiv/pyfakefs fork

+1 for @jmcgeheeiv

:+1: for @jmcgeheeiv ... I agree and will be focussing my efforts on https://github.com/jmcgeheeiv/pyfakefs/

... leaving this issue open. Hopefully it'll help people to find the new repo :arrow_up:

https://pypi.python.org/pypi/pyfakefs is updated with the new repo and 2.7 release.


[FLINK-19546][doc] Add documentation for native Kubernetes HA

Add documentation for FLIP-144(native Kubernetes HA).

cc @tillrohrmann Could you please have a look on the documentation?

Address the comments and force pushed.

One question, can you use k8s ha with a standalone deployment on top of k8s or only with the native k8s resource manager?

I think it should also work with a standalone deployment. But I haven't tried it out myself. Could be a good testing task.

Hmm, ok @tillrohrmann and @wangyang0918 I will defer to the two of you. I read the docs right now as being ambiguous as to whether or not k8s ha works with standalone clusters. I think what's here is fine to merge as is but maybe make a note to come back and update the docs if we find it doesn't work during release testing?

@sjwiesman Thanks for raising up this question.
Before writing the documentation, I have verified that the Kubernetes HA service could work both for standalone and native
K8s cluster. And that is by design.
Also I have added two examples in the documentation about how to start a standalone or native cluster with HA configured. Do you think it is not clear enough?

@wangyang0918 could you please just add a sentence that explicitly states it works for both standalone and native resource manager. It wasn’t obvious to me. After that +1 to merge

@tillrohrmann sounds good. We can discuss that as a follow up

I have created a new ticket FLINK-20167 for the follow-up(rework the HA documentation).


Only first field used by storageWrite

In https://github.com/AztecProtocol/aztec-packages/tree/lw/noir_aztec public storage can map field to structs, but only the first field in the struct is written to.
https://github.com/AztecProtocol/aztec-packages/blob/d5e260da16dfa88d149b101400c89356fe832b96/yarn-project/noir-contracts/src/contracts/noir-aztec/src/oracle/storage.nr#L19-L23
The oracle takes T but only seem to use the first field 👀
https://github.com/AztecProtocol/aztec-packages/blob/d5e260da16dfa88d149b101400c89356fe832b96/yarn-project/acir-simulator/src/public/executor.ts#L98-L104

This was solved by #935.


MT6765 Secure boot not being disabled

It says it disabled protection but it still asks for verified partitions and cant flash using SP Flash tool
[2022-12-24 11:20:42.189062] Waiting for device
[2022-12-24 11:20:42.691073] Found device = 0e8d:0003

[2022-12-24 11:20:42.916074] Device hw code: 0x766
[2022-12-24 11:20:42.917074] Device hw sub code: 0x8a00
[2022-12-24 11:20:42.918073] Device hw version: 0xca00
[2022-12-24 11:20:42.918073] Device sw version: 0x0
[2022-12-24 11:20:42.918073] Device secure boot: True
[2022-12-24 11:20:42.919087] Device serial link authorization: False
[2022-12-24 11:20:42.919087] Device download agent authorization: True

[2022-12-24 11:20:42.919087] Disabling watchdog timer
[2022-12-24 11:20:42.920074] Disabling protection
[2022-12-24 11:20:43.078073] Protection disabled

Here's bootrom that i extracted while fiddling with the device if that helps at all
bootrom_766.zip
preloader_ot8.zip

Running test mode gives this
PS > python main.py -t
[2022-12-24 11:31:31.022762] Waiting for device
[2022-12-24 11:31:44.582554] Found device = 0e8d:2000

[2022-12-24 11:31:53.955695] Device hw code: 0x766
[2022-12-24 11:31:53.955695] Device hw sub code: 0x8a00
[2022-12-24 11:31:53.955695] Device hw version: 0xca00
[2022-12-24 11:31:53.956700] Device sw version: 0x0
[2022-12-24 11:31:53.956700] Device secure boot: True
[2022-12-24 11:31:53.956700] Device serial link authorization: False
[2022-12-24 11:31:53.956700] Device download agent authorization: True

[2022-12-24 11:31:53.957697] Found device in preloader mode, trying to crash...

[2022-12-24 11:31:53.958695] status is 7024

[2022-12-24 11:31:54.959344] Waiting for device
[2022-12-24 11:31:54.959344] Found device = 0e8d:0003

[2022-12-24 11:31:55.185883] Device hw code: 0x766
[2022-12-24 11:31:55.185883] Device hw sub code: 0x8a00
[2022-12-24 11:31:55.186888] Device hw version: 0xca00
[2022-12-24 11:31:55.186888] Device sw version: 0x0
[2022-12-24 11:31:55.186888] Device secure boot: True
[2022-12-24 11:31:55.186888] Device serial link authorization: False
[2022-12-24 11:31:55.186888] Device download agent authorization: True

[2022-12-24 11:31:55.186888] Disabling watchdog timer
[2022-12-24 11:31:55.187887] Test mode, testing 0x9900...

Please reconnect device in bootrom mode

[2022-12-24 11:32:41.844683] Waiting for device

It says it disabled protection but it still asks for verified partitions and cant flash using SP Flash tool
[2022-12-24 11:20:42.189062] Waiting for device
[2022-12-24 11:20:42.691073] Found device = 0e8d:0003

[2022-12-24 11:20:42.916074] Device hw code: 0x766
[2022-12-24 11:20:42.917074] Device hw sub code: 0x8a00
[2022-12-24 11:20:42.918073] Device hw version: 0xca00
[2022-12-24 11:20:42.918073] Device sw version: 0x0
[2022-12-24 11:20:42.918073] Device secure boot: True
[2022-12-24 11:20:42.919087] Device serial link authorization: False
[2022-12-24 11:20:42.919087] Device download agent authorization: True

[2022-12-24 11:20:42.919087] Disabling watchdog timer
[2022-12-24 11:20:42.920074] Disabling protection
[2022-12-24 11:20:43.078073] Protection disabled

Here's bootrom that i extracted while fiddling with the device if that helps at all bootrom_766.zip preloader_ot8.zip

have you selected UART and pointing to the COMM number of the tablet on Sp Flash Tool and not USB after this ?

https://www.youtube.com/watch?v=0ii9cLxhTQA
check out this video and tell me if works i bricked my galaxy tab a7 lite too but not being able to restore i flashed a11 bootloader with the rest of a12 stock rom by mistake on odin

Did not help same, i've been able to flash things using mtkclient but its like it did not help and i dont know if it actually flashed it or not as it still wont do anything but preloader / brom mode looping

same , looks like we are out of luck , im ozmage on xda i was happy making new kernel for my SM-T220 now dead after bootloader fiasco

[root@igloo bypass_utility]# ./main.py
[2022-12-25 20:34:36.983914] Waiting for device
[2022-12-25 20:34:59.700534] Found device = 0e8d:2000
[2022-12-25 20:35:00.023700] Device hw code: 0x766
[2022-12-25 20:35:00.023969] Device hw sub code: 0x8a00
[2022-12-25 20:35:00.024102] Device hw version: 0xca00
[2022-12-25 20:35:00.024229] Device sw version: 0x0
[2022-12-25 20:35:00.024360] Device secure boot: True
[2022-12-25 20:35:00.024484] Device serial link authorization: False
[2022-12-25 20:35:00.024611] Device download agent authorization: True
[2022-12-25 20:35:00.024771] Found device in preloader mode, trying to crash...
[2022-12-25 20:35:00.026882] status is 7024
[2022-12-25 20:35:01.987212] Waiting for device
[2022-12-25 20:35:01.989150] Found device = 0e8d:0003
[2022-12-25 20:35:02.302421] Device hw code: 0x766
[2022-12-25 20:35:02.302661] Device hw sub code: 0x8a00
[2022-12-25 20:35:02.302788] Device hw version: 0xca00
[2022-12-25 20:35:02.302909] Device sw version: 0x0
[2022-12-25 20:35:02.303116] Device secure boot: True
[2022-12-25 20:35:02.303258] Device serial link authorization: False
[2022-12-25 20:35:02.303398] Device download agent authorization: True
[2022-12-25 20:35:02.303555] Disabling watchdog timer
[2022-12-25 20:35:02.305023] Disabling protection
[2022-12-25 20:35:02.330996] Protection disabled
PROGRESS
[root@igloo mtkclient]# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 5986:0367 Acer, Inc Integrated Camera
Bus 001 Device 005: ID 8087:07dc Intel Corp. Bluetooth wireless interface
Bus 001 Device 004: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 0bda:0177 Realtek Semiconductor Corp. USB2.0-CRW
Bus 001 Device 002: ID 10c4:8108 Silicon Labs USB OPTICAL MOUSE
Bus 001 Device 008: ID 0e8d:0003 MediaTek Inc. MT6227 phone
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
FINALLY Bus 001 Device 008: ID 0e8d:0003 MediaTek Inc. MT6227 phone and not preloader

OMG

Connecting to BROM...
BROM connected
Downloading & Connecting to DA...
connect DA end stage: 2, enable DRAM in 1st DA: 0
DA Connected
executing DADownloadAll...
Stage: SGPT
Stage: PGPT
Stage:
[0] WRITE TO PARTITION [ preloader ]
Stage:
[9] WRITE TO PARTITION [ grd_fw ]
Stage:
[15] WRITE TO PARTITION [ vbmeta ]
Stage:
[36] WRITE TO PARTITION [ param ]
Stage:
[37] WRITE TO PARTITION [ up_param ]
Stage:
[43] WRITE TO PARTITION [ efuse ]
Stage:
[47] WRITE TO PARTITION [ prism ]
Stage:
[48] WRITE TO PARTITION [ optics ]
Stage:
[49] WRITE TO PARTITION [ cache ]
Stage:
[50] WRITE TO PARTITION [ omr ]
download speed: 26.85MB/s.
Download Succeeded.
Disconnect!
But Still Broken I think I have to Re-Flash The Whole ROM

Where did you get the stock rom? As i always got them from samfw, also how did you make the android scatter? I used the MKT Utility
Im trying to see if something is causing problems

Connecting to BROM... BROM connected Downloading & Connecting to DA... connect DA end stage: 2, enable DRAM in 1st DA: 0 DA Connected executing DADownloadAll... Stage: SGPT Stage: PGPT Stage: [0] WRITE TO PARTITION [ preloader ]
Stage: [9] WRITE TO PARTITION [ grd_fw ]
Stage: [15] WRITE TO PARTITION [ vbmeta ]
Stage: [36] WRITE TO PARTITION [ param ]
Stage: [37] WRITE TO PARTITION [ up_param ]
Stage: [43] WRITE TO PARTITION [ efuse ]
Stage: [47] WRITE TO PARTITION [ prism ]
Stage: [48] WRITE TO PARTITION [ optics ]
Stage: [49] WRITE TO PARTITION [ cache ]
Stage: [50] WRITE TO PARTITION [ omr ]
download speed: 26.85MB/s. Download Succeeded. Disconnect!
But Still Broken I think I have to Re-Flash The Whole ROM

none of this can be flashed anymore

Can't get to download mode either right? Cause i fucked that up if i did just restore everything using odin i would not have bricked it

Can't get to download mode either right? Cause i fucked that up if i did just restore everything using odin i would not have bricked it

i recommend you to use linux , with battery put on download mode can be accessed here the bypass tool does the job then SELECT uart and com port number but sp flash tool cannot flash those partitions anymore others like boot recovery vbmeta etc can be flashed

If you can get to download mode then just run odin and reflash everything and you fixed it probably
Ill try using linux machine later

If you can get to download mode then just run odin and reflash everything and you fixed it probably Ill try using linux machine later

no way to get into download odin mode
i flashed fully this util works for real but my tab still dead im changing FW now to retry this process CHECK >
https://gist.github.com/javashin/e3d3d38f1ed96d9df3423469b0fc36cd#file-gistfile1-txt

Ah you gave me false hope 😞

Ah you gave me false hope 😞

FIXED

Ah you gave me false hope 😞

FIXED making a guide soon

yours is SM-t220 right ? have you click on Format All or Format on SP flash tool Tab ? If you did then you broke sec_efs keydata and keyrefuge If you have not can you please make a dump of those three first run bypass_utiility main.py then disconnect and then use mtkclient :
mtk r sec_efs,keydata,keyrefuge sec_efs.img,keydata.img,keyrefuge.img
then zip or rar them and send it to me here or my email<EMAIL_ADDRESS>then im gonna give you step by step to what you need to do to bring up Odin mode you help me i help you .....

Restored And Installed A13

Pretty sure i formatted all of the partitions at least once

Im closing this as the issue is not caused by the bypass utility


Popular Projects : Docs Added

Popular Projects : Docs Added are from 6.31_D3.js to 6.70_filezilla

@Aryamanz29 i have added 40 files


Download videos with subtitles

Is it possible to download the videos with subtitles? if so, how?

It should be possible. Currently, I do not have an active LinuxAcademy subscription. If someone can voluntarily share their subscription with me, I shall work on the issues/requests. I'm sorry :(

There's a community edition that you can subscribe to for free, and each month there is access to 8-10 new courses.


initialise model with max_model_len

Similar to how vllm has the 'max_model_length' when starting the server. Can we have this here too?
This would help when trying to host models on smaller gpus. For example with vllm Mistral 7b with 32k context doesn't fit on a single 24GB GPU. Whereas with 8k context it does.

Contributions are welcome.

Second on this issue. I do not have much experience with AI backends, roughly what would need to be modified in order to get this change to work?


Fixed media position not updated

The media position was not updated correctly because of the wrong timezone in the calculated date

Hi Jack,
Hope you're doing well
I have submitted this PR to fix the media position that was not updated correclty


Pass a customNext element via clone

I'm trying the following
case 'InviteView':
  if (navBar) {
    navBar = React.addons.cloneWithProps(navBar, {
      navigator: nav,
      route: route,
      onNext: (navigator, route) => {
      console.log('checkbox pressed')
    },
    customNext: {<Text>hello</Text>},
  })
}
break;

and I'm getting a critical error from the packager. The kind you get when you have a syntax error. I passing a customNext react element via cloneWithProps supported?
If I do customNext: React.createElement('Text', null, 'content'), I get a bit farther but then I get Invariant Violation: Expected a component class, got Text. when I navigate to the offending view.

ahh it's customNext: (<InviteViewRightButton />), I'll add an example to the docs if I get a chance


Added test to demonstrate failure of article without date

@tdreyno I added a test to demonstrated what I would like to do.

Thanks, this will help a lot

If you can make this possible, that would be great. Today it's a bit annoying if I need to "move" the date forward to change both dates + it's redundant information.

Coverage decreased (-0.4%) to 97.623% when pulling f3f299765665692d395e2aeeebc7311250a5d900 on dg-ratiodata:feature/no-date-filename into c5bee39332561180707633c42d02fd4b71280099 on middleman:master.

@dg-ratiodata Hiya can you provide some more context on this please - are you wanting to generate these articles through the command line?

I have added the test, but still do not undestand the root issue Thomas did state you can use either or - but maybe have to change the config of the blog somewhat


Migrate earnings and spendings to transactions table

Hi @sebastiaanspeck i have worked on this issue.
I have change many many files.
Initialy, we have say to use tinyint for type column on transaction table.
But, when i have start to do it. I noticied, on all other table, it's simple string... For not make this table the onlyone who have a tinyint for distinguish earning/spending. I have make exactly the same thing. Just add a string column. Not an enum.
I don't know if it's the best solution to make "like other table"... What's your opinion for that ?
Appart from that i have see, spendings and earning are used for activites / attachments. So i have make a migration with this consideration.
Same thing if you can review a little when you will have time, it will be more secure ! Thanks

This pull request is ready to merge. I've tested it using existing data.

Thanks @sebastiaanspeck i have test too for apply and rollback with data. Thanks for your review !


Add a "deferred" polling state

I'm certain there are a variety of scenarios where a broker may wish to accept an asynchronous provisioning or deprovisioning request (as per usual), but might not actually start the action immediately. Purely for the benefit of transparency, in these scenarios, it might be useful for brokers to optionally report a new state: "deferred".
While this could be optional for the broker, clients would have to understand the new state and treat it as the equivalent of "in progress", i.e. by continuing to poll until the operation progresses into an "in progress" state, and then would continue to poll until the operation succeeds or fails, as is the case today.
This new imposition on the client would make this a breaking change, so this proposal is meant for consideration in the 3.0 timeframe.

@krancour Could this not be represented by the broker returning the following to a call to /last_operation:
{
   "state": "in progress",
   "description": "This operation has not yet started"
}

If a platform is going to treat "state": "deferred" exactly the same as "state": "in progress", what is the benefit of having this additional state? Do you have a use case where this would be useful?

That could work, for sure. I just think it's an odd solution because "in-progress" and "not yet started" are two contradictory sentiments.

Closing this as I believe the "state": "in progress" covers this scenario well enough for now. Hope that is OK!


Docs: Add a note in MessageBox page regarding its dependency on DialogService

Docs: Added a note in Message Box Page regarding its dependency on Dialog service and linked Dialog Configuration section.
Description
Added a Note on Message Box dependency on Dialog Service.
I have spent more than 3 hours wondering why my message box was too wide, I have checked my css files any div formatting without considering global configuration for MudDialog.
I was under the impression that Message Box and Dialog are separate components and have no relation with each other. I only figured it out after downloading MudBlazor and checking the code for Message Box component.
If the information was provided in the Message Box page it would have saved me a lot of time.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Document amendment.

Checklist:

[x] The PR is submitted to the correct branch (dev).
[ ] My code follows the code style of this project.
[ ] I've added relevant tests.

Thanks for improving the docs


Add graceful sidekiq pool reload

@laurynas
Adding graceful sidekiq-pool reload using SIGHUP signal.

SIGHUP is sent to parent (sidekiq-pool) process
Parent process sends USR1 to old sidekiq pool (telling it will shut down in near future https://github.com/mperham/sidekiq/wiki/Signals#usr1)
Starting new pool
Stopping old pool

One thing to check/test if stopped children aren't respawned (check CHLD & check_pool). But they shouldn't because stop_children is synchronous.


Assumes too much; leaves too much out

"The data type of the C/AL expression" -- what C/AL expression? The documentation nowhere mentions that the CaptionClass PROPERTY is an expression, can be an expression, must be an expression, can be something other than an expression (e.g., a string literal), nothing. Presumably we are supposed to know that already--all it does is make some notes about expressions when they are used.

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

ID: 8bd443e1-bfcf-d206-8fdb-a6321ed591f1
Version Independent ID: df67f6f3-623c-a62c-85f1-811df487fecb
Content: CaptionClass Property - Dynamics NAV
Content Source: dynamics-nav/CaptionClass-Property.md
Product: dynamics-nav-2018
GitHub Login: @jswymer

Hello, thanks for your feedback. Please use our AL documentation, which we will be working on refining and updating in the next period of time.


[TF 2.0] Using tf.py_function which has tf.string type input in dataset.map() generates dtype warning.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 x64 1809
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): pip
TensorFlow version (use command below): unknown 2.0.0-dev20190428
Python version: 3.6.7
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: CUDA 10.0, cudnn-10.0-windows10-x64-v<IP_ADDRESS>
GPU model and memory: GeForce GTX 1070 8GB

Describe the current behavior
Using tf.py_function which has tf.string type input generates warning like this:

W0429 14:24:18.965364 13252 backprop.py:820] The dtype of the watched tensor must be floating (e.g. tf.float32), got tf.string

This warning did not shown with v1.12.0-9492-g2c319fb415 2.0.0-alpha0, but 2.0.0-dev20190428 does.
Describe the expected behavior
dtype warning should not be shown.
Code to reproduce the issue
import tensorflow as tf

def transform_tag_python(x):
    return 1.0

dataset = tf.data.Dataset.from_tensor_slices(['tag1'])
dataset = dataset.map(lambda x: tf.py_function(
    transform_tag_python, (x,), (tf.float32,)))

for sample in dataset:
    print(sample)

Look where tf.py_function is defined there is no such warning file present regarding dtype to be float. So why it is showing this?

I am facing the same issue.

@KichangKim There was no warning when TF2.0.0-alpha0 or tf-nightly was used. The issue was reproduced with tf-nightly-2.0-preview. We will check for the source of error and resolve it. Thanks for finding this. Thanks!

Here:
https://github.com/tensorflow/tensorflow/blob/88ed9779719b8b2136a596c7b4dda875568894a3/tensorflow/python/eager/backprop.py#L841

It's likely the tape.watch here https://github.com/tensorflow/tensorflow/blob/88520c4dd6aa804330b053a35676eeffc3380d65/tensorflow/python/ops/script_ops.py#L108 which needs to be called only for floating dtypes.

I'll happily accept a PR to fix this.

The PR #30107 is submitted to fix this issue.
cc @alextp

Looks like the PR failed a few checks. Is the issue still persisting?

This issue still exists in tf-2 version beta-1.

You have to use nightly builds