Missing parameters when send request with headers

Hi, I got problem with my http request
If I use like this every thing look ok .
here code:
let parameters: Parameters = ["log_old":"xxx", "log_new":"xxx"]
Alamofire.request(url, method: .post, parameters: parameters, encoding: JSONEncoding.default)
but, when I need to send some thing in header
here code:
let headers: HTTPHeaders = [
"Content-Type": "application/x-www-form-urlencoded",
"log_token": xxx]
let parameters: Parameters = ["log_old":"xxx", "log_new":"xxx"]
Alamofire.request(url, method: .post, parameters: parameters, encoding: JSONEncoding.default, headers: headers)
My server can get headers value, But missing all of parameters like not send parameters out.
I re-check many time. I really send not nil parameters. I check by remove headers: headers in Alamofire.request my server can read parameters, and if I add headers my server can get only headers and missing parameters.
pls help. Thank you.

@coredore  you can run test case on that and verify does actually alamofire is setting everything or not , following is a sample test case which i copied from Alamofire Test cases  , you can take this as reference and create your own test case and let me know  does your test case is passing or not
func testRequestClassMethodWithMethodURLParametersAndHeaders() {
        // Given
        let urlString = "https://httpbin.org/get"
        let headers = ["Authorization": "123456"]

        // When
        let request = Alamofire.request(urlString, parameters: ["foo": "bar"], headers: headers)

        // Then
        XCTAssertNotNil(request.request)
        XCTAssertEqual(request.request?.httpMethod, "GET")
        XCTAssertNotEqual(request.request?.url?.absoluteString, urlString)
        XCTAssertEqual(request.request?.url?.query, "foo=bar")
        XCTAssertEqual(request.request?.value(forHTTPHeaderField: "Authorization"), "123456")
        XCTAssertNil(request.response)
    }

Sorry, we use our GitHub project for bug reports and feature requests. In the future, you should open questions like this on Stack Overflow and tag alamofire.
Cheers. 🍻

From our Contribution Guidelines
Asking Questions
We don't use GitHub as a support forum. For any usage questions that are not specific to the project itself, please ask on Stack Overflow instead. By doing so, you'll be more likely to quickly solve your problem, and you'll allow anyone else with the same question to find the answer. This also allows maintainers to focus on improving the project for others.

you should use URLEncoding.queryString, not JSONEncoding.default

you should use URLEncoding.queryString, not JSONEncoding.default

Thank you!!! It works! :-)

you should use URLEncoding.queryString, not JSONEncoding.default

Thank you!!! It works! :-)

Nice~


General documentation work

Overview
We can log general documentation work here if it's not directly related to any other issues.

This is being closed because most of this should be documented in the Wiki anyways


Construct a side menu bar for the homepage

Your updates and screenshots were greatly appreciated. Thank you!


Plane

Plane inherits a Box.
Basic fields

[ ] Point on the plane
[ ] normal Vector of the plane
[ ] normalized RGB color

Basic methods

Empty at the moment

Vou puxar essa daqui também, quando o PR #24 for mergeado


Remove whitespace in cw-rbac.yaml

Test name
Status

storage
passed

recreate
passed

scaling
passed

haproxy
passed

big-data
passed

upgrade-haproxy
passed

init-deploy
passed

self-healing
passed

scaling-proxysql
passed

restore-to-encrypted-cluster
passed

security-context
passed

upgrade-proxysql
passed

limits
passed

self-healing-advanced
passed

demand-backup
passed

monitoring-2-0
passed

smart-update
passed

affinity
passed

operator-self-healing
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

pitr
passed

upgrade-consistency
passed

users
passed

demand-backup-encrypted-with-tls
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

scheduled-backup
failed

tls-issue-cert-manager-ref
passed

validation-hook
passed

Test name
Status

storage
passed

recreate
passed

scaling
passed

haproxy
passed

big-data
passed

upgrade-haproxy
passed

init-deploy
passed

self-healing
passed

scaling-proxysql
passed

restore-to-encrypted-cluster
passed

security-context
passed

upgrade-proxysql
passed

limits
passed

self-healing-advanced
passed

demand-backup
passed

monitoring-2-0
passed

smart-update
passed

affinity
passed

operator-self-healing
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

pitr
passed

upgrade-consistency
passed

users
passed

demand-backup-encrypted-with-tls
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

scheduled-backup
failed

tls-issue-cert-manager-ref
passed

validation-hook
passed


Incorrect dynamic script returned when hostname and ember server are on different ports. Setting options.liveReloadPort breaks the loading of livereload.js script

Background:
Ember server running on <IP_ADDRESS>:4200
Rails server that serves the built app is running on <IP_ADDRESS>:3000
We are following the ember-cli-deploy lightning method which pushes the built html file to redis store which is then served via rails.
There are two things that are going on here:

if you set liveReloadPort: 4200, nothing happens. livereload.js is still served from <IP_ADDRESS>:3000. I suspect it is due to these lines here

    if (options.liveReloadPort !== options.port) {
      liveReloadPort = options.liveReloadPort
    }

If they are same, which they are in this case, liveReloadPort never gets set. Which would be fine if the script was actually loaded from 4200 but it looks at the location.port which is 3000

If you set liveReloadPort: 4700 (some arbitrary number), the generated dynamic script breaks on this line with this error:

    var prefixURL = '(location.protocol || 'http:') + '//' + host + ':' + 4700'; // Syntax Error

Unrelated; could I also interest you in exposing liveReloadBaseUrl, liveReloadPort, and liveReloadHost via ember-cli-build config? Currently we are serving these files from a different port (4200) than the server that's serving the files (3000). Something like this would be ideal:
    // ember-cli-build.js
    let app = new EmberApp(defaults, {
      emberCLILiveReload: {
        liveReloadBaseUrl: process.env.ASSET_HOST,
        liveReloadPort: 4700
      },
    });

These options can then be merged like so on this line
  serverMiddleware: function(config) {
    var self = this;
    var app = config.app;
    var options = config.options;
    // this will become
    var options = Object.assign(config.options, this.app.options.emberCLILiveReload)

If you set liveReloadPort: 4700 (some arbitrary number), the generated dynamic script breaks on this line with this error:

    var prefixURL = '(location.protocol || 'http:') + '//' + host + ':' + 4700'; // Syntax Error

Even when no changes are made to a brand new project (ember version 2.18.0), this error is shown:

Thank you for such a detailed issue report!

Also requires https://github.com/ember-cli/ember-cli-inject-live-reload/pull/66 to work with<EMAIL_ADDRESS>


DB modifications not refreshing object

I'll explain the process starting in the beginning of all hoping to get an answer.
First of all, can I get a more specif explanation about the server-side and client-side? For my readings till here, doesn't react render views? If so, why having a server side?
Then, a more concrete example about this project. I can install it with no problems and also run it. After I run it. When I first enter the homepage it brings me all the recipes (i could see in the ajax request). Lets say I do alter some recipe in the db. When I enter that specific recipe (showAction for the say) I can see the modifications I made, but when I do come back for the homepage (not back button nor F5 to refresh) it shows all the recipes, but the recipe i've modify still is the old one, without the changes. Can I get an explanation about this?
Thanks in advance

Hi, I read the issues posted here. Note that there is no need to write me to my personal email with a duplicate of the issue, as I already receive these notifications by email.
I am working now, I'll try to allocate some time to answer properly later on, or during the weekend.
Anyways, you tell me in your email that you are starting with React. Note that there is no need to use this sandbox, bundle, or any other extra code to use React with Symfony. Here we just did a showcase of several things that may help you integrate your code with Symfony in case you need, for instance, server-side rendering (which many projects don't need at all), a Twig integration (that is syntactic sugar), or what we think is a better integration with Symfony forms so you don't need to write forms twice in Sf and React. There is also some sample of React code that you may want to look at, but it is completely optional.
I will check out later the case that you are describing.

I have trying to reply the bug, but I cannot. The only thing that may be confusing is that when you go back to the home page, the results are added at the end (there is no sorting applied to the underlying doctrine queries). It would be interesting to know if the new objects are added to the database or not, to be able to find the cause of your problem.


Refactor fetchFlips from json export/import to returning Props

Changed implementation from fetching exported .json to fetching actual component format FlipCellProps[].
Added a view page in routing, /flipsView for testing.

Note. Since the build is broken, I couldn't see the flipView in routes. I should be able to see this when the dev is fixed.

@codingone21 fyi i should be able to check this out once the build is working again! any instructions on how to run this code? e.g. do i go to localhost:3000/flipsView or something?

@codingone21 fyi i should be able to check this out once the build is working again! any instructions on how to run this code? e.g. do i go to localhost:3000/flipsView or something?

@codingone21 fyi i should be able to check this out once the build is working again! any instructions on how to run this code? e.g. do i go to localhost:3000/flipsView or something?

Thanks and yep! That should be the correct route. I'll also verify once build is working.

Successfully builds, but errors on loading due to how remix data loading works. LoaderFunction is meant to be use only under /routes. Working on a fix

Successfully builds, but errors on loading due to how remix data loading works. LoaderFunction is meant to be use only under /routes. Working on a fix

Ah so we can get reid of the LoaderFunction and just have this code in a generic function, that we can import anywhere we need (including but not necessarily a LoaderFunction)

Successfully builds, but errors on loading due to how remix data loading works. LoaderFunction is meant to be use only under /routes. Working on a fix

Ah so we can get rid of the LoaderFunction and just have this code in a generic function, that we can import anywhere we need (including but not necessarily a LoaderFunction)

Yep! exactly :) The recent commits changed the loader function to 'fetchFlips', which is just a generic call. We can call this from a loader function for components rendering


Fixed pip install issue in webshop server setup

pip install doesn't support the -y flag.

sorry for this mistake and thanks for your pr


Update data-flow-expression-functions.md

rtrim and ltrim had same description.

@mathiasi : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good (verified). Thanks!


[Bug]: motion("w") skipping over a word.

Bug Description
When moving from one line of text to the next, the first word in the next line gets skipped. This only happens when the next line starts from the very first column (left edge).
Note: The "b" motion seems to behave correctly. The "b" motion skips over parentheses and brackets. Should I make a separate issue for that?
Relevant Screenshot
Initial position:

Position after
<Cmd>lua require('spider').motion('w')<CR>

The word "over" was skipped. The cursor should have jumped to:

To Reproduce
No response
neovim version
NVIM v0.9.0-dev-2535+geb1da498d-Homebrew

Make sure you have done the following

[X] I have updated to the latest version of the plugin.

Thanks!
But I'm afraid there is a new issue. I hope the below screenshot illustrates the problem well enough.

After reaching the indicated positions, pressing 'W' no longer does anything.
However, moving a single character back will fix the next 'W'.
I suppose there is just some off-by-one error at the end of a line when there is punctuation character.
The 'b' motion seems to be working perfectly.

I feel like I fixed it by just removing the '+' from the pattern at line 82:
-- punctAtEnd = "%f[^%s]%p+$",
punctAtEnd = "%f[^%s]%p$",

I don't honestly fully understand the pattern syntax, and I'm not sure if this breaks something unforeseen to me, but it feels like it works very well.

I can't reproduce the issue, it works fine for me. Looking at your screenshot, I suspect you might have virtualedit=onemore turned on. Could you try turning it off?

btw, the %f[] stuff is called the frontier pattern in lua, it's a little bit like \b in js regex, but more flexible: https://www.lua.org/manual/5.4/manual.html#6.4.1
so "%f[^%s]%p" basically means "a whitespace character, followed by a punctuation character, but only include the punctuation character in the match". It's a cool way of emulating regex lookbehinds in lua patterns :)

I use virtualedit = "all", and you're right, that does affect it. The end of line off-by-one error does not occur with virtualedit disabled.
There is a off-by-one error in leading punctuation though. (With or without virtualedit)

Sure.

Actually I think you fixed the issue. Even with virtualedit = "all", it seems to work just fine after this commit


JSON serialize error on flask.Response objects

Description
JSON serialize error on flask.Response objects
Expected bahaviour
From the documentation:

"If the endpoint returns a Response object this response will be used as is."

Actual behaviour
The response is parsed in connexion.decorators.decorator.get_full_response() and the response object itself is mistakenly set as the response's data instead of response.data:
This later throws a JSON serialize error when trying to JSON serialize the data variable (mistaken Response object)
Steps to reproduce
Additional info:
Output of the commands:

python --version
Python 2.7.12
pip show connexion | grep "^Version\:"
Version: 1.0.129

I got it to work by replacing these lines
with this:
response = data
data = response.data
status_code = response.status_code
headers = response.headers

@heyglen Thank you for reporting it.


[terra-form-select] Improve mobile usability for long freetext responses

Feature Request
Description
When using the form-select on mobile devices, it can become difficult to use the control when dealing with long freetext responses.
Additional Context / Screenshots

@ Mentions

We'll need UX input to determine ideal size for long text items.


Refactor API Documentation to not contain duplicated values in arrays

As Developer,
I want to be able to understand the API and don't have duplicated values in arrays
so that it is clear what to implement.
Hints / Details

Example values shall not be shown 5 times
https://catenax-ng.github.io/tx-item-relationship-service/docs/api-specification/api-specification.html
To prevent this from happening example data should be added at higher struct level (mock the array not items themselves). This also require refactoring of open-api annotations on controllers levels.
Bad Example:

"subjectId" : {
        "keys" : [ {
          "type" : "urn:bamm:com.catenax.vehicle:0.1.1",
          "value" : "Submodel"
        }, {
          "type" : "urn:bamm:com.catenax.vehicle:0.1.1",
          "value" : "Submodel"
        }, {
          "type" : "urn:bamm:com.catenax.vehicle:0.1.1",
          "value" : "Submodel"
        }, {
          "type" : "urn:bamm:com.catenax.vehicle:0.1.1",
          "value" : "Submodel"
        }, {
          "type" : "urn:bamm:com.catenax.vehicle:0.1.1",
          "value" : "Submodel"
        } ],
        "type" : "type"
      }

Feature:

eclipse-tractusx/sig-release#450

Outcome / Acceptance Criteria

Outcome

...

Acceptance Criteria

...

Out of Scope

...

PR: https://github.com/catenax-ng/tx-item-relationship-service/pull/813

@mkanal story is ready for review
docs can be found here: https://catenax-ng.github.io/tx-item-relationship-service/docs/api-specification/api-specification.html


DOC question; psake v4.4.1 on nuget but no tag/release and here it is the 'next' milestone?

hi! I am about to start using psake and would like the nuget clarified, is it 4.4.1 and then this repo is 4.4.2? If so then we need a tag/release for 4.4.1, right?
ty!
AnneTheAgile
1.[] ; ; ; ; ; X.Releases · psake/psake ; ; https://github.com/psake/psake/releases
2.[] Nov. 19, 2014; ; ; ; ; X.NuGet Gallery | psake 4.4.1 ; ; http://www.nuget.org/packages/psake

Tagged. https://github.com/psake/psake/tree/v4.4.1


[WIP] Position backdrop image/video according to motif area

Still contains all commits from #1581
REDMINE-17865

Coverage remained the same at 99.193% when pulling a9212c6d7ff178d1d397b90a8806b4da06eb7690 on tf:motif-pos into 4b6d674fb5c164e736a005d10cdf463a36096394 on codevise:master.


Raw Script Tag Redered On Page

What is the actual(incorrect) behavior?
Raw script tag code displayed on page immediately after logging in,
What is the expected(correct) behavior?
I don't know, probably don't want to render script code
Please provide your browser and OS versions:
Chrome version 76.0.3809.132
Windows Version 10.0.17763 Build 17763
Include any logs/screenshots below:

Story
As a retroQuest user
I need to not see raw script code
So that there is a cohesive user experience with no pre-populated retro cards/tiles with raw script
Acceptance Criteria
When a user starts a retro
Then there should be no pre-populated retro cards/tiles with raw script

Closing as this was apparently testing by another teammate to see if retro was handling XSS, good job, sorry for false alarm issue


APM NPI TIN Validation update

Information

QPPSF-5374

Changes proposed in this PR:

Adds tins to the validation.
Allows for the same APMs to be validated across multiple tin/npi combinations
APMs are used as the key value of the APM->TIN/NPI list validation because only one APM is allowed but multiple TIN/NPIs are allowed to be submitted.

Checklist

[x] All JUnit tests pass (mvn clean verify).
[x] New unit tests written to cover new functionality.
[x] Added and updated JavaDocs for non-test classes and methods.
[x] No local design debt. Do you feel that something is "ugly" after your changes?
[n/a] Updated documentation (README.md, etc.) depending if the changes require it.

@saquino0827 quick question, are we loading the tin-npi file from fms?

@bijujoseph currently no but this is the test out validation changes in dev and imp using our current method in with encrypted s3. There is another story that @omnivion is working on to change our data storage from encrypted s3 to FMS.

@bijujoseph I neglected to mention that we do not load the actual TIN/APM/NPI file in dev and imp. We use dummy data.


Adapt PointContextMenu to mobile touch-events !TEST!

https://github.com/osmandapp/OsmAnd-Issues/issues/2137


[Feature] Configuration "get just main pools without childs"

Thanks for great work! I have more then 50 entities from truenas datasets. Is it possible to get just main datasets (pools)?

No, since they are all datasets. Many of them may be useful for people.
You can always hide or disable ones you dont need if they are in the way.
Pools are different entities, you can find them in system category.

pools in the system menu doesn`t have Used and Available for my percentage "battery entity". How to disable 49 datasets and leave just one?

You can find those options in entity settings:

Thank you! How often he scans for new datasets? Or he did for the first time and won`t scan any more?

there is no dataset scan. everything gets updated on every pull.
but once you disabled or hidden the entity, it will stay that way. HA will discard all data when disabled. Hidden will still update, you just wont see it in dashboard.

ok


Add audit log docs for MI

Doc PR for https://github.com/wso2/micro-integrator/pull/2412
Issue:
https://github.com/wso2/micro-integrator/issues/2434
https://github.com/wso2/micro-integrator/issues/2437

@madushadhanushka please add an entry for this feature in the About this Release page: https://github.com/wso2/docs-apim/blob/master/en/docs/get-started/about-this-release.md


[Se] Investigate feasibility of maintaining data ordering in OpenAPI→TypeSpec→OpenAPI process

Context
The TypeSpec team has a plan for converting existing Azure services to TypeSpec. The process involves manual refinement of TypeSpec files (TSPs), validation through human reviews, and various work items assigned to different teams for approval and automation. The primary goal is to ensure that the converted TypeSpec generates an OpenAPI specification functionally equivalent to the original, maintaining round-trip correctness.
Description
The TypeSpec team needs to investigate whether it is feasible to maintain the ordering of data during the conversion process from OpenAPI to TypeSpec and back to OpenAPI. Maintaining data order can make it easier for reviewers to validate the conversion and ensure round-trip correctness. This investigation will help determine if maintaining data order can reduce the burden on reviewers and improve the overall conversion process.

We have introduced sorting capability to tsp-client and placed as the first step of conversion. In addition, many brownfield services have multiple json files which need to be combined as well. Trying to maintaining order back and forth as suggested is not only complex but no necessary.


fix: @[class] definitions were not treated as classes

On master, line 10 of typeclass_def.lean gives the following error:
typeclass_def.lean:10:12: error: invalid instance 'foo2', failed to retrieve class

The issue is that during getClassName, definitions are unfolded before checking whether or not they are classes.
Note: there may be reasons not to allow definitions to be classes, but if we decide not to allow it, the @[class] declaration should throw an error. Right now on master, @[class] succeeds but the class doesn't work.

I will keep this PR on hold.
Remarks:
1- We want to support "aliases" such as:
https://github.com/leanprover/lean4/blob/8c8d47562d4e1cf0adbd40b6a9a5af2cd30e3eff/library/Init/Core.lean#L297-L301
2- If C t_1 ... t_n is a class, we assume it is in weak head normal form.
Foo n in the new test violates this assumption.
I will think about it. I am inclined to forbid @[class] def Foo ..., but I have to think about it.
This is a great topic for including in our recurrent meeting :)


scipy.optimize.linear_sum_assignment hangs on undefined matrix

import scipy.spatial.distance
import numpy as np
import scipy.optimize

X = np.zeros(dtype=float, shape=(3, 3))
Y = np.zeros(dtype=float, shape=(3, 3))
cost_matrix = scipy.spatial.distance.cdist(X, Y, metric='cosine')
matching = scipy.optimize.linear_sum_assignment(cost_matrix)

results in the code entering infinite loop. Anyone could go for a grab!

fixed by gh-7031


Is order placement supported?

I was just looking through the code, and it looks like the CreateOrder functions are not implemented yet.
Is it correct, that this library cannot yet be used to place orders?

You can use TradeAPI's CreateLimitOrderAsync.

I don't understand? On Line 502-503 of tradeApi.cs we have:
 _result.SetFailure("not supported yet", ErrorCode.NotSupported);
 _result.supported = false;

It looks like CreateLimitOrderAsync is not supported yet.

You are misunderstanding. cheer up

Yes, I am happy to hear that.
I have made a pull request with an order placement example in bitmex, in case that is helpful.


feat: Add some command aliases and move the long line of nargo info to long_about

Description

Problem*
Add some aliasing
nargo info  has a about line that look like this which is long

this pr will make it look like this

and users can still see the details if they run nargo info --help

Resolves
Summary*

Documentation

[ ] This PR requires documentation updates when merged.

[ ] I will submit a noir-lang/docs PR.

[ ] I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

I think we should be careful with aliases until the tooling team nails down the high-level command for nargo. While it doesn't seem likely these would conflict, we can't say for certain right now.

Agree on being cautious on introducing aliases at this time. I'm going to remove them from this PR so we can merge the long_about change.


Update pipeline.md

fixes typo

@kmarquardsen Appreciate your PR. I think the other PR - https://github.com/kubeflow/website/pull/2198 - by @CBischke is already addressing the same issues in (and more https://github.com/kubeflow/website/pull/2187#pullrequestreview-486238778) cc @PatrickXYS . Therefore, maybe we should close this one and carry on working on https://github.com/kubeflow/website/pull/2198

@kamalmemon feel free to start contributing to https://github.com/kubeflow/website/pull/2187. I've been a little busier than expected and having had time to sit down and add updates to it yet.

@8bitmp3 @kmarquardsen this has been fixed on #2247. We can close this one. Not sure I can do it myself but will try :)
/close


Add versioning spec

Outlines CsWinRT release process and alignment with .NET release cadence
Sets guidelines for incrementing AssemblyVersion/AssemblyFileVersion for runtime and projection assemblies
List developer scenarios affected by version changes

I ❤ this documentation! very helpful

Throughout the doc, anywhere we just say SDK, I think we should change it to Windows SDK or .NET SDK as appropriate to avoid any confusions as to what we are referring to.


Differences in DataCatalog identifier presentation

I was showing @Drosophilic the BKGExplorer this morning and he picked up that FAIRsharing has a strange looking identifier 'https://bioschemas.org/crawl/v1/10008/fairsharing.org/2138977099' instead of others like Guide to Pharmacology that are of the form 'http://www.guidetopharmacology.org'. Looking at the underlying markup of these two resources, it is not immediately obvious to me why they are different.

I agree the published identifier is wrong. It is using one of our generated ids that we deploy when we can't find an @ id.
When I tried to rescrape the page today, this issue was already fixed. I tried 10 times and each time it used the @ id of the source page (ie https://fairsharing.org/).
However, as the markup uses identifier, should I use that property value instead?


documentation in getting started should have the root URI

I faced https://github.com/dropwizard/dropwizard/issues/1058 and only after debugging into the dropwizard code, did I realise the problem. But the getting-started guide says nothing about this. It should be modified accordingly so that others don't have to go through this problem.

The "Getting Started" guide presumes that the default server factory is used in configuration.
For it API endpoints are served for the root. For simple server factory it's different (from /application). Now we log the application/admin path during the application startup, which should reduce confusion.


translate-data-strategies-250-in-Chinese

translation check required.

this one was edited and good to go. I'll change the status to 'done'.


Revert "Create auto-triage-issues (#120)"

This reverts commit a0110a77ec44f8d075f7bfce439fdfb35ca362b9.

@hubjacek Can you please explain in detail why you want this commit to be reverted.

We are manually adding labels to the issues and not relying on bots. So closing this PR.


onError tasks indication

In the output indicate (somehow) that the tasks was part of onError block.
Good addition to #4

closing in favour of #196


How to Remove Genre

Sorry i'm beginner and learning student.
Remove genre just all playlist show Album, maybe open first APP : Album => Music List => Play
And Add Favorite + Download + Playlist.
Thanks

Hey. Sorry, but the issues here are intended for problems or feature requests for the Android Universal Music Player, not for general support issues. I'd recommend checking out Stack Overflow and asking your question there.


getting module_not_found error

playwright-slack-report was installed and is available in the node_modules folder

i want to ask that is the documentation up to date with the latest implemenation? and is it fully compatible with playwright in javascript instead of typescript

@irtezakhan , this will only work using Typescript based Playwright projects.


[deb] mraa deb pkg

We should support the making of a deb pkg for submission into debian repos.

Hi,
I don't know if it is the right place to submit this comment... sorry if it is so.
Last week I have built a deb package without any problem, today I am getting an error message that I cannot debug. I am using a RaspBerry Pi3 with debian stretch distribution installed.
I am compiling the last version of node and swig before dealing with mraa. mraa compilation and standard installation is OK, ipk package generation is OK but it fails for deb package. I have also checked with checkinstall that also fails.
Here are the commands and traces :
mkdir build
cd build
cmake -DIPK=ON -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install
sudo make package
.[ 22%] Built target mraa
../...
[100%] Built target I2c-compass
Run CPack packaging tool...
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: mraa
CPack: - Install project: mraa
CPack: Create package
CPack: Package mraa_<IP_ADDRESS>_armv7.ipk generated.
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
Makefile:105 : la recette pour la cible « package » a échouée
make: *** [package] Abandon

I am trying to maintain a stretch image with mraa and upm for raspberry Pi3 ant that would help a lot to be able to build deb package. Thanks for any help.
Best regards

The IPK generation feature in the build system is a bit rusty and isnt really used that much any more.
A better way to create the DEBs it to use the debian build system
https://launchpad.net/~mraa/+archive/ubuntu/mraa/+files/mraa_1.3.0-2.debian.tar.xz
Is a copy of the latest debain/* files that is used for the PPA. These should work for Debain too.

We simply don't support building DEBs in this way. Packaging mraa in this way is really not recommended. Using the packages from our ubuntu PPA are a much better starting point.

OK
Thanks for the quick answer and great work. I'll try to adapt myself to this evolution... for the moment we will use the original git sources.


Own directory for transactions

We should have an own directory for the transactions and put the types in separate files. This really improves the library’s structure.

resolved with commit: restructure transactions and request modules


Crash on old iPhone

Running the example project on iPhone 6,  ios 12.5.7, crash with no stack information, just assembly:
dyld`:
    0x100fba410 <+0>:  mov    x16, #0x209
    0x100fba414 <+4>:  svc    #0x80
->  0x100fba418 <+8>:  b.lo   0x100fba430               ; <+32>
    0x100fba41c <+12>: stp    x29, x30, [sp, #-0x10]!
    0x100fba420 <+16>: mov    x29, sp
    0x100fba424 <+20>: bl     0x100fb9850               ; cerror_nocancel
    0x100fba428 <+24>: mov    sp, x29
    0x100fba42c <+28>: ldp    x29, x30, [sp], #0x10
    0x100fba430 <+32>: ret

@ryanhz I know this issue is from last year but the problem you're facing is that this functionality requires IOS 13 or newer to use the relevant APIs.

@ryanhz I know this issue is from last year but the problem you're facing is that this functionality requires IOS 13 or newer to use the relevant APIs.

Yes, I was aware of the requirement.  The issue is more in how to gracefully bypass old iPhone with this plugin?

This is an instant crash, The only thing you can see is a flash of the app being opend and closed in the same instant.
I think there is a workaround? as mentioned here:
https://github.com/semlette/nfc_in_flutter/issues/20#issuecomment-570816518


OperationRegistration field is optional

There's no comment "This member is optional and can be NULL". Though it might seem totally meaningless to register a minifilter without any operation callbacks but nevertheless it can be set to NULL

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

ID: 020480f3-b724-f282-cce8-43d7cde038d2
Version Independent ID: 84eeb4e3-4d88-862c-276e-7496c0f35f9b
Content: _FLT_REGISTRATION
Content Source: wdk-ddi-src/content/fltkernel/ns-fltkernel-_flt_registration.md
Service: unspecified
Product: windows-hardware
GitHub Login: @windows-driver-content
Microsoft Alias: windowsdriverdev

Thanks @21street, I've included this in the topic update!


Mof Compare Script

Script checks if newly built mof files have differences to the mof files on the pull server. Necessary exeptions are in line 17 counting from the bottom.
param(
    [Parameter(Mandatory=$false)]
    [String]$PullServer = ''
)

Write-Output "Testserver? $($UseTestServer)"

$teamName = $env:TEAM
Write-Output "Detected team name: $($teamName)"

$buildMofsPath = (Join-Path -Path $env:ci_project_dir -ChildPath "$($teamName)\BuildOutput\MOF")
$oldMofsPath = "\\$($PullServer)\DscService\Configuration"

$buildMofs = Get-ChildItem -Path $buildMofsPath -Filter '*.mof' -File

foreach($mof in $buildMofs)
{
    $oldMof = Get-ChildItem -Path $oldMofsPath -Filter "$($mof.BaseName).mof" -File
    if($oldMof.Count -eq 0)
    {
        throw "Could not find mof file for $($mof.BaseName) in $($oldMofsPath)!"
    }
    elseif($oldMof.Count -ge 2)
    {
        throw "Found 2 or more mof file for $($mof.BaseName) in $($oldMofsPath)!"
    }

    $mofContent = Get-Content -Path $mof.FullName
    $index = $mofContent.IndexOf("instance of OMI_ConfigurationDocument")
    $lastLines = $mofContent.Length - $index
    $mofContent = $mofContent | Select-Object -Skip 6 | Select-Object -SkipLast $lastLines #Skip first and last lines as they contain the build date but no config data

    $oldMofContent = Get-Content -Path $oldMof.FullName
    $oldIndex = $oldMofContent.IndexOf("instance of OMI_ConfigurationDocument")
    $oldLastLines = $oldMofContent.Length - $oldIndex
    $oldMofContent = $oldMofContent | Select-Object -Skip 6 | Select-Object -SkipLast $oldLastLines

    $res = Compare-Object -ReferenceObject $mofContent -DifferenceObject $oldMofContent

    [string[]]$out = @()
    #Filter out some config data that changes after every build although yml files are the same
    foreach($r in $res.InputObject)
    { #Matches: Password, BuildDate&Time, Path to Dsc Modules (incl. runner path), StartTime of scheduled Task (varies based on build time), version, buildnumber, git commit id
        if(($r -match '^Password = ') -or ($r -match '^\s{4}\"\d{2}.\d{2}.\d{4}\s\d{2}:\d{2}:\d{2}\"$') -or ($r -match '^ SourceInfo = ') -or ($r -match '^ StartTime = \"\d{14}.\d{6}\+\d{3}\";$') -or ($r -match '^\s{4}\"\d{1,2}.\d{1,2}.\d{1,4}\"$') -or ($r -match '^\s{4}\"\d{1,4}\"$') -or ($r -match '^\s{4}\"\w{40}\"$'))
        {
        }else
        {
            $out += $r
        }
    }
    if($out.Count -ne 0)
    {
        Write-Output "Differences in MOF files $($mof.BaseName) found (see below)! Deploy will be triggered..."
        $out | foreach-object {
            Write-Output $_
        }
        $SKIPDEPLOY = $false #Deploy will be triggered
    }# If no mof has differences, do nothing as default value for SKIPDEPLOY is "True"
}
if($SKIPDEPLOY -ne $false)
{
    $SKIPDEPLOY = $true
    Write-Output "No differences in MOF files found. Skipping deploy..."
}
#$SKIPDEPLOY | Out-File -FilePath envVars.env
Add-Content -Path envVars.env -Value "SKIPDEPLOY=$($SKIPDEPLOY)"`

This is going to be part of the deploy task when running in a Azure DevOps Release Pipeline.


iOS Allow for Use with Umbrella Headers

Is your feature request related to a problem? Please describe.
For client iOS Swift projects that are Frameworks (not Applications), using a bridging header is not possible. Any Objective-C interop must be declared in the Framework's umbrella header. However, doing this results in an error like Include of non-modular header inside framework module 'MyFramework': 'MyFramework/Pods/MicrosoftCognitiveServicesSpeech-iOS/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechAPI.h'
Describe the solution you'd like
Your SDK should specify module headers using clang's modulemap convention. Also specify the module_map property explicitly in the CocoaPods podspec. Do so would solve this issue with no further action needed by a client framework.
Describe alternatives you've considered
Setting Allows Non-modular Includes in Framework Modules is usually prescribed in these situations, but it is considered a bad design and in my specific case will not work.
Additional context
For an example of this issue, see the ndw-bing branch of spokestack-ios.

git clone https://github.com/spokestack/spokestack-ios.git
cd spokestack-ios
git checkout ndw-bing
pod install
Then the xcworkspace may be opened and built.

Thanks for your feedback and sorry for the delay in response, we will look into this. Is this currently a blocking issue for you?

Thanks for your response! Yes, it is a blocking issue.

On Dec 4, 2019, at 2:20 PM, pankopon<EMAIL_ADDRESS>wrote:
Thanks for your feedback and sorry for the delay in response, we will look into this. Is this currently a blocking issue for you?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/452?email_source=notifications&email_token=AAA5IKGKXBBVAA2R3S4ONBTQW77GFA5CNFSM4JSMAEKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF6F4RQ#issuecomment-561798726, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA5IKCXDGWFMYGWSIDRXVLQW77GFANCNFSM4JSMAEKA.

@pankopon Any chance we could check back in on this? We would love to include move forward asap. Thanks!

The support has been now released in 1.16.0 Speech SDK release.

@noelweichbrodt, we added this feature to our 1.16. release. Please see our release notes for details. Thank you for your feedback!


Another workaround for GDB

Regarding the Set Up GDB page. There's another solution from osdev wiki I'm using that also works: http://wiki.osdev.org/QEMU_and_GDB_in_long_mode#Workaround_1:_Reconnecting
With this we don't need to compile a custom version of GDB. Also rust-gdb seems to be included by default with recent installations of rust (running rust-gdb just works!). So we also don't need to use the custom script from the fork of gdb.
My make gdb target:
gdb:
	@rust-gdb "build/kernel-x86_64.bin" \
	-ex 'set arch i386:x86-64:intel' \
	-ex 'target remote localhost:1234' \
	-ex 'break rust_main' \
	-ex 'continue' \
	-ex 'disconnect' \
	-ex 'set arch i386:x86-64' \
	-ex 'target remote localhost:1234' \
	-ex 'tui enable'

I'm not too familiar with GDB or writing OS in general, so I don't know if there's any downsides to this. Maybe you can't debug the assembly, and only rust source?

From https://michaelwoerister.github.io/2015/03/27/rust-xxdb.html

Unbeknownst to most Rustaceans, two little helpers have found their way into almost any Rust installation over the last few months: rust-gdb and rust-lldb. These are two small wrapper scripts that will start the underlying debugger with Rust pretty printers enabled

Note that the rust-gdb/rust-lldb scripts will always use the debugger in your PATH, e.g. rust-gdb internally just calls gdb without any qualifications.

Looks like rust-gdb is a wrapper around the system default gdb. It seems like a good idea in general to use rust-gdb since it makes gdb's output of Rust objects more readable.  I'll probably start using this wrapper in my Makefile :-)
Regarding the workaround using disconnect, I prefer the patched rust-os-gdb solution.  It takes more time to setup, but after compilation and editing my Makefile I forget that I'm even using a separate binary.
With the disconnect workaround, you have to manually disconnect and reconnect after reaching the breakpoint.  You're correct that your make rule can't debug the assembly init code, and we should not assume that a developer immediately wants to break at rust_main.
If you still prefer the disconnect workaround because compiling rust-os-gdb is too slow, I've had some thoughts on how to better provide rust-os-gdb:

Host the rust-os-gdb binary somewhere
Include the building of rust-os-gdb in the docker build when we get docker support (okay so this doesn't actually speed up setup, but it does reduce the number of steps needed)
Use a PPA?  I don't have much experience with these but it seems popular for distributing community packages on Ubuntu

Cool, didn't know about this reconnect trick, thanks! I think we should mention it in the “Set Up Gdb” post.
Regarding rust-gdb: Yeah, it is included for a long time. The script in the fork is just a copy of the builtin script, that uses the modified gdb instead of the system one.

I've had some thoughts on how to better provide rust-os-gdb

Hosting the binary is a good idea. We could use github releases and set up CI (travis and e.g. appveyor) to build the binaries for all common platforms. Integrating it into the docker build makes sense, too. I don't know much about PPAs either, unfortunately…


Question: why

Expected Behavior
follow https://kubeovn.github.io/docs/v1.10.x/guide/vpc/ on a all-in-one kind cluster
vpc1-pod created successfully but vpc2 failed to create ,looks like not able to allocate ip address
is it expected behavior on a single node cluster?
ns1                  vpc1-pod                                     1/1     Running             0          9m50s
ns2                  vpc2-pod                                     0/1     ContainerCreating   0          5m27s

  Type     Reason                  Age                  From                 Message
  ----     ------                  ----                 ----                 -------
  Normal   Scheduled               3m7s                 default-scheduler    Successfully assigned ns2/vpc2-pod to kind-control-plane
  Warning  FailedCreatePodSandBox  2m47s                kubelet              Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "ab801afaa71962ba869caaf6ec3680764e6dfb533495c442bdbfddaa6f13c36e": request ip return 500 no address allocated to pod ns2/vpc2-pod provider ovn, please see kube-ovn-controller logs to find errors
  Warning  FailedCreatePodSandBox  2m13s                kubelet              Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "3cff809cb7bcffdd2c3249a68630c9aa253536e99871e955cb04a6b839c254be": request ip return 500 no address allocated to pod ns2/vpc2-pod provider ovn, please see kube-ovn-controller logs to find errors
  Warning  AcquireAddressFailed    2m2s (x2 over 3m7s)  kube-ovn-controller  NoAvailableAddress
  Warning  FailedCreatePodSandBox  101s                 kubelet              Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "67b231f4dcf229bacf4016a9db021eeef628b06196ca3a0172f45cea175940ee": request ip return 500 no address allocated to pod ns2/vpc2-pod provider ovn, please see kube-ovn-controller logs to find errors
  Warning  FailedCreatePodSandBox  67s                  kubelet              Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "2ba9246a8a4d8d2f55381b0e51987f929bb1d9751e526bab248475df3224c6ed": request ip return 500 no address allocated to pod ns2/vpc2-pod provider ovn, please see kube-ovn-controller logs to find errors
  Warning  FailedCreatePodSandBox  32s                  kubelet              Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "2be6e2b4fc606ad97b0f200321fc3646e810bda32a08fc91dc429d1915af8710": request ip return 500 no address allocated to pod ns2/vpc2-pod provider ovn, please see kube-ovn-controller logs to find errors

Actual Behavior
Steps to Reproduce the Problem

Additional Info

Kubernetes version:
Output of kubectl version:
(paste your output here)

kube-ovn version:
(paste your output here)

operation-system/kernel version:
Output of awk -F '=' '/PRETTY_NAME/ { print $2 }' /etc/os-release:
Output of uname -r:
(paste your output here)

Please add ns2 to test-vpc-2 namespaces:
apiVersion: kubeovn.io/v1
metadata:
  name: test-vpc-2
spec:
  namespaces:
  - ns2

I added the other day .. but got same result :(

Could you please attach the latest logs of kube-ovn-controller?

um... my bad, I checked my env again and it seems it works after I opened this issue
as you can see ,07:51:31 there is log complain about no available address
but 08:00:56 it got reconciled and fixed the problem.. I waited around 5 min and still see pod not running
then I opened this ticket.. if you can confirm this is work as design, I will close this one
I0716 07:50:26.107583       8 pod.go:293] handle add pod ns2/vpc2-pod
E0716 07:50:26.107691       8 pod.go:305] error syncing 'ns2/vpc2-pod': NoAvailableAddress, requeuing
I0716 07:50:26.107778       8 event.go:285] Event(v1.ObjectReference{Kind:"Pod", Namespace:"ns2", Name:"vpc2-pod", UID:"685d6fb0-961a-448b-89ae-44f030326cde", APIVersion:"v1", ResourceVersion:"33484", FieldPath:""}): type: 'Warning' reason: 'AcquireAddressFailed' NoAvailableAddress
I0716 07:51:31.561373       8 pod.go:293] handle add pod ns2/vpc2-pod
E0716 07:51:31.561546       8 pod.go:305] error syncing 'ns2/vpc2-pod': NoAvailableAddress, requeuing
I0716 07:51:31.561577       8 event.go:285] Event(v1.ObjectReference{Kind:"Pod", Namespace:"ns2", Name:"vpc2-pod", UID:"685d6fb0-961a-448b-89ae-44f030326cde", APIVersion:"v1", ResourceVersion:"33488", FieldPath:""}): type: 'Warning' reason: 'AcquireAddressFailed' NoAvailableAddress
I0716 08:00:56.798698       8 subnet.go:274] format subnet net2, changed false
I0716 08:00:56.809790       8 ipam.go:193] adding new subnet net2
I0716 08:00:56.877873       8 ovn-nbctl.go:696] add net2 to test-vpc-2 with ip=<IP_ADDRESS>/24, mac=00:00:00:A9:A3:1D
I0716 08:02:26.921702       8 pod.go:293] handle add pod ns2/vpc2-pod
I0716 08:02:26.921881       8 ipam.go:50] allocate v4 <IP_ADDRESS> v6  mac 00:00:00:4B:0E:EF for ns2/vpc2-pod
I0716 08:02:26.947923       8 pod.go:299] take 26 ms to handle add pod ns2/vpc2-pod
I0716 08:02:26.947970       8 pod.go:363] handle update pod ns2/vpc2-pod
I0716 08:02:26.948011       8 pod.go:765] update pod ns2/vpc2-pod
I0716 08:02:26.955284       8 pod.go:370] take 7 ms to handle update pod ns2/vpc2-pod


Feature - Concurrent Builds

Scope
This PR fixes #11 by setting the make -j (jobs) flag based on the ASDF_CONCURRENCY environment variable.
This ASDF_CONCURRENCY was added in asdf-vm/asdf#75, in response to asdf-vm/asdf#57, and was added to the documentation for creating plugins in asdf-vm/asdf#147.
Effect
This allows the make steps (the most time-consuming steps) of the build/install process to better scale depending on the hardware of the target machine.
On my personal rig, it went from a single make job to using 16, which greatly reduced the time needed to complete the build/install process:

@odarriba Any thoughts on this? Its pretty tiny and straight forward.

Looks good! Merging 👀
Thanks for your work ❤ 💛 💜

Thanks!


ARM Validation issue - The repository url must be a DevOps repository

Describe the bug

I am trying to deploy my Static Web App ressource using an ARM template.
To Reproduce
Steps to reproduce the behavior:

Create the following ARM template
Validate it
See error

Here is a part of the ARM template :
        {
            "type": "Microsoft.Resources/deployments",
            "apiVersion": "2021-04-01",
            "name": "nestedTemplateSWACms",
            "properties": {
                "mode": "Incremental",
                "template": {
                    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
                    "contentVersion": "<IP_ADDRESS>",
                    "resources": [
                        {
                            "type": "Microsoft.Web/staticSites",
                            "apiVersion": "2021-03-01",
                            "name": "[parameters('SWAName')]",
                            "location": "[parameters('SWALocation')]",
                            "tags": "[parameters('ResourceTags')]",
                            "sku": "[parameters('SWASku')]",
                            "properties": {
                                "repositoryUrl": "[parameters('SWARepoUrl')]",
                                "branch": "[parameters('SWARepoBranch')]",
                                "stagingEnvironmentPolicy": "Enabled",
                                "allowConfigFileUpdates": true,
                                "provider": "DevOps",
                                "enterpriseGradeCdnStatus": "Disabled"
                            }
                        }
                    ]
                }
            }
        },

Note that the SWARepoURL variable is :
https://<mycontext>.visualstudio.com/<project>/_git/swa-widget
Then, the error message :
ValidationForResourceFailed - Validation failed for a resource. Check 'Error.Details[0]' for more information.
ValidationForResourceFailed - The repository url must be a DevOps repository.

Expected behavior
The Static web app deployment
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Well, disabling the repository by setting the Provider to 'None' seems to be a workaround to deploy the service.
Is there a new control on the repository URL and especially on the domain ?
https://dev.azure.com/{organization} (NEW version) versus https://{organization}.visualstudio.com (OLD one)

Ran into the same issue.
Using https://{organization}.visualstudio.com fails template validation. Using https://dev.azure.com/{organization} asks for a repository token.
Subsequent incremental deployments fail when setting provider to 'none' or properties to an empty object. "Provider is invalid.  Cannot change the Provider. Please detach your static site first if you wish to use to another deployment provider."
Incremental deployments are off the table until the template validation issue is resolved. The AzureStaticWebApp build pipeline task sets the url to https://{organization}.visualstudio.com

I've also started getting this error.  Because our code is in GitHub and deployed using Azure DevOps the 'provider' is set as 'Devops' but the 'repositoryUrl' is a GitHub url.
Apart from it being annoying having to define these in the bicep template, even though we are just uploading the code and not having the Static Web App 'build' it, this used to work until a few days ago.

It looks like our most recent ARM release has added some invalid validation that is causing this issue. We will work on

fixing the DevOps repo validation
relaxing these requirements overall, a lot of these were in place before deployments from DevOps were allowed and not valid for most scenarios

Just to give some additional input on this issue. Below is an example of a minimal ARM template configuration that is not working anymore.

{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {
        "name": {
            "type": "string"
        },
        "sku": {
            "type": "string",
            "defaultValue": "Free"
        },
        "skucode": {
            "type": "string",
            "defaultValue": "Free"
        }
    },
    "resources": [
        {
            "type": "Microsoft.Web/staticSites",
            "apiVersion": "2021-01-15",
            "name": "[parameters('name')]",
            "location": "westeurope",
            "sku": {
                "name": "[parameters('sku')]",
                "tier": "[parameters('skuCode')]"
            },
            "properties": {
                "repositoryUrl": "https://dev.azure.com/xxx/xxx/_git/xxx",
                "branch": "master",
                "provider": "DevOps"
            }
        }
    ]
}

Setting the provider to 'None' is not a workaround for all use cases.
My use case:

I have an azure pipeline that does PR builds.
When a branch is updated, it provisions the infrastructure defined in a bicep template file -- creating if it does not exist, or updating if it does.
The code in that branch is deployed to the PR infrastructure
On further pushes to the branch (in response to comments, etc) the code is re-deployed.

With provider == 'None', the initial push works as expected.  Further pushes result in the error:
##[error]BadRequest: Provider is invalid.  Cannot change the Provider. Please detach your static site first if you wish to use to another deployment provider.

Unfortuanately it's not possible to set the provider to 'DevOps' and point to our repo URL as repositoryUrl, because only 'https://dev.azure.com/...' repo locations pass validation for the repository URL, and we have an org URL instead.
I've worked around this by adding an AzureCLI task that checks for the existence of the expected infrastructure, sets a variable, and then a condition on the Resource Manager Template deploy that skips it if everything exists.  That's obviously not ideal, though.

Any updates on this?

This should be fixed now! Again sorry for the inconvenience.

This is still not working for me. I have removed provider, repositoryUrl and branch from our bicep template but when I deploy the template to a static web app that has code deployed to it I still get the error:
RepositoryUrl is invalid. The repository url does not match the format of a DevOps repository.

Can you change the provider to 'Custom'? We will be adding clearer docs on how we recommend to work with ARM/BICEP in the future.

@miwebst Chaning provider to 'Custom' has worked.  Thank you.


Add Zstd support to ContentCompressionExec.

This update allows automatic selection of Zstd as a compression algorithm when available.

Closing in favor of https://github.com/apache/httpcomponents-client/pull/580


Upgrade Envoy gRPC API to V3

This seems to work with Envoy v1.21.1 (at least I can see what I'm expecting in Envoy UI).

Sample Envoy config for backends
admin:
  access_log_path: /dev/null
  address:
    socket_address:
      address: <IP_ADDRESS>
      port_value: 9901

dynamic_resources:
  ads_config:
    api_type: GRPC
    transport_api_version: V3
    grpc_services:
      - envoy_grpc:
          cluster_name: xds_cluster
  cds_config:
    resource_api_version: V3
    ads: {}
  lds_config:
    resource_api_version: V3
    ads: {}

static_resources:
  clusters:
    - name: xds_cluster
      connect_timeout: 0.25s # Default 5s
      type: STATIC
      lb_policy: ROUND_ROBIN
      http2_protocol_options: {}
      upstream_connection_options:
        # configure a TCP keep-alive to detect and reconnect to the admin
        # server in the event of a TCP socket half open connection
        tcp_keepalive: {}
      load_assignment:
        cluster_name: xds_cluster
        endpoints:
          - lb_endpoints:
              - endpoint:
                  address:
                    socket_address:
                      address: <IP_ADDRESS>
                      port_value: 7776

TODO:

[x] Fix tests a bit more
[ ] Proper testing
[ ] Ingress config generator
[ ] Run end-to-end tests with SSL enabled

I still have not gotten around to testing this. We will look at it in late summer. Thanks again @mihaitodor !

Take your time @relistan. Happy to help with the testing & deployment. Just let me know :) I have the latest test harness here if more quick experiments are needed: https://github.com/mihaitodor/sidecar_demo

hey @mihaitodor thanks for spending time on this, I am starting to get my head around finally upgrading community's envoy stack as we're stuck on v1.15.x which is now really old. We made a lot of changes to sidecar in the past year to support k8s but I don't think your changes here would affect that. I don't suppose you could please rebase your branch against master? Then I can try test it out. Thank you

Hey @danpilch Let's go with your PR. Feel free to close this one.


hierarchicalMenu on multiple attributes filters only on first attribute

Description
The problem can be replicated on https://codesandbox.io/s/ms-is-forked-w2zq8w?file=/src/app.js. If I filter on the second level of the  hierarchicalMenu (values of attribute "platforms") I get back to the first level of the hierarchicalMenu ("players") and in the HTTP comunication I notice that the filter of the second level of the hierarchicalMenu is applied on the first level ("players" attribute) instead of the correct attribute "platforms".
Expected behavior
It is expected that filtering in the hierarchicalMenu UI on a specific level (and attribute) really filters on the attribute of that level
Current behavior
Filtering on the second level of the hierarchicalMenu filters on the first level attribute (and not the second level  attribute)
Screenshots or Logs
Network communication

Environment (please complete the following information):

OS: Windows 11
Browser: Chrome Version 116
instant-meilisearch version: 0.12.0 / 0.13.5

Hello, this is indeed a bug
We are available to review PR fixing it 😊


ZXLive file structure image is out of date

@RazinShaikh could you explain what this issue is about a bit more?

There is an image called ZXLive_file_overview.png in the base directory of the repo. It explains the structure and the purpose of each file. But the repo has changed significantly since the image was first created.
https://github.com/Quantomatic/zxlive/blob/master/ZXLive_file_overview.png


BaseTransition: Fixes double dispatched event

Changes

When no transition event is present transitionEnd was dispatched twice. This fixes that.
Move public static constants outside constructor.

Test

gulp build and look at dev console in IE9. There should be no js script error.

Review

@jimmynotjim

:+1:

@sebworks found one more issue where if transitions weren't supported the transitionEnd event would fire before it was being listened for, so expandEnd would never fire. Pushed up https://github.com/cfpb/cfgov-refresh/pull/1641/commits/9d1f7739b799cc27989eff22bea6efb38a5fa7ff that fixes the order. Should fix the desktop menu in IE9 (mobile size on IE9 still has issues).

:+1: If #1639 doesn't fix the mobile issues, we should note those in issue.

The remaining issue I'm seeing on IE9 is:

Resize to mobile
Expand mega menu
Click to second level menu (e.g. About Us)
Click search button (mega menu collapses, search expands)
Click mega menu button (search collapses, mega menu should expand but ONLY OVERLAY SHOWS)

Late to the game but LGTM


Create anshu_MAN.css

changed colors

@Anshuman-utd Please note that this is not in line with our code of conduct. To ensure clarity and proper assignment tracking, please attach the issue number to your PR description. This helps us confirm that the issue is assigned to you. Kindly update your PR with the issue number and resubmit.
Example:
Fixes #123 - Brief description of the fix.


Unable to format ignored decorator in class

Operating system: MacOS 10.14.3
Python version: 3.6.6
Black version: 18.9b0
Does also happen on master: Yes
Input:
class MyClass:

    # fmt: off
    @mydecorator
    # fmt: on
    def test_decorated(self):
        pass

foo = 'foo'

Result:
 INTERNAL ERROR: Black produced code that is not equivalent to the source.  Please report a bug on https://github.com/ambv/black/issues.  This diff might be helpful: /var/folders/d6/wn1mqq2j05n50jjvrtk94scr0000gn/T/blk_xq234z_q.log
This is the minimal reproducing case I could reduce it to. Not exactly sure where the issue is, but I figured it would be helpful to file. Thanks for working on Black!

Looks like the indentation is messed up after # fmt: on in this case.
input:
class X:
  # fmt: off
  @lol
  # fmt: on
  def f():
    pass
f = 'f'

output:
class X:
    # fmt: off
  @lol
  # fmt: on
  def f():
    pass
    f = "f"

Just encountered the same problem when trying to tell black not to format Click decorators but do format the rest of the file. This doesn't work:
# fmt: off
@click.command()
@click.option(
    "--interactive", "-i",
    is_flag=True, default=False, show_default=True,
    help="Open the browser.",
)
# fmt: on
def foo(interactive):
	# Some ugly code here

Actually, mine seems to be a duplicate of https://github.com/ambv/black/issues/560 - not sure if they're the same / related. Sorry for posting in the wrong thread if they're not.

Yep, dupe of #560


ezProxy issue displaying page with Angular application

I've been using the EZProxy with success. But now that i am testing an angular application all i get on my blablabla.ezxss domain is as follows:
...snip...

--
  | <bootstrap></bootstrap>
  |

  |

  |

  |

  |

  |

  |

  |
  |
  | Please enable JavaScript to continue using this application.
  | <link rel="modulepreload" href="chunk-NBWWZHEZ.js"><

        <bootstrap></bootstrap>

        Please enable JavaScript to continue using this application.
    <link rel="modulepreload" href="[chunk-NBWWZHEZ.js](http://blablabla.ezxss/chunk-NBWWZHEZ.js)"><
...snip...

The favicon and page title load correctly in the top of the tab which tells me it's still working for the most part.

It seems like some js files are loaded and others return the following:
No response received from client with client ID "blablabla".
When i try to open the files they do load so it seems like there is some kind of deyal and the files are not loaded in time. Which files are loaded and which are not is also different each request.

Are you using Pass origin requests through proxy or not? And what are the results when you do the opposite?
About files probably not being loaded on time and dropping might be a bug that can be fixed, but I've not seen it before. Any more details you could share about it?

i was using Pass origin requests through proxy. After trying without it the issue still persists. I cant share much as im testing for a customer.

I cant share much as im testing for a customer.
I understand.

Are you currently using the session of a customer or do you have a session yourself that you can inject the persistent proxy on?
Reason I'm asking is I'm curious if the 'infected browser' is receiving the URLs to fetch from ezXSS at all, and something goes wrong fetching or delivering them (on time), or the ezProxy fails to request those URLs from infected browser.

I have a session myself that I can inject the persistent proxy on.
Infected browser: does show requests when i try to access the blablabla.ezxss domain over the ezproxy (all seem successful, i highlighted one per example):

The highlighted js file does not load correctly through the proxy site, even tough it seemes ok from the victims point of view:

Ok, so the infected browser is requesting the file. Is it also sending the content over via the websocket?
And, are the responses you getting actually 0 B or is the content 'No response received from client with client ID ...' like you said previously?


[Feature] Checkpoint API to recover from checkpoint from previous runs

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Steps to reproduce
There are examples that illustrate checkpointing and recovering from checkpointing in the Ray training frameworks. One such example illustrates how to configure checkpointing to a pytorch training job.
1. Trigger the training RayJob
 kubectl apply rayjob.yaml

2.  The new driver ignores the checkpoint
The current driver pod errors out and a new driver pod gets created. The new driver pod runs the training job again from scratch ignoring the checkpoints produced in the last run.
Hacky Fix
To overcome this problem, we have to write a function with a tightly coupled logic. For example, look at the function findLatestCheckpoint in this job definition.
Use case
It would be great if we have an API that we can call and get the latest checkpoint location for the previous iteration of the given run.
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

What is the relationship between this issue and KubeRay? It seems like a Ray Train issue.

Closing as this is covered by https://docs.ray.io/en/latest/train/user-guides/fault-tolerance.html#auto-resume


Internal module structure cleanup

What does this PR do?
This PR only shuffles modules around, it contains no functional changes.
All the changes are for the liveblocks-core project. It removes a few (simple) cyclical dependencies, but not all of them (yet). The more complex part of that will require changes to the AbstractCrdt class hierarchy, so I'm saving that for a later PR.
The rationale for this change is threefold:

Making the code more navigable from a 10-foot view
Making further refactoring to the code easier
Removing complexity coming from cyclical dependencies

Just to give one example of why we want to achieve (2) is that it's been impossible to isolate and move the client.ts module outside of the liveblocks-core project, and into liveblocks-client as of yet due to the current complex dependencies. This PR brings that isolation a step closer.
Nature of changes
All of these changes are made by doing basic mechanical transformations to make the module dependency graph more straightforward:

Splitting apart modules that were doing multiple things
Avoiding "re-export all" constructs in index.ts files (which makes direct dependencies invisible)
Grouping together related modules into directories
Defining import "rules"

The directories that are introduced here are intended to help understand the structure of the code a bit more at a glance, but by no means do we have to keep them as-is. If a better way of structuring exists, we can keep changing these.
Dependency cruiser
I've been using a tool called dependency cruiser to help visualize and untangle the dependencies, detect cyclical dependencies, and help refactor the internals based on rules that we can define ourselves and programmatically enforce.

I haven't made that tool an official dev dependency yet, but we could consider it, because it could enforce the following rules for us automatically in CI. By defining import rules and adhering to them, you effectively create a sort of "swimlanes" and the idea is that each module can import from modules in the same swimlane, or any swimlane to the right of it.

The rightmost swimlane is lib/: only the most generic modules live here. These modules are characterized by:

They don't have any dependencies themselves
They are not Liveblocks-specific
They could, theoretically, be packages of their own

Everything can import from lib/, but inside lib/ you cannot import anything else (except other local lib/ modules)
Same goes for protocol/. Inside protocol/, only "local" imports or imports from lib/ are allowed.
Same for types/, same for refs/, etc.
Finally, everything else can import from anything else.

In the image above you can see the high-level import graph where I collapsed all the modules into their directories. You can see all arrows pointing "to the right", except the cyclical import area that is crdts/, which we'll address later.
Compare this to the graph I started from, which includes a lot more arrows "pointing left":

I would be down to have dependency cruiser as a dev dep to enforce this structure at build time!

I will add dependency cruiser in a follow-up PR, and make sure these rules are enforced by CI 👍


Migrage Article header block

Migrate Article header block
Auto article header for published articles

Test URLs:

https://main--blog--adobecom.hlx.page/published/2022/11/15/voices-of-our-community?milolibs=article-header&martech=off
https://main--blog--adobecom.hlx.page/drafts/smalla/article-header?milolibs=article-header?martech=off

We're going to close all Draft PRs to keep the PR count down.  If you would like a review of draft code please reach out on #milo-community with a link to your branch.
Thanks!


nl.nn.adapterframework.jdbc.FixedQuerySender not working

Describe the issue
nl.nn.adapterframework.jdbc.FixedQuerySender doesn't work
When doing a query by means of using the jdbc/execute option in the ibis GUI on TST, the query it does work , yet when doing the same through the flow of the adapter using the fixedquerysender it doesn't work
Pipeline NotifySalesForceCase.zip
Reporter
Tarik Jackson

To Reproduce
Steps to reproduce the behavior:

Tst environment of ibis4psdocuments go to ladybug
storageId 12932
Look at it
really look at it

Screenshots

Configuration
look in loaded configs or artifactory IbisSource/org/ibissource/lps/ibis4psdocuments/ibis4psdocuments_inbound/20210520_1414-f055f3b0-dailyinbound-32/

Input
Please provide an example of the input message.
Alternatively, provide a Ladybug report.

Environment
Please go to the console of your Frank, click on 'Information' and copy-paste the results here.

Additional Environment
-MSSQL

Browser: Chrome

Additional Context
Add any other context about the problem here. (f.e. ladybug report / test adapter with larva test)

By default the default datasource (aka jdbc.datasource.default=jdbc/${instance.name.lc}) is used.
You entered an unknown jmsRealm which results in an error in the log, claiming it cannot find the realm to copy the datasource from.
The FixedQuerySender will then fall back to the default datasource, which in your case did not contain the table you're looking for.


chore: add RAI fPool + Vault address

In preparation for the RAI and FEI Feeder Pools.
Todo: Add FEI Addresses once deployed

Added FEI Feeder and Vault addresses


make a demo to show using db3 as a decentralized  backup for mysql

Motivations
Current most of dapps use centralized database to store user data and use arweave as a decentralized backup, Now we want use
db3 to replace arweave.
Solution
We can split this issue into two steps

step 1， use rust sdk  to execute sql
step2 ，subscribe mysql binlog and write all data to db3

Reference

https://github.com/rusuly/mysql_cdc， subscribe mysql binlog
https://github.com/scs/substrate-api-client ，substrate client sdk

Blocked by #94

[ ] step 1, use rust sdk to execute SQL. Resolved by https://github.com/dbpunk-labs/substrate-api-client/pull/1

subscribe mysql binlog and write all data to db3
Demo Design
Implementation
Effort estimation
5d
Todo

Demo design
Using https://github.com/dbpunk-labs/mysql_cdc to subscribe MySQL binlog
Implement simple demo by handling UpdateEvent, WriteRowEvent, QueryEvent etc


Publishing page errors acceptance tests

Add publishing page acceptance tests for username and password errors
This adds acceptance test around the username and password errors that
happen on the Publishing page.

Add deployment environment to publishing modal radio button
The publishing radio button corresponding to setting of the username and
password was missing the deployment environment interpolation as part of
its ID.

Merge after Publishing Page bug is fixed

Closing PR because the commits have been incorporated into bug fixing PR https://github.com/ministryofjustice/fb-editor/pull/1466


[coin-or-osi] Build Error undefined reference to `CoinStaticConflictGraph::updatedBounds() const'

Operating system
Ubuntu
Compiler
GCC
Steps to reproduce the behavior
./vcpkg install openmvs

Failure logs
install-x64-linux-dbg-out.log
Additional context
Attempting to install OpenMVS using vcpkg.  It consistently fails when building OpenMVG, and seems to be an issue with coin-or or cbc.  I installed Cbc from source, but am still running into these issues.
When I run ./vcpkg install openmvg, the package installs without a problem.

Stumbling because of dependency failure: https://github.com/microsoft/vcpkg/issues/3789.

Confirm, repro locally.
monica@monica003:/mnt/vcpkg$ ./vcpkg version
vcpkg package management program version 2024-06-10-02590c430e4ed9215d27870138c2e579cc338772

See LICENSE.txt for license information.


[dv] Fix failures in test csr_mem_rw_with_rand_reset

Disable interrupt check for gpio
Solve hmac mem read returning d_error=1
Add csr excl for hmac reg err_code as it's affected by mem write
Increase timeout value
some enhancement to use mem access and clean up mem flags

when this PR is merged, mem test will pass, except top-level due to issue #2110
Signed-off-by: Weicai Yang<EMAIL_ADDRESS>

Looks like we are replicating the calls here. Would you please assign the function calls above to variables and print the variable values instead?

Done, PTAL


Support specifying non-standard cilium-agent labels

This is already merged: https://github.com/cilium/cluster-diagnosis/commit/77bb31aef5a2e707d2cea2e6f00d8872610eaca7
However, when I downloaded cluster-diagnosis from the Cilium website I didn't have this option:
$ curl -sLO releases.cilium.io/tools/cluster-diagnosis.zip
$ python cluster-diagnosis.zip -h
usage: cluster-diagnosis.zip [-h] [--cilium-ns CILIUM_NS] {sysdump} ...

Cluster diagnosis tool.

positional arguments:
  {sysdump}
    sysdump             Collect logs and other useful information.

optional arguments:
  -h, --help            show this help message and exit
  --cilium-ns CILIUM_NS
                        specify k8s namespace Cilium is running in

I think we may have to cut a release for this? I'm not sure where that binary gets uploaded from.

Done and available in latest version.


Overlocalization in the Italian version

in the localized (Italian) version of this article, the first occurrence of the command "ALTER TABLE" is translated into "MODIFICA TABELLA" while it should NOT be, as it is a SQL Command. thanks

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

ID: f23902a4-9a7c-8484-b14b-05be93093e41
Version Independent ID: 74d1ce47-7ff9-b4e1-767f-e9d1bdb6eab9
Content: Replicate Schema Changes - SQL Server
Content Source: docs/relational-databases/replication/publish/replicate-schema-changes.md
Product: sql
Technology: replication
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

@aldonetti -- Aldo, thank you for catching this.  I am updating the article.

This issue is being tracked by the localization team.


Fix rtsp static rtsp sink

Fixes #210 by connecting sinks before starting the pipeline.
Don't merge it yet as I'm still testing all cases.
Tests:

[x] RTSP h264 1080p 30fps + with multiple WebRTC clients
[x] UDP h264 1080p 30fps + with multiple WebRTC clients
[x] stress streams creation
[x] stress thumbnails
[x] RTSP with other encodings, sizes and fpss
[x] UDP with other encodings, sizes and fpss

@joaoantoniocardoso please create the release and prepare it to BlueOS, I would like to create a new version with it ASAP.

Hello,
I don't know if this is the right place to ask my question but it's not an actual issue so I'll ask it here.
How do I create a redirect stream from a rtsp IP camera stream?
I created a gstreamer pipline to receive it and it's working fine, but how do I create a MAVLINK stream from it? the device in the UI for redirect source is a fixed text, where do I specify my rtsp link an create a redirect out of it?

Hi @aihamshikhomicro, I moved it to a new issue, I'll respond it there.


introduce semantic-release

https://www.npmjs.com/package/semantic-release

see https://github.com/visjs/vis-network/issues/1

Resolved via #16.


[ckks] [MulByDiagMatrix] : correctness error if one of the innerloop has only a single rotation by 0

In the modified baby-step giant-step algorithm to evaluate a diagonalized matrix on a ciphertext, if one of the inner-loop of the algorithm doesn't have any rotation (a single rotation by k=0), then the accumulator isn't properly overwritten, and a correctness error follows. The fix is to check if that if there is only a single rotation by 0, then the accumulator is overwritten instead of accumulating.

Issue fixed in dev_paper


After the newest update, the script pix a planet, but then nothing spawns and there is no clock

I don't know what information you need, logs etc. Just let me know and I can get you it :)
Also tampermonkey on google chrome

I can say the same thing, im using it on Opera and it hangs up in a planet also can you please tinker a little bit with the XP?


When I try and pin an item all it does is type the letter π!

Before Submitting Your Bug Report

[ ] I have verified that there isn't already an issue reporting the same bug to prevent duplication.
[ ] I have seen the FAQ.

Maccy Version (see 'About' window)
No response
macOS Version
No response
Maccy Settings
No response
Description
No response
Steps to Reproduce
No response

Please provide all the required information in the bug (settings/versions/etc).

Sorry, MacOS (latest), Maccy version latest. No, wait, just updated. Working now! My bad. Sorry!
From: Alex Rodionov @.>
Reply to: p0deje/Maccy @.>
Date: Saturday 27 April 2024 at 00:43
To: p0deje/Maccy @.>
Cc: Simon @.>, Author @.***>
Subject: Re: [p0deje/Maccy] When I try and pin an item all it does is type the letter π! (Issue #773)
Please provide all the required information in the bug (settings/versions/etc).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

While I have your ear, can I Make a suggestion? I’m guessing you have seen ClipClip on PC? Been using it for years, and I’d be using it here if they got off their arses and did a Mac version. But I’ve been using Maccy for years too, and it’s really helpful. However, ClipClip’s ability to store clips in folders (on Google drive so my other PC’s cn access same clips) is really powerful, and turns the clipboard from an incidental short-term keyboard helper, to a long-term and heavily used productivity tool. There is a massive difference in the way I use the two machines (Mac v PC) and the reason I prefer working on my PC day-day is ClipClp. I use it several times/hour all day every day.
But thank you for developing Maccy as without it I would have sold my Macbook a long time ago.
From: Alex Rodionov @.>
Reply to: p0deje/Maccy @.>
Date: Saturday 27 April 2024 at 00:43
To: p0deje/Maccy @.>
Cc: Simon @.>, Author @.***>
Subject: Re: [p0deje/Maccy] When I try and pin an item all it does is type the letter π! (Issue #773)
Please provide all the required information in the bug (settings/versions/etc).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I think what you describe with ClipClip is a snippet manager rather than a clipboard manager tool. Even though I can see how useful it might be, I don't envision Maccy as a productivity application to store/reuse many text snippets for various common operations. I think there are better suited tools for that.


Switch to nightly.link for master builds

Much more user friendly as it allows us to link directly to the most recent artifacts
Eg https://nightly.link/duckdb/duckdb/workflows/LinuxRelease/master

@Alex-Monahan what do you think?

Seems really helpful! I typically am using the pip install pre or the npm equivalent, but this looks great for the other cases!

@carlopi can probably repurpose this old issue to switch to your nicer hosting/links for nightlies

PR #1030 already fixed this issue. I put this in one of the comments but should have done that in the top post.


terminate

should be its own type of procedure line
should have some css styling that makes it very obvious

fixed


Could not pass event PlayerPortalEvent to Multiverse-NetherPortals v3.0.0-SNAPSHOT-b749

Spigot: git-Spigot-093165d-ba575a5 ver 1.14.2-R0.1-SNAPSHOT
Multiverse-NetherPortals v3.0.0-SNAPSHOT-b749
Reposting here because I posted in Multiverse-Core by mistake.
Error:
https://gist.github.com/kaniesha/bfa5a9ca890131cb7978e81e21c13938

same issue using 1.14.2 paper and latest multiverse nether portals

Would be resolved by Pull Request #143
You can download a build with this PR on https://jenkins.addstar.com.au

This has been fixed in 4.0.0, please update to the latest dev build.


format=yuv420p

Ask how to execute such a command: "ffmpeg -i in.avi -c:v libx264 -vf format=yuv420p out.mp4"

@50css  This should work:
$video
    ->filters()
    ->custom("format=yuv420p")
    ->synchronize();

https://github.com/PHP-FFMpeg/PHP-FFMpeg/blob/master/src/FFMpeg/Filters/Video/CustomFilter.php


How do I contact you?

How do I contact you about collaboration work? I have got some idea's and putting together a project. If you want to join us.
You work is amazing! We could rule the world if we get our heads together.
If you want to join us...
https://discord.gg/6je56P

Hi, tg12,
Thx for the invitation, I'm glad you like it.
You can send me an email. My email is<EMAIL_ADDRESS>


azure-storage-blob >=v12 causes slow, high memory dd.read_csv

dd.read_csv(path, storage_options) on a 15Gb csv file
with adlfs==0.2.4 normal speed and low memory usage
with adlfs==0.3 much slower and high memory usage
I think is related to azure-storage-blob >=v12 and I thought it would be important for you to be aware. with read_parquet didn't find issues.
Any idea? How to best report this upstream (azure)?

Thanks for reporting the issue.  Can you provide some specifics on what was observed for both 0.2.4 and 0.3.0 so I can attempt to reproduce?

Yes sure:

create a big csv file in azure storage blob
use dask.distributed/dask_kubernetes to create a cluster
dd.read_csv(path, storage_options).persist() that file

looking at the dask.distributed dashboard you should be able to see how much longer it takes to read the file. Going through the dask.distributed Profile you can see that an unusual amount of time is being spent on an operation part of python.core ssl.
If you want me to say how I created a dask_kubernetes cluster in azure I can expand on it.

Seems like it is related to this issue:
Azure/azure-sdk-for-python#9596

Closing for now, stopped having the issue using the same code and storage as before, either something changed internally in azure or in the library. Will reopen if reapers. Thank you.

Issue is still there, I was just being lucky with one specific file.

@hayesgb the biggest issue I experience with the latest version of adlfs while read/writing to/from csv is the high memory usage, high meaning that writing a 200Mb dataframe, with multiple partitions, can take upwards of 20Gb of RAM.
Not sure why azure-storage-blob >=12 causes the memory usage increased so much.
Any idea?

@hayesgb what can I do to help you debug this issue?
It still exists with the latest version of adlfs, if adlfs>0.3.3 then writing to an azure blob container with adlfs incurs much higher memory usage (50-100% more)

@mgsnuno I have seen a similar problem as you (however in my case it was only a read operation, and of a .parquet file - the performance regression when going >=0.3 was 10x+ in runtime).

what can I do to help you debug this issue?

In my case, I got the same performance also for adlfs>=0.3 (and then also using recent azure-storage-blob versions) by simply changing length argument in this line https://github.com/dask/adlfs/blob/2bfdb02d13d14c0787e769c6686fecd2e3861a4b/adlfs/spec.py#L1785 from end to (end - start). See also #247.

@mgsnuno -- #247 has been merged into master and is included in release 0.7.7.  Would be great to get your feedback on if it fixes this issue.

@hayesgb I tested 0.7.7, it gives me the same issue, something like the code bellow, with adlfs>=0.3.3 it uses 2x-3x more memory, it is much faster (it looks like it's in parallel and before was not). Also maybe the parallelism explains the high memory usage.
I'm not being overly picky about the memory, the issue I have is that in a 32Gb RAM VM where I run dask to read, parse and write to abfs multiple parquet files in parallel, before I had no problems, 15Gb would be more than enough, now I have killed worker errors as the memory quickly reaches the 32Gb limit.
Is there a way to limit parallelism of adlfs with asyncio to make it slower but less memory hungry?
import dask
from adlfs import AzureBlobFileSystem
from pipelines.core import base as corebase

# create dummy dataset
df = dask.datasets.timeseries(end="2001-01-31", partition_freq="7d")
df.to_csv("../dataset/")

# upload data
credentials = get_credentials()
storage_options = {
    "account_name": credentials["abfs-name"],
    "account_key": credentials["abfs-key"],
}
abfs = AzureBlobFileSystem(**storage_options)
abfs.mkdir("testadlfs/")
abfs.put("../dataset/", "testadlfs/", recursive=True)

@hayesgb any pointers you can share? Thank you

@mgsnuno -- I'm looking at your example now.  I see the high memory usage with the put method, but not when writing the df.to_csv("az://testadlfs/my_files/*.csv", storage_options=storage_options)
Is this consistent with your issue?

@hayesgb very good point and yes, consistent with what I see, put has high memory usage, to_csv(remote_folder...) has not.
But, if you do to_csv(local_folder...) it takes time for dask to write those text files, can it be that that time is masking the issue that is highlighted with just the put method?

When I monitor memory usage with the .to_csv() method, either locally or remotely, I don't see high memory usage.  However, when I monitor memory usage wiht the .put() method, I do see memory usage rising significantly.
Just want to be sure I'm working on the correct issue.  The put() method opens a bufferedreader object and streams it to azure.  This currently happens async, and may be the cause for the high memory usage.

@hayesgb I have tested with our business tables/dataframes and even with to_parquet("abfs://...", with the latest adlfs/fsspec vs adlfs==0.3.3/fsspec==0.7.4 the memory usage is much higher, I get KilledWorker errors that I never had with those fixed versions.
Unfortunately I cannot share those tables, but maybe you can make some tests with dummy data you usually use and replicate it.
I went back to your previous comment where you mention df.to_csv("az://testadlfs/my_files/*.csv", storage_options=storage_options), is az same as abfs?

Yes, the “az” and “abfs” protocols are identical.

On Jul 14, 2021, at 6:44 AM, Nuno Gomes Silva @.***> wrote:

@hayesgb I have tested with our business tables/dataframes and even with to_parquet("abfs://...", with the latest adlfs/fsspec vs adlfs==0.3.3/fsspec==0.7.4 the memory usage is much higher, I get KilledWorker errors that I never had with those fixed versions.
Unfortunately I cannot share those tables, but maybe you can make some tests with dummy data you usually use and replicate it.
I went back to your previous comment where you mention df.to_csv("az://testadlfs/my_files/*.csv", storage_options=storage_options), is az same as abfs?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@hayesgb did you manage to reproduce high mem usage with to_parquet("abfs://..." as well?

No, I did not.  We actually use to_parquet regularly in our workloads without issue

all good now with:

adlfs 2022.2.0
fsspec 2022.3.0
dask 2022.4.0
azure-storage-blob 12.11.0


Place all the confidential information in .environement variables

Describe the bug

Emergency button is responding with 500 Internal Server Error and it is unable to send emails with bad credentials, I think we should handle the cases for not sending the emails and sending appropriate error messages for bad credentials.
Also storing all the credentials in the environment variables(in the  .env file) would be safe.

Why EMAIL_BACKEND  EMAIL_HOST  EMAIL_PORT  EMAIL_USE_TLS  EMAIL_HOST_USER  EMAIL_HOST_PASSWORD
DEFAULT_FROM_EMAIL are declared 2 times?

Why EMAIL_BACKEND EMAIL_HOST EMAIL_PORT EMAIL_USE_TLS EMAIL_HOST_USER EMAIL_HOST_PASSWORD
DEFAULT_FROM_EMAIL are declared 2 times?

Can you please specify the file where it is specified two times?

Why EMAIL_BACKEND EMAIL_HOST EMAIL_PORT EMAIL_USE_TLS EMAIL_HOST_USER EMAIL_HOST_PASSWORD
DEFAULT_FROM_EMAIL are declared 2 times?

Can you please specify the file where it is specified two times?

in mysite/settings.py


Add ledger as a provider.

RNS Manager Integration Checklist

[ ] Search and Resolve
[ ] Register
[ ] Register refresh page (localstorage)
[ ] Resolve

Admin

DomainInfo Screen

[ ] Renew domain
[ ] Set Controller
[ ] Reclaim
[ ] Transfer

Your Addresses

[ ] Set New Address
[ ] Edit existing Address
[ ] Delete Address

Subdomains

[ ] Create Subdomain

[ ] Create Subdomain with owner self
[ ] Create subdomain with owner different

[ ] Edit Subdomain
[ ] Delete Subdomain

My URL

[ ] Set Content Hash
[ ] Edit Content Hash

Resolver

[ ] Set Resolver
[ ] Set Contract ABI
[ ] Set Content Hash
[ ] Migrate Resolver without addresses
[ ] Migrate Resolver with Addresses

Reverse

[ ] Set Reverse

Checklist template

Ready for release https://github.com/rsksmart/rlogin-ledger-provider/pull/10 😄

https://www.npmjs.com/package/@rsksmart/rlogin-ledger-provider

Rebased from develop to fix merge conflict of yarn.lock

I added Trezor and D'Cent. I couldn't test it because node-sass is not supported in M1......


Dynamic client registrations should include scopes

See scope in https://tools.ietf.org/html/rfc7591#section-2
Client registration requests MUST include the scopes they may later request to be sure of being able to access what they need. It's only a MAY that auth servers can do this on a client's behalf. At present the spec and example request don't include this.

Is it mean Registry should never be performing dynamic registration as it does not need to have any scope assoicated to it, i.e. as it does not communicate with any protected APIs?

I think it's true to say that a Registry doesn't need to perform registration as an OAuth client, but I think that's separate from this issue which is to make sure that Nodes and Controllers always do include a scope.


Fix README for new repo

We need to fix the README file for the new repo location.

Is this going to be fixed soon?
Provide an easy way to setup this service, please.
I was able to get it up and running, via downloaded source code and kubelet proxy --www=app --www-prefix=/ --accept-hosts=""
But now it doesn't find /api/v1/proxy/nodes/<IP_ADDRESS>:4194/api/v1.0/containers/
Is it the right url to request?
Should I create a new issue?
I will probably contribute something to this, at least I will try to make a UI for myself

@luxas Remove --accept-hosts="" and ensure you are running this command at the root of the kube-ui folder, I have a fix for the docs/ui.md, see #31

Fixed with #31.


HALON-481: Add logrotate configuration for default dlog file.

Created by: nc6
If the decision log is put somewhere other than the default,
this will not work. Not much we can do about that.

Closing as an obsolete


feat(fixes): doc and endpoints

So this PR:

Fix https://github.com/rexsum420/django-nice/issues/6 now you define only the endpoints needed for nicegui, without specify the id or the field
Fix https://github.com/rexsum420/django-nice/issues/2
Fix various stuff in documentation

There is more that can be done with a documentation structured...

I implemented the authentication with JWT.
If you want I can reorganize the Readme (I removed some js for multifield because with single fields it wasn't great)

I haven't really messed with it in a little while so I appreciate all the input


Circular and Incorrect link on NativeCast HTML page.

The problem
On the following page:
https://docs.perl6.org/routine/nativecast
The link to "Function Pointers" points to https://docs.perl6.org/routine/nativecast#Function_Pointers, rather than https://docs.perl6.org/routine/nativecall#Function_Pointers

Closed with @Xliff++ PR.


image save module: add display when pull image

Describe what this PR does / why we need it
This Pr add display messages when pull image
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

This PR solves issue#958,issue#960


[channel-client] Implement a public-facing API for dapps to use

This issue will track the creation of a ChannelClient.
The API is comprised of the following actions.

Tasks

[x] Implement openChannel
[x] Implement sendMessage
[x] Implement event transmission for channelUpdated
[ ] Implement error types
[ ] Simulate data flow

Implementation and related discussions are happening in #402.

This is now being worked on by @andrewgordstewart (see #1933 for example)


Supporting changing of current day in week view and events array is e…

Supporting changing of current day in week view and events array is empty or not set

Hi thank for the PR! But why not just initialise the events array to an empty array?

On 11 Nov 2015, at 22:57, nedien<EMAIL_ADDRESS>wrote:
Supporting changing of current day in week view and events array is empty or not set
You can view, comment on, or merge this pull request online at:
https://github.com/mattlewis92/angular-bootstrap-calendar/pull/205
Commit Summary
Supporting changing of current day in week view and events array is empty or not set
File Changes
M dist/js/angular-bootstrap-calendar-tpls.js (4)
M src/directives/mwlCalendar.js (10)
M src/services/calendarHelper.js (4)
Patch Links:
https://github.com/mattlewis92/angular-bootstrap-calendar/pull/205.patch
https://github.com/mattlewis92/angular-bootstrap-calendar/pull/205.diff
—
Reply to this email directly or view it on GitHub.

It looks like there is already code that handles the events array not being initialised here, I double checked it locally and it seems to work fine. LMK if you're still having problems.


Return with custom map to class

Hi,
Found a case which generates an exception but is actually valid cypher:
in the database is the following object:
create (t:Test {Test: "a string" })
Having this code:
 public class InnerClass
        {
            public string Test { get; set; }
        }

        public class TestClass
        {
            public InnerClass Inner { get; set; }
            public InnerClass Inner2 { get; set; }
        }

// this works: new Testclass, without custom Neo4j maps
            var test1 = _neo4j.Cypher
                .Match("(t:Test)")
                .Return(() => new TestClass
                {
                    Inner = Return.As<InnerClass>("t"),
                });
            var x1 = test1.Results;

            // this works: new anonymous class, with custom maps from Neo4j:
            var test2 = _neo4j.Cypher
                .Match("(t:Test)")
                .Return(() => new
                {
                    Inner = Return.As<InnerClass>("t"),
                    Inner2 = Return.As<InnerClass>("{Test: t.Test}"),
                });
            var x2 = test2.Results;

            // this does not work: new TestClass with custom maps:
            var test3 = _neo4j.Cypher
                .Match("(t:Test)")
                .Return(() => new TestClass
                {
                    Inner = Return.As<InnerClass>("t"),
                    Inner2 = Return.As<InnerClass>("{Test: t.Test}"),
                });
            var x3 = test3.Results;

The generated Cypher code looks good:

test1.Query.DebugQueryText
"MATCH (t:Test)\r\nRETURN t AS Inner"
test2.Query.DebugQueryText
"MATCH (t:Test)\r\nRETURN t AS Inner, {Test: t.Test} AS Inner2"
test3.Query.DebugQueryText
"MATCH (t:Test)\r\nRETURN t AS Inner, {Test: t.Test} AS Inner2"

The error message to test3:

Neo4j returned a valid response, however Neo4jClient was unable to deserialize into the object structure you supplied.
First, try and review the exception below to work out what broke.
If it's not obvious, you can ask for help at http://stackoverflow.com/questions/tagged/neo4jclient
Include the full text of this exception, including this message, the stack trace, and all of the inner exception details.
Include the full type definition of PendlerModell.Backend.Neo4jConnector+TestClass.
Include this raw JSON, with any sensitive values replaced with non-sensitive equivalents:
{ "columns":["Inner","Inner2"], "data":[[ {"data":{ "Test":"a string" }},"Test":"a string" ]] }
Parameter name: content
InnerException from NewtonSoft.Json:
After parsing a value an unexpected character was encountered: :. Path 'data[0][1]', line 1, position 79.

Hmmm, very odd...
The http version - whilst not crashing, just put's null there. It's an interesting one to look at.


fix bug in PR #839

https://github.com/360EntSecGroup-Skylar/excelize/pull/839#issuecomment-841017885

Codecov Report

Merging #840 (9a54595) into master (37342f6) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #840   +/-   ##
=======================================
  Coverage   97.48%   97.48%
=======================================
  Files          31       31
  Lines       10832    10832
=======================================
  Hits        10560    10560
  Misses        152      152
  Partials      120      120

Impacted Files
Coverage Δ

styles.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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