join_asof out-of-order error for big sorted tables

Describe the usage question you have. Please include as many useful details as  possible.
With pyarrow 16.0.0, I can't apply join_asof although the input tables are ordered by "on" key.
Noticed when trying to merge bigger sorted tables - for example, it fails for tables with rows numbers 1061753 & 994046, but can be executed if I reduce numbers to 1048178 & 975257.
I think this behavior can be reproduced with an example below:
import numpy as np
ts0 = 0
nticks = 2_000_000 # it's OK for nticks = 1_000_000
ncats = 10
ticks = np.arange(ts0, ts0 + nticks)
cats = np.arange(0, ncats).repeat(nticks/ncats)
t1 = pa.Table.from_pydict({"ts": ticks, "cats": cats})
t2 = pa.Table.from_pydict({"ts": ticks, "cats": cats})
t1.join_asof(t2, on="ts", tolerance=-10, by="cats")

# Last line fails with error:
---------------------------------------------------------------------------
ArrowInvalid                              Traceback (most recent call last)
Cell In[273], line 10
      8 t1 = pa.Table.from_pydict({"ts": ticks, "cats": cats})
      9 t2 = pa.Table.from_pydict({"ts": ticks, "cats": cats})
---> 10 t1.join_asof(t2, on="ts", tolerance=-10, by="cats")

File /lib/python3.10/site-packages/pyarrow/table.pxi:5528, in pyarrow.lib.Table.join_asof()

File /lib/python3.10/site-packages/pyarrow/acero.py:333, in _perform_join_asof(left_operand, left_on, left_by, right_operand, right_on, right_by, tolerance, use_threads, output_type)
    326 join_opts = AsofJoinNodeOptions(
    327     left_on, left_by, right_on, right_by, tolerance
    328 )
    329 decl = Declaration(
    330     "asofjoin", options=join_opts, inputs=[left_source, right_source]
    331 )
--> 333 result_table = decl.to_table(use_threads=use_threads)
    335 if output_type == Table:
    336     return result_table

File /lib/python3.10/site-packages/pyarrow/_acero.pyx:590, in pyarrow._acero.Declaration.to_table()

File /lib/python3.10/site-packages/pyarrow/error.pxi:154, in pyarrow.lib.pyarrow_internal_check_status()

File /lib/python3.10/site-packages/pyarrow/error.pxi:91, in pyarrow.lib.check_status()

ArrowInvalid: AsofJoin does not allow out-of-order on-key values

So I suspect the issue has nothing to do with the on-key values order, but rather the input size?
Is it the bug that can be fixed or some fundamental limitation?
Is there any workaround other than limiting input size?
Component(s)
Python

I was suspecting if pre-joining with by-key may cause the on-key reordering? As discussed here: https://lists.apache.org/list?user@arrow.apache.org:2024-4:join
However, the above example still fails even with empty by-key: t1.join_asof(t2, on="ts", tolerance=-10, by=[])

I have a similar issue with a smaller table.
It only happens if I have a lot of small chunks in the table.
 I can't exactly pin down what is causing the issue.

This also happened for me. I am using acero C++ api

I think I narrowed down the problem. The as-of-join node does not sequence incoming ExecBatches.
Here is a patch I created. It probably is not the optimal solution. Maybe sequencer should be incorporated in BackpressureConcurrentQueue?

I created a PR with test that cause failure with specyfic parameters.

Issue resolved by pull request 44083
https://github.com/apache/arrow/pull/44083


Minimal swift example

Any chance to have it?
Thank you in advance

I will add later.

@vicmosin I have updated swift example, pls check.


Plugin/request

增加 request 插件

使用方式与 https://ice.alibaba-inc.com/docs/guide/basic/request#userequest 基本一致，具体文档待单独 PR 补充

Codecov Report

Merging #439 (ba3eae2) into release-next (7b8da9a) will not change coverage.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##           release-next     #439   +/-   ##
=============================================
  Coverage         82.00%   82.00%
=============================================
  Files                87       87
  Lines              7484     7484
  Branches            943      943
=============================================
  Hits               6137     6137
  Misses             1340     1340
  Partials              7        7

Impacted Files
Coverage Δ

packages/ice/src/service/runtimeGenerator.ts
83.75% <100.00%> (ø)

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

什么时候发布？

什么时候发布？

可以给 beta 先用


Validation for Options property not consistent across microsoft.documentdb

Describe the bug
The Cosmos DB resource provider (microsoft.documentdb) has an options property that sits within the resource definition for child resources such as SqlDatabase and Containers for Cosmos DB (see full list below).
When submitting updates to our ARM/Bicep samples to the Quickstarts repo some of these samples fail validation with a warning because the Options property. You can also see this in VS Code when authoring a Bicep (it does not appear when authoring ARM templates). This is the error I see below.
Warning BCP037: The property "options" is not allowed on objects of type "CassandraTableResourceOrCassandraTableGetPropertiesResource".
You can also see more details on the warning generated in the Pipeline here
https://dev.azure.com/azurequickstarts/azure-quickstart-templates/_build/results?buildId=107141&view=logs&j=275f1d19-1bd8-5591-b06b-07d489ea915a&t=14b22f05-782e-55fa-3e59-b66c82f514a9&l=12
It appears this warning only happens when authoring Bicep files that have standard throughput and not when using autoscale throughput. Below is the difference between the two.
Standard Throughput:
options: {         throughput: throughput }
Autoscale Throughput:
    options: {       autoscaleSettings: {         maxThroughput: autoscaleMaxThroughput       }     }
These are the list of child resources that have an options property
Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces
Microsoft.DocumentDb/databaseAccounts/cassandraKeyspaces/tables
Microsoft.DocumentDB/databaseAccounts/gremlinDatabases
Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs
Microsoft.DocumentDB/databaseAccounts/mongodbDatabases
Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections
Microsoft.DocumentDB/databaseAccounts/sqlDatabases
Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers
Microsoft.DocumentDB/databaseAccounts/tables
Thanks!
To Reproduce
Steps to reproduce the behavior:
Open up VS Code, copy/paste an existing Cosmos DB Bicep sample using standard throughput from Quickstart Gallery, hover over Options property.
Additional context
Add any other context about the problem here.

Not sure why but this run resulted in an error rather than a warning. Really strange why these are not consistent.
https://dev.azure.com/azurequickstarts/azure-quickstart-templates/_build/results?buildId=107203&view=results

Not sure why but this run resulted in an error rather than a warning. Really strange why these are not consistent.
https://dev.azure.com/azurequickstarts/azure-quickstart-templates/_build/results?buildId=107203&view=results

Bicep did raise a warning, but it looks like the PowerShell script for quickstarts validation converted it into an error:
##[error]D:\a\1\s\quickstarts\microsoft.documentdb\cosmosdb-mongodb\main.bicep(162,7) : Warning BCP037: The property "options" is not allowed on objects of type "MongoDBCollectionResourceOrMongoDBCollectionGetPropertiesResource". Permissible properties include "analyticalStorageTtl". If this is an inaccuracy in the documentation, please report it to the Bicep Team. [https://aka.ms/bicep-type-issues]

We'll probably need @bmoore-msft's help to troubleshoot further.

I'm including a link to swagger which shows the options property present:
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-05-15/cosmos-db.json#L6748

In the quickstarts, the options object is nested under the resource property, but the swagger describes those two properties as siblings instead. I can compile the following template with no warnings:
resource acct 'Microsoft.DocumentDB/databaseAccounts@2022-05-15' existing = {
  name: 'myacct'

  resource mdb 'mongodbDatabases' = {
    name: 'webscale'
    properties: {
      resource: {
        id: 'foo'
      }
      options: {
        throughput: 100

      }
    }

    resource coll 'collections' = {
      name: 'mycollection'
      properties: {
        resource: {
          id: 'foo'
        }
        options: {
          throughput: 100
        }
      }
    }
  }
}

but loading the quickstart template into VS Code will display the following diagnostic because options is a child of properties.resource instead of a direct child of properties:

From what I can tell from the API and ARM docs, this is correct (though both of those sources are derived from the Swagger document, so if the Swagger is wrong, they would be, too).

Not sure why but this run resulted in an error rather than a warning. Really strange why these are not consistent.
https://dev.azure.com/azurequickstarts/azure-quickstart-templates/_build/results?buildId=107203&view=results

Bicep did raise a warning, but it looks like the PowerShell script for quickstarts validation converted it into an error:
##[error]D:\a\1\s\quickstarts\microsoft.documentdb\cosmosdb-mongodb\main.bicep(162,7) : Warning BCP037: The property "options" is not allowed on objects of type "MongoDBCollectionResourceOrMongoDBCollectionGetPropertiesResource". Permissible properties include "analyticalStorageTtl". If this is an inaccuracy in the documentation, please report it to the Bicep Team. [https://aka.ms/bicep-type-issues]

We'll probably need @bmoore-msft's help to troubleshoot further.

I'm pretty sure it's because that task is configured to "Fail on Std Error" in AzDO.  The deployment task, which is not configured that way (and also does bicep build), throws a warning before the deployment fails.

The Bicep types are able to account for properties that exist only on the GET or the PUT side of a resource (the property will be flagged as ReadOnly or WriteOnly, respectively), but the CosmosDB swagger shows options as a direct child of properties on the GET request, too. I did encounter warnings using the quickstart templates with an earlier version of the Bicep CLI, though if the build pipeline's ADO configuration was recently changed, it's possible the warning didn't previously result in a failed task:

The Bicep type generation process doesn't invoke any live APIs -- it just looks at the Swagger definition for a given resource provider -- so it's entirely possible that the Swagger is wrong and that the types consequently do not reflect the actual API behavior. We should verify with the CosmosDB team what the correct input would be, then update either the quickstarts or the RP swagger documents.

Ah yes, sorry, they are in the Get as well with the throughput values.
So, I'm now confused. If Options is in the Get, why is this validation failing?
btw, I'm also confirming that this Options property that sits within Resource is not used. My current PR's do not include it.

Sorry, confusing wording on my part. On the GET side, properties.options exists, but properties.resource.options does not (same as on the PUT side, at least according to the Swagger).

@markjbrown - if you are 100% sure that properties.resource.options is the right property path, then it means the swagger is incorrect and needs to be updated by your team.

It should be properties.resource which is what I'm using in these PR's now and why I'm confused validation is failing.

Validation is failing because the swagger spec (which we use to generate type information for bicep) is wrong, so bicep thinks you are describing a property that doesn't exist.
The next step is to get the swagger fixed in the azure-rest-api-specs repo, at which point we can generate an updated type for bicep to resolve the error. That will be something your team needs to take care of (swagger specs for each resource type are owned by the RP team). Does that help clarify?
For getting the quickstart validation to pass in the short term, @bmoore-msft may have a workaround.

I am looking at my bicep in VSCode and I'm still confused why this is failing. According to the bubble help in VSCode, Bicep is looking at the CreateUpdateOptions from our swagger spec. This is the swagger for
Shouldn't this work then without throwing an exception given the throughput properties are defined within that? I'm just not seeing where our swagger is incorrect. It is consistent for all of the child resources which can have throughput provisioned.

@markjbrown Can you post a full snippet for that screenshot? From the closing braces, it looks like that resource roughly matches the following:
resource mdb 'Microsoft.DocumentDB/databaseAccounts/mongoDbDatabases/collections@2022-05-15' = {
  ...
  properties: {
    resources: {...}
    options: {
      throughput: dedicatedThroughput
    }
  }
}

I.e., with properties.options defined rather than properties.resources.options.

Here's a screen cap of VS Code. Hope this helps.

Is the issue that VS code is erroneously saying this is correct (since the template is specifying properties.options instead of properties.resource.options), or are you seeing validation errors when you build the template shown above via the CLI?

Yes, the issue is VS Code says this is correct, yet it fails the validation occurring during the PR.
PS, this is correct, properties.options. This is not, properties.resource.options
Also, Mongo resources is the only one it fails on. I just submitted 8 PR's for the other 4 API's and none of them throw this exception.

Am now able to get the mongo templates to pass validation.
There were multiple elements at work here. Errors on my part which until recently had passed validation were no longer working. There must have been changes or improvements to the validation routines that had left issues gone unnoticed until now.
Closing. Apologies for the ongoing churn over this. Definitely appreciate your help.


App at https://web-vitals-report is throwing HTTP 503 error

For the last couple of days, the hosted version of this app at https://web-vitals-report.web.app/ has been throwing an HTTP 503 error when I try to generate a report from a linked Google Analytics account:

Is the hosted service currently down for maintenance?

The app it is really unstable. It is also a shame that it doesn't show the TTFB values.

This app does not control the Google Analytics API endpoints, so when those are down for particular users, there's nothing that can be done from the app's perspective.
For what it's worth, I have not experience any downtime myself. Are you using other services that require the Google Analytics APIs? If so, it's possible you're exhausting your quota and that's why you're seeing these errors.

Closing this. Feel free to reopen if still experiencing issues.


Ecto.Repo.Schema.insert should wrap changeset with actual Repo not pid

Current behavior
Current Ecto.Repo.Schema.insert!(pid, struct, opts) puts pid as repo
    # On insert, we always merge the whole struct into the
    # changeset as changes, except the primary key if it is nil.
    changeset = put_repo_and_action(changeset, :insert, name)

in results prepare_changes has changeset.repo with pid and update_all doesn't work
def create_comment(comment, params) do
  comment
  |> cast(params, [:body, :post_id])
  |> prepare_changes(fn changeset ->
       if post_id = get_change(changeset, :post_id) do
         query = from Post, where: [id: ^post_id]
         changeset.repo.update_all(query, inc: [comment_count: 1])
       end
       changeset
     end)
end

Expected behavior
Ecto.Repo.Schema.insert should return Repo not pid

I tried it quickly locally and I could not reproduce it. Do you have a sample app or a failing test that reproduces the issue? Thank you!

sorry for not giving right example, I've following scenario on my app: https://github.com/bartekupartek/ecto/commit/c704588004df7d512688fee467eed26b3caebd5c#diff-122d0a4bbce6a65cc1523584a00193aaR1170

Ecto.TestRepo.start_link(name: :tenant_db)

defmodule Ecto.TestDynamicRepo do
  def insert!(pid, struct, opts \\ []) do
    Ecto.Repo.Schema.insert!(pid, struct, opts)
  end

  def update_all(pid, queryable, updates, opts \\ []) do
    Ecto.Repo.Queryable.update_all(pid, queryable, updates, opts)
  end
end

changeset =
  %MySchema{id: 1}
  |> Ecto.Changeset.cast(%{x: "one"}, [:x])
  |> Ecto.Changeset.prepare_changes(fn %{repo: repo} = changeset ->
    Process.put(:ecto_repo, repo)
    # repo it's pid of :tenant_db process,
    # instead of repo.update_all
    # workaround it by Ecto.TestDynamicRepo.update_all(repo, cs, updates)
    changeset
  end)

pid = Process.whereis(:tenant_db)
Ecto.TestDynamicRepo.insert!(pid, changeset)
assert Process.get(:ecto_repo) == pid # shouldn't it be reusable Ecto.TestDynamicRepo?

I can workaround it but I'm thinking if there is not too much workarounds with using provided repo :name option :(

That should be also fixed on master. Isn’t it? If not, please provide a
failing test and I will fix it.
I wouldn’t say those are work-arounds. In my opinion they are legitimate
bugs for a feature we have been slowing working towards to but never
finished. So your help is very appreciated! :)
José Valimwww.plataformatec.com.br
http://www.plataformatec.com.br/Founder and Director of R&D

It still doesn't work with DynamicRepo module, but it's working with Repo, if only Repo would work with custom pids or repo names it would work at all, thanks :)


refactored for gradle build, jitpack and android studio

Jitpack strongly encourages using the gradle wrapper system. You  should now be able to use the gradle dependency as follows:
Add the jitpack repo to the project level build.gradle:
allprojects {
    repositories {
        // ...
        maven { url 'https://jitpack.io' }
    }
}

Add the dependency to the app build.gradle. To for example use the version corresponding to this Pull Request:
dependencies {
    // ...
    implementation 'com.github.UnifiedPush:UP-lib:PR5-SNAPSHOT'
}

Specific changes that are required for jitpack compared to other gradle building
https://github.com/UnifiedPush/UP-lib/pull/5/files#diff-34df173537a4b735a52c388af40cf79a1037dbcefa69255ea06911c4dc14b4cbR6
https://github.com/UnifiedPush/UP-lib/pull/5/files#diff-34df173537a4b735a52c388af40cf79a1037dbcefa69255ea06911c4dc14b4cbR45-R61


Cannot move <resource_id_created_with_for_each> does not match anything in the current state.

I'm trying to split tf state, which consists of a lot of resources created with for_each, and it fails with the following error.
│ Error: Invalid source address
│
│ Cannot move module.s3_bucket["bucket1"].aws_s3_bucket_policy.this: does not
│ match anything in the current state.

I will look into this today and feedback to you 👍

I will have a look into this today and feedback to you later! Thanks for reporting this issue.


Cannot embed audio on cpp ("Cannot cache non-AudioBuffer asset")

Version
Lime 7.9.0, Haxe  4.2.3, Windows 10.
Problem
Audio assets, like .OGG, do not appear to properly embed on the cpp target.
Loading assets will work as expected with embed="false", but not with embed="true".
The error is thrown by AssetCache, though it looks like the message gets cut off before " as AudioBuffer":
Cannot cache non-AudioBuffer asset: OggS

Workaround
I'm not aware of any workarounds at this time, other than to simply not embed assets.
Example Project
Small sample project for replicating included below, including a test.ogg. Run with lime test cpp.
LimeSoundTest.zip
Code
package;

import lime.media.AudioSource;
import lime.utils.Assets;
import lime.app.Application;

class Main extends Application {
  override function onPreloadComplete():Void {
    try {
      Assets.loadAudioBuffer("assets/test.ogg").onError(function(e) {
        trace("Error: " + e);
      }).onComplete(function(buffer) {
        new AudioSource(buffer).play();
        trace("Success!"); // Traces when embed="false"
      });
    } catch(e) {
      trace("Uncaught error: " + e); // Traces when embed="true": "Uncaught error: Cannot cache non-AudioBuffer asset: OggS"
    }
  }
}

When statically building Lime, the error returned in the console is simply: Error: C instead of the full error displayed in the title.
Is there a workaround using the @:sound metadata macro? I cannot find any explanation of how to use this in Lime.

After comparing with OpenFL, it became clear the big difference was that I was using loadAudioBuffer(...) instead of getAudioBuffer(...), an important detail which led to the above errors.
In the end it was a simple mistake, however the errors returned felt pretty misleading. Perhaps that could be cleaned up a bit?
For now I'll close the issue though. :)

Great sample code; it made tracking this down surprisingly easy. Makes me wish I'd taken a look at this sooner.
Turns out, loadAudioBuffer forgot to create a AudioBuffer object (which is the whole point; it's even in the function name). The error message was actually right - it really wasn't the right data type.
Also, the reason the error messages got cut off was, it tried to print out the full Bytes object, producing lots of invalid characters and messing up the output display.

Hey thank you so much for taking a look at this and offering that fix! I'm so happy this was closed off properly.
I just confirmed your fix solves the issue for me without me needing a compiler branch. Perfect! 🎉

Oh wait, I remember why I didn't look at this sooner. From your description, it sounded like either an audio parsing error or an asset embedding error, and both of those things are magic as far as I'm concerned. (That is, they're outside my wheelhouse.)
It was only when you mentioned that you could fix it by changing "loadAudioBuffer" to "getAudioBuffer" that I realized it must be something simple. I even ended up copying the code from getAudioBuffer to fix the error. So yeah, I also need to give you credit for locating the solution.
You know, sometimes I spend hours or days debugging something, and it comes down to a single line of code. And I think to myself, "if only I'd been told to look at this line, I'd have finished debugging in a matter of minutes." Turns out, it's literally true! (The timestamps come out to about a half hour, but some of that was writing the commit message.)


ProgressDialog Crashes On 2nd CloseAsync Attempt

Issue:
I am attempting to show an indeterminate ProgressDialog.  The ProgressDialog appears and then closes as expected, but when I open and attempt to close again I get an InvalidOperationException with the message "Dialog isn't visible to close. "
Environment:
.NET 4.6
ReactiveUI frameworks v 9.12.1
MahApps.Metro v1.6.5
Code:
ViewModel.CancellingInteraction.RegisterHandler(async interaction =>
                         {
                             var dx = await DialogCoordinator.Instance.ShowProgressAsync(this, "Cancelling", "Cancelling execution...");  // Open dialog
                             dx.SetIndeterminate(); // Set to indeterminate
                             ViewModel.ExecuteTasks.IsExecuting.Where(e => !e).ObserveOn(RxApp.MainThreadScheduler)
                                      .Subscribe(async _ =>
                                      {
                                          await dx.CloseAsync();
                                      });  // when the command finishes close the dialog usually takes a few seconds
                             interaction.SetOutput(Unit.Default);
                         })
                         .DisposeWith(disposable);

Exception still appears after wrapping the close in Application.Current.Dispatcher.Invoke.

This was a context issue.  The subscription was not being disposed and was attempting to still close the first dialog that was opened.  This is not a MahApps issue.  Wish I would have found this Friday.  Thanks!


pylint fails on use of constants in falcon 2.0.0

Running pylint on a file that imports falcon and uses various constants fails.

server.py:67:28: E1101: Module 'falcon' has no 'MEDIA_JSON' member (no-member)
server.py:68:22: E1101: Module 'falcon' has no 'HTTP_200' member (no-member)
server.py:85:28: E1101: Module 'falcon' has no 'MEDIA_JSON' member (no-member)
server.py:86:22: E1101: Module 'falcon' has no 'HTTP_200' member (no-member)
server.py:103:28: E1101: Module 'falcon' has no 'MEDIA_JSON' member (no-member)
server.py:104:22: E1101: Module 'falcon' has no 'HTTP_200' member (no-member)
server.py:110:28: E1101: Module 'falcon' has no 'MEDIA_JSON' member (no-member)
server.py:111:22: E1101: Module 'falcon' has no 'HTTP_200' member (no-member)
server.py:119:22: E1101: Module 'falcon' has no 'HTTP_200' member (no-member)
server.py:127:22: E1101: Module 'falcon' has no 'HTTP_200' member (no-member)
server.py:134:22: E1101: Module 'falcon' has no 'HTTP_200' member (no-member)

Example handler:
import falcon

...

class Handler:
    def on_get(self, req, resp):
        resp.body = "asd"
        resp.content_type = falcon.MEDIA_JSON
        resp.status = falcon.HTTP_200  # pylint fails on this line.

...

However it doesn't fail for stuff like falcon.API.
Any ideas?

Hi @uriva !
pylint, particularly with its default settings, can be perceived as extremely picky and opinionated. Probably that has contributed to the rise of flake8 (==pep8 + pyflakes) popularity.
OTOH, I think I can see what pylint means in this particular case. We should probably define a proper __all__ specifier for the falcon module, that specifies all the public constants and functions hoisted into the falcon namespace.

I couldn't agree more about pylint and its maintainers...

Hello, I think pylint could recognize the from falcon.status_codes import * if we import from a Python source file instead of shared library. And I find that if we install the falcon from pypi, it will get some .so file which was compiled by cython.
Run following command
find `pip show falcon | grep Location | awk '{print $2}'`/falcon -name "*.so"

will get
/root/py37/lib/python3.7/site-packages/falcon/responders.cpython-37m-x86_64-linux-gnu.so
/root/py37/lib/python3.7/site-packages/falcon/response.cpython-37m-x86_64-linux-gnu.so
/root/py37/lib/python3.7/site-packages/falcon/status_codes.cpython-37m-x86_64-linux-gnu.so
/root/py37/lib/python3.7/site-packages/falcon/api_helpers.cpython-37m-x86_64-linux-gnu.so
/root/py37/lib/python3.7/site-packages/falcon/media/handlers.cpython-37m-x86_64-linux-gnu.so
/root/py37/lib/python3.7/site-packages/falcon/media/msgpack.cpython-37m-x86_64-linux-gnu.so
/root/py37/lib/python3.7/site-packages/falcon/media/base.cpython-37m-x86_64-linux-gnu.so
/root/py37/lib/python3.7/site-packages/falcon/media/json.cpython-37m-x86_64-linux-gnu.so
/root/py37/lib/python3.7/site-packages/falcon/vendor/mimeparse/mimeparse.cpython-37m-x86_64-linux-gnu.so
/root/py37/lib/python3.7/site-packages/falcon/request.cpython-37m-x86_64-linux-gnu.so
/root/py37/lib/python3.7/site-packages/falcon/response_helpers.cpython-37m-x86_64-linux-gnu.so
/root/py37/lib/python3.7/site-packages/falcon/http_status.cpython-37m-x86_64-linux-gnu.so
/root/py37/lib/python3.7/site-packages/falcon/errors.cpython-37m-x86_64-linux-gnu.so
/root/py37/lib/python3.7/site-packages/falcon/uri.cpython-37m-x86_64-linux-gnu.so
/root/py37/lib/python3.7/site-packages/falcon/api.cpython-37m-x86_64-linux-gnu.so

If remove those file, pylint will not complain E1101.
The manylinux whl in pypi is already include those file. So a workaround is installed the source
pip uninstall falcon
pip install no-manylinux falcon

FYI, another workaround is to add falcon to the extension-pkg-whitelist configuration parameter to pylint. The no-manylinux package instructs pip to ignore any manylinux binaries and is a bit overkill in some cases.

I have also run into this issue when using http errors. Specifically, HTTPNotFound using either from falcon import HTTPNotFound or from falcon.errors import HTTPNotFound. The cause is likely the same as above, so maybe the title should be changed to something more general to reflect that.
Additionally, I've tested this on macOS Mojave and it is not an issue there. This might be obvious to those with more knowledge of wheels, but I wanted to point it out regardless.

Hello if any help is required on this i can take it up. Can anyone tell me which way should i do it?

Hi @abid1998 !
It is unclear, IIRC @CaselIT made some changes that might have partially fixed the issue.
Or, maybe the problem was completely different than I was speculating :thinking:
Could you install pylint and try digging into this?

Yup on it.

I've just verified this again, and it does seem that the analysis by @Hanaasagi, @ckanesan and others is correct: pylint is unable to properly dig into binary modules, particularly when used in conjunction with star imports etc.
It is unlikely that we'll want to do the impractical and go to great lengths just to satisfy pylint; our resources are probably better spent on adding typing support etc. Closing this for now; we can reopen if we really reconsider.


Batch write

Help me to write batch 10 data for every 1 second. Very important!

Could you, please, tell us more about your issue? Have you read the Writing in Batches paragraf in Readme. What doesn't work?

What I understand from the example code is data will be batch write for every one hour. So, I want to batch the data for every 10 second.

Data are written, when one of following conditions is met:

when a batch is  finalized
when flush interval runs out. Default 60s

You can anytime force writing by calling flushBuffer(). If you want to write frequently (e.g. one per 5s), set also preserveConnection = true to avoid establishing connection each time


Status 401 : Unauthorised — either no API key was provided or it wasn't valid

i edit config Json file the following
{
  "api_key":"https://cdn.tiny.cloud/1/MYAPIKEY/tinymce/6/tinymce.min.js"
}

Getting error !!!
[>] Created by : thewhiteh4t
[>] Version    : <IP_ADDRESS>

[+] API Key Found...

[+] Checking Breach status for<EMAIL_ADDRESS>
[-] Status 401 : Unauthorised — either no API key was provided or it wasn't valid

[+] Completed in 14.768572807312012 seconds.

Also using
https://haveibeenpwned.com/api/key/verify/9dfbXXXXXXXXXXXX
API Key
21XXXXXXXXXXXXXXXX
why are they different !?
which one i should use in confg.json !? the key or with https:// !?

@thewhiteh4t

@MohammadAlrubaie just the key not the url


ghc 7.10.3 cannot compile vty-5.4.0's test suite

Citing from http://hydra.cryp.to/build/1751652/nixlog/1/raw:
Linking dist/build/verify-attribute-opsStub/verify-attribute-opsStub ...
ghc: panic! (the 'impossible' happened)
  (GHC version 7.10.3 for x86_64-unknown-linux):
	Don't understand library name verify-attribute-ops

This is a known issue in the compiler when building with shared library support enabled.
Cc: @coreyoconnor

For reference:

https://ghc.haskell.org/trac/ghc/ticket/9625
https://github.com/haskell/cabal/issues/2039
https://github.com/coreyoconnor/vty/issues/54

All three of the issues in https://github.com/fpco/stackage/issues/1453#issuecomment-219690859 have been fixed, and ezyang noted in https://github.com/haskell/cabal/issues/2039#issuecomment-240252385 no longer happens with GHC 7.10 and later. I've confirmed this manually using Stackage nightly—i.e., Cabal-1.24 and GHC 8.0—on vty-5.8's test suite using stack test --ghc-options=-dynamic.
I think this can be closed.

Thanks!
If there is still a problem, please re-open.


[MERGE] coatils: Add contrib stats

Closes https://github.com/coala/corobo/issues/18
Reviewers Checklist

[ ] Appropriate logging is done.
[ ] Appropriate error responses.
[ ] Handle every possible exception.
[ ] Make sure there is a docstring in the command functions. Hint: Lookout for
botcmd and re_botcmd decorators.
[ ] See that 100% coverage is there.
[ ] See to it that mocking is not done where it is not necessary.

ack https://github.com/coala/corobo/pull/126/commits/7a6c0e40a647e8e9f263e4e154883736ee93b291

ack 68665f2

@rultor merge

@rultor merge

@meetmangukiya OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@meetmangukiya Done! FYI, the full log is here (took me 2min)


azurejoga.aurora version 16.0

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:
(Automated response - build 875.)

Automatic Validation ended with:
(Automated response - build 876.)


[feature request] Supporting individual permissions management

This is a feature request from some internal customers. We have access to the team_repository resource today, but a user_repository resource would also be helpful.

This would be difficult given that user creation is not automated.  We may be able to automate creation of a GitHub App instead, but the resulting entity would not behave exactly like a user account.
The team sync feature may also help here if your customers are declared in some external directory already.


Traverse always ends after a successful slide-out

Maybe it's different? Every-time I traverse and one of the branches is ready to be slid out, it asks me whether I should slide out or not, if I say yes it slides the branch then stops the traverse.
It's been doing that for quite a while but since this issue existed I didn't report it again.
Originally posted by @CLOVIS-AI in https://github.com/VirtusLab/git-machete-intellij-plugin/issues/1577#issuecomment-1466110002

@CLOVIS-AI the fix is has been released in v3.7.1


Breadcrumbs could display multiple word categories nicer.  Something to consider...

Initially I thought that breadcrumbs just didn’t play nice with multiple word categories.  For example... ‘Developer Tools’ because while the Jekyll URL for the post would generate as developer%20tools, breadcrumbs were coming out developer-tools.
It seems that this may be more ignorance on my part being new to using Jekyll as it seems that the norm, while Jekyll will deal with URLs that have spaces by substituting %20, it is better to simply use a dash for a space in the actual category name (i.e. ‘Developer-Tools’).
This has moved me to the next issue which is multiple word categories are not title capitalized.  Now this is understandable as the Liquid code creating the breadcrumb text replaces any dashes with a space and applies the Liquid filter capitalize.  But this is the UI and I would like it to look pretty.  For example, ‘Developer Tools’ not ‘Developer tools’.  And then there are the categories that don’t follow any of the rules like ‘.NET’ to only be formatted by the current code as ‘.net’.
So, what’s the possibility of adding say a YAML data file that matches category to a title similar to the navigation.yml file.
category: Developer-Tools
title: Developer Tools
category: .NET
title: .NET

This is part of the reason I marked breadrcrumbs as a beta feature, it's half baked at best and probably not something you should use unless it fits a narrow set of conditions.
There are plugins that do breadcrumbs but those have their limitation. There's a lot of variation with the naming of categories as you've mentioned and how URL's are treated. Not to mention how permalinks can mess with things too which makes it even more challenging.
The most predictable solution I've come across (and what I did with my old Jekyll sites) was to add the breadcrumb links to a post or page's YAML front matter.
Example:
breadcrumbs:
  - label: "Breadcrumb Name 1"
    url: /breadcrumb-1/
  - label: "Breadcrumb Name 2"
    url: /breadcrumb-1/breadcrumb-2/

Then in the breadcrumbs component you'd loop over the breadcrumbs object to spit out the links. Here's a bare bones take at that without any styling or schema markup:
{% if page.breadcrumbs %}

Home

  {% for crumb in page.breadcrumbs %}

{{ crumb.label }}

  {% endfor %}

{% endif %}

Which would spit out the following HTML:

Home

Breadcrumb Name 1

Breadcrumb Name 2


Update it.coffee

Just fixed tons of typos and bad translations, more fixes to come (this file is huge)

Hello, @Atomk! Thank you for contributing. Could you sign our CLA so that I can merge your pull request?

I signed the CLA, but...isn't this an open source project? Why do you need a CLA? I never had to sign something to contribute, I'm just curious.

Thanks, @Atomk! The CLA just gives us the right to use your content. Personally, I'm not much into this kind of topic, but I guess it might necessary for some reason :b (I'm not the owner of the project).

Okay, thanks for the info! See you on the next pull request :)

Looking forward to see you again, too.


Log an error when running amok with non-existent input files

I forced pushed a version that lives in cmd.js.  It only logs the first use case ('input file was not found')

So I've just landed a bole based log in a349f6e660f48de08815a18ed587365ed2cda03c

Awesome!  I will look into bole and have look at making this patch use bole!

Moving target, sorry :)


TweepError.response.text doesn't work

Hi, I'm actually getting trouble to get the api error code , I have seen in the doc that we had to use TweepError.response.text but vscode tells me class TweepError has no 'response' class . I'have downloaded the latest version of tweepy on github
here is the code :
except TweepError :
if TweepError.response.text == 326 :
time.sleep(1250)

TweepError.response is an instance attribute, not a class attribute.
When handling exceptions, you need to add an as clause for the instance of the exception.
For code block usage, see https://help.github.com/articles/creating-and-highlighting-code-blocks/.


Not Python 3 compatible

python3 setup.py install runs okay, but importing gives an error:
>>> from netfilterqueue import NetfilterQueue
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/local/lib/python3.4/dist-packages/netfilterqueue.cpython-34m.so: undefined symbol: PyString_FromStringAndSize

python-netfilterqueue works in Python 3 now since https://github.com/kti/python-netfilterqueue/pull/12 was merged into master.


Get JavaScript API docs posted

We have JSDoc comments, but the API docs don't actually go anywhere right now :(. There are JavaScript API docs on docs.microsoft.com: https://docs.microsoft.com/en-us/javascript/api/, but I'm not sure exactly how to get them there :). We should follow up with the necessary folks to get the docs posted.
TODO:

[ ] Review and fix errors in docs

@aspnet/signalr
@aspnet/signalr-protocol-msgpack

Reopening to track merging into release/2.1

Description
TODO: Describe the bug
Customer Impact
TODO: Describe how it affects customers. Is there a workaround? How many customers reported?
Regression from?
TODO: Fill in when it worked, when it stopped working
Risk
High/Medium/Low/Very Low
TODO: Fill in explanation of risk.

Approved for 2.1.4.

Done in https://github.com/aspnet/SignalR/pull/2605


Update README.md

storm-starter  example topology - namespace fix

Please improve the commit message to say something about what is being updated.

OK, comment edited.

Sorry @dinoba : I meant the commit message and the PR title.

@dinoba : I hope you understand where I'm coming from, I'm not trying to deny this PR by any means.  I just want our commit messages to be meaningful.  It's really important for maintainability to keep commits clean and nicely documented.

I got that, just couldn't find way to change commit msg. And I was in hurry.

@dinoba : ahhh, so you're not a git expert yet.  No worries, I avoided creating a branch for like 1.5 years when I first started using git, we're all at different stages of our journeys in git-land.
The answer for "how to change a commit message" is:

Modify the message within your local repo/branch.

If it's not the latest commit, then you can use git rebase -i HEAD~N, where N is the number back the commit is from being latest (3rd latest commit --> use 3 as N).  Then you change pick to reword for the appropriate commit, then save and quit, this will trigger the git to open another editor for you to modify the commit message.

Forcefully push the changes to the remote using git push -f.  This is necessary because you are rewriting the history of your branch, so the remote repo needs to be overwritten instead of just appended to.

You should also "squash" those 2 commits into one, get rid of the trailing whitespace, and also fix the spelling of "apropriate".   Squashing can be done similarly to the steps above using rebase:

https://stackoverflow.com/questions/5189560/squash-my-last-x-commits-together-using-git

Problem is that I was doing this online :) using github inline editor.
I will create local repo, push new commit and you can deny this change.

@dinoba : ohhhh, the editing fanciness within the github UI!! Gotcha...  ok, cool.  I'll review the new PR when you send it, and link to this one.


kdeconnect: Fix build

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@JohnAZoidberg it still works. I assume that the last QT update maybe changed some CMake paths, but as the scripts use these paths internally everything seems to be fine.

Note to self: This will break the home manager module and we'll need an additional check there.


support for non-idempotent paths

The problem
When customizing the path in ember.rb, a non-idempotent path (something other than ../app_name) would result in the build never occuring.  That is because both the command method (app.rb:179) and the exec method (app.rb:247) use app_path, and when those are used together (such as in app.rb:29, in the 'run' method), it results in reaching too far down the path.  exec changes the directory to that of app_path, and then command tries to use the app_path again... but it uses it relative to app_path directory, reaching down twice.  Thus the command fails, and the build never occurs.
The solution
ember_path changed to not use app_path.  In order to preserve the executable? check, I had to do some slightly non-ideal code.  Any suggestions on how to clean it up would be appreciated.
Caveats
For larger apps, the first load after rails s results in the following errors:
 GET http://org.lvh.me:3000/javascripts/enterprise/vendor.js
org.lvh.me/:62 GET http://org.lvh.me:3000/javascripts/enterprise/enterprise.js 404 (Not Found)

(the details will be different for each app, but the form should be the same)
Reloading the page makes the error go away, and it does not reoccur until you restart rails.  Smaller apps load without issue.  I am not sure whether this issue was previously existing.

@jeffreybiles This looks good.  I'm going to try this out this afternoon and see what we have.  :)

Thanks for the PR. I have to reject it. For explanation why, see https://github.com/rwz/ember-cli-rails/issues/74


remove LiteralInInterpolation from disabled.yml

It's also in enabled.yml, and the check ends up running.


Sharvils/tf labels

Description

This PR adds labels to TF services for support matrix docs.
Changes Made

Adds labels in all services in the file tensorflow/docker-compose.yaml

[x] The code follows the project's coding standards.
[x] No Intel Internal IP is present within the changes.
[x] The documentation has been updated to reflect any changes in functionality.

Validation

[x] I have tested any changes in container groups locally with test_runner.py with all existing tests passing, and I have added new tests where applicable.

Friendly reminder @sharvil10 to not expose your idsid in this repository. :)


dropping store, external labels are not unique while using AWS NLB

Hello, I'm having some issues using AWS's NLB (network load balancer) ... seems like the IP addresses from the NLB nodes are confusing the thanos-query service:
thanos-query-9dcfd5cdb-gtzvf thanos level=warn ts=2019-07-25T17:57:25.520410254Z caller=storeset.go:252 component=storeset msg="dropping store, external labels are not unique" address=<IP_ADDRESS>:9090 extLset="{cluster=\"use1-prev-1\",prometheus=\"monitoring/k8s\",prometheus_replica=\"prometheus-k8s-0\"}" duplicates=2
thanos-query-9dcfd5cdb-gtzvf thanos level=warn ts=2019-07-25T17:57:25.52043309Z caller=storeset.go:252 component=storeset msg="dropping store, external labels are not unique" address=<IP_ADDRESS>:9090 extLset="{cluster=\"use1-prev-1\",prometheus=\"monitoring/k8s\",prometheus_replica=\"prometheus-k8s-0\"}" duplicates=2

Below is a diagram of my scenario
                                                       +-------------------+
                                                       |                   |
                                         +------------ |                   |
                                         |             |      Grafana      |
                                         |             |                   |
        srv+ ?                 +---------|--------+    |                   |
                               |                  |    +-------------------+
   10 10901 aws nlb1           |   Thanos Proxy   |
   10 10901 aws nlb2           |   (thanos query) |
   10 10901 aws nlb3           |                  |
                               +------------------+
                                         |
              +----------------------- ------------------------------+
              |                          |                           |
      +-------|-------+          +-------+-------+           +-------|-------+
      |    AWS NLB 1  |          |    AWS NLB 2  |           |    AWS NLB 3  |
      +---------------+          +---------------+           +---------------+

 +----------+ +----------+   +----------+ +----------+   +----------+ +----------+
 |          | |          |   |          | |          |   |          | |          |
 |Query     | |Query     |   |Query     | |Query     |   |Query     | |Query     |
 |(nodeport)| |(nodeport)|   |(nodeport)| |(nodeport)|   |(nodeport)| |(nodeport)|
 |          | |          |   |          | |          |   |          | |          |
 +----------+ +----------+   +----------+ +----------+   +----------+ +----------+

  label: cluster= cluster1   label: cluster= cluster2    label: cluster= cluster3

The problem I believe is that thanos-query uses the IP address (which is the IP address of AWS NLB workers, not my Kubernetes workers) to know if the label is unique, (comparing IP address vs labels)
If I modify the srv records to point to the nodes directly (using a single thanos-query pod per cluster), everything works fine, but that means I can't move that pod to another node.
Is there a way to change thanos-query to not to use the IP address to compare?
Thanks!
PS:
Thanos v0.6.0
Prometheus v2.7.2

Hi, it doesn't use the IP address to compare the connected nodes, only the external labels. I believe the problem here is that at the leaf nodes you have the same external labels and they get marked as duplicates. It's hard to tell from your diagram what is happening but it seems like through the DNS discovery both of the leaf nodes get picked up. Is this what's happening?

I believe this answers your question:
thanos-query-9dcfd5cdb-gtzvf thanos level=warn ts=2019-07-25T17:57:25.520410254Z caller=storeset.go:252 component=storeset msg="dropping store, external labels are not unique" address=<IP_ADDRESS>:9090 extLset="{cluster=\"use1-prev-1\",prometheus=\"monitoring/k8s\",prometheus_replica=\"prometheus-k8s-0\"}" duplicates=2
thanos-query-9dcfd5cdb-gtzvf thanos level=warn ts=2019-07-25T17:57:25.52043309Z caller=storeset.go:252 component=storeset msg="dropping store, external labels are not unique" address=<IP_ADDRESS>:9090 extLset="{cluster=\"use1-prev-1\",prometheus=\"monitoring/k8s\",prometheus_replica=\"prometheus-k8s-0\"}" duplicates=2

Those are the exact same pod replying from 2 different IP addresses (as the NLB has backend nodes)

I've also found something else, seems like one of the thanos-query pods (the ones running on each cluster) is missing the "Announced LabelSets" labels, which is weird as they are being generated with the same exact code in terraform:

So going back to the issue with having 2 pods exposing the labels thru their NLB IP address:

I've tried using the NLB setting Proxy Protocol v2 to expose the IP address of the nodes instead of the IP address of the NLB nodes, but it seems like it breaks grpc:
thanos-query-787b59b6c7-lzlrd thanos level=warn ts=2019-07-29T21:45:40.165622344Z caller=storeset.go:322 component=storeset msg="update of store node failed" err="initial store client info fetch: rpc error: code = Unavailable desc = transport is closing" address=<IP_ADDRESS>:9090
thanos-query-787b59b6c7-5b6vs thanos level=warn ts=2019-07-29T21:45:44.204853593Z caller=storeset.go:322 component=storeset msg="update of store node failed" err="initial store client info fetch: rpc error: code = DeadlineExceeded desc = context deadline exceeded" address=<IP_ADDRESS>:9090

I think this is related to https://github.com/thanos-io/thanos/pull/1338  ... I'll try to use a newer version of thanos with this fix

Using the latest master fixes the issue, but I'm concerned about the fix, as it seems like it's just choosing one of the IP addresses and keep using that forever (or until it gets unhealthy) which can cause issues as the traffic will always go to a single NLB node.  Thanos here is doing the correct thing and protecting you from having needless 2x load. What do you think Thanos should do in such cases?

These are not two nodes, it's only one Kubernetes node behind 2 NLB nodes (AWS creates a load balancer and add AWS nodes in there, they have their own IP that are the ones being resolved when you query myawsnlb.amazon.com)
Then, my Kubernetes node (the one that has the thanos-query pod) will be behind that NLB, but the IP address that's exposed to the thanos-query Proxy, are the ones from the NLB nodes. So thanos-query can receive the same traffic from 1 pod, with 2 different IP addresses.
I use a load balancer to be able to add a group of nodes that can have the thanos-query pods, I can't maintain a list of nodes manually if the pods are moving around between nodes.
If I add an Envoy/nginx load balancer behind a NLB, I'll have the same problem, the thanos query proxy node will see these nginx/envoy nodes with the NLB ip addresses, that usually are more than 1.


chore: construct all paths consistenly using join

Construct all our paths consistently in a platform independent way
resolves #154

This is great! thanks a bunch @tarunrajput 😃
All looks great, could you please rebase and solve the merge conflicts? (I tried to do that for you but it seems like I don't have permissions to push to your branch)

Sure @dario-piotrowicz, I've just updated the PR

Thanks a lot @tarunrajput 😄


Revert "curl: 7.59.0 -> 7.60.0"

This reverts commit 44101ee9d67095af06a977eb7f64ba72a2faa66a.
I would consider this a temporary fix until a proper solution for #41312 has been found.
Unfortunately, NixOS on master is rather unusable without reverting the above commit.
Motivation for this change
All nix tools appear to be flaky and run into timeouts with curl 7.60.0
See nixos/nixpkgs#41312 for more details
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

You can avoid the mass rebuild by introducing curl_7_59 and using it for Nix. Have you tested that the downgrade helps?

The downgrade does help. I like that idea, will send a new PR


[Event Request] codeunit 6620 "Copy Document Mgt."- OnAfterUpdateCustLedgerEntry

Hi, would it be possible to get an event OnAfterUpdateCustLedgerEntry codeunit 6620 "Copy Document Mgt.", like this :

    procedure UpdateCustLedgerEntry(var ToSalesHeader: Record "Sales Header"; FromDocType: Enum "Gen. Journal Document Type"; FromDocNo: Code[20])
    var
        CustLedgEntry: Record "Cust. Ledger Entry";
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforeUpdateCustLedgEntry(ToSalesHeader, CustLedgEntry, IsHandled);
        if IsHandled then
            exit;

        CustLedgEntry.SetCurrentKey("Document No.");
        if FromDocType = "Sales Document Type From"::"Posted Invoice" then
            CustLedgEntry.SetRange("Document Type", CustLedgEntry."Document Type"::Invoice)
        else
            CustLedgEntry.SetRange("Document Type", CustLedgEntry."Document Type"::"Credit Memo");
        CustLedgEntry.SetRange("Document No.", FromDocNo);
        CustLedgEntry.SetRange("Customer No.", ToSalesHeader."Bill-to Customer No.");
        CustLedgEntry.SetRange(Open, true);
        if CustLedgEntry.FindFirst then begin
            ToSalesHeader."Bal. Account No." := '';
            if FromDocType = "Sales Document Type From"::"Posted Invoice" then begin
                ToSalesHeader."Applies-to Doc. Type" := ToSalesHeader."Applies-to Doc. Type"::Invoice;
                ToSalesHeader."Applies-to Doc. No." := FromDocNo;
            end else begin
                ToSalesHeader."Applies-to Doc. Type" := ToSalesHeader."Applies-to Doc. Type"::"Credit Memo";
                ToSalesHeader."Applies-to Doc. No." := FromDocNo;
            end;
            CustLedgEntry.CalcFields("Remaining Amount");
            CustLedgEntry."Amount to Apply" := CustLedgEntry."Remaining Amount";
            CustLedgEntry."Accepted Payment Tolerance" := 0;
            CustLedgEntry."Accepted Pmt. Disc. Tolerance" := false;
            CODEUNIT.Run(CODEUNIT::"Cust. Entry-Edit", CustLedgEntry);
            OnAfterUpdateCustLedgerEntry(FromDocType, ToSalesHeader, FromDocNo);
        end;
    end;

    [IntegrationEvent(false, false)]
    local procedure OnAfterUpdateCustLedgerEntry(var FromDocType: Enum "Gen. Journal Document Type"; var ToSalesHeader: Record "Sales Header"; var FromDocNo: Code[20])
    begin
    end;

Thanks

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Instead of adding the managed identity directly to the key vault access policy, can you add the managed identity to an azure AD group that has key vault access?

I tried to add the managed identity to an AD group that has access to the key vault but it was unable to resolve the secrets on startup.

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

ID: 7feaa3d0-7233-a3cb-cb9b-a9a55b1f0d7a
Version Independent ID: f41f9d51-52f8-1f45-1043-1344a3b74458
Content: Key Vault references - Azure App Service
Content Source: articles/app-service/app-service-key-vault-references.md
Service: app-service
GitHub Login: @mattchenderson
Microsoft Alias: mahender

@damiandiaz76 It should be supported. I will test this scenario and will get back to you with my findings.
I have observed access policies taking longer time to affect in terms of MSI's and requiring the restart of the app services. Please account for that during your testing as well.

@damiandiaz76 I was able to get it to work in my environment. Managed identities tend to cache tokens and that sometimes causes a delay in the policies and group memberships taking effect.
Normally forcing the managed identity to get a new token helps. (A restart of the resource is the easiest way).
Also, ensure that your managed identity is not part of too many groups (upper limit of ~200). I will go ahead and close this issue for now. Let me know if you have any further questions regarding this.

It seems to work for me too.  Thanks for checking!


Does the Python library still work?

I tried to do the most simple implementation I could think of but still get a broken result.
Is there something I should know that isn't in the ReadMe?
Here is my code:
from stftpitchshift import StftPitchShift
from scipy.io import wavfile

samplerate, data = wavfile.read('voice.wav')
pitchshifter = StftPitchShift(1024, 256, samplerate)

new_data = pitchshifter.shiftpitch(data, 1)
wavfile.write("edited.wav", samplerate, new_data)

Based on what I understood, this code is not even supposed to modify the audio.

The audio data returned by scipy.io.wavfile must be converted to float and normalized to [-1,+1].

Thanks, it worked. It is an important information and I can't find it in the ReadMe. Maybe you should add it.
Here is the corrected code:
from stftpitchshift import StftPitchShift
from scipy.io import wavfile
import numpy as np

samplerate, data = wavfile.read('voice.wav')
data = data.astype(np.float16)

max_val = np.max(np.abs(data))
data = data/max_val

pitchshifter = StftPitchShift(1024, 256, samplerate)
new_data = pitchshifter.shiftpitch(data, 1.2)
new_data = (new_data *max_val).astype(np.int16)

wavfile.write("edited.wav", samplerate, new_data)

Your snippet looks incorrect, I would prefer this one instead:
from stftpitchshift import StftPitchShift
from scipy.io import wavfile
import numpy as np

samplerate, data = wavfile.read('voice.wav')

# convert original integer data type to a normalized float data type
# (unless it's already a normalized float)
dtype = data.dtype
scale = np.iinfo(dtype).max ** -1
data = data.astype(np.float32) # use at least float32
data = data * scale

pitchshifter = StftPitchShift(1024, 256, samplerate)
data = pitchshifter.shiftpitch(data, 1)

# convert result to the desired integer data type
# (or keep it as is)
dtype = np.int16
scale = np.iinfo(dtype).max
data = data.clip(-1, +1) # preventively avoid clipping
data = (data * scale).astype(dtype)

wavfile.write('edited.wav', samplerate, data)


Integrating with OSS-Fuzz

Greetings opengm developers and contributors,
We’re reaching out because your project is an important part of the open source ecosystem, and we’d like to invite you to integrate with our fuzzing service, OSS-Fuzz. OSS-Fuzz is a free fuzzing infrastructure you can use to identify security vulnerabilities and stability bugs in your project. OSS-Fuzz will:

Continuously run at scale all the fuzzers you write.
Alert you when it finds issues.
Automatically close issues after they’ve been fixed by a commit.
Provide fuzzing on pull requests through optional CI-Fuzz integration.

Many widely used open source projects like OpenSSL, FFmpeg, LibreOffice, and ImageMagick are fuzzing via OSS-Fuzz, which helps them find and remediate critical issues.
Even though typical integrations can be done in < 100 LoC, we have a reward program in place which aims to recognize folks who are not just contributing to open source, but are also working hard to make it more secure.
We want to stress that anyone who meets the eligibility criteria and integrates a project with OSS-Fuzz is eligible for a reward.
To help you getting started, we can attach our internal fuzzer for your project that you are welcome to use directly, or to use it as a starting point.
If you're not interested in integrating with OSS-Fuzz, it would be helpful for us to understand why—lack of interest, lack of time, or something else—so we can better support projects like yours in the future.
If we’ve missed your question in our FAQ, feel free to reply or reach out to us at<EMAIL_ADDRESS>Thanks!
Tommy
OSS-Fuzz Team

This project is unmaintained at the moment and it is not likely that this will change

Ok, thanks for the quick response.


Inconsistent mouse scroll delta on different OSes

On latest pugl the mouse scroll is around 10x slower on macOS versus other platforms.
Dont really know the details anymore, I should have reported this earlier but was always waiting for a possibility to test on win + mac + linux that didnt happen and then forgot about it.
So I don't really have details right now, but I think it should very obvious once you try it and either log the values or have a test tool for it.
Basically the Linux and Windows scroll delta behave similarly (tested with a usb mouse and touchpad) while on macOS the delta values are much lower, but I dont recall if I tested on mousepad or usb mouse.
Reporting now since you are doing some pugl changes, so taking the opportinity for it.

The wheel was very slow on MacOS.
As far as I can tell there's no well-defined way to convert to "lines" on MacOS, I'm guessing they've largely dispensed with the idea scroll wheel detents.  We might need a more expressive API to be able to handle fancy scrolling and old school wheels.  In the mean time, I don't have any of their fancy input devices to test on (other than a Macbook touchpad), and this makes them work the same at least for a single tick of the wheel on an external mouse: f7b3fe4
Touchpad speed is unaffected but feels vaguely reasonable to me (I can achieve a 1.0 line scroll going very slowly and deliberately, which is about right).


Happy to help and thanks for working through this with me.  I’ve attached the database if you’d like to see if you can determine what’s going on.  I’d be happy to try any fixes you may find.
￼

On Apr 18, 2023, at 12:30 PM, Giovanni @.***> wrote:
great to hear! based on your previous logs, it seems that access is denied to some of the covers. If you want to investigate further, I am happy to send instructions on how to open the database and check the URLs, or if you want to send me the database I can do that for you. Thanks for your help with troubleshooting this! Because I did not have errors, I would have not found the bug without your report.
—
Reply to this email directly, view it on GitHub https://github.com/giovannicoppola/alfred-readwise/issues/1#issuecomment-1513552981, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4RUEUG3VWNY6BD5N5ILALXB3FTNANCNFSM6AAAAAAWXQFWAA.
You are receiving this because you authored the thread.


Add code for I2C Thermocouple sensor

Prototype by itself
Add it to main() codebase

Intitial code: https://github.com/USSTR-Avionics/Avionics_code/pull/52


fix: gqlMagicComment type

Description
fix incorrect type.
Related #8579

Type of change
Please delete options that are not relevant.

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

Screenshots/Sandbox (if appropriate/relevant):
Adding links to sandbox or providing screenshots can help us understand more about this PR and take action on it as appropriate
Checklist:

[X] I have followed the CONTRIBUTING doc and the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

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

@saihaj Added.

@rwu823 looks like prettier is failing

@saihaj next.config.mjs It looks not my modification.

And I tried run prettier:check on my local is passed. Could you help to re-run it?

thanks @rwu823


Cannot find module es6.object.to-string on windows 10

Just used command "npm -g i react-static" and "react-static create myblog"
This is error:
`λ react-static create myblog
module.js:529
throw err;
^
Error: Cannot find module '../../modules/es6.object.to-string'
at Function.Module._resolveFilename (module.js:527:15)
at Function.Module._load (module.js:476:23)
at Module.require (module.js:568:17)
at require (internal/module.js:11:18)
at Object. (C:\Users\windows\AppData\Roaming\npm\node_modules\react-static\node_modules\core-js\library\fn\symbol\index.js:2:1)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)`
I've tried reinstallation and this is not help.

Don't put the name of your new project in the command.
On Fri, Oct 20, 2017 at 1:50 AM Dmitrij Podabed<EMAIL_ADDRESS>wrote:

Just used command "npm -g i react-static" and "react-static create myblog"
This is error:
`λ react-static create myblog
module.js:529
throw err;
^
Error: Cannot find module '../../modules/es6.object.to-string'
at Function.Module._resolveFilename (module.js:527:15)
at Function.Module._load (module.js:476:23)
at Module.require (module.js:568:17)
at require (internal/module.js:11:18)
at Object.
(C:\Users\windows\AppData\Roaming\npm\node_modules\react-static\node_modules\core-js\library\fn\symbol\index.js:2:1)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)`
I've tried reinstallation and this is not help.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nozzle/react-static/issues/67, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUmCXdTh7PpF89VLu8sCbkTd7gHrw3Rks5suFDHgaJpZM4QATf6
.

This error even in existing project. It was work about a week ago.

Please update to the latest version in your existing project and try again. The library is still very young, so there are new releases almost every day or two.

Already. This error in new version.

This should be fixed in the latest version. Please upgrade both global and local packages to version 2.0.0


feat: Implementation of BatchMap SDK client

This creates BatchMap SDK implementation. Based on current MR: https://github.com/numaproj/numaflow/pull/1778
I tried to follow all existing patterns so this should fit in smoothly. However, I have made one change which is provide the servicer/server interaction the ability to have more custom data presentations. Since bidirectional stream lends itself to a few unique challenges, these updates provide an "advanced" interface for users to provide their own data access patterns. I've provided two additional implementations to server as examples as well as common use cases that were discussed in design talks I was included in.

I was apparently blind and did not see https://github.com/numaproj/numaflow-python/pull/177 when I made this, so this is duplicative - and seems to go beyond current desired objectives. Talking with @kohlisid on Slack, I'll plan for an MR later to bring the flexibility updates in another update


sundry small improvments

Found by reading matplotlib docs

[ ] use https://matplotlib.org/api/ticker_api.html#matplotlib.ticker.ScalarFormatter as auto slider formatting
[ ] use https://matplotlib.org/api/widgets_api.html#matplotlib.widgets.MultiCursor for heatmap slicer

idk if this is actually useful though

is redundant with https://github.com/ianhi/mpl-interactions/issues/47
it already works, no need to change


SQL Injection Vulnerability

Improper SQL query building is present in the several of the password rotation functions. For example, SecretsManagerRDSPostgreSQLRotationSingleUser:
alter_role = "ALTER USER \"%s\"" % pending_dict['username']
cur.execute(alter_role + " WITH PASSWORD %s", (pending_dict['password'],))

pending_dict['username'] should be escaped as an identifier, unfortunately PyGreSQL does not expose this function easily.

Thank you for opening this issue - we are looking into it.

PR #59 updates the rotation lambdas to escape usernames, which addresses this issue. Resolving.


How to change ranging beacons interval? (Scan time period)

Is it possible to manipulate the Update/Refresh Rate of a beacon monitoring to every 0.1 seconds.
Like android SDK can do it by setting Scan period using setBackgroundScanPeriod(scanPeriod,waitTime).

There's no way to that with Core Location's ranging, but you can use our Core Bluetooth scan instead.
Also, questions are better off at Stack Overflow or our Community Portal, not a GitHub issue tracker.


Display StoreID for InTune/AppStore similar to Distribution ID for Groups

It would be AMAZING to show the StoreID for InTune and the AppStore and PlayStore connections right in the Store connection settings.
I know you can't modify them (ANY store connection) once they are created, which hasn't been a huge issue, but is why we have to create a new InTune store connection every 60-90 days for EACH app that we are publishing to InTune, and having the StoreID visible when viewing that connection would avoid the extra several steps of needing to visit openapi.appcenter.ms and then relocating or creating and supplying an api token and then hunting through the whole page to find the stores each time you create a new one (which is only allowed for our InTune admins, who aren't the command line/API token kind of folks).
A refresh/reauth in place for InTune like the AppStore's MFA prompt would be amazing, but I'd imagine it would require a lot more development/testing than just exposing the StoreID value.

This is still an active feature request, this would make the forced creation of a new InTune 'store' every time the token expires slightly less onerous.


Request for adding Ambient WS-1965B w/ WS2000 sensor

name: Feature Request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

Is your feature request related to a problem? Please describe:
Ambient Weather station currently not supported
Describe the solution you'd like:
I would like to request support for Ambient WS-1965B base station w/ WS2000 sensor.
Describe alternatives you've considered:
There are no other plugins with active development a feature complete.
Data Report:
[9/25/2024, 10:39:05 AM] [Ecowitt] Listening for data reports on 8085 /data/report
[9/25/2024, 10:39:57 AM] [Ecowitt] Received request for GET /data/report/&PASSKEY=xxxxxxxxxxxxxxxxx&stationtype=WS1965B_V1.3.1&dateutc=2024-09-25+14:39:57&tempf=69.44&humidity=94&windspeedmph=0.00&windgustmph=1.12&maxdailygust=5.82&winddir=56&winddir_avg10m=36&hourlyrainin=0.000&eventrainin=0.693&dailyrainin=0.350&weeklyrainin=0.693&monthlyrainin=1.941&yearlyrainin=22.563&totalrainin=22.563&battout=1&tempinf=69.98&humidityin=63&baromrelin=29.991&baromabsin=28.281 from ::ffff:<IP_ADDRESS>. Configure the Ecowitt base station to send data reports to POST /data/report
[9/25/2024, 10:40:58 AM] [Ecowitt] Received request for GET /data/report/&PASSKEY=xxxxxxxxxxxxxxxxx&stationtype=WS1965B_V1.3.1&dateutc=2024-09-25+14:40:58&tempf=69.44&humidity=93&windspeedmph=1.79&windgustmph=2.24&maxdailygust=5.82&winddir=35&winddir_avg10m=36&hourlyrainin=0.000&eventrainin=0.693&dailyrainin=0.350&weeklyrainin=0.693&monthlyrainin=1.941&yearlyrainin=22.563&totalrainin=22.563&battout=1&tempinf=69.98&humidityin=61&baromrelin=29.988&baromabsin=28.278 from ::ffff:<IP_ADDRESS>. Configure the Ecowitt base station to send data reports to POST /data/report

Additional context:

Hi @threeonparfive.  Thanks for reaching out.  Would you also be able to provide a screenshot that shows the customized weather service (where you configured the base station to send data reports to this plugin)?


Extend session duration

What type of PR is this?
Add one of the following kinds:
enhancement/feature
What this PR does / why we need it:
Extend the duration of an active session.
Which issue(s) this PR fixes:

Fixes #220
Special notes for reviewers:
Changelog input
 release-note

Additional documentation
This section can be blank.
docs

@eric-murray @RandyLevensalor Please have a final view

No further comments since last week, so we are good here.


Add additional calendar event fields

Add support for additional calendar event fields such as contact, organizer, urls, priority, related.

Codecov Report

Merging #37 (21ff001) into main (8cb78da) will decrease coverage by 0.06%.
The diff coverage is 92.30%.

@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
- Coverage   95.90%   95.83%   -0.07%
==========================================
  Files           8        8
  Lines         708      721      +13
==========================================
+ Hits          679      691      +12
- Misses         29       30       +1

Impacted Files
Coverage Δ

ical/types.py
94.52% <88.88%> (-0.18%)
:arrow_down:

ical/event.py
93.95% <100.00%> (+0.16%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


[Bug]: Using string in PartitionColumn throws error, tries to convert it to string

What happened?
Referencing JdbcIo's doc in the section for Parallel reading from a JDBC datasource, It mentions to use either of these types of column for paritioning Beam supports partitioned reading of all data from a table. Automatic partitioning is supported for a few data types: Long, [DateTime](https://static.javadoc.io/joda-time/joda-time/2.10.10/org/joda/time/DateTime.html?is-external=true), String.
But when I am passing a string field into it, it tries to convert it into Long. As a result the code fails. Can anyone help me with this?
Beam version -> 2.56.0
JdbcIo version -> 2.56.0
Code
PCollection<LogTable> dbReadData = p.apply("ReadFromMySQL", JdbcIO.<LogTable>readWithPartitions()                 .withDataSourceConfiguration(JdbcIO.DataSourceConfiguration.create(                                 "com.mysql.cj.jdbc.Driver", "jdbc:mysql://localhost:3307/exampledb")                         .withUsername("exampleuser")                         .withPassword("examplepass"))                 .withTable("logs_table")                 .withCoder(SerializableCoder.of(LogTable.class))                         .withPartitionColumn("uuid")                 .withRowMapper(new JdbcIO.RowMapper<LogTable>() {                     @Override                     public LogTable mapRow(ResultSet resultSet) throws Exception {                         String uuid = resultSet.getString("uuid");                         Timestamp time = resultSet.getTimestamp("time");                         return new LogTable(uuid, time);                     }                 }));
table structure ->
CREATE TABLE logs_table(  uuidvarchar(255) NOT NULL,  time timestamp NOT NULL )
Runner used was Flink Runner
Issue Priority
Priority: 3 (minor)
Issue Components

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

@Abacn is this expected?

I'm facing this error using Spark Runner:
Exception in thread "main" java.lang.NullPointerException: readWithPartitions only supports the following types: [class java.lang.Long, class org.joda.time.DateTime]         at org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.base.Preconditions.checkNotNull(Preconditions.java:1010)         at org.apache.beam.sdk.io.jdbc.JdbcIO$ReadWithPartitions.expand(JdbcIO.java:1355)         at org.apache.beam.sdk.io.jdbc.JdbcIO$ReadWithPartitions.expand(JdbcIO.java:1189)
public static JdbcIO.ReadWithPartitions<TableDB, String> generateTableWithPartition(JdbcIO.DataSourceConfiguration ds) {         return JdbcIO.<TableDB, String>readWithPartitions(TypeDescriptor.of(String.class))                 .withDataSourceConfiguration(ds)                 .withTable("table")                 .withPartitionColumn("id")                 .withRowMapper(new RowMapperGenerator.CreateClaimSource());     }

Read the code, as early as when this documentation was entered #15848, it never supported String type as partition type.

Thanks Abacn! Sad it's not implemented, but at least now I know why.

dup #27120


Block chain & its applications for permanent authentic archives

I'm doing a bit of an investigation into how the BitCoin block chain is being used for recordkeeping / archives purposes. One of the difficulties with independent & online archives is asserting authenticity. Where official archives can rely on their statutory powers, being heavily audited & scrutinised etc., a small and potentially less stable archive could make use of the decentralised trust network of the blockchain. Some developers have started to build document / other data registration mechanisms using the blockchain, like Factom (see link below).
If anyone has any experience or knowledge in this area I'd love to pick your brain sometime :)
Cheers
Cassie
Some refs
Nozomi Hayase ‘How Bitcoin's Block Chain Could Stop History Being Rewritten’
http://www.coindesk.com/block-chain-aid-fight-free-speech/
Ken Shirriff’s blog, Hidden surprises in the Bitcoin blockchain and how they are stored: Nelson Mandela, Wikileaks, photos, and Python software http://www.righto.com/2014/02/ascii-bernanke-wikileaks-photographs.html
BitCoin is a public ledger
By Robert Graham
http://blog.erratasec.com/2013/05/bitcoin-is-public-ledger.html#.VLw7eEeUeVM
Kevin Cruz, ‘Blocksign: Signing Documents on the Blockchain’, BitCoin Magazine, Nov 2014
http://bitcoinmagazine.com/17950/blocksign-signing-documents-on-the-blockchain/
Factom Outlines Record-Keeping Network That Utilises Bitcoin's Blockchain
http://www.coindesk.com/factom-white-paper-outlines-record-keeping-layer-bitcoin/

Interesting. I have no knowledge in this area :)

Peter Van Garderen seems to be looking into this too: https://twitter.com/pjvangarderen/status/569611991943237633 [Ethereum]

Thanks chaps. I have next to no knowledge but am learning. Had an interesting discussion about it the other day with Zooko who created Tahoe LAFS and yes I should contact Peter V-G. Ta!

FYI: I'm trying to figure out if people are interested in forming a community around Decentralized technologies in Galleries, Libraries, Archives & Museums. For now we're using a github issue to talk about it. Please chime in if you're interested. https://github.com/ipfs/community/issues/224


Turing cup landing page added

Awesome job, great to see the PRs coming!

Hi nice work but there is some issue with the image it is not displayed in deployed preview.

There is too much empty space between the Turing cup and the road map it doesn't look nice try to make it vertically centered


fix(melos): fix melos format script

Description
It seems format command is failing hope this is fixing this script.
Related Issues
https://github.com/fluttercommunity/plus_plugins/issues/223
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] I am willing to follow-up on review comments in a timely manner.

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

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

Mm, it's interesting it doesn't throw an error locally but it throws an error on CI. I need to investigate more.


Can't export Props into plain typescript file

I'm simply trying to:
import type {Props} from 'astro-seo';

But I get this error:
Module '"astro-seo"' has no exported member 'Props'.

I can successfully import into a .astro file. Just not a .ts file.

@mikestopcontinues Thanks for reporting this. Is should be fixed in v0.8.3.
You should now be able to do the following:
import { type SEOProps } from "astro-seo"

Can you please try this and report if it works for you now?

Thanks @jonasmerlin, works like a charm!


Experimental - change probability on binary contract page on chart hover

This is an idea that Inga had. I don't personally think I like the feel of it, but I thought I would put it up here so that anyone can try it and play around with it and see if they want to make a case for it.
@ingawei feel free to check it out and see what you think. If you really really like it I will consider making the other charts work like this. (I guess the free response chart doesn't really have anything analogous, since the answer panel probably isn't even completely visible while you are hovering the chart...)

Pretty sure we aren't doing this.


moving to anaconda

Turns out to be a much better platform to distribute our package than PyPi, even though it is only Python code ....

I am downsizing our issue tracker to adjust to the forking workflow. So, this is your current sprint and thus as ASANA issue instead.


[TEVA-4390] update job listing create journey application choice page

https://dfedigital.atlassian.net/browse/TEVA-4390

Looks good 👍


pyside6: Plugin issue while working on 'Plugin initialization failed'

pipenv run python -m nuitka --standalone --plugin-enable=pyside6 --follow-import-to=charset_normalizer.md__mypyc  --disable-console  --linux-onefile-icon=resources/images/logo.png flexconfigurator.py
Nuitka-Options: Used command line options: --standalone --plugin-enable=pyside6 --follow-import-to=charset_normalizer.md__mypyc --disable-console --linux-onefile-icon=resources/images/logo.png flexconfigurator.py
Traceback (most recent call last):
  File "/home/bearsh/.virtualenvs/flex-configurator-W-NwfveD/lib/python3.10/site-packages/nuitka/plugins/Plugins.py", line 82, in withPluginProblemReporting
    yield
  File "/home/bearsh/.virtualenvs/flex-configurator-W-NwfveD/lib/python3.10/site-packages/nuitka/plugins/Plugins.py", line 123, in _addActivePlugin
    plugin_instance = plugin_class(**plugin_args)
  File "/home/bearsh/.virtualenvs/flex-configurator-W-NwfveD/lib/python3.10/site-packages/nuitka/plugins/standard/PySidePyQtPlugin.py", line 1419, in __init__
    NuitkaPluginQtBindingsPluginBase.__init__(
  File "/home/bearsh/.virtualenvs/flex-configurator-W-NwfveD/lib/python3.10/site-packages/nuitka/plugins/standard/PySidePyQtPlugin.py", line 79, in __init__
    sensible_qt_plugins = self._getSensiblePlugins()
  File "/home/bearsh/.virtualenvs/flex-configurator-W-NwfveD/lib/python3.10/site-packages/nuitka/plugins/standard/PySidePyQtPlugin.py", line 218, in _getSensiblePlugins
    tuple(
  File "/home/bearsh/.virtualenvs/flex-configurator-W-NwfveD/lib/python3.10/site-packages/nuitka/plugins/standard/PySidePyQtPlugin.py", line 238, in <genexpr>
    if self.hasPluginFamily(family)
  File "/home/bearsh/.virtualenvs/flex-configurator-W-NwfveD/lib/python3.10/site-packages/nuitka/plugins/standard/PySidePyQtPlugin.py", line 393, in hasPluginFamily
    for plugin_dir in self.getQtPluginDirs()
  File "/home/bearsh/.virtualenvs/flex-configurator-W-NwfveD/lib/python3.10/site-packages/nuitka/plugins/standard/PySidePyQtPlugin.py", line 357, in getQtPluginDirs
    qt_info = self._getQtInformation()
  File "/home/bearsh/.virtualenvs/flex-configurator-W-NwfveD/lib/python3.10/site-packages/nuitka/plugins/standard/PySidePyQtPlugin.py", line 275, in _getQtInformation
    info = self.queryRuntimeInformationMultiple(
  File "/home/bearsh/.virtualenvs/flex-configurator-W-NwfveD/lib/python3.10/site-packages/nuitka/plugins/PluginBase.py", line 1186, in queryRuntimeInformationMultiple
    feedback = check_output([sys.executable, "-c", cmd], env=env)
  File "/home/bearsh/.virtualenvs/flex-configurator-W-NwfveD/lib/python3.10/site-packages/nuitka/utils/Execution.py", line 141, in check_output
    raise NuitkaCalledProcessError(exit_code, cmd, output=output, stderr=stderr)
nuitka.utils.Execution.NuitkaCalledProcessError: Command '['/home/bearsh/.virtualenvs/flex-configurator-W-NwfveD/bin/python', '-c', '\\\nfrom __future__ import print_function\nfrom __future__ import absolute_import\n\ntry:\n   \n   import os\n   import PySide6.QtCore\nexcept ImportError:\n    import sys\n    sys.exit(38)\nprint(repr(PySide6.QtCore.QCoreApplication.libraryPaths()))\nprint("-" * 27)\nprint(repr(os.path.join(os.path.dirname(PySide6.__file__), \'plugins\')))\nprint("-" * 27)\nprint(repr(os.path.join(os.path.dirname(PySide6.__file__), \'..\', \'..\', \'..\', \'Library\', \'plugins\')))\nprint("-" * 27)\nprint(repr(PySide6.__version_info__))\nprint("-" * 27)\nprint(repr(getattr(PySide6, \'_nuitka_patch_level\', 0)))\nprint("-" * 27)\nprint(repr(PySide6.QtCore.QLibraryInfo.location(PySide6.QtCore.QLibraryInfo.TranslationsPath)))\nprint("-" * 27)\nprint(repr(PySide6.QtCore.QLibraryInfo.location(PySide6.QtCore.QLibraryInfo.LibraryExecutablesPath)))\nprint("-" * 27)\nprint(repr(PySide6.QtCore.QLibraryInfo.location(PySide6.QtCore.QLibraryInfo.DataPath)))\nprint("-" * 27)\n']' died with <Signals.SIGABRT: 6>. Error was b'Traceback (most recent call last):\n  File "signature_bootstrap.py", line 77, in bootstrap\n  File "signature_bootstrap.py", line 93, in find_incarnated_files\n  File "/usr/lib/python3.10/pathlib.py", line 960, in __new__\n    self = cls._from_parts(args)\n  File "/usr/lib/python3.10/pathlib.py", line 594, in _from_parts\n    drv, root, parts = self._parse_args(args)\n  File "/usr/lib/python3.10/pathlib.py", line 578, in _parse_args\n    a = os.fspath(a)\nTypeError: expected str, bytes or os.PathLike object, not NoneType\nFatal Python error: could not initialize part 2\nPython runtime state: initialized\n\nCurrent thread 0x00007f734f9201c0 (most recent call first):\n  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed\n  File "<frozen importlib._bootstrap_external>", line 1176 in create_module\n  File "<frozen importlib._bootstrap>", line 571 in module_from_spec\n  File "<frozen importlib._bootstrap>", line 674 in _load_unlocked\n  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked\n  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load\n  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed\n  File "<frozen importlib._bootstrap>", line 1078 in _handle_fromlist\n  File "/home/bearsh/.virtualenvs/flex-configurator-W-NwfveD/lib/python3.10/site-packages/PySide6/__init__.py", line 64 in _setupQtDirectories\n  File "/home/bearsh/.virtualenvs/flex-configurator-W-NwfveD/lib/python3.10/site-packages/PySide6/__init__.py", line 124 in <module>\n  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed\n  File "<frozen importlib._bootstrap_external>", line 883 in exec_module\n  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked\n  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked\n  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load\n  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed\n  File "<frozen importlib._bootstrap>", line 992 in _find_and_load_unlocked\n  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load\n  File "<string>", line 8 in <module>\n\nExtension modules: numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, xxsubtype (total: 14)'.
FATAL: pyside6: Plugin issue while working on 'Plugin initialization failed'.  It works fine with PySide-6.6.1 and furthermore my app does also not run with PySide-6.6.2 when run via python.
Sorry for the noise, I should have checked before...

@bearsh thanks for letting me know, deleting it


Ethan: Watch birolbahadir.com

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

Approved by Nisse Engström in Charcoal HQ


unable to type Chinese after using backspace

Environment
Windows build number:
Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.18363.0 Microsoft Windows NT 10.0.18363.0
Windows Terminal version (if applicable):
0.10.781.0
Any other software?
the built-in Chinese input method

Steps to reproduce
open a windows terminal, type some characters when using Chinese input method(such as 'asdf'), but don't type space to confirm the input. type backspace to delete the characters. type some other characters and type space.

Expected behavior
it can type Chinese characters.

Actual behavior
it cann't type Chinese characters.

I feel this is the same as #5054, which is fixed by #5109 but has not been released yet.

Duplicate of #5054
thanks @skyline75489


Deploy halts when JS library can't be found

Hi, it looks like if a referred to JavaScript file can't be found then the deploy is halted. Is it possible to ignore this situation and continue with the deployment? I'm probably including more files than necessary but probably won't do any harm. Is there a way to exclude specific files or directories?
thanks
$ stout deploy --env staging
panic: open app/bower_components/lodash/node_modules/platform/platform.js: no such file or directory
goroutine 1 [running]:
panic(0x44fe40, 0xc8202f0e10)
/usr/local/go/src/runtime/panic.go:481 +0x3e6
main.must(0x4e2b20, 0x0, 0x8949f8, 0xc8202f0e10, 0x0, 0x0)
/Users/zack/s/Stout/src/utils.go:86 +0x57
main.hashFile(0xc82029d2c0, 0x3d, 0x0, 0x0, 0x0)
/Users/zack/s/Stout/src/deploy.go:48 +0x1d4
main.hashFiles(0xc8202fa000, 0x2a, 0x40, 0x0, 0x0)
/Users/zack/s/Stout/src/deploy.go:66 +0x11a
main.Deploy(0x4f6120, 0x1, 0xc82001146c, 0x4, 0x4f62e8, 0x2, 0x0, 0x0, 0x7fff5fbffc7b, 0x7, ...)
/Users/zack/s/Stout/src/deploy.go:572 +0x15f7
main.deployCmd()
/Users/zack/s/Stout/src/deploy.go:626 +0x137
main.main()
/Users/zack/s/Stout/src/cli.go:39 +0x3e3

Sorry, this is works as designed.  A file which will fail with Stout would 404 if your site was actually deployed.

But this is file that would never be called on the client side. Just happens to be included in the distribution package.

Ah, this generally happens when Stout is building HTML files you don't need it to be building.  I would look into the files command line or config file option, which will allow you to have it ignore your bower_components folder.

I thought had checked the config options but I'll check again, thx


Some questions about Text-to-Texture task

Very nice work!
Resolution: What's the resolution of UV map? When I zoom in, I observe some blurry results. Is this from low resolution UV map or low power of Stable Diffusion v1.5 or others (I cannot find what model used in the paper)? I think SDXL can improve a lot so I'm looking forward to the code.
SDS vs TEXTure: Is SDS a good choice for Text-to-Texture task? Although the quality of official TEXTure is not good enough, this text-to-image-to-texture method have been optimized in industry such as Meshy. It can generate very high quailty texture in 2 minutes. In contrast, SDS needs 15-30 min using A6000. In my experiments, Fantasia3D+SDXL can generate better results than Meshy in some cases but it takes 36 min using A6000.

Hi, thanks for your interest in our work.
1. Resolution & SD model

We have used 512x512 for the UV maps. Indeed, increasing the resolution would result in better results. Also, we have used SD 2.1. However, using a better-performing text-to-image guidance model would improve the results.

2. SDS for texture generation

Recent works (TEXTure, Text2Tex) use different methods than ours. They outpaint the mesh image using {Text, Depth}-conditioned image using ControlNet and back-project the generated RGB colors onto the mesh surface. This may generate good-quality textures.
However, from our observation, their outpainting-based methods are hard to guarantee cross-view texture consistency. Since they outpaint the texture by increasing the range of view, subtle differences of generated textures in adjacent views tend to result in cross-view-inconsistent textures.

On the other hand, we use randomly selected camera viewpoints and multi-view rendered images to optimize the texture, which can guide coherent multi-view texture generation.
Furthermore, SDS can help disentangle the textures into PBR maps, resulting in better quality results + practical applications, e.g., relighting, and material control. Prior arts, such as TEXTure and Text2Tex, copy the generated image colors, which basically bakes the lighting effects, onto the mesh. With such formulation, the disentanglement of {diffuse, normal, specular, light} cannot be performed, which may limit the practical usage.

Hope this answers your questions.

Thanks for your efforts! I recomand Meshy (https://app.meshy.ai/zh/discover) and you can have a try. I'm concern about the inconsistency between industry and academia. Besides, I'm looking forward to your code so that I can add SDXL into it.

Thanks for the comments and your recommendations.
Later, I'll try releasing the code with support for SDXL.


prepare alpha release

prepare alpha release

./flutter/realm_flutter/example/pubspec.yaml version is not updated. Not sure it should even follow the rest, but right now it does

@nielsenko  updated in a follow-up commit


Avoid deprecated warning in Chrome Canary

Avoid this error: '//@ sourceURL' and '//@ sourceMappingURL' are deprecated, please use '//# sourceURL=' and '//# sourceMappingURL=' instead.

Thanks.


feat: Issuer WASM - Accept Invitation

closes #1
Signed-off-by: Firas Qutishat<EMAIL_ADDRESS>

@troyronda  @sandrask  @rolsonquadras  I try to cover as much as possible for unit-test

Every PR will fail checks due to 80% project code coverage.


Warning from webpack when using ace-diff 3

WARNING in ./node_modules/ace-diff/dist/ace-diff.min.js 1:292-296
Critical dependency: the request of a dependency is an expression

I suspect ace-diff is doing some dynamic require that webpack doesn't like. FYI I think webpack is fine with having require statements that are conditionally executed but has trouble with dynamic expressions in the require call itself. Could the code be refactored somehow to improve this?
Thanks for all the hard work on this library!

Oddly this warning doesn't happen if I change ace-diff's entry point from dist/ace-diff.min.js to src/index.js.

Hey, I couldn't replicate this with a minimal webpack setup. You can avoid modifying the package.json and try importing/requiring the specific source that you want e.g.
- import * as AceDiff from 'ace-diff'
+ import * as AceDiff from 'ace-diff/src/'

I think I'll remove the browser field, as module should be enough, consider there isn't a browser-specific distribution.

:tada: This issue has been resolved in version 3.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Timestamp in packets

Is there a way to access the timestamp of a captured packet, and to also store it in the PCAP file when writing in it?

Hi @ahmadsulieman. Today, there is no way to get timestamp using Packetgen. But packetgen uses PcapRUB under the hood to capture pacckets. And PcapRUB can give you the timestamp:
require 'packetgen'
require 'pcaprub'

pcap = PCAPRUB::Pcap.create('eth0')
pcap.setpromisc(true)
pcap.setsnaplen(0xffff)
pcap.settimeout(1)
pcap.activate
pcap.each_packet do |pkt|
  p pkt.microsec
  puts "timestamp: #{Time.at(pkt.time) + pkt.microsec.to_r / 1_000_000}"
  p PacketGen.parse(pkt.data)
end

closed by #122


Create end-point documentation for integrating new apps in the wiki

Create end-point documentation for integrating Applications with Radar platform. Most of the documentation is already on MP swagger page but for components like Authorization, Rest proxy, schema registry, etc, we still need a good documentation.

Closed with https://github.com/RADAR-CNS/RADAR-Docker/wiki/Integrate-New-Apps-with-Radar-Platform


R4 Observation.id: Invalid Resource id

Our FHIR server is generating ids for some records with the following pattern:
CV:<numeric identifier>:SECT:<numeric identifier>
For example:
CV:11111111:SECT:222222
This results in the failure on the 8th test for us_core_v400_pulse_oximetry profile with following error:

My assumption is that : is not allowed in the Resource Id, but I think that it should be allowed according to URI standard.
Could you recommend what would be the best solution to this issue?

@MTroianov
Thank you for raising this issue to us. According to FHIR definition, an id is
Any combination of upper- or lower-case ASCII letters ('A'..'Z', and 'a'..'z', numerals ('0'..'9'), '-' and '.', with a length limit of 64 characters. (This might be an integer, an un-prefixed OID, UUID or any other identifier pattern that meets these constraints.)
Regex: [A-Za-z0-9-.]{1,64}
So the : character is invalid here

Thank you for help and explanation! We will probably change it to - or .